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/p__DataSet__Detail__index.4...

3545 lines
2.8 MiB

This file contains ambiguous Unicode characters!

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

!(function(){var Fc=Math.pow;var bu=(kn,Qt,Te)=>new Promise((Ne,bt)=>{var E=ne=>{try{ve(Te.next(ne))}catch(ee){bt(ee)}},je=ne=>{try{ve(Te.throw(ne))}catch(ee){bt(ee)}},ve=ne=>ne.done?Ne(ne.value):Promise.resolve(ne.value).then(E,je);ve((Te=Te.apply(kn,Qt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[5382],{89489:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},59477:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},40001:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},26227:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},49198:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},84105:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},41464:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},18785:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},73331:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},15277:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},52671:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},8657:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},56082:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},33853:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},15075:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},62772:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},43531:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},61485:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},38819:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},47472:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},87395:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(le,pe){return bt.createElement(ve.Z,(0,Ne.Z)({},le,{ref:pe,icon:je}))},ee=bt.forwardRef(ne),ie=ee},14618:function(){"use strict"},66552:function(){"use strict"},18760:function(kn,Qt){"use strict";Qt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},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 kn={},Qt="5.0",Te={},Ne=null,bt=!1,E=!1,je=null,ve=!1,ne=null,ee=null,ie=0;ie<arguments.length;ie++){var oe=arguments[ie];if(oe!==null)switch(typeof oe){case"number":Qt=oe.toFixed(1);break;case"string":oe.match(new RegExp("^[0-9]\\.[0-9]+$"))?Qt=oe:je=oe;break;case"object":typeof oe.is3D!="undefined"?Ne=oe:Te=oe;break;case"boolean":bt=oe,E=!0;break}}Ne===null&&(Ne={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},Te.material_id!==void 0&&!E&&(bt=!0)),je!==null&&Te.id===void 0&&(Te.id=je);var le="",pe="",re=!1,ae=null,ce=null,de=null,me=!1,we=null,xe=null,Ae=null,ye=null,Ee=null;Te.height!==void 0&&(Te.height=Math.round(Te.height)),Te.width!==void 0&&(Te.width=Math.round(Te.width));var Le=function(tt){return parseFloat(tt)>4?parseFloat(tt):5};kn.setHTML5Codebase=function(tt,et){ee=tt,nt(tt,et)},kn.setJavaCodebase=kn.setJavaCodebaseVersion=kn.isCompiledInstalled=kn.setPreCompiledScriptPath=kn.setPreCompiledResourcePath=function(){},kn.setHTML5CodebaseVersion=function(tt,et){var ot=parseFloat(tt);if(ot!==NaN&&ot<5){console.log("The GeoGebra HTML5 codebase version "+ot+" is deprecated. Using version latest instead.");return}ne=tt,Qe(tt,et)},kn.getHTML5CodebaseVersion=function(){return ce},kn.getParameters=function(){return Te},kn.setFontsCSSURL=function(tt){ye=tt},kn.setGiacJSURL=function(tt){},kn.setJNLPFile=function(tt){le=tt},kn.setJNLPBaseDir=function(tt){},kn.inject=function(){function tt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var et="auto",ot=Te.id,yt,pt=!1,Pt=0;Pt<arguments.length;Pt++){var Mt=arguments[Pt];typeof Mt=="string"?(Mt=Mt.toLowerCase(),Mt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?et=Mt:ot=arguments[Pt]):typeof Mt=="boolean"?pt=Mt:Mt instanceof HTMLElement&&(yt=Mt)}ct();function ct(){if(!ve){setTimeout(ct,200);return}et=st(et);var Je=yt||document.getElementById(ot);if(!Je){console.log("possibly bug on ajax loading? ");return}if(kn.removeExistingApplet(Je,!1),Te.width===void 0&&Je.clientWidth&&(Te.width=Je.clientWidth),Te.height===void 0&&Je.clientHeight&&(Te.height=Je.clientHeight),!(Te.width&&Te.height)&&et==="html5"&&(delete Te.width,delete Te.height),ae=et,et==="screenshot")Ie(Je,Te);else{var Ze=!1;Te.hasOwnProperty("playButton")&&Te.playButton||Te.hasOwnProperty("clickToLoad")&&Te.clickToLoad?Ze=!0:Te.hasOwnProperty("playButtonAutoDecide")&&Te.playButtonAutoDecide&&(Ze=(!Ce()||tt())&&_e()),Ze?(ae="screenshot",Ge(Je,Te,pt,et)):Xe(Je,Te,pt)}}};function Ce(){try{return window.self!==window.top}catch(tt){return!0}}function _e(){return Te.hasOwnProperty("screenshotGenerator")&&Te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}kn.getViews=function(){return Ne},kn.isJavaInstalled=function(){return!1};var Me=function(tt){var et=function(Pt){var Mt=JSON.parse(Pt),ct=function(ue){return ue.type=="G"||ue.type=="E"},Je=Mt.elements?Mt.elements.filter(ct)[0]:Mt;if(!Je||!Je.url){ot();return}Te.fileName=Je.url,De(Je.settings||{}),Ne.is3D=!0;var Ze="https://www.geogebra.org/images/";kn.setPreviewImage(we||Je.previewUrl,Ze+"GeoGebra_loading.png",Ze+"applet_play.png"),tt()},ot=function(){Te.onError&&Te.onError(),dt("Error: Fetching material (id "+Te.material_id+") failed.",Te)},yt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",pt="/materials/"+Te.material_id+"?scope=basic";Se("https://"+yt+"/api/proxy.php?path="+encodeURIComponent(pt),et,ot)};function De(tt){var et=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(ot){tt[ot]=!!tt[ot]}),et.forEach(function(ot){Te[ot]===void 0&&tt[ot]!==void 0&&(Te[ot]=tt[ot])}),Te.showToolBarHelp===void 0&&(Te.showToolBarHelp=Te.showToolBar)}function Se(tt,et,ot){var yt=new XMLHttpRequest;yt.open("GET",tt),yt.onload=function(){et(yt.responseText)},yt.onerror=ot,yt.send()}kn.isHTML5Installed=function(){return!0},kn.getLoadedAppletType=function(){return ae},kn.setPreviewImage=function(tt,et,ot){we=tt,xe=et,Ae=ot},kn.removeExistingApplet=function(tt,et){var ot;typeof tt=="string"&&(tt=document.getElementById(tt)),ae=null;var yt=null;for(ot=0;ot<tt.childNodes.length;ot++){var pt=tt.childNodes[ot],Pt=pt.className;Pt==="applet_screenshot"?et?(pt.style.display="block",ae="screenshot"):pt.style.display="none":Pt!=="applet_scaler prerender"&&(tt.removeChild(pt),yt=Pt&&Pt.indexOf("appletParameters")!=-1?pt.id:null,ot--)}var Mt=Te.id!==void 0?Te.id:yt,ct=window[Mt];ct&&typeof ct.getBase64=="function"&&(ct.remove(),window[Mt]=null)},kn.refreshHitPoints=function(){if(Le(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var tt=kn.getAppletObject();return tt&&typeof tt.recalculateEnvironments=="function"?(tt.recalculateEnvironments(),!0):!1},kn.startAnimation=function(){var tt=kn.getAppletObject();return tt&&typeof tt.startAnimation=="function"?(tt.startAnimation(),!0):!1},kn.stopAnimation=function(){var tt=kn.getAppletObject();return tt&&typeof tt.stopAnimation=="function"?(tt.stopAnimation(),!0):!1},kn.getAppletObject=function(){var tt=Te.id!==void 0?Te.id:"ggbApplet";return window[tt]},kn.resize=function(){};var Be=function(tt,et,ot){var yt=document.createElement("param");yt.setAttribute("name",et),yt.setAttribute("value",ot),tt.appendChild(yt)},Re=function(tt){return tt&&tt!=="false"},Xe=function(tt,et,ot){Le(ce)<=4.2&&(ot=!0);var yt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ce||ggbHTML5LoadedCodebaseIsWebSimple&&!me)&&(yt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var pt=document.createElement("div");pt.classList.add("appletParameters","notranslate");var Pt=et.width,Mt=et.height;if(et.disableAutoScale=et.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():et.disableAutoScale,et.width!==void 0)if(Le(ce)<=4.4)Re(et.showToolBar)&&(et.height-=7),Re(et.showAlgebraInput)&&(et.height-=37),et.width<605&&Re(et.showToolBar)&&(et.width=605,Pt=605);else{var ct=100;(Re(et.showToolBar)||Re(et.showMenuBar))&&(et.hasOwnProperty("customToolBar")&&(et.customToolbar=et.customToolBar),ct=Re(et.showMenuBar)?245:155),Pt<ct&&(et.width=ct,Pt=ct)}pt.style.border="none",pt.style.display="inline-block";for(var Je in et)et.hasOwnProperty(Je)&&Je!=="appletOnLoad"&&pt.setAttribute("data-param-"+Je,et[Je]);ye&&pt.setAttribute("data-param-fontscssurl",ye),kn.resize=function(){GGBAppletUtils.responsiveResize(tt,et)},window.addEventListener("resize",function(lt){kn.resize()});var Ze=typeof et.appletOnLoad=="function"?et.appletOnLoad:function(){};if(!ot&&et.width!==void 0){et.hasOwnProperty("showSplash")||pt.setAttribute("data-param-showSplash","false");var ue=tt.querySelector(".applet_scaler.prerender"),he=ue!==null;if(he)var He=ue.querySelector(".ggb_preview");else{var He=it(Pt,Mt,et.borderColor,!1);ue=document.createElement("div"),ue.className="applet_scaler",ue.style.position="relative",ue.style.display="block",ue.style.width=Pt+"px",ue.style.height=Mt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ue,"66%"),Le(ce)>=5?(et.appletOnLoad=function(lt){var Dt=tt.querySelector(".ggb_preview");Dt&&Dt.parentNode.removeChild(Dt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ue),window.GGBT_wsf_view&&$(window).trigger("resize"),Ze(lt)},he||ue.appendChild(He)):pt.appendChild(He),ue.appendChild(pt),he||tt.appendChild(ue),setTimeout(function(){kn.resize()},1)}else{var We=document.createElement("div");We.className="applet_scaler",We.style.position="relative",We.style.display="block",We.appendChild(pt),tt.appendChild(We),et.appletOnLoad=function(lt){kn.resize(),Ze(lt)}}function fe(lt,Dt){Dt&&typeof Dt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(lt,Dt.appletOnLoad):renderGGBElement(lt),dt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Dt)}function Pe(lt,Dt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:lt,params:Dt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Wt){fe(Wt.article,Wt.params)}),html5AppletsToProcess=null)},Le(ce)<5&&(lt.className+=" geogebraweb")):fe(lt,Dt)}if(yt){scriptLoadStarted=!0;for(var Fe=0;Fe<pt.childNodes.length;Fe++){var Ke=pt.childNodes[Fe].tagName;Ke==="TABLE"&&(pt.removeChild(pt.childNodes[Fe]),Fe--)}if(ggbHTML5LoadedScript!==null){var Ue=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ue!=null&&Ue.parentNode.removeChild(Ue)}var ut=document.createElement("script"),vt=function(){Pe(pt,et)};ut.src=pe+de,ggbHTML5LoadedCodebaseIsWebSimple=me,ggbHTML5LoadedCodebaseVersion=ce,ggbHTML5LoadedScript=ut.src,dt("GeoGebra HTML5 codebase loaded: '"+pe+"'.",et),!ee&&(!ne||ne=="5.0")?(me?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),vt()):pe.requirejs?__webpack_require__.e(7206).then(function(){var lt=[__webpack_require__(97206)];vt.apply(null,lt)}.bind(this)).catch(__webpack_require__.oe):(ut.onload=vt,tt.appendChild(ut))}else Pe(pt,et);et.height=Mt,et.width=Pt},Ie=function(tt,et,ot){var yt=it(et.width,et.height,et.borderColor,ot),pt=document.createElement("div");pt.style.position="relative",pt.style.display="block",pt.style.width=et.width+"px",pt.style.height=et.height+"px",pt.className="applet_screenshot applet_scaler"+(ot?" applet_screenshot_play":""),pt.appendChild(yt);var Pt=GGBAppletUtils.getScale(et,tt,ot);ot?(tt.appendChild(qe()),window.GGBT_wsf_view||(tt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(pt,"66%"),tt.appendChild(pt),Pt!==1&&!isNaN(Pt)&&(GGBAppletUtils.scaleElement(pt,Pt),pt.style.width=et.width+"px",pt.style.height=et.height+"px",pt.parentNode.style.width=et.width*Pt+"px",pt.parentNode.style.height=et.height*Pt+"px"),kn.resize=function(){Ye(tt,yt,pt,ot)},window.addEventListener("resize",function(Mt){kn.resize()}),kn.resize()};function Ye(tt,et,ot,yt){if(tt.contains(et)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(tt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(tt)}var pt=GGBAppletUtils.getScale(Te,tt,yt);ot.parentNode!==null&&(!isNaN(pt)&&pt!==1?(GGBAppletUtils.scaleElement(ot,pt),ot.parentNode.style.width=Te.width*pt+"px",ot.parentNode.style.height=Te.height*pt+"px"):(GGBAppletUtils.scaleElement(ot,1),ot.parentNode.style.width=Te.width+"px",ot.parentNode.style.height=Te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(tt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}kn.onExitFullscreen=function(tt,et){et.appendChild(tt)};var Ge=function(tt,et,ot,yt){Ie(tt,et,!0);for(var pt=function(){var ct=[];for(Mt=0;Mt<tt.childNodes.length;Mt++)ct.push(tt.childNodes[Mt]);if(window.GGBT_wsf_view){var Je=window.GGBT_wsf_view.renderFullScreen(tt,et.id),Ze=document.getElementById("fullscreencontainer"),ue=jQuery(tt).find(".fullscreencontent");ue.length>0?(Je.remove(),ue.attr("id","fullscreencontent").show(),jQuery(Ze).append(ue),window.dispatchEvent(new Event("resize"))):Xe(Je,et,!1),window.GGBT_wsf_view.launchFullScreen(Ze)}else ae=yt,Xe(tt,et,!1);if(!window.GGBT_wsf_view)for(Mt=0;Mt<ct.length;Mt++)tt.removeChild(ct[Mt])},Pt=tt.getElementsByClassName("ggb_preview_play"),Mt=0;Mt<Pt.length;Mt++)Pt[Mt].addEventListener("click",pt,!1),Pt[Mt].addEventListener("ontouchstart",pt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(tt),_e()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},qe=function(){var tt=document.createElement("div");if(tt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var et='.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");}',ot=document.createElement("style");ot.styleSheet?ot.styleSheet.cssText=et:ot.appendChild(document.createTextNode(et)),document.getElementsByTagName("head")[0].appendChild(ot)}return tt},it=function(tt,et,ot,yt){var pt=document.createElement("div");pt.className="ggb_preview",pt.style.position="absolute",pt.style.zIndex="90",pt.style.width=tt-2+"px",pt.style.height=et-2+"px",pt.style.top="0px",pt.style.left="0px",pt.style.overflow="hidden",pt.style.backgroundColor="white";var Pt="lightgrey";ot!==void 0&&(ot==="none"?Pt="transparent":Pt=ot),pt.style.border="1px solid "+Pt;var Mt=document.createElement("img");if(Mt.style.position="relative",Mt.style.zIndex="1000",Mt.style.top="-1px",Mt.style.left="-1px",we!==null&&Mt.setAttribute("src",we),Mt.style.opacity=.7,xe!==null){var ct,Je,Ze;if(!yt){ct=document.createElement("img"),ct.style.position="absolute",ct.style.zIndex="1001",ct.style.opacity=1,Mt.style.opacity=.3,Je=360,Je>tt/4*3&&(Je=tt/4*3),Ze=Je/5.8,ct.setAttribute("src",xe),ct.setAttribute("width",Je),ct.setAttribute("height",Ze);var ue=(tt-Je)/2,he=(et-Ze)/2;ct.style.left=ue+"px",ct.style.top=he+"px",pt.appendChild(ct)}}return pt.appendChild(Mt),pt},st=function(tt){return tt=tt.toLowerCase(),tt==="html5"||tt==="screenshot"?tt:"html5"},Ve=["web","webSimple","web3d","tablet","tablet3d","phone"],Qe=function(tt,et){if(ce=tt,et){nt(ce,!0);return}var ot=!bt;if(ot){var yt=Le(ce);!isNaN(yt)&&yt<4.4&&(ot=!1)}var pt,Pt;window.location.protocol.substr(0,4)==="http"?pt=window.location.protocol:pt="http:";var Mt=ce.indexOf("//");Mt>0?Pt=ce:Mt===0?Pt=pt+ce:Pt="https://www.geogebra.org/apps/5.2.814.0/";for(var ct in Ve)if(ce.slice(Ve[ct].length*-1)===Ve[ct]||ce.slice((Ve[ct].length+1)*-1)===Ve[ct]+"/"){nt(Pt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ot&&!Ne.is3D&&!Ne.AV&&!Ne.SV&&!Ne.CV&&!Ne.EV2&&!Ne.CP&&!Ne.PC&&!Ne.DA&&!Ne.FI&&!Ne.PV&&!Re(Te.showToolBar)&&!Re(Te.showMenuBar)&&!Re(Te.showAlgebraInput)&&!Re(Te.enableRightClick)&&(!Te.appName||Te.appName=="classic")?Pt+="webSimple/":Pt+="web3d/",nt(Pt,!1)},nt=function(tt,et){if(tt.requirejs){pe=tt;return}tt.slice(-1)!=="/"&&(tt+="/"),pe=tt,et===null&&(et=tt.indexOf("http")===-1),re=et,de="web.nocache.js",me=!1;var ot=pe.split("/");ot.length>1&&(!et&&ot[ot.length-2]==="webSimple"?(de="webSimple.nocache.js",me=!0):Ve.indexOf(ot[ot.length-2])>=0&&(de=ot[ot.length-2]+".nocache.js")),ot=tt.split("/"),ce=ot[ot.length-3],ce.substr(0,4)==="test"?ce=ce.substr(4,1)+"."+ce.substr(5,1):(ce.substr(0,3)==="war"||ce.substr(0,4)==="beta")&&(ce="5.0");var yt=parseFloat(ce);yt!==NaN&&yt<5&&tt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+yt+" is deprecated. Using version latest instead."),Qe("5.0",et))},dt=function(tt,et){window.console&&window.console.log&&(!et||typeof et.showLogging=="undefined"||et.showLogging&&et.showLogging!=="false")&&console.log(tt)};Te.material_id!==void 0?Me(at):at();function at(){var tt=Qt;ne!==null?tt=ne:parseFloat(tt)<5&&(tt="5.0"),Qe(tt,!1),ee!==null&&nt(ee,re),ve=!0}return kn},GGBAppletUtils=function(){"use strict";function kn(){return window.GGBT_wsf_edit!==void 0}function Qt(ve,ne){ne!=1?(ve.style.transformOrigin="0% 0% 0px",ve.style.webkitTransformOrigin="0% 0% 0px",ve.style.transform="scale("+ne+","+ne+")",ve.style.webkitTransform="scale("+ne+","+ne+")",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 Te(ve,ne,ee,ie,oe,le){var pe=null;if(le!=null&&le!="")for(var re=ve.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+le+" ")>-1){pe=re;break}else re=re.parentNode;var ae=0,ce=0,de=0,me=0,we=0,xe=0,Ae=0;if(pe)ae=pe.offsetWidth,ce=Math.max(ie?pe.offsetWidth:0,pe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ae=Math.min(window.innerWidth,document.documentElement.clientWidth),ce=Math.min(window.innerHeight,document.documentElement.clientHeight),de=ae):(ae=window.innerWidth,ce=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,xe=de<=480?10:30):(xe=ye.left,we=de<=480?10:30),me=xe+we)}if(ve&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Ee=ve.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(me=40,Ae=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(me=0,Ae=40)}}return ve&&((ee===void 0||!ee)&&ne>0&&ne+me<ae?ae=ne:ae-=me,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ee===void 0||!ee)&&(ce-=Ae)),{width:ae,height:ce}}function Ne(ve,ne,ee,ie,oe){if(ve.isScreenshoGenerator)return 1;var le=ie!==void 0&&ie,pe=ve.noScaleMargin!=null&&ve.noScaleMargin,re=function(Ee){return Ee&&Ee!=="false"},ae=re(ve.autoHeight),ce=Te(ne,ve.width,ee,ae,le&&window.GGBT_wsf_view||pe,oe),de=parseInt(ce.width),me=ve.width,we=ve.height;if(me===void 0){var xe=ne.querySelector(".appletParameters");xe&&(me=xe.offsetWidth,we=xe.offsetHeight)}var Ae=de/me,ye=le?1:ce.height/we;return ee!==void 0&&!ee&&(Ae=Math.min(1,Ae),ye=Math.min(1,ye)),Math.min(Ae,ye)}function bt(ve,ne,ee){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)),ne&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le=!0),!(ve.hasOwnProperty("disableAutoScale")&&ve.disableAutoScale))oe=Ne(ve,ne,le,ee,ve.scaleContainerClass);else return ie;return le&&(!ve.hasOwnProperty("scale")||ie===1)?oe:Math.min(ie,oe)}function E(ve){var ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ee=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=ve.getBoundingClientRect(),oe=(ne-ie.width)/2,le=(ee-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 je(ve,ne){var ee=ve.querySelector(".appletParameters");if(ee){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ne.id!==ee.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ve)}if(ee.parentElement&&/fullscreen/.test(ee.parentElement.className))return;var ie=bt(ne,ve);kn()&&ee.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 pe=ne.id!==void 0?ne.id:"ggbApplet",re=window[pe];(re==null||!re.recalculateEnvironments)&&oe!==null&&!oe.className.match(/fullscreen/)&&(oe.parentNode.style.transform="",!isNaN(ie)&&ie!==1?(oe.parentNode.style.width=ne.width*ie+"px",oe.parentNode.style.height=ne.height*ie+"px",Qt(oe,ie)):(Qt(oe,1),oe.parentNode.style.width=ne.width+"px",oe.parentNode.style.height=ne.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&E(ve),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ee).parents(".content-added-content"))}}return{responsiveResize:je,isFlexibleWorksheetEditor:kn,positionCenter:E,getScale:bt,scaleElement:Qt}}();__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 kn=n.location.search;return kn.indexOf(J)!=-1||kn.indexOf(K)!=-1}function q(kn,Qt){}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(kn){var Qt=s[L].bindings;s[L].bindings=function(){for(var Te=Qt?Qt():{},Ne=kn[webModule.__softPermutationId],bt=O;bt<Ne.length;bt++){var E=Ne[bt];Te[E[O]]=E[P]}return Te}};var t;function u(){return v(),t}function v(){if(!t){var kn=o.createElement(Q);if(kn.id=L,kn.style.cssText=R+S,kn.tabIndex=-1,o.body.appendChild(kn),t=kn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Qt=document.compatMode==U?V:W;t.write(Qt+X),t.close()}}}function w(kn){function Qt(Ne){function bt(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=bt();if(E){Ne();return}function je(){if(!E){if(!bt())return;E=!0,Ne(),o.removeEventListener&&o.removeEventListener(Z,je,!1),ve&&clearInterval(ve)}}o.addEventListener&&o.addEventListener(Z,je,!1);var ve=setInterval(function(){je()},$)}function Te(Ne){var bt=u(),E=bt.body,je=bt.createElement(_);je.language=ab,je.crossOrigin=W,je.src=Ne,webModule.__errFn&&(je.onerror=function(){webModule.__errFn(L,new Error(bb+Ne))}),E.appendChild(je)}Qt(function(){Te(kn)})}webModule.__startLoadingFragment=function(kn){return C(kn)},webModule.__installRunAsyncCode=function(kn){var Qt=u(),Te=Qt.body,Ne=Qt.createElement(_);Ne.language=ab,Ne.text=kn,Te.appendChild(Ne),Te.removeChild(Ne)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(kn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(kn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(kn){var Qt=c[kn];return Qt==null?null:Qt},r=d,webModule.__errFn=e}function B(){function kn(ve){var ne=ve.lastIndexOf(rb);ne==-1&&(ne=ve.length);var ee=ve.indexOf(sb);ee==-1&&(ee=ve.length);var ie=ve.lastIndexOf(tb,Math.min(ee,ne));return ie>=O?ve.substring(O,ie+P):W}function Qt(ve){if(!ve.match(/^\w+:\/\//)){var ne=o.createElement(ub);ne.src=ve+vb,ve=kn(ne.src)}return ve}function Te(){var ve=__gwt_getMetaProperty(wb);return ve!=null?ve:W}function Ne(){for(var ve=o.getElementsByTagName(_),ne=O;ne<ve.length;++ne)if(ve[ne].src.indexOf(xb)!=-1)return kn(ve[ne].src);return W}function bt(){var ve=o.getElementsByTagName(yb);return ve.length>O?ve[ve.length-P].href:W}function E(){var ve=o.location;return ve.href==ve.protocol+zb+ve.host+ve.pathname+ve.search+ve.hash}var je=Te();return je==W&&(je=Ne()),je==W&&(je=bt()),je==W&&E()&&(je=kn(o.location.href)),je=Qt(je),je}function C(kn){return kn.match(/^\//)||kn.match(/^[a-zA-Z]+:\/\//)?kn:webModule.__moduleBase+kn}function D(){var kn=[],Qt=O,Te=[],Ne=[];function bt(ve){var ne=Ne[ve](),ee=Te[ve];if(ne in ee)return ne;var ie=[];for(var oe in ee)ie[ee[oe]]=oe;throw r&&r(ve,ie,ne),null}if(__gwt_isKnownPropertyValue=function(ve,ne){return ne in Te[ve]},webModule.__getPropMap=function(){var ve={};for(var ne in Te)Te.hasOwnProperty(ne)&&(ve[ne]=bt(ne));return ve},webModule.__computePropValue=bt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var je=E.indexOf(Db);je!=-1&&(Qt=parseInt(E.substring(je+P),$),E=E.substring(O,je))}catch(ve){}return webModule.__softPermutationId=Qt,C(E+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(kn,Qt,Te){"use strict";Te.d(Qt,{Ax:function(){return je},Ds:function(){return ve},KI:function(){return ee},SI:function(){return E},f1:function(){return bt}});var Ne=Te(6521);function bt(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 E(ie,oe=""){let le=[];for(let pe=0;pe<ie.length;pe++){let re=ie[pe],ae=oe?`${oe}/${re.name}`:`${re.name}`;le.push({title:re.name,type:re.type,isLeaf:re.type!=="tree",key:ae})}return le}function je(ie,oe,le){for(let pe=0;pe<ie.length;pe++){let re=ie[pe];if(re.key===oe){re.children=le;break}re.children&&je(re.children,oe,le)}return ie}function ve(ie,oe,le){let pe;return function(){let re=this,ae=arguments,ce=function(){pe=null,le||ie.apply(re,ae)},de=le&&!pe;clearTimeout(pe),pe=setTimeout(ce,oe),de&&ie.apply(re,ae)}}const ne=!0,ee=Ne.Z.API_SERVER},15868:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return pe}});var Ne=Te(59301),bt={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Te(92310),je=Te.n(E),ve=Te(71418),ne=Te(2859),ee=Te(79769),ie=Te(25544),oe=(re,ae,ce)=>new Promise((de,me)=>{var we=ye=>{try{Ae(ce.next(ye))}catch(Ee){me(Ee)}},xe=ye=>{try{Ae(ce.throw(ye))}catch(Ee){me(Ee)}},Ae=ye=>ye.done?de(ye.value):Promise.resolve(ye.value).then(we,xe);Ae((ce=ce.apply(re,ae)).next())}),pe=({data:re,className:ae,fullWidth:ce,style:de={},onClose:me,onOk:we,showFullTools:xe,noAssociationId:Ae})=>{const ye=(0,Ne.useRef)(null),Ee=(0,Ne.useRef)(null),Le=(0,Ne.useRef)(null),Ce=(0,Ne.useRef)(null),[_e,Me]=(0,Ne.useState)(!1),[De,Se]=(0,Ne.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Ne.useEffect)(()=>{Le.current||(Le.current=document.createElement("style"),document.head.appendChild(Le.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),Le.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&Be()):(document.body.removeAttribute("data-custom"),Le.current&&(document.head.removeChild(Le.current),Le.current=null))},[re==null?void 0:re.visible]);const Be=()=>oe(void 0,null,function*(){Me(!0),Se("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ge=yield(0,ie.ZJ)(re==null?void 0:re.src);ye.current.src="",ye.current.src=Ge,ye.current.onload=function(){Ye()},Me(!1),Se("")}),Re=()=>{document.body.removeAttribute("data-custom"),Le.current.innerHTML=" ",me()},Xe=Ge=>oe(void 0,null,function*(){Me(!0),Se("\u6B63\u5728\u4FDD\u5B58\u4E2D");const qe=yield(0,ee.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:Ge.dataUrl}});qe!=null&&qe.id&&!Ae?(yield(0,ee.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:qe==null?void 0:qe.id,settings:JSON.stringify(Ge.state)}})).status===0&&we():qe!=null&&qe.id&&we(qe),document.body.removeAttribute("data-custom"),Le.current.innerHTML=" ",Me(!1),Se("")}),Ie=()=>{const Ge=document.querySelector('a[href="https://markerjs.com/"]');Ge&&Ge.parentNode&&(Ge.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(it=>{const st=document.querySelector(it.name);st&&st.setAttribute("title",it.title)})},Ye=()=>{Ee.current=new ne.hP(ye.current),Ee.current.targetRoot=Ce.current,Ee.current.addEventListener("render",Xe),Ee.current.addEventListener("beforeclose",Re),xe&&(Ee.current.availableMarkerTypes=Ee.current.ALL_MARKER_TYPES,Ee.current.uiStyleSettings.redoButtonVisible=!0,Ee.current.uiStyleSettings.notesButtonVisible=!0,Ee.current.uiStyleSettings.zoomButtonVisible=!0,Ee.current.uiStyleSettings.zoomOutButtonVisible=!0,Ee.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Ee.current.uiStyleSettings,Ee.current.show(),re!=null&&re.snapshotData&&Ee.current.restoreState(re.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ie()},300)};return Ne.createElement(Ne.Fragment,null,(re==null?void 0:re.visible)&&Ne.createElement(ve.Z,{spinning:_e,tip:De,style:{position:"absolute"}},Ne.createElement("div",{ref:Ce,className:je()(bt.imageDimensions,ae,ce?bt.fullWidth:""),style:de},Ne.createElement("img",{className:bt.img,ref:ye}))))}},3315:function(kn,Qt,Te){"use strict";var Ne=Te(59301),bt=Te(95237),E=Te(43604),je=Te(99313),ve=Te(3113),ne=Te(39655),ee=Te(18760),ie=Te(48136),oe=Te(59301);const le=(0,Ne.forwardRef)(({callback:pe,showSaveButton:re,value:ae=""},ce)=>{const de=(0,Ne.useRef)(),me=[{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}`}]}]}],xe=Ee=>{de.current.setValue(de.current.getValue()+" "+Ee.value+" ")},Ae=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:oe.createElement(bt.Z,{className:ee.Z.lists,gutter:[10,10]},me.map((Ee,Le)=>oe.createElement(E.Z,{flex:"110px",className:ee.Z.item},oe.createElement("div",null,oe.createElement(ne.Z,{value:`$$${Ee.value}$$`}),Ee.name),oe.createElement("div",{className:ee.Z.children},Ee.children.map((Ce,_e)=>oe.createElement("div",{key:_e},oe.createElement("h1",null,Ce.name),oe.createElement(bt.Z,{gutter:[10,10]},Ce.data.map((Me,De)=>oe.createElement(E.Z,{key:De,onClick:()=>xe(Me),className:ee.Z.diamond},oe.createElement(ne.Z,{value:"`$$"+Me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:oe.createElement(bt.Z,{className:ee.Z.lists,gutter:[10,10]},we.map((Ee,Le)=>oe.createElement(E.Z,{flex:"110px",className:ee.Z.item},oe.createElement("div",null,oe.createElement(ne.Z,{value:"`$$"+Ee.value+"$$`"}),Ee.name),oe.createElement("div",{className:ee.Z.children},Ee.children.map((Ce,_e)=>oe.createElement("div",{key:_e},Ce.name&&oe.createElement("h1",null,Ce.name),oe.createElement(bt.Z,{gutter:[10,10]},Ce.data.map((Me,De)=>oe.createElement(E.Z,{key:De,onClick:()=>xe(Me),className:ee.Z.diamond},oe.createElement(ne.Z,{value:"`$$"+Me.value+"$$`"}))))))))))}],ye=()=>{var Ee=document.createElement("div");Ee.innerHTML=de.current.getValue();var Le=Ee.innerText;return pe&&pe(Le),Le};return(0,Ne.useImperativeHandle)(ce,()=>({getData:ye})),oe.createElement("div",{className:ee.Z.mathWrap},oe.createElement(je.default,{defaultActiveKey:"1",items:Ae}),oe.createElement("math-field",{locale:"zh_cn",className:ee.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:de,style:{width:800,marginTop:30,fontSize:18}},ae||""),re&&oe.createElement("div",{className:ee.Z.button},oe.createElement(ve.ZP,{size:"large",onClick:ye,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Qt.Z=le},34396:function(kn,Qt,Te){"use strict";Te.d(Qt,{cT:function(){return De},pe:function(){return Ce}});var Ne=Te(59301),bt=Te(54580),E=Te(8591),je=Te(79769),ve=Te(28209),ne=Te.n(ve),ee=Te(1012),ie=Te(91482),oe=Te(47257),le=Te.n(oe),pe=Object.defineProperty,re=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,we=(Be,Re,Xe)=>Re in Be?pe(Be,Re,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Be[Re]=Xe,xe=(Be,Re)=>{for(var Xe in Re||(Re={}))de.call(Re,Xe)&&we(Be,Xe,Re[Xe]);if(ce)for(var Xe of ce(Re))me.call(Re,Xe)&&we(Be,Xe,Re[Xe]);return Be},Ae=(Be,Re)=>re(Be,ae(Re)),ye=(Be,Re)=>{var Xe={};for(var Ie in Be)de.call(Be,Ie)&&Re.indexOf(Ie)<0&&(Xe[Ie]=Be[Ie]);if(Be!=null&&ce)for(var Ie of ce(Be))Re.indexOf(Ie)<0&&me.call(Be,Ie)&&(Xe[Ie]=Be[Ie]);return Xe},Ee=(Be,Re,Xe)=>new Promise((Ie,Ye)=>{var Ge=st=>{try{it(Xe.next(st))}catch(Ve){Ye(Ve)}},qe=st=>{try{it(Xe.throw(st))}catch(Ve){Ye(Ve)}},it=st=>st.done?Ie(st.value):Promise.resolve(st.value).then(Ge,qe);it((Xe=Xe.apply(Be,Re)).next())});const{Dragger:Le}=bt.default,Ce=Be=>{const Re="bf3c199c2470cb477d907b1e0917c17b",Xe="5183666c72eec9e4";var Ie=ne().enc.Utf8.parse(Re);let Ye=ne().enc.Utf8.parse(Xe);var Ge=ne().AES.decrypt(Be,Ie,{iv:Ye,mode:ne().mode.CBC});return Ge.toString(ne().enc.Utf8)};let _e;const Me=Be=>Ee(void 0,[Be],function*({identifier:Re,oldFilename:Xe,newFilename:Ie}){var Ye,Ge,qe,it,st,Ve;const Qe=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});Qe.data=JSON.parse(Ce(Qe.data));const nt=new OSS({endpoint:(Ye=Qe==null?void 0:Qe.data)==null?void 0:Ye.end_point,region:(Ge=Qe==null?void 0:Qe.data)==null?void 0:Ge.region,accessKeyId:(qe=Qe==null?void 0:Qe.data)==null?void 0:qe.access_key_id,accessKeySecret:(it=Qe==null?void 0:Qe.data)==null?void 0:it.access_key_secret,bucket:(st=Qe==null?void 0:Qe.data)==null?void 0:st.bucket,stsToken:(Ve=Qe==null?void 0:Qe.data)==null?void 0:Ve.security_token});return new Promise((dt,at)=>{console.log(11111,`${Re}/${Xe}`,`${Re}/${Ie}`,Qe.data),nt.copy(`/${Re}/${Xe}`,`/${Re}/${Ie}`).then(tt=>{console.log("\u62F7\u8D1D\u6210\u529F",tt)}).catch(tt=>{console.log(tt)})})}),De=(Be,Re,Xe)=>Ee(void 0,null,function*(){var Ie,Ye,Ge,qe,it,st;Re.file_name=Be.name;const Ve=yield(0,je.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",Ce(Ve.data)),Ve.data=JSON.parse(Ce(Ve.data));const Qe=Be.name.split(".");Qe.pop();const nt=Re.realFileName?Qe.join(""):(0,ee.Z)(),dt=new(le())({endpoint:(Ie=Ve==null?void 0:Ve.data)==null?void 0:Ie.end_point,region:(Ye=Ve==null?void 0:Ve.data)==null?void 0:Ye.region,accessKeyId:(Ge=Ve==null?void 0:Ve.data)==null?void 0:Ge.access_key_id,accessKeySecret:(qe=Ve==null?void 0:Ve.data)==null?void 0:qe.access_key_secret,bucket:(it=Ve==null?void 0:Ve.data)==null?void 0:it.bucket,stsToken:(st=Ve==null?void 0:Ve.data)==null?void 0:st.security_token});return new Promise((at,tt)=>{var et;dt.multipartUpload(`${nt}`,new Blob([Be],{type:Be.type}),Ae(xe({timeout:200*1e3,partSize:102400},Xe),{callback:{url:(et=Ve==null?void 0:Ve.data)==null?void 0:et.callback_url,host:Ve==null?void 0:Ve.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,je.rz)(Re)}})).then(function(ot){var yt;Be.response=(yt=ot.data)==null?void 0:yt.data,at(ot==null?void 0:ot.data)}).catch(function(ot){tt(ot),console.log("err:",ot)})})}),Se=Be=>{var Re=Be,{user:Xe,cancelUpload:Ie}=Re,Ye=ye(Re,["user","cancelUpload"]);const[Ge,qe]=(0,Ne.useState)([]);let[it,st]=(0,Ne.useState)();const Ve={onRemove:nt=>{qe([...Ge.filter(dt=>dt.name!==nt.name)]),Ye.onChange(Ge.filter(dt=>dt.name!==nt.name))},disabled:Ye.disabled,multiple:!0,fileList:Ge==null?void 0:Ge.map(nt=>nt.file),customRequest:()=>{},beforeUpload:nt=>Ee(void 0,null,function*(){let dt=Ye.maxSize||1073741824;if(Ge.filter(at=>at.name===nt.name).length){E.ZP.info(`${nt.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(nt==null?void 0:nt.size)>dt?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${dt/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(Ge.push({name:nt.name,file:nt}),qe([...Ge]),Ye.onChange(Ge),!1)})},Qe=(nt,dt)=>Ee(void 0,null,function*(){var at,tt,et,ot,yt,pt;dt.file_name=nt.name;const Pt=nt.name,Mt=yield(0,je.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(Mt.data=JSON.parse(Ce(Mt.data)),(Mt==null?void 0:Mt.status)!==0){Ge[Ge.findIndex(Ze=>Ze.name===Pt)].status="error",Ge[Ge.findIndex(Ze=>Ze.name===Pt)].file.status="error",Ye.onChange(Ge),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}it=new(le())({endpoint:(at=Mt==null?void 0:Mt.data)==null?void 0:at.end_point,region:(tt=Mt==null?void 0:Mt.data)==null?void 0:tt.region,accessKeyId:(et=Mt==null?void 0:Mt.data)==null?void 0:et.access_key_id,accessKeySecret:(ot=Mt==null?void 0:Mt.data)==null?void 0:ot.access_key_secret,bucket:(yt=Mt==null?void 0:Mt.data)==null?void 0:yt.bucket,stsToken:(pt=Mt==null?void 0:Mt.data)==null?void 0:pt.security_token}),console.log(nt,"file"),st(it);const ct=nt.name.split(".");ct.pop();const Je=Pt.indexOf(".")>-1?dt.realFileName?ct.join("."):(0,ee.Z)():Pt;return new Promise((Ze,ue)=>{var he;try{it.multipartUpload(`${Ye.identifier}/${Je}${Pt.indexOf(".")>-1?"."+Pt.split(".").pop():""}`,new Blob([nt.file],{type:nt.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(He,We,fe)=>{try{console.log("\u8FDB\u5EA6",He,We,fe);const Pe=Ge.findIndex(Fe=>Fe.name===Pt);Ge[Pe].file.percent=He*100,Ge[Pe].tempCheckpoint=We,qe([...Ge])}catch(Pe){}},checkpoint:Ge[Ge.findIndex(He=>He.name===Pt)].tempCheckpoint,callback:{customValue:{id:Pt+""},url:(he=Mt==null?void 0:Mt.data)==null?void 0:he.callback_url,host:Mt==null?void 0:Mt.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,je.rz)(dt)}}).then(function(He){var We,fe,Pe;const Fe=Ge.findIndex(Ue=>Ue.name===Pt);let Ke="done";if(((We=He.data)==null?void 0:We.status)===0){nt.response=(fe=He.data)==null?void 0:fe.data;const Ue=Ge.findIndex(ut=>ut.name===Pt);Ge[Ue].status="done",Ge[Ue].file.status="done"}else E.ZP.warning((Pe=He.data)==null?void 0:Pe.message),Ke="error";Ge[Fe].status=Ke,Ge[Fe].file.status=Ke,Ye.onChange(Ge),Ze(He==null?void 0:He.data)}).catch(function(He){Ge[Ge.findIndex(We=>We.name===Pt)].status="error",Ge[Ge.findIndex(We=>We.name===Pt)].file.status="error",E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),qe([...Ge]),Ye.onChange(Ge),ue(He),console.log("err:",He)})}catch(He){}})});return(0,Ne.useEffect)(()=>{Ge.every(nt=>nt==="done"||nt==="error")&&Ye.onComplete(Ge)},[Ge]),(0,Ne.useEffect)(()=>{Ie&&(it==null||it.cancel())},[Ie]),(0,Ne.useEffect)(()=>{Ye.uploading&&Ge.map(nt=>Ee(void 0,null,function*(){var dt;if((!nt.status||nt.status==="error")&&!Ie){nt.status="uploading",nt.file.status="uploading";const at=yield Qe(nt,{login:(dt=Xe==null?void 0:Xe.userInfo)==null?void 0:dt.login,container_type:Ye.container_type,container_id:Ye.container_id,description:Ye.description,realFileName:Ye.realFileName})}}))},[Ye.uploading]),Ne.createElement(Le,Ae(xe({},Ve),{height:Ye.height,className:Ye.className}),Ne.createElement("p",{className:"ant-upload-hint"},Ye.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};Qt.ZP=(0,ie.connect)(({loading:Be,globalSetting:Re,user:Xe})=>({globalSetting:Re,loading:Be.models.competitions,user:Xe}))(Se)},67831:function(kn,Qt,Te){"use strict";Te.d(Qt,{h:function(){return Ee}});var Ne=Te(59301),bt=Te(57809),E=Te(78241),je=Te(3113),ve=Te(89780),ne=Te.n(ve),ee=Te(14618),ie=Te(66552),oe=Object.defineProperty,le=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,de=(Le,Ce,_e)=>Ce in Le?oe(Le,Ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Le[Ce]=_e,me=(Le,Ce)=>{for(var _e in Ce||(Ce={}))ae.call(Ce,_e)&&de(Le,_e,Ce[_e]);if(re)for(var _e of re(Ce))ce.call(Ce,_e)&&de(Le,_e,Ce[_e]);return Le},we=(Le,Ce)=>le(Le,pe(Ce));const xe=bt.default.Option,Ae={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"]};Qt.Z=({callback:Le,onCancel:Ce})=>{const[_e,Me]=(0,Ne.useState)("python");function De(Be){Me(ye[Be][1])}function Se(Be){Le(Be)}return Ne.createElement(E.default,we(me({},Ae),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Se,style:{width:500}}),Ne.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Ne.createElement(bt.default,{getPopupContainer:Be=>Be.parentNode,onChange:De},Object.keys(ye).map(Be=>Ne.createElement(xe,{key:Be,value:Be},ye[Be][0])))),Ne.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Ne.createElement(Ee,{mode:_e})),Ne.createElement("div",{className:"flex-container flex-end"},Ne.createElement(je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ne.createElement(je.ZP,{type:"ghost",onClick:Ce},"\u53D6\u6D88")))};function Ee({value:Le,onChange:Ce,mode:_e,options:Me={}}){const De=(0,Ne.useRef)(),[Se,Be]=(0,Ne.useState)();return(0,Ne.useEffect)(()=>{if(Se){let Re=function(Xe){const Ie=Xe.getValue();Ce&&Ce(Ie)};return Se.on("change",Re),()=>{Se.off("change",Re)}}},[Se,Ce]),(0,Ne.useEffect)(()=>{Se&&Se.setOption("mode",_e)},[Se,_e]),(0,Ne.useEffect)(()=>{Se&&(Le!==Se.getValue()||Le==="")&&setTimeout(()=>{Se.setValue(Le||"")},300)},[Se,Le]),(0,Ne.useEffect)(()=>{if(De.current&&!Se){const Re=ne().fromTextArea(De.current,me({mode:_e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Me));Be(Re)}},[De.current,Se]),Ne.createElement("div",{className:"my-codemirror-container"},Ne.createElement("textarea",{ref:De}))}},40973:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Xn}});var Ne=Te(59301),bt=Te(89780),E=Te.n(bt),je=Te(76374),ve=Te(14618),ne=Te(6313),ee=Te(25717),ie=Te(99498),oe=Te(25419),le=Te(67549),pe=Te(39655),re=({value:$n="",className:wr,showTextOnly:nr,showLines:Zn,style:Pr={}})=>{const Ht=(0,Ne.useMemo)(()=>"",[$n]);return Ne.createElement(Ne.Fragment,null,Ne.createElement("div",{dangerouslySetInnerHTML:{__html:Ht}}))},ae=Te(59301),ce=Object.defineProperty,de=Object.defineProperties,me=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ye=($n,wr,nr)=>wr in $n?ce($n,wr,{enumerable:!0,configurable:!0,writable:!0,value:nr}):$n[wr]=nr,Ee=($n,wr)=>{for(var nr in wr||(wr={}))xe.call(wr,nr)&&ye($n,nr,wr[nr]);if(we)for(var nr of we(wr))Ae.call(wr,nr)&&ye($n,nr,wr[nr]);return $n},Le=($n,wr)=>de($n,me(wr));let Ce=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function _e({onActionCallback:$n,title:wr,icon:nr,actionName:Zn,className:Pr="",children:Ht}){function kt(){$n(Zn)}return ae.createElement("a",{title:wr,className:Pr,onClick:kt},ae.createElement("i",{className:`${nr}`}),Ht)}var Me=({watch:$n,showNullButton:wr,showNullProgramButton:nr,onActionCallback:Zn,fullScreen:Pr,insertTemp:Ht,hidetoolBar:kt,extraUse:Rt})=>{const Lt=[...Ce,{title:`${$n?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${$n?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ae.createElement("ul",{className:"markdown-toolbar-container"},!kt&&Lt.map((Bt,Ut)=>ae.createElement("li",{key:Ut},Bt.actionName?ae.createElement(_e,Le(Ee({},Bt),{onActionCallback:Zn})):ae.createElement("span",{className:"v-line"}))),wr?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:Zn},ae.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,nr?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:Zn},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:Zn},ae.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ht&&ae.createElement("li",null,ae.createElement(_e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ht}`,onActionCallback:Zn},ae.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Rt&&ae.createElement("li",null,Rt),ae.createElement("li",{className:"btn-full-screen"},ae.createElement(_e,{icon:`${Pr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Pr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Zn})))},De=Te(53531),Se=Te(78241),Be=Te(92832),Re=Te(3113),Xe=Object.defineProperty,Ie=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,st=($n,wr,nr)=>wr in $n?Xe($n,wr,{enumerable:!0,configurable:!0,writable:!0,value:nr}):$n[wr]=nr,Ve=($n,wr)=>{for(var nr in wr||(wr={}))qe.call(wr,nr)&&st($n,nr,wr[nr]);if(Ge)for(var nr of Ge(wr))it.call(wr,nr)&&st($n,nr,wr[nr]);return $n},Qe=($n,wr)=>Ie($n,Ye(wr));const nt={labelCol:{span:4},wrapperCol:{span:20}};var dt=({callback:$n,onCancel:wr})=>{function nr(Zn){$n(Zn)}return Ne.createElement(Se.default,Qe(Ve({},nt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:nr,style:{width:500}}),Ne.createElement(Se.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Ne.createElement(Be.default,null)),Ne.createElement(Se.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Ne.createElement(Be.default,null)),Ne.createElement("div",{className:"flex-container flex-end"},Ne.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ne.createElement(Re.ZP,{type:"ghost",onClick:wr},"\u53D6\u6D88")))},at=Te(67831),tt=Te(58448),et=Te(43418),ot=Te(95237),yt=Te(15868),pt=Te(59301),Pt=({callback:$n,onCancel:wr})=>{const nr=document.createElement("canvas"),Zn=nr.getContext("2d");nr.width=1e3,nr.height=800,Zn.fillStyle="#ffffff",Zn.fillRect(0,0,nr.width,nr.height);const Pr=nr.toDataURL("image/png");return pt.createElement(et.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},pt.createElement(ot.Z,{style:{height:"100vh"}},pt.createElement(yt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Pr,visible:!0,title:String(Date.now())},onOk:Ht=>{$n({src:Ht.url})},onClose:wr})))},Mt=Te(8591),ct=Te(43428),Je=Te(43604),Ze={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ue=Te(59301),He=(0,Ne.forwardRef)(({onCancel:$n,editImgId:wr,callback:nr},Zn)=>{let Pr=(0,Ne.useRef)(),Ht=(0,Ne.useRef)(),kt=(0,Ne.useRef)(),Rt=(0,Ne.useRef)(!1);const Lt=(0,Ne.useRef)(!1);console.log("ref:",Zn);const[Bt,Ut]=(0,Ne.useState)(0),[Yt,hn]=(0,Ne.useState)("100vh");(0,Ne.useEffect)(()=>{Ut(1);try{indexedDB.databases().then(Ln=>{Ln.forEach(Tn=>indexedDB.deleteDatabase(Tn.name))})}catch(Ln){}},[]),(0,Ne.useEffect)(()=>(window.addEventListener("message",wn),()=>{window.removeEventListener("message",wn)}),[]),(0,Ne.useImperativeHandle)(Zn,()=>({setHeight:hn}));const fn=Ln=>{window.saveDrawData(Tn=>{if(Tn===null&&!Ln){Mt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Mt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),nr({src:`/api/attachments/${Tn}`,id:Tn,disabledClose:!0})})},wn=Ln=>{var Tn;((Tn=Ln==null?void 0:Ln.data)==null?void 0:Tn.type)==="closePop"&&fn(!0)};return ue.createElement("div",{ref:Lt,className:"body-overflow-initial"},ue.createElement(ct.Z,{width:"100vw",height:Yt,footer:null,closable:!0,placement:"bottom",open:!!Bt,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Ze.drawerWrap}`,onClose:()=>{window.saveDrawData(Ln=>{nr({src:`/api/attachments/${Ln}`,id:Ln})})},title:ue.createElement(ot.Z,{align:"middle"},ue.createElement(Je.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ue.createElement(Je.Z,{onClick:()=>{hn(Yt==="60px"?"100vh":"60px")}},ue.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ue.createElement(Je.Z,{onClick:fn},ue.createElement(Re.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ue.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${wr||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Ht})))}),We=Te(6521),fe=Te(5112),Pe=Te(5871);const Fe=fe.ZP.Group,Ke={margin:"0 8px"};var Ue=({callback:$n,onCancel:wr})=>{function nr(Zn){$n(Zn)}return Ne.createElement(Se.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:nr},Ne.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Ne.createElement("span",{style:Ke},"\u5355\u5143\u683C\u6570\uFF1A"),Ne.createElement("span",{style:Ke},"\u884C\u6570"),Ne.createElement(Se.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Ne.createElement(Pe.Z,null)),Ne.createElement("span",{style:Ke},"\u5217\u6570"),Ne.createElement(Se.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Ne.createElement(Pe.Z,null))),Ne.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Ne.createElement("span",{style:Ke},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Ne.createElement(Se.default.Item,{name:"align"},Ne.createElement(Fe,null,Ne.createElement(fe.ZP,{value:"default"},Ne.createElement("i",{className:"fa fa-align-justify"})),Ne.createElement(fe.ZP,{value:"left"},Ne.createElement("i",{className:"fa fa-align-left"})),Ne.createElement(fe.ZP,{value:"center"},Ne.createElement("i",{className:"fa fa-align-center"})),Ne.createElement(fe.ZP,{value:"right"},Ne.createElement("i",{className:"fa fa-align-right"}))))),Ne.createElement("div",{className:"flex-container flex-end"},Ne.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ne.createElement(Re.ZP,{type:"ghost",onClick:wr},"\u53D6\u6D88")))},ut=Te(78673),vt=Te(3352),lt=Te.n(vt),Wt=(0,Ne.forwardRef)(({use3d:$n,width:wr,height:nr,callback:Zn,showSaveButton:Pr},Ht)=>{const kt=(0,Ne.useRef)(),Rt=(0,Ne.useRef)(),[Lt,Bt]=(0,Ne.useState)(!1),Ut=(0,Ne.useRef)({id:kt,appName:"graphing",width:wr||1e3,height:nr||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Ne.useEffect)(()=>{Rt.current=new(lt())(Ut.current,!0),window.onload=function(){Rt.current.inject("applet_container")}},[]);const Yt=()=>{var hn=window.ggbApplet.getPNGBase64(1,!0,72);return Zn&&Zn(hn),hn};return(0,Ne.useEffect)(()=>{Ut.current.appName=Lt?"3D":"graphing",Rt.current.inject("applet_container")},[Lt]),(0,Ne.useEffect)(()=>{Bt($n)},[$n]),(0,Ne.useImperativeHandle)(Ht,()=>({getImgData:Yt})),Ne.createElement(Ne.Fragment,null,Ne.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:kt}),Ne.createElement(ot.Z,{align:"middle"},Ne.createElement(Je.Z,{flex:1},Ne.createElement(ut.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Lt,onChange:hn=>Bt(hn)})),Ne.createElement(Je.Z,null,Ne.createElement(Re.ZP,{size:"large",onClick:Yt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),wt=Te(3315),zt=Te(1012);const Nt="link",St="upload-image",ft="add-flowchart",Et="draw-image",Ft="add-flowchart",Kt="code-block",Zt="add-table",rn="------------",En={default:rn,left:`:${rn}`,center:`:${rn}:`,right:`${rn}:`};var On=Te(57649),Hn=($n,wr,nr)=>new Promise((Zn,Pr)=>{var Ht=Lt=>{try{Rt(nr.next(Lt))}catch(Bt){Pr(Bt)}},kt=Lt=>{try{Rt(nr.throw(Lt))}catch(Bt){Pr(Bt)}},Rt=Lt=>Lt.done?Zn(Lt.value):Promise.resolve(Lt.value).then(Ht,kt);Rt((nr=nr.apply($n,wr)).next())});function Dn(){}let jn=0;const Jn=1e4,br="\u2581",sr="@\u2581\u2581@",Rn="@\u2581@",Fn=`
**\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`,Gn=["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 er($n){return/^\d+$/.test($n)?`${$n}px`:$n}const cr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Tr={[cr+"-B"]:"bold",[cr+"-I"]:"italic"},Dr={[Nt]:"\u6DFB\u52A0\u94FE\u63A5",[Kt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[St]:"\u6DFB\u52A0\u56FE\u7247",[Et]:"\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 Xn=({defaultValue:$n="",onChange:wr,width:nr="100%",height:Zn=400,miniToolbar:Pr=!1,isFocus:Ht=!1,watch:kt,insertTemp:Rt,mode:Lt="markdown",id:Bt="markdown-editor-id",showResizeBar:Ut=!1,noStorage:Yt=!1,showNullButton:hn=!1,showNullProgramButton:fn=!1,hidetoolBar:wn=!1,fullScreen:Ln=!1,onBlur:Tn,onCMBeforeChange:zn,onFullScreen:nn,className:In="",disablePaste:Xt=!1,disabled:en=!1,disabledFill:sn=!1,placeholder:mn="",values:Bn="",extraUse:cn,onAddBlank:pn})=>{const[Tt,Jt]=(0,Ne.useState)(null),[qt,un]=(0,Ne.useState)($n),[dn,yn]=(0,Ne.useState)(kt),[bn,_n]=(0,Ne.useState)(Ln),[Qn,ar]=(0,Ne.useState)(""),[gr,mr]=(0,Ne.useState)(0),[zr,Mr]=(0,Ne.useState)(Zn),[lr,ur]=(0,Ne.useState)(!1),dr=(0,Ne.useRef)((0,zt.Z)()),Rr=(0,Ne.useRef)(!1),Cr=(0,Ne.useRef)(),[Ar,Gr]=(0,Ne.useState)(0),[Kr,oi]=(0,Ne.useState)(0),Di=(0,Ne.useRef)(),Hr=(0,Ne.useRef)(),or=(0,Ne.useRef)(),ir=(0,Ne.useRef)(),ti=(0,Ne.useRef)(),Ur=(0,Ne.useRef)(),ui=()=>Hn(void 0,null,function*(){var jr;const _r=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:dr.current}});(jr=_r==null?void 0:_r.attachments)!=null&&jr.length&&(console.log("cm:",Tt,Di),_r.attachments.map(Nr=>{Nr.content_type.indexOf("image")>-1?Tt.replaceSelection(`![,](/api/attachments/${Nr.id}?type=${Nr.content_type})`):Nr.content_type.indexOf("video")>-1?Tt.replaceSelection(`<video width="100%" controls src="${We.Z.API_SERVER}/api/attachments/${data.id}"></video>`):Nr.content_type.indexOf("pdf")>-1?Tt.replaceSelection(`<a href="${We.Z.API_SERVER}/api/attachments/${Nr.id}?type=${Nr.content_type}&disposition=inline" target="_blank">${Nr.name}</a>`):Tt.replaceSelection(`[${Nr.name}](${We.Z.API_SERVER}/api/attachments/${Nr.id}?type=${Nr.content_type})`)}))});(0,Ne.useEffect)(()=>{const jr=window.scrollY||window.pageYOffset;un(Bn),Tt==null||Tt.setValue(Bn),window.scrollTo(0,jr)},[Bn]),(0,Ne.useEffect)(()=>{nn==null||nn(bn)},[bn]),(0,Ne.useEffect)(()=>{if(Di.current){let jr=function(Nr,$r){var Yi;if(Xt){$r.preventDefault();return}const fa=$r.clipboardData;if(fa){const va=fa.types.toString(),pa=fa.items;if(va==="Files"||fa.types.indexOf("Files")>-1){if($r.preventDefault(),Lt=="stex")return;try{let ua=pa[1];((Yi=pa[0])==null?void 0:Yi.kind)==="file"&&(ua=pa[0]);const Ma=ua.getAsFile(),Xa=Ma.name.split(".").pop();(0,tt.I)(Ma,Va=>{var go,_i,Ui;Va.id?((go=Ma==null?void 0:Ma.type)==null?void 0:go.indexOf("image"))>-1?_r.replaceSelection(`<img width="100%" src="/api/attachments/${Va.id}?type=${Va.content_type})" alt="" />`):((_i=Ma==null?void 0:Ma.type)==null?void 0:_i.indexOf("video"))>-1?_r.replaceSelection(`<video width="100%" controls src="/api/attachments/${Va.id}"></video>`):((Ui=Ma==null?void 0:Ma.type)==null?void 0:Ui.indexOf("pdf"))>-1?_r.replaceSelection(`<a href="/api/attachments/${Va.id}?type=${Ma.type}&disposition=inline" target="_blank">${Ma.name}</a>`):Gn.includes(Xa)?_r.replaceSelection(`<a href="/api/attachments/${Va.id}?type=office&disposition=inline" target="_blank">${Ma.name}</a>`):_r.replaceSelection(`[${Ma.name}](/api/attachments/${Va.id}?type=${Va.content_type})`):(Va==null?void 0:Va.status)===401&&(Mt.ZP.warning((Va==null?void 0:Va.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(ua){Mt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const _r=E().fromTextArea(Di.current,{mode:Lt,lineNumbers:!Pr,lineWrapping:!0,value:$n,autoCloseTags:!fn,autoCloseBrackets:!0});return _r.on("keyup",function(Nr,$r){$r.keyCode===8&&(Nr.getValue()==""?_r.setOption("placeholder",mn):_r.setOption("placeholder",null))}),_r.on("keydown",function(Nr,$r){if($r.keyCode===8){var Yi=pi(Nr);Yi&&$r.preventDefault()}}),Ht&&_r.focus(),_r.on("paste",jr),_r.on("dragleave",function(Nr,$r){Hr.current.classList.remove("mouse-hover-md")}),en&&_r.on("beforeChange",function(Nr,$r){($r.origin==="paste"||$r.origin==="+input")&&$r.cancel()}),Jt(_r),()=>{_r.off("paste",jr)}}},[]);const gi=(0,Ne.useCallback)(()=>{if(Hr.current)try{}catch(jr){console.log(jr,"---- to set md editor body height")}},[zr,Hr,bn]);(0,Ne.useEffect)(()=>{function jr(){let _r=new je.Z(Nr=>{for(let $r of Nr)($r.target.offsetHeight>0||$r.target.offsetWidth>0)&&(gi(),Tt.setSize("100%","100%"),Tt.refresh())});return _r.observe(Di.current.parentElement),_r}if(Tt){const _r=jr();return()=>{var Nr,$r;(Nr=Di.current)!=null&&Nr.parentElement&&_r.unobserve(($r=Di.current)==null?void 0:$r.parentElement)}}},[Tt,gi]),(0,Ne.useEffect)(()=>{if(Tt){let jr=[];for(const[_r,Nr]of Object.entries(Tr)){let $r={[_r]:()=>{ei(Nr)}};jr.push($r),Tt.addKeyMap($r)}return Cr.current=setInterval(()=>{Rr.current&&ui()},4e3),()=>{clearInterval(Cr.current);for(let _r of jr)Tt.removeKeyMap(_r)}}},[Tt]),(0,Ne.useEffect)(()=>{Ln!==bn&&_n(Ln)},[Ln]),(0,On.Z)(()=>{if(!Yt&&gr>0){let jr=new Date().getTime(),_r=window.sessionStorage.getItem(Bt);jr>=gr+Jn&&(!_r||_r!==qt)&&(window.sessionStorage.setItem(Bt,qt),ur(!0))}},Jn),(0,Ne.useEffect)(()=>{yn(kt)},[Tt,kt]),(0,Ne.useEffect)(()=>{Tt&&Ht&&Tt.focus()},[Tt,Ht]),(0,Ne.useEffect)(()=>{if(dn&&Tt){let jr=function(Nr){let $r=Nr.target;if(ir.current){let Yi=$r.scrollTop/$r.scrollHeight;ir.current.scrollTop=ir.current.scrollHeight*Yi}};const _r=Tt.getScrollerElement();return _r.addEventListener("scroll",jr),()=>{_r.removeEventListener("scroll",jr)}}},[Tt,dn]),(0,Ne.useEffect)(()=>{if(Tt&&zn){let jr=function(_r,Nr){zn(_r,Nr)};return Tt.on("beforeChange",jr),()=>{Tt.off("beforeChange",jr)}}},[Tt,zn]),(0,Ne.useEffect)(()=>{if(Tt&&Tn){let jr=function(){Tn(Tt.getValue())};return Tt.on("blur",jr),()=>{Tt.off("blur",jr)}}},[Tt,Tn]);function pi(jr,_r){var Nr=jr.getDoc(),$r=Nr.getCursor(),Yi=Nr.getLine($r.line),fa=Yi.charAt($r.ch-1),va=Yi.lastIndexOf("@\u2581@",$r.ch),pa=Yi.lastIndexOf("@\u2581\u2581@",$r.ch),ua=va>pa?va:pa,Ma=va>pa?3:4;if(sr.indexOf(fa)===-1)return null;if(console.log("change1:",_r,jr,Yi,$r,ua,va,pa,fa),ua>=0&&$r.ch-ua<5){var Xa=ua+Ma;return Nr.replaceRange("",{line:$r.line,ch:ua},{line:$r.line,ch:Xa}),{line:$r.line,ch:Xa}}return null}(0,Ne.useEffect)(()=>{if(Tt){let jr=function(_r,Nr){const $r=_r.getValue();un($r),mr(new Date().getTime()),_r.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),wr&&(fn?wr($r,ca($r)):wr($r))};return Tt.on("change",jr),()=>{Tt.off("change",jr)}}},[Tt,wr]),(0,Ne.useEffect)(()=>{if(Tt)if($n==null)Tt.setValue(""),un("");else{const jr=window.scrollY||window.pageYOffset;$n!==Tt.getValue()&&(Tt.setValue($n),un($n),Tt.setCursor(en?1:Tt.lineCount(),0),window.scrollTo(0,jr))}},[Tt,$n]);const ei=(0,Ne.useCallback)(jr=>{const _r=Tt.getCursor(),Nr=Tt.getSelection();let $r=Nr.split(`
`);switch(jr){case"bold":return Tt.replaceSelection("**"+Nr+"**"),Nr===""&&Tt.setCursor(_r.line,_r.ch+2),Tt.focus();case"italic":return Tt.replaceSelection("*"+Nr+"*"),Nr===""&&Tt.setCursor(_r.line,_r.ch+1),Tt.focus();case"code":return Tt.replaceSelection("`"+Nr+"`"),Nr===""&&Tt.setCursor(_r.line,_r.ch+1),Tt.focus();case"inline-latex":return ar("inline-latex"),Tt.focus();case"latex":return Tt.replaceSelection("```latex\n"+Nr+"\n```"),Tt.setCursor(_r.line+1,Nr.length+1),Tt.focus();case"line-break":return Tt.replaceSelection(`<br/>
`),Tt.focus();case"list-ul":return Nr===""?Tt.replaceSelection("- "+Nr):Tt.replaceSelection($r.map(Yi=>Yi===""?"":`- ${Yi}`).join(`
`)),Tt.focus();case"list-ol":return Nr===""?Tt.replaceSelection("1. "+Nr):Tt.replaceSelection($r.map((Yi,fa)=>Yi===""?"":`${fa+1}. ${Yi}`).join(`
`)),Tt.focus();case"add-null-ch":pn==null||pn();return;case"add-signal":return Nr===""&&Tt.setCursor(_r.line,_r.ch),Tt.replaceSelection(Rn),Tt.focus();case"add-multiple":return Nr===""&&Tt.setCursor(_r.line,_r.ch),Tt.replaceSelection(sr),Tt.focus();case"inster-template-1":return Nr===""&&Tt.setCursor(_r.line,_r.ch),Tt.replaceSelection(Fn),Tt.focus();case"eraser":return Tt.setValue(""),Tt.focus();case"trigger-watch":return yn(!dn),Tt.focus();case"trigger-full-screen":return _n(!bn),Tt.focus();case Nt:ar(Nt);return;case Kt:ar(Kt);return;case St:ar(St);return;case Et:ar(Et);return;case"maths-latex":ar("maths-latex");return;case ft:ti.current="",sessionStorage.removeItem("file_id"),ar(ft);return;case Zt:ar(Zt);return;default:throw new Error}},[Tt,dn,bn]),li=(0,Ne.useCallback)((jr,_r)=>{var Nr,$r,Yi,fa,va,pa;ar("");const{src:ua,alt:Ma,id:Xa}=jr||{};switch(Qn){case Nt:const{title:Oa,link:aa}=jr;return Tt.replaceSelection(`[${Oa}](${aa})`),Tt.focus();case Kt:const{language:ha,content:Pn}=jr;return Tt.replaceSelection(["```"+ha,Pn,"```"].join(`
`)),Tt.focus();case"maths-latex":for(var Va=atob(jr),go=new Uint8Array(Va.length),_i=0;_i<Va.length;_i++)go[_i]=Va.charCodeAt(_i);var Ui=new Blob([go],{type:"image/png"});(0,tt.I)(Ui,Br=>{Br.id?Tt.replaceSelection(`![,](/api/attachments/${Br.id}?type=${Br.content_type})`):(Br==null?void 0:Br.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Tt.replaceSelection("`$$"+jr+"$$`");break;case Ft:if(!Xa)return;Tt.focus(),Tt.getValue().indexOf(ua)===-1?Tt.replaceSelection(`<center><img id="${Xa}" width="80%" src="${ua}" class="draw-flowchart" alt="${Ma||""}" /></center>`):document.getElementById(Xa).src=We.Z.API_SERVER+ua+"?t="+Date.now();try{setTimeout(()=>{Tn(Tt.getValue())},100)}catch(Br){}break;case St:case Et:const An=_r,xn=(Yi=($r=(Nr=An==null?void 0:An.name)==null?void 0:Nr.split("."))==null?void 0:$r.pop)==null?void 0:Yi.call($r);return((fa=An==null?void 0:An.type)==null?void 0:fa.indexOf("image"))>-1||!(An!=null&&An.type)?An!=null&&An.align||An!=null&&An.width?Tt.replaceSelection(`<p style="text-align:${An.align||"initial"}"><img width="${An.width?An.width+"%":"initial"}" src="${ua}" alt="${Ma||""}" /></p>`):Tt.replaceSelection(`<img width="100%" src="${ua}" alt="${Ma||""}" />`):((va=An==null?void 0:An.type)==null?void 0:va.indexOf("video"))>-1?Tt.replaceSelection(`<video width="100%" controls src="${ua}"></video>`):((pa=An==null?void 0:An.type)==null?void 0:pa.indexOf("pdf"))>-1?Tt.replaceSelection(`<a href="${ua}?type=${An.type}&disposition=inline" target="_blank">${An.name}</a>`):Gn.includes(xn)?Tt.replaceSelection(`<a href="${ua}?type=office&disposition=inline" target="_blank">${An.name}</a>`):Tt.replaceSelection(`[${An.name}](${ua})`),Tt.focus();case Zt:const{row:Yn,col:fr,align:hr}=jr;let Vn=`
`;for(let Br=0;Br<Yn;Br++){let di=[],Ii=[];for(let fi=0;fi<fr;fi++)Br===1&&Ii.push(En[hr]),di.push(" ");Br===1&&(Vn+=`| ${Ii.join(" | ")} |
`),Vn+=`| ${di.join(fr===1?"":" | ")} |
`}return Tt.replaceSelection(Vn+`
`),Tt.focus();default:throw new Error}},[Tt,Qn]),ta=(0,Ne.useMemo)(()=>{switch(Qn){case Nt:return Ne.createElement(dt,{callback:li,onCancel:Ir});case Kt:return Ne.createElement(at.Z,{callback:li,onCancel:Ir});case St:return Ne.createElement(tt.Z,{callback:li,onCancel:Ir});case ft:return Ne.createElement(He,{editImgId:ti.current,callback:li,onCancel:Ir});case Zt:return Ne.createElement(Ue,{callback:li,onCancel:Ir});case"maths-latex":return Ne.createElement(Wt,{showSaveButton:!0,callback:li});case"inline-latex":return Ne.createElement(wt.Z,{showSaveButton:!0,callback:li});default:return null}},[Qn]);function Ir(){ar("")}(0,Ne.useEffect)(()=>{if(or.current){let jr=function(va){Yi=!0,fa=va.pageY},_r=function(){Yi=!1},Nr=function(va){if(Yi){let pa=va.pageY-fa;pa<0&&(pa=0),pa>300&&(pa=300);let ua=Zn+pa+"px";Mr(ua)}},$r=or.current,Yi=!1,fa=0;return $r.addEventListener("mousedown",jr),document.addEventListener("mousemove",Nr),document.addEventListener("mouseup",_r),()=>{$r.removeEventListener("mousedown",jr),document.removeEventListener("mousemove",Nr),document.removeEventListener("mouseup",_r)}}},[Tt,or]),(0,Ne.useEffect)(()=>{Mr(Zn)},[Zn]);const Wr=er(nr),vi=er(zr),Ai={width:Wr,height:vi},da=(0,Ne.useMemo)(()=>{if(gr){let jr=new Date(gr),_r=jr.getHours(),Nr=jr.getMinutes(),$r=jr.getSeconds();return _r=_r<10?"0"+_r:_r,Nr=Nr<10?"0"+Nr:Nr,$r=$r<10?"0"+$r:$r,`${_r}:${Nr}:${$r}`}return 0},[gr]),ca=jr=>{const _r=[];if(fn){let Nr=-1;jr=jr.replace(/(@▁▁@|@▁@)/g,function($r,Yi,fa){_r.push({multiLine:$r!==Rn})})}return _r};function $i(){window.sessionStorage.removeItem(Bt),ur(!1),mr(0)}function Hi(){ur(!1),mr(0),Tt.setValue(window.sessionStorage.getItem(Bt))}(0,Ne.useEffect)(()=>{Dr[Qn]&&Qn!==Et&&Qn!==ft&&setTimeout(()=>{const jr=document.getElementsByClassName("markdown-popup-form")[0],_r=window.innerWidth/2-jr.offsetWidth/2,Nr=window.innerHeight/2-jr.offsetHeight/2;Gr(_r),oi(Nr)},0)},[Qn]);const xa=jr=>{jr.preventDefault();const _r=jr.clientX-Ar,Nr=jr.clientY-Kr;document.body.onmousemove=$r=>{let Yi=$r.clientX-_r,fa=$r.clientY-Nr;const va=document.getElementsByClassName("markdown-popup-form")[0],pa=window.innerWidth-va.offsetWidth,ua=window.innerHeight-va.offsetHeight;Yi=Math.max(0,Math.min(Yi,pa)),fa=Math.max(0,Math.min(fa,ua)),wa($r.clientX,$r.clientY,_r,Nr)&&(Gr(Yi),oi(fa))},document.body.onmouseup=function(){document.body.onmousemove=null}},wa=(jr,_r,Nr,$r)=>{const Yi=document.body.clientHeight,fa=document.body.clientWidth;return jr<20&&Nr>jr||jr>fa-20&&Nr<jr||_r<20&&$r>_r||_r>Yi-20&&$r<_r?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return Ne.createElement(Ne.Fragment,null,Ne.createElement("div",{className:"markdown-editor-wrapper",ref:Hr},Ne.createElement("div",{className:`markdown-editor-container ${In} ${dn?"on-preview":""} ${Pr?"mini":""} ${bn?"full-screen":""}`,style:Ai},Ne.createElement(Me,{insertTemp:Rt,watch:dn,fullScreen:bn,showNullButton:hn,showNullProgramButton:fn,onActionCallback:ei,hidetoolBar:wn,extraUse:cn}),Ne.createElement("div",{className:"markdown-editor-body"},Ne.createElement("div",{className:"codemirror-container"},Ne.createElement("textarea",{ref:Di,placeholder:mn})),dn?Ne.createElement("div",{ref:ir,className:"preview-container"},Lt==="stex"&&Ne.createElement(re,{value:qt}),Lt!=="stex"&&Ne.createElement(pe.Z,{edit:!0,disabledFill:sn,showProgramFill:fn,value:qt,openEditor:jr=>{var _r;ti.current=jr,(_r=Ur.current)==null||_r.setHeight("100vh"),setTimeout(()=>{ar("add-flowchart")},150)}})):null))),Ut?Ne.createElement("a",{ref:or,className:"editor-resize"}):null,Qn===Et&&Ne.createElement(Pt,{callback:li,onCancel:Ir}),Qn===ft&&Ne.createElement(He,{ref:Ur,editImgId:ti.current,callback:li,onCancel:Ir}),Ne.createElement(De.Z,null,Dr[Qn]&&Qn!==Et&&Qn!==ft?Ne.createElement(et.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ar,top:Kr},title:Ne.createElement("div",{style:{cursor:"move"},onMouseDown:xa},Dr[Qn]),open:!0,onCancel:Ir,footer:null,destroyOnClose:!0,width:Qn===ft?"1200px":null,height:Qn===ft?"80vh":null,className:"markdown-popup-form"},ta):null))}},58448:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return _e},I:function(){return De}});var Ne=Te(78241),bt=Te(8591),E=Te(92832),je=Te(81327),ve=Te(5871),ne=Te(5112),ee=Te(3113),ie=Te(79090),oe=Te(59301),le=Te(7544),pe=Te(59301),re=Object.defineProperty,ae=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,xe=(Se,Be,Re)=>Be in Se?re(Se,Be,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Se[Be]=Re,Ae=(Se,Be)=>{for(var Re in Be||(Be={}))me.call(Be,Re)&&xe(Se,Re,Be[Re]);if(de)for(var Re of de(Be))we.call(Be,Re)&&xe(Se,Re,Be[Re]);return Se},ye=(Se,Be)=>ae(Se,ce(Be));const{useForm:Ee}=Ne.default,Le={width:280,marginRight:10},Ce={labelCol:{span:5},wrapperCol:{span:19}};var _e=({callback:Se,onCancel:Be})=>{const[Re]=Ee();let Xe=(0,oe.useRef)();function Ie(qe){Xe.current.width=Re.getFieldValue("width"),Xe.current.align=Re.getFieldValue("align"),Se(qe,Xe.current)}function Ye(qe,it){if(qe.status===-1){bt.ZP.error(qe.message);return}Re.setFieldsValue({src:`/api/attachments/${qe.id}`,type:it.type})}function Ge(qe){let it=qe.target.files[0];Xe.current=it,De(it,Ye)}return pe.createElement(Ne.default,ye(Ae({form:Re},Ce),{className:"upload-image-panel",onFinish:Ie,style:{width:470,overflow:"hidden"}}),pe.createElement(Ne.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},pe.createElement("div",{className:"flex-container"},pe.createElement(Ne.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},pe.createElement(E.default,{style:Le})),pe.createElement(Me,{onFileChange:Ge}))),pe.createElement(Ne.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},pe.createElement(E.default,{style:{width:264}})),pe.createElement(Ne.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},pe.createElement(je.Z,null,pe.createElement(Ne.default.Item,{name:"width",style:{margin:0}},pe.createElement(ve.Z,{style:{width:264}})),pe.createElement("span",{className:"ml8"},"%"))),pe.createElement(Ne.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},pe.createElement(ne.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"}]})),pe.createElement("aside",null,pe.createElement(Ne.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},pe.createElement(ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(ee.ZP,{type:"default",onClick:Be},"\u53D6\u6D88"))))};function Me({onFileChange:Se}){return pe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",pe.createElement("input",{type:"file",onChange:Se}))}function De(Se,Be){if(!Se)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,le.bg)())throw bt.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Re=new FormData;Re.append("editormd-image-file",Se),Re.append("file_param_name","editormd-image-file"),Re.append("byxhr","true");var Xe=new window.XMLHttpRequest;Xe.withCredentials=!0,Xe.addEventListener("load",function(Ie){Be(JSON.parse(Ie.target.responseText),Se)},!1),Xe.addEventListener("error",function(Ie){console.error(Ie)},!1),Xe.open("POST",`${ie.KI}/api/attachments.json`),Xe.send(Re)}},53531:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return E}});var Ne=Te(59301),bt=Te(4676);class E extends Ne.Component{constructor(ve){super(ve);const ne=window.document;this.node=ne.createElement("div"),ne.body.appendChild(this.node)}render(){const{children:ve}=this.props;return(0,bt.createPortal)(ve,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},26073:function(kn,Qt,Te){"use strict";Te.d(Qt,{i:function(){return Ce},Z:function(){return Me}});var Ne={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},bt=Te(71418),E=Te(6848),je=Te(93948),ve=Te(92310),ne=Te.n(ve),ee=Te(25544),ie=Te(18540),oe=Te(7544),le=Te(79005),pe=Te(20345),re=Te(77882),ae=Te(31081),ce=Te(75309),de=Te(71979),me=Te(47558),we=Te(42922),xe=Te(66832),Ae=Te(96593),ye=Te(19664),Ee=Te(91833),Le=Te(59301);const Ce=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:le,swimg:pe},{name:"101\u8BA1\u5212",ptimg:re,swimg:ae},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ce,swimg:de},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:me,swimg:we},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:xe,swimg:Ae},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ye,swimg:Ee}];var Me=({className:De,dataSource:Se=[],col:Be=4,right:Re,bottom:Xe=23,precision:Ie=0,wrapWidth:Ye=1200,trackEventItems:Ge,loading:qe,onRemove:it=()=>{},isCurrent:st=!0,showAlias:Ve=!1,showProgress:Qe=!1})=>{const nt=Math.floor((Ye-(Be-1)*Re)/Be),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(bt.Z,{spinning:qe},Le.createElement("div",{className:ne()(Ne.list,De)},!!(Se!=null&&Se.length)&&(Se==null?void 0:Se.map((at,tt)=>{var et,ot,yt,pt,Pt,Mt;const{name:ct,id:Je,identifier:Ze,featured:ue,school_name:he,image_url:He,excellent:We,is_plan:fe}=at;return Le.createElement("div",{key:Je,className:st&&Qe?Ne.wrapisCurrent:Ne.wrap,style:{width:nt,marginRight:(1+tt)%Be===0?0:Re+Ie,marginBottom:Xe}},Le.createElement("a",{className:Ne.li,onClick:Pe=>{Pe.preventDefault(),Pe.stopPropagation(),Ge&&(0,ee.L9)([Ge]),(0,ee.xg)(`/paths/${Ze}`)}},Le.createElement("div",{className:Ne.img},Le.createElement("img",{className:Ne.cover,src:`${He}`}),st&&(0,oe.bg)()&&(at==null?void 0:at.studying)&&Le.createElement("div",{className:`${Ne.movebq} user-path-items`,onClick:Pe=>{Pe.stopPropagation(),it(at)}},Le.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Le.createElement("span",{className:"c-red"},"\u79FB\u9664")),(et=at==null?void 0:at.subject_tags)==null?void 0:et.map((Pe,Fe)=>{var Ke,Ue;if(Fe===0){const vt=(Ke=dt.find(lt=>lt.name==Pe))==null?void 0:Ke.swimg;return Le.createElement("img",{className:Ne.sign,src:vt,style:{left:"-4px"}})}const ut=(Ue=dt.find(vt=>vt.name==Pe))==null?void 0:Ue.ptimg;return Le.createElement("img",{className:Ne.sign,src:ut,style:{left:`${48+52*(Fe-1)+2*Fe}px`}})}),Le.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(at==null?void 0:at.excellent)&&Le.createElement("div",{className:Ne.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Le.createElement("div",{className:Ne.name},Le.createElement(E.Z,{title:Ve&&(at!=null&&at.excellent_alias_name)?Le.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ct}`,Le.createElement("br",null),Le.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${at==null?void 0:at.excellent_alias_name}`)):ct},Le.createElement("span",{className:Ne.e},Ve&&(at==null?void 0:at.excellent_alias_name)||ct))),st&&Qe&&((ot=at==null?void 0:at.progress)==null?void 0:ot.all_score)!=0&&Le.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Le.createElement(je.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((yt=at==null?void 0:at.progress)==null?void 0:yt.my_score)/((pt=at==null?void 0:at.progress)==null?void 0:pt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Pt=at==null?void 0:at.progress)==null?void 0:Pt.my_score,"/",(Mt=at==null?void 0:at.progress)==null?void 0:Mt.all_score),(!st||!Qe)&&Le.createElement("div",{className:Ne.tags},Le.createElement("div",null,Le.createElement(E.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(E.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)))))))})),!Se.length&&Le.createElement(ie.Z,null)))}},23579:function(kn,Qt,Te){"use strict";Te.d(Qt,{jL:function(){return ve},w9:function(){return Dr},vv:function(){return kt},dN:function(){return nr},QD:function(){return Gr},cQ:function(){return Fe.Z},vg:function(){return Gn},Oz:function(){return jn},op:function(){return lr},O5:function(){return ca},_b:function(){return ir},t7:function(){return Xe},tT:function(){return Ge},Gi:function(){return nn},YG:function(){return Ut},Ed:function(){return Tn},kT:function(){return fn},qp:function(){return we},Um:function(){return Ce},K3:function(){return ye},vr:function(){return Di},qE:function(){return Rr},Je:function(){return st},wb:function(){return Mt},rC:function(){return Pe},lB:function(){return Ze},cq:function(){return Bn},kO:function(){return Jt},tp:function(){return De},Si:function(){return xa},k8:function(){return ha},Du:function(){return va}});var Ne=Te(59301),bt={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"},E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP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pkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ve=({dataSource:Pn=[],img:An,imgWidth:xn=346,title:Yn,sunTitle:fr,bannerExtraContent:hr})=>Ne.createElement("div",{className:bt.banner},Ne.createElement("div",{className:bt.content},Ne.createElement("aside",null,Ne.createElement("p",null,Ne.createElement("b",null,Yn),Ne.createElement("span",null,fr)),Pn.length>0&&Ne.createElement("div",{className:bt.btns},Pn.map((Vn,Br)=>Ne.createElement("div",{key:Br,onClick:Vn.click},Vn.name,Vn.sign?Ne.createElement("img",{src:E,width:39}):null))),hr),An&&Ne.createElement("img",{style:{marginTop:33,marginRight:38},src:An,width:xn}))),ne={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"},ee=Te(92310),ie=Te.n(ee),oe=Te(78267),le=Object.defineProperty,pe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,ce=(Pn,An,xn)=>An in Pn?le(Pn,An,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Pn[An]=xn,de=(Pn,An)=>{for(var xn in An||(An={}))re.call(An,xn)&&ce(Pn,xn,An[xn]);if(pe)for(var xn of pe(An))ae.call(An,xn)&&ce(Pn,xn,An[xn]);return Pn},we=({dataSource:Pn=[],value:An,onChange:xn,onTitleChange:Yn,className:fr,title:hr,titleWidth:Vn=41,style:Br={},fontColor:di="#6A7283",showCount:Ii,classNameActive:fi,styleItem:Or={}})=>{const[hi,ki]=(0,Ne.useState)(0),[na,bi]=(0,Ne.useState)(!1),Si=(0,Ne.useRef)(null),Gi=(0,Ne.useRef)(null);return(0,Ne.useEffect)(()=>{var Sa;Pn.length!==0&&(((Sa=Si==null?void 0:Si.current)==null?void 0:Sa.clientHeight)>97?ki(1):ki(0)),Pn.length===0&&ki(0),bi(!1)},[Pn]),Ne.createElement("div",{className:ie()(ne.row,fr),style:Br},Ne.createElement("div",{onClick:(0,oe.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:Vn,marginTop:na?12:4},className:`${ne.title} ${Yn?"current":""}`},hr),Ne.createElement("div",{className:na?`${ne.tagsWrap} ${ne.tagsBorderWrap}`:ne.tagsWrap},Ne.createElement("div",{className:ne.bar,ref:Gi,style:hi>0?{height:hi===1?97:"auto",overflow:hi===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},Ne.createElement("div",{className:ne.tag,ref:Si},Pn==null?void 0:Pn.map(Sa=>Ne.createElement("span",{onClick:()=>xn(Sa.id),key:Sa.id,style:de(de({color:di},Or),(Sa==null?void 0:Sa.style)||{}),className:An===Sa.id?ie()(fi||ne.active,Sa.classNameActive):""},Ne.createElement("span",{title:Sa.name,className:ne.name},Sa.name),!!Ii&&Ne.createElement("span",{className:ne.num},Sa.count))))),!!hi&&Ne.createElement(Ne.Fragment,null,hi===1?Ne.createElement("div",{onClick:()=>{var Sa;ki(2),((Sa=Si==null?void 0:Si.current)==null?void 0:Sa.clientHeight)>245?bi(!0):bi(!1)},className:ne.action},"\u5C55\u5F00",Ne.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):Ne.createElement("div",{onClick:()=>{Gi.current.scrollTop=0,ki(1),bi(!1)},className:ne.action},"\u6536\u8D77",Ne.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},xe={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:Pn=[],value:An,onChange:xn,onTitleChange:Yn,className:fr,title:hr,titleWidth:Vn=41,style:Br={},fontColor:di="#6A7283",showCount:Ii,expand:fi=!0})=>{const[Or,hi]=(0,Ne.useState)(0),[ki,na]=(0,Ne.useState)(!1),bi=(0,Ne.useRef)(null),Si=(0,Ne.useRef)(null),[Gi,Sa]=(0,Ne.useState)(fi);return Ne.createElement("div",{className:ie()(xe.row,fr),style:Br},Ne.createElement("div",{className:"flex item-center justify-between"},Ne.createElement("div",{onClick:(0,oe.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:Vn,marginTop:ki?12:4},className:`${xe.title} ${Yn?"current":""}`},hr),Ne.createElement("i",{className:`iconfont ${Gi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Gi?8:10},onClick:()=>Sa(!Gi)})),Gi&&Ne.createElement("div",{className:ki?`${xe.tagsWrap} ${xe.tagsBorderWrap}`:xe.tagsWrap},Ne.createElement("div",{className:xe.fenge}),Ne.createElement("div",{className:xe.bar,ref:Si},Ne.createElement("div",{className:xe.tag,ref:bi},Pn==null?void 0:Pn.map(Na=>Ne.createElement("span",{onClick:()=>xn(Na.id),key:Na.id,style:{color:di},className:An===Na.id?xe.active:""},Ne.createElement("span",{title:Na.name,className:xe.name},Na.name),!!Ii&&Ne.createElement("span",{className:xe.num},Na.count)))))))},Ee={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},Ce=({dataSource:Pn=[],value:An,onChange:xn,onTitleChange:Yn,className:fr,title:hr,titleWidth:Vn=41,style:Br={},fontColor:di="#fff",showCount:Ii,expand:fi=!0})=>{const[Or,hi]=(0,Ne.useState)(0),[ki,na]=(0,Ne.useState)(!1),bi=(0,Ne.useRef)(null),Si=(0,Ne.useRef)(null),[Gi,Sa]=(0,Ne.useState)(fi);return Ne.createElement("div",{className:ie()(Ee.row,fr),style:Br},Ne.createElement("div",{className:"flex item-center justify-between"},Ne.createElement("div",{onClick:(0,oe.throttle)(()=>Yn==null?void 0:Yn(),2e3),style:{width:Vn},className:`${Ee.title} ${Yn?"current":""}`},hr),Ne.createElement("i",{className:`iconfont ${Gi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Gi?"#00DDC7":"#037F74",fontSize:Gi?10:12},onClick:()=>Sa(!Gi)})),Gi&&Ne.createElement("div",{className:ki?`${Ee.tagsWrap} ${Ee.tagsBorderWrap}`:Ee.tagsWrap},Ne.createElement("div",{className:Ee.bar,ref:Si},Ne.createElement("div",{className:Ee.tag,ref:bi},Pn==null?void 0:Pn.map(Na=>Ne.createElement("span",{onClick:()=>xn(Na.id),key:Na.id,style:{color:di},className:An===Na.id?Ee.active:""},Ne.createElement("span",{title:Na.name,className:Ee.name},Na.name),!!Ii&&Ne.createElement("span",{className:Ee.num},Na.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"},De=({dataSource:Pn=[],value:An,onChange:xn,className:Yn,style:fr={}})=>Ne.createElement("div",{style:fr,className:ie()(_e.tabs,Yn)},Pn.map(hr=>Ne.createElement("span",{onClick:()=>xn(hr.id),className:An===hr.id?_e.active:"",key:hr.id},hr.name))),Se={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"},Be=Te(92832),Xe=({dataSource:Pn=[],value:An="",onChange:xn,onInputChange:Yn=()=>{},className:fr,style:hr={},placeholder:Vn,allowClear:Br=!1})=>{var di;const[Ii,fi]=(0,Ne.useState)(""),[Or,hi]=(0,Ne.useState)("");(0,Ne.useEffect)(()=>{var bi;let Si=An;(bi=JSON.stringify(An))!=null&&bi.includes("{")&&(fi(An.id),Si=An.value||"");try{hi(decodeURIComponent(Si||""))}catch(Gi){hi(decodeURIComponent(Si||""))}},[An]);const ki=()=>{xn(encodeURIComponent(Or),Ii||null)},na=bi=>{bi!==Ii&&(fi(bi),xn(encodeURIComponent(Or),bi))};return Ne.createElement("div",{className:ie()(Se.input,fr),style:hr},!!Pn.length&&Ne.createElement("div",{className:Se.dropdown},Ne.createElement("div",{className:Se.text},(di=Pn.find(bi=>bi.id===Ii))==null?void 0:di.name,Ne.createElement("i",{className:"iconfont icon-zhankai4"}),Ne.createElement("b",{className:Se.b1}),Ne.createElement("b",{className:Se.b2})),Ne.createElement("div",{className:Se.menu},Pn.map((bi,Si)=>Ne.createElement("div",{key:Si,onClick:()=>na(bi.id)},bi.name)))),Ne.createElement(Be.default,{onPressEnter:ki,value:Or,onChange:bi=>{hi(bi.target.value),Yn(encodeURIComponent(bi.target.value),Ii||null)},bordered:!1,placeholder:Vn}),Ne.createElement("i",{onClick:ki,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Ie={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"},Ge=({dataSource:Pn=[],value:An="",onChange:xn,onInputChange:Yn=()=>{},className:fr,style:hr={},placeholder:Vn,allowClear:Br=!1})=>{var di;const[Ii,fi]=(0,Ne.useState)(""),[Or,hi]=(0,Ne.useState)("");(0,Ne.useEffect)(()=>{var bi;let Si=An;(bi=JSON.stringify(An))!=null&&bi.includes("{")&&(fi(An.id),Si=An.value||"");try{hi(decodeURIComponent(Si||""))}catch(Gi){hi(decodeURIComponent(Si||""))}},[An]);const ki=()=>{xn(encodeURIComponent(Or),Ii||null)},na=bi=>{bi!==Ii&&(fi(bi),xn(encodeURIComponent(Or),bi))};return Ne.createElement("div",{className:ie()(Ie.input,fr),style:hr},!!Pn.length&&Ne.createElement("div",{className:Ie.dropdown},Ne.createElement("div",{className:Ie.text},(di=Pn.find(bi=>bi.id===Ii))==null?void 0:di.name,Ne.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),Ne.createElement("div",{className:Ie.menu},Pn.map((bi,Si)=>Ne.createElement("div",{key:Si,onClick:()=>na(bi.id)},bi.name)))),Ne.createElement(Be.default,{onPressEnter:ki,value:Or,onChange:bi=>{hi(bi.target.value),Yn(encodeURIComponent(bi.target.value),Ii||null)},bordered:!1,placeholder:Vn}),Ne.createElement("i",{onClick:ki,className:"iconfont icon-sousuo9 font14 pl10 current"}))},qe={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"},st=({value:Pn,onChange:An,className:xn,total:Yn,pageSize:fr,style:hr={}})=>{const Vn=Pn<2,Br=Pn>=Math.ceil(Yn/fr);return Yn<=fr?Ne.createElement(Ne.Fragment,null):Ne.createElement("div",{className:ie()(qe.quickPager,xn),style:hr},Ne.createElement("div",{onClick:()=>{Vn||An(Pn-1,"prev")},className:Vn?qe.disabled:""},"\u4E0A\u4E00\u9875"),Ne.createElement("div",{onClick:()=>{Br||An(Pn+1,"next")},className:Br?qe.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"},Qe=Te(71418),nt=Te(6848),dt=Te(13570),at=Te(6521),tt=Te(25544),et=Te(96908),ot=Te(57177),yt=Te(81378),pt=Te(18540),Mt=({className:Pn,dataSource:An=[],col:xn=4,right:Yn,bottom:fr=23,precision:hr=0,wrapWidth:Vn=1200,trackEventItems:Br,loading:di})=>{const Ii=Math.floor((Vn-(xn-1)*Yn)/xn);return Ne.createElement(Qe.Z,{spinning:di},Ne.createElement("div",{className:ie()(Ve.list,Pn)},!!An.length&&An.map((fi,Or)=>{const{name:hi,id:ki,identifier:na,power:bi,cover_image_id:Si,pic:Gi}=fi;return Ne.createElement("div",{className:Ve.wrap,key:ki,style:{width:Ii,marginRight:(1+Or)%xn===0?0:Yn+hr,marginBottom:fr}},Ne.createElement("a",{target:"_blank",href:`/shixuns/${na}/challenges`,className:Ve.li,onClick:Sa=>{Sa.preventDefault(),Br&&(0,tt.L9)([Br]),bi&&(0,tt.xg)(`/shixuns/${na}/challenges`)}},Ne.createElement("div",{className:Ve.img},Ne.createElement("img",{className:Ve.cover,src:`${Gi}`}),fi.is_jupyter&&Ne.createElement("img",{className:Ve.sign,src:et}),fi.is_jupyter_lab&&Ne.createElement("img",{className:Ve.sign,src:ot}),fi.is_unity_3d&&Ne.createElement("img",{className:Ve.sign,src:yt})),Ne.createElement("div",{className:Ve.name},Ne.createElement(nt.Z,{title:hi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Ne.createElement("span",{className:Ve.e},hi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Ne.createElement("div",{className:Ve.tags},Ne.createElement(nt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},Ne.createElement("span",null,Ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Ne.createElement("span",null,fi.challenges_count))),!!fi.myshixuns_count&&Ne.createElement(nt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ne.createElement("span",null,Ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Ne.createElement("span",null,fi.myshixuns_count))),Ne.createElement(nt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},Ne.createElement("span",null,Ne.createElement("span",null,fi.level))),Ne.createElement("div",{className:Ve.rate},Ne.createElement(dt.Z,{allowHalf:!0,disabled:!0,defaultValue:fi.score_info}),Ne.createElement("span",null,"\xA0",fi.score_info?`${fi.score_info}\u5206`:"5\u5206")))),!bi&&Ne.createElement("div",{className:Ve.lockWrap},Ne.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!An.length&&Ne.createElement(pt.Z,null)))},ct={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"},Ze=({className:Pn,dataSource:An=[],col:xn=4,right:Yn,bottom:fr=23,precision:hr=0,wrapWidth:Vn=1200,wrapClassName:Br,trackEventItems:di,loading:Ii})=>{const fi=Math.floor((Vn-(xn-1)*Yn)/xn);return Ne.createElement(Qe.Z,{spinning:Ii},Ne.createElement("div",{className:ie()(ct.list,Pn)},!!An.length&&An.map((Or,hi)=>{const{name:ki,id:na,identifier:bi,power:Si,cover_image_id:Gi,pic:Sa}=Or;return Ne.createElement("div",{className:ie()(ct.wrap,Br),key:na,style:{width:fi,marginRight:(1+hi)%xn===0?0:Yn+hr,marginBottom:fr}},Ne.createElement("a",{target:"_blank",href:`/shixuns/${bi}/challenges`,className:ct.li,onClick:Na=>{Na.preventDefault(),di&&(0,tt.L9)([di]),Si&&(0,tt.xg)(`/shixuns/${bi}/challenges`)}},Ne.createElement("img",{src:Te(47621),className:ct.titleBg}),Ne.createElement("div",{className:ct.name},Ne.createElement(nt.Z,{title:ki||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Ne.createElement("span",{className:ct.e},ki||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Ne.createElement("div",{style:{padding:"14px",paddingBottom:0}},Ne.createElement("div",{className:ct.img},Ne.createElement("img",{className:ct.cover,src:Gi?`${at.Z.API_SERVER}/api/attachments/${Gi}`:`${at.Z.IMG_SERVER+Sa}`}),Or.is_jupyter&&Ne.createElement("div",{className:ct.bq},"Jupyter"),Or.is_jupyter_lab&&Ne.createElement("div",{className:ct.bq},"JupyterLab"),Or.is_unity_3d&&Ne.createElement("div",{className:ct.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),Ne.createElement("div",{className:"mt20 flex item-center justify-between"},Ne.createElement("div",null,Ne.createElement("span",{className:ct.text},"\u5B66\u4E60\u4EBA\u6570"),Ne.createElement("span",{className:ct.value},Or.myshixuns_count)),Ne.createElement("div",null,Ne.createElement("span",{className:ct.text},"\u56F0\u96BE\u7B49\u7EA7"),Ne.createElement("span",{className:ct.value},Or.level))),Ne.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},Ne.createElement("div",null,Ne.createElement("span",{className:ct.text},"\u5173\u5361\u6570"),Ne.createElement("span",{className:ct.value},Or.challenges_count)),Ne.createElement("div",{className:ct.rate},Ne.createElement(dt.Z,{allowHalf:!0,disabled:!0,defaultValue:Or.score_info}),Ne.createElement("span",{className:ct.value,style:{color:"#FF9C00"}},"\xA0",Or.score_info?`${Or.score_info}\u5206`:"5\u5206"))))),!Si&&Ne.createElement("div",{className:ct.lockWrap},Ne.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!An.length&&Ne.createElement(pt.Z,null)))},ue={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rKirwqa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AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Pe=({className:Pn,dataSource:An=[],col:xn=4,right:Yn,bottom:fr=23,precision:hr=0,wrapWidth:Vn=1200,trackEventItems:Br,loading:di,wrapClassName:Ii,imgClassName:fi})=>{const Or=Math.floor((Vn-(xn-1)*Yn)/xn);return Ne.createElement(Qe.Z,{spinning:di},Ne.createElement("div",{className:ie()(ue.list,Pn)},!!An.length&&An.map((hi,ki)=>{const{name:na,id:bi,identifier:Si,power:Gi,cover_image_id:Sa,pic:Na}=hi;return Ne.createElement("div",{className:ie()(ue.wrap,Ii),key:bi,style:{width:Or,marginRight:(1+ki)%xn===0?0:Yn+hr,marginBottom:fr}},Ne.createElement("a",{target:"_blank",href:`/shixuns/${Si}/challenges`,className:ue.li,onClick:so=>{so.preventDefault(),Br&&(0,tt.L9)([Br]),Gi&&(0,tt.xg)(`/shixuns/${Si}/challenges`)}},Ne.createElement("div",{className:ie()(ue.img,fi)},Ne.createElement("img",{className:ue.cover,src:Sa?`${at.Z.API_SERVER}/api/attachments/${Sa}`:`${at.Z.IMG_SERVER+Na}`}),hi.is_jupyter&&Ne.createElement("img",{className:ue.sign,src:he}),hi.is_jupyter_lab&&Ne.createElement("img",{className:ue.sign,src:He}),hi.is_unity_3d&&Ne.createElement("img",{className:ue.sign,src:We})),Ne.createElement("div",{className:ue.name},Ne.createElement(nt.Z,{title:na||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Ne.createElement("span",{className:ue.e},na||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Ne.createElement("div",{className:ue.tags},Ne.createElement(nt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},Ne.createElement("span",null,Ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Ne.createElement("span",null,hi.challenges_count))),!!hi.myshixuns_count&&Ne.createElement(nt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ne.createElement("span",null,Ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Ne.createElement("span",null,hi.myshixuns_count))),Ne.createElement(nt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},Ne.createElement("span",null,Ne.createElement("span",null,hi.level))),Ne.createElement("div",{className:ue.rate},Ne.createElement(dt.Z,{allowHalf:!0,disabled:!0,defaultValue:hi.score_info}),Ne.createElement("span",null,"\xA0",hi.score_info?`${hi.score_info}\u5206`:"5\u5206")))),!Gi&&Ne.createElement("div",{className:ue.lockWrap},Ne.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!An.length&&Ne.createElement(pt.Z,null)))},Fe=Te(26073),Ke={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"},Ue=Te(79005),ut=Te(20345),vt=Te(77882),lt=Te(31081),Dt=Te(75309),Wt=Te(71979),wt=Te(47558),zt=Te(42922),Nt=Te(66832),St=Te(96593),ft=Te(19664),Et=Te(91833),Ft=Object.defineProperty,Kt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,rn=Object.prototype.propertyIsEnumerable,En=(Pn,An,xn)=>An in Pn?Ft(Pn,An,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Pn[An]=xn,On=(Pn,An)=>{for(var xn in An||(An={}))Zt.call(An,xn)&&En(Pn,xn,An[xn]);if(Kt)for(var xn of Kt(An))rn.call(An,xn)&&En(Pn,xn,An[xn]);return Pn};const Hn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ue,swimg:ut},{name:"101\u8BA1\u5212",ptimg:vt,swimg:lt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Dt,swimg:Wt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:wt,swimg:zt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Nt,swimg:St},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ft,swimg:Et}];var jn=({className:Pn,dataSource:An=[],col:xn=4,right:Yn,bottom:fr=23,precision:hr=0,wrapWidth:Vn=1200,trackEventItems:Br,loading:di,wrapClassName:Ii,imgClassName:fi,isArrow:Or=!1,imgStyle:hi={}})=>{const ki=Math.floor((Vn-(xn-1)*Yn)/xn),[na,bi]=(0,Ne.useState)(),[Si,Gi]=(0,Ne.useState)(),Sa=so=>bi(so),Na=()=>bi(-1);return Ne.createElement(Qe.Z,{spinning:di},Ne.createElement("div",{className:ie()(Ke.list,Pn)},!!(An!=null&&An.length)&&(An==null?void 0:An.map((so,Do)=>{var Xs;const{name:ss,id:Ao,identifier:fo,featured:Ls,school_name:Ho,image_url:hs,excellent:Ys,is_plan:Rs}=so;return Ne.createElement("div",{key:Ao,className:ie()(Ke.wrap,Ii),style:{width:ki,marginRight:(1+Do)%xn===0?0:Yn+hr,marginBottom:fr}},Ne.createElement("a",{target:"_blank",href:`/paths/${fo}`,className:Ke.li,onClick:ko=>{ko.preventDefault(),Br&&(0,tt.L9)([Br]),(0,tt.xg)(`/paths/${fo}`)}},Ne.createElement("img",{src:Te(39057),className:Ke.titleBg}),Ne.createElement("div",{className:Ke.name},Ne.createElement(nt.Z,{title:ss},Ne.createElement("span",{className:Ke.e,style:{color:Or&&na===Do?"#145DFF":"#000000"},onMouseEnter:()=>{Sa(Do)},onMouseLeave:Na},ss))),Ne.createElement("div",{style:{padding:"14px",paddingBottom:0}},Ne.createElement("div",{className:ie()(Ke.img,fi)},Ne.createElement("img",{className:Ke.cover,style:On({},hi),src:`${at.Z.IMG_SERVER+hs}`}),(Xs=so==null?void 0:so.subject_tags)==null?void 0:Xs.map((ko,vo)=>{var ja,Ns;if(vo===0){const ys=(ja=Hn.find(Ca=>Ca.name==ko))==null?void 0:ja.swimg;return Ne.createElement("img",{className:Ke.sign,src:ys,style:{left:"-4px"}})}const ul=(Ns=Hn.find(ys=>ys.name==ko))==null?void 0:Ns.ptimg;return Ne.createElement("img",{className:Ke.sign,src:ul,style:{left:`${48+52*(vo-1)+2*vo}px`}})}),Ne.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(so==null?void 0:so.excellent)&&Ne.createElement("div",{className:Ke.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ne.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},Ne.createElement("div",null,Ne.createElement("span",{className:Ke.text},"\u7AE0\u8282\u6570"),Ne.createElement("span",{className:Ke.value},so.stages_count)),Ne.createElement("div",null,Ne.createElement("span",{className:Ke.text},"\u5B66\u4E60\u4EBA\u6570"),Ne.createElement("span",{className:Ke.value},so.members_count))))))})),!An.length&&Ne.createElement(pt.Z,null)))},Jn={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"},br=Te(7544),sr=Te(59301);const Rn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ue,swimg:ut},{name:"101\u8BA1\u5212",ptimg:vt,swimg:lt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Dt,swimg:Wt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:wt,swimg:zt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Nt,swimg:St},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ft,swimg:Et}];var Gn=({className:Pn,dataSource:An=[],col:xn=4,right:Yn,bottom:fr=23,precision:hr=0,wrapWidth:Vn=1200,trackEventItems:Br,loading:di,onRemove:Ii=()=>{},isCurrent:fi=!0,showAlias:Or=!1,wrapClassName:hi,imgClassName:ki})=>{const na=Math.floor((Vn-(xn-1)*Yn)/xn),bi=[{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(Si=>(window.ENV==="build"&&(Si.ptimg=`/react/build${Si.ptimg}`,Si.swimg=`/react/build${Si.swimg}`),Si));return sr.createElement(Qe.Z,{spinning:di},sr.createElement("div",{className:ie()(Jn.list,Pn)},!!(An!=null&&An.length)&&(An==null?void 0:An.map((Si,Gi)=>{var Sa;const{name:Na,id:so,identifier:Do,featured:Xs,school_name:ss,image_url:Ao,excellent:fo,is_plan:Ls}=Si;return sr.createElement("div",{key:so,className:ie()(Jn.wrap,hi),style:{width:na,marginRight:(1+Gi)%xn===0?0:Yn+hr,marginBottom:fr}},sr.createElement("a",{className:Jn.li,onClick:Ho=>{Ho.preventDefault(),Ho.stopPropagation(),Br&&(0,tt.L9)([Br]),(0,tt.xg)(`/paths/${Do}`)}},sr.createElement("div",{className:ie()(Jn.img,ki)},sr.createElement("img",{className:Jn.cover,src:`${at.Z.IMG_SERVER+Ao}`}),fi&&(0,br.bg)()&&(Si==null?void 0:Si.studying)&&sr.createElement("div",{className:`${Jn.movebq} user-path-items`,onClick:Ho=>{Ho.stopPropagation(),Ii(Si)}},sr.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),sr.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Sa=Si==null?void 0:Si.subject_tags)==null?void 0:Sa.map((Ho,hs)=>{var Ys,Rs;if(hs===0){const vo=(Ys=bi.find(ja=>ja.name==Ho))==null?void 0:Ys.swimg;return sr.createElement("img",{className:Jn.sign,src:vo,style:{left:"-4px"}})}const ko=(Rs=bi.find(vo=>vo.name==Ho))==null?void 0:Rs.ptimg;return sr.createElement("img",{className:Jn.sign,src:ko,style:{left:`${48+52*(hs-1)+2*hs}px`}})}),sr.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Si==null?void 0:Si.excellent)&&sr.createElement("div",{className:Jn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),sr.createElement("div",{className:Jn.name},sr.createElement(nt.Z,{title:Or&&(Si!=null&&Si.excellent_alias_name)?sr.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Na}`,sr.createElement("br",null),sr.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Si==null?void 0:Si.excellent_alias_name}`)):Na},sr.createElement("span",{className:Jn.e},Or&&(Si==null?void 0:Si.excellent_alias_name)||Na))),sr.createElement("div",{className:Jn.tags},sr.createElement("div",null,sr.createElement(nt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},sr.createElement("span",null,sr.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),sr.createElement("span",null,Si.stages_count))),sr.createElement(nt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},sr.createElement("span",null,sr.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),sr.createElement("span",null,Si.members_count)))))))})),!An.length&&sr.createElement(pt.Z,null)))},er={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"},xr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7e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XaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",cr=Te(59301),Dr=({className:Pn,dataSource:An=[],col:xn=4,right:Yn,bottom:fr=23,precision:hr=0,wrapWidth:Vn=1200,trackEventItems:Br,loading:di})=>{const Ii=Math.floor((Vn-(xn-1)*Yn)/xn);return cr.createElement(Qe.Z,{spinning:di},cr.createElement("div",{className:ie()(er.list,Pn)},!!An.length&&An.map((fi,Or)=>{const{subject_identifier:hi,id:ki,identifier:na,power:bi}=fi,Si=fi.is_public!=0&&fi.is_public;return cr.createElement("div",{className:er.wrap,key:ki,style:{width:Ii,marginRight:(1+Or)%xn===0?0:Yn+hr,marginBottom:fr}},cr.createElement("a",{className:er.li,onClick:Gi=>{Gi.preventDefault(),Br&&(0,tt.L9)([Br]),(0,tt.xg)(fi.first_category_url)}},cr.createElement("div",{className:er.top},cr.createElement(nt.Z,{title:fi.name},cr.createElement("div",{className:er.name},fi.name)),cr.createElement("img",{className:er.img,src:at.Z.IMG_SERVER+"/images/"+fi.avatar_url}),cr.createElement("div",{className:er.text,title:fi.creator},fi.creator),hi&&cr.createElement("div",{className:er.btns},cr.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),cr.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Si&&cr.createElement("div",{className:er.sign},"\u516C\u5F00")),cr.createElement("div",{className:er.bottom},fi.visits>0&&cr.createElement(nt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},cr.createElement("span",null,cr.createElement("i",{className:"iconfont icon-liulanyan"}),cr.createElement("span",null,fi.visits))),fi.course_members_count>0&&cr.createElement(nt.Z,{title:"\u6210\u5458",placement:"bottom"},cr.createElement("span",null,cr.createElement("i",{className:"iconfont icon-chengyuan"}),fi.course_members_count)),fi.tasks_count>0&&cr.createElement(nt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},cr.createElement("span",null,cr.createElement("i",{className:"iconfont icon-zuoye"}),fi.tasks_count)),fi.is_end?cr.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):cr.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!fi.is_accessible&&cr.createElement("div",{className:er.lockWrap},cr.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),cr.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!An.length&&cr.createElement(pt.Z,null)))},Xn={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"},$n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M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uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",nr=({className:Pn,dataSource:An=[],col:xn=4,right:Yn,bottom:fr=23,precision:hr=0,wrapWidth:Vn=1200,wrapClassName:Br,trackEventItems:di,loading:Ii})=>{const fi=Math.floor((Vn-(xn-1)*Yn)/xn);return Ne.createElement(Qe.Z,{spinning:Ii},Ne.createElement("div",{className:ie()(Xn.list,Pn)},!!An.length&&An.map((Or,hi)=>{const{subject_identifier:ki,id:na,identifier:bi,power:Si}=Or,Gi=Or.is_public!=0&&Or.is_public;return Ne.createElement("div",{className:ie()(`${Xn.wrap} ${Or.is_accessible?"":Xn.warpStyle}`,Br),key:na,style:{width:fi,marginRight:(1+hi)%xn===0?0:Yn+hr,marginBottom:fr}},Ne.createElement("a",{className:Xn.li,onClick:Sa=>{Sa.preventDefault(),di&&(0,tt.L9)([di]),(0,tt.xg)(Or.first_category_url)}},Ne.createElement("div",{className:Xn.creator},Ne.createElement("img",{className:Xn.img,src:at.Z.IMG_SERVER+"/images/"+Or.avatar_url}),Ne.createElement("div",{className:Xn.text,title:Or.creator},Or.creator)),Ne.createElement("div",{className:Xn.top},Ne.createElement(nt.Z,{title:Or.name},Ne.createElement("div",{className:Xn.name},Or.name)),Gi&&Ne.createElement("div",{className:Xn.sign},"\u516C\u5F00")),Ne.createElement("div",{className:Xn.middle},Ne.createElement("div",{className:Xn.row,style:{marginBottom:6}},Ne.createElement("div",null,Ne.createElement("span",{className:Xn.text},"\u8BBF\u95EE\u91CF"),Ne.createElement("span",{className:Xn.value},(Or==null?void 0:Or.visits)||0)),Ne.createElement("div",null,Ne.createElement("span",{className:Xn.text},"\u6210\u5458"),Ne.createElement("span",{className:Xn.value},(Or==null?void 0:Or.course_members_count)||0))),Ne.createElement("div",{className:Xn.row},Ne.createElement("div",null,Ne.createElement("span",{className:Xn.text,style:{width:42}},"\u4F5C",Ne.createElement("span",{style:{marginLeft:14}},"\u4E1A")),Ne.createElement("span",{className:Xn.value},(Or==null?void 0:Or.tasks_count)||0)),Ne.createElement("div",null,Ne.createElement("span",{className:Xn.text},"\u72B6\u6001"),Or.is_end?Ne.createElement("span",{className:Xn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):Ne.createElement("span",{className:Xn.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ki&&Ne.createElement("div",{className:Xn.btns},Ne.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ne.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Or.is_accessible&&Ne.createElement("div",{className:Xn.lockWrap},Ne.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ne.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!An.length&&Ne.createElement(pt.Z,null)))},Zn={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"},Pr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5n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B7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",kt=({className:Pn,dataSource:An=[],col:xn=4,right:Yn,bottom:fr=23,precision:hr=0,wrapWidth:Vn=1200,wrapClassName:Br,trackEventItems:di,loading:Ii})=>{const fi=Math.floor((Vn-(xn-1)*Yn)/xn);return Ne.createElement(Qe.Z,{spinning:Ii},Ne.createElement("div",{className:ie()(Zn.list,Pn)},!!An.length&&An.map((Or,hi)=>{const{subject_identifier:ki,id:na,identifier:bi,power:Si}=Or,Gi=Or.is_public!=0&&Or.is_public;return Ne.createElement("div",{className:ie()(`${Zn.wrap} ${Or.is_accessible?"":Zn.warpStyle}`,Br),key:na,style:{width:fi,marginRight:(1+hi)%xn===0?0:Yn+hr,marginBottom:fr}},Ne.createElement("a",{className:Zn.li,onClick:Sa=>{Sa.preventDefault(),di&&(0,tt.L9)([di]),(0,tt.xg)(Or.first_category_url)}},Ne.createElement("div",{className:Zn.creator},Ne.createElement("img",{className:Zn.img,src:at.Z.IMG_SERVER+"/images/"+Or.avatar_url}),Ne.createElement("div",{className:Zn.text,title:Or.creator},Or.creator)),Ne.createElement("div",{className:Zn.top},Ne.createElement(nt.Z,{title:Or.name},Ne.createElement("div",{className:Zn.name},Or.name)),Gi&&Ne.createElement("div",{className:Zn.sign})),Ne.createElement("div",{className:Zn.middle},Ne.createElement("div",{className:Zn.row,style:{marginBottom:6}},Ne.createElement("div",null,Ne.createElement("span",{className:Zn.text},"\u8BBF\u95EE\u91CF"),Ne.createElement("span",{className:Zn.value},(Or==null?void 0:Or.visits)||0)),Ne.createElement("div",null,Ne.createElement("span",{className:Zn.text},"\u6210\u5458"),Ne.createElement("span",{className:Zn.value},(Or==null?void 0:Or.course_members_count)||0))),Ne.createElement("div",{className:Zn.row},Ne.createElement("div",null,Ne.createElement("span",{className:Zn.text,style:{width:42}},"\u4F5C",Ne.createElement("span",{style:{marginLeft:14}},"\u4E1A")),Ne.createElement("span",{className:Zn.value},(Or==null?void 0:Or.tasks_count)||0)),Ne.createElement("div",null,Ne.createElement("span",{className:Zn.text},"\u72B6\u6001"),Or.is_end?Ne.createElement("span",{className:Zn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):Ne.createElement("span",{className:Zn.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ki&&Ne.createElement("div",{className:Zn.btns},Ne.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ne.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Or.is_accessible&&Ne.createElement("div",{className:Zn.lockWrap},Ne.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ne.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!An.length&&Ne.createElement(pt.Z,null)))},Rt={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"},Lt=Te(91482),Ut=({dataSource:Pn=[],value:An,onChange:xn,className:Yn,style:fr={},tabBarExtraContent:hr})=>Ne.createElement("div",{className:ie()(Rt.tabs,Yn),style:fr},Ne.createElement("div",{className:Rt.tabsWrap},Pn.map((Vn,Br)=>Ne.createElement("aside",{className:Rt.tab,onClick:()=>{xn(Vn.id),Vn.link&&Lt.history.push(Vn.link)},key:Br},Ne.createElement("div",{className:An===Vn.id?Rt.active:""},Vn.name),(Vn==null?void 0:Vn.resetCount)==null&&(Vn==null?void 0:Vn.total)!==void 0&&Ne.createElement("span",null,"\uFF08",Vn==null?void 0:Vn.total,"\uFF09"),(Vn==null?void 0:Vn.resetCount)!==void 0&&(Vn==null?void 0:Vn.total)!==void 0&&Ne.createElement(nt.Z,{title:(Vn==null?void 0:Vn.tip)!=null?Vn==null?void 0:Vn.tip:""},Ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Ne.createElement("span",{style:{color:"#000"}},Vn==null?void 0:Vn.resetCount),"/",Ne.createElement("span",null,Vn==null?void 0:Vn.total),"\uFF09"))))),Ne.createElement("div",{className:Rt.tabBar},hr)),Yt={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"},fn=({dataSource:Pn=[],value:An,onChange:xn,className:Yn,style:fr={},tabBarExtraContent:hr})=>Ne.createElement("div",{className:ie()(Yt.tabs,Yn),style:fr},Ne.createElement("div",{className:Yt.tabsWrap},Pn.map((Vn,Br)=>Ne.createElement("aside",{className:Yt.tab,onClick:()=>{xn(Vn.id),Vn.link&&Lt.history.push(Vn.link)},key:Br},Ne.createElement("div",{className:An===Vn.id?Yt.active:""},Vn.name),(Vn==null?void 0:Vn.resetCount)==null&&(Vn==null?void 0:Vn.total)!==void 0&&Ne.createElement("span",null,"\uFF08",Vn==null?void 0:Vn.total,"\uFF09"),(Vn==null?void 0:Vn.resetCount)!==void 0&&(Vn==null?void 0:Vn.total)!==void 0&&Ne.createElement(nt.Z,{title:(Vn==null?void 0:Vn.tip)!=null?Vn==null?void 0:Vn.tip:""},Ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Ne.createElement("span",{style:{color:"#000"}},Vn==null?void 0:Vn.resetCount),"/",Ne.createElement("span",null,Vn==null?void 0:Vn.total),"\uFF09"))))),Ne.createElement("div",{className:Yt.tabBar},hr)),wn={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"},Tn=({dataSource:Pn=[],value:An,onChange:xn,className:Yn,style:fr={},tabBarExtraContent:hr})=>Ne.createElement("div",{className:ie()(wn.tabs,Yn),style:fr},Ne.createElement("div",{className:wn.tabsWrap},Pn.map((Vn,Br)=>Ne.createElement("aside",{className:`${wn.tab} ${An===Vn.id?wn.active:""}`,onClick:()=>{xn(Vn.id),Vn.link&&Lt.history.push(Vn.link)},key:Br},Ne.createElement("div",null,Vn.name),(Vn==null?void 0:Vn.resetCount)==null&&(Vn==null?void 0:Vn.total)!==void 0&&Ne.createElement("span",null,"\uFF08",Vn==null?void 0:Vn.total,"\uFF09"),(Vn==null?void 0:Vn.resetCount)!==void 0&&(Vn==null?void 0:Vn.total)!==void 0&&Ne.createElement(nt.Z,{title:(Vn==null?void 0:Vn.tip)!=null?Vn==null?void 0:Vn.tip:""},Ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Ne.createElement("span",{style:{color:"#000"}},Vn==null?void 0:Vn.resetCount),"/",Ne.createElement("span",null,Vn==null?void 0:Vn.total),"\uFF09"))))),Ne.createElement("div",{className:wn.tabBar},hr)),nn=({className:Pn,style:An={},children:xn})=>Ne.createElement("div",{className:ie()(Pn),style:An},xn),In={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"},Xt=Te(38854),en=Te(20834);const sn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Bn=({sortValue:Pn,dropValue:An,className:xn,onSort:Yn,onDrop:fr,dataSource:hr=sn})=>{var Vn;return Ne.createElement("div",{className:ie()(In.orderWrap,xn)},Ne.createElement(Xt.Z,{dropdownRender:()=>Ne.createElement(en.default,null,hr.map((Br,di)=>Ne.createElement(en.default.Item,{key:di,onClick:()=>fr(Br.id)},Br.name)))},Ne.createElement("span",{className:In.orderTextWrap},(Vn=hr.find(Br=>An===Br.id))==null?void 0:Vn.name)),Ne.createElement("span",{className:In.orderIconWrap},Ne.createElement("span",{className:In.orderAsc},Ne.createElement("i",{className:Pn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${In.cursorPointer} ${In.active}`:`iconfont icon-sanjiaoxing-up font12 ${In.cursorPointer}`,onClick:()=>Yn(Pn==="asc"?"desc":"asc")})),Ne.createElement("span",{className:In.orderDesc},Ne.createElement("i",{className:Pn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${In.cursorPointer} ${In.active}`:`iconfont icon-sanjiaoxing-down font12 ${In.cursorPointer}`,onClick:()=>Yn(Pn==="asc"?"desc":"asc")}))))},cn={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 pn=[{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:Pn,dropValue:An,className:xn,onSort:Yn,onDrop:fr,dataSource:hr=pn})=>{var Vn;return Ne.createElement("div",{className:ie()(cn.orderWrap,xn)},Ne.createElement(Xt.Z,{dropdownRender:()=>Ne.createElement(en.default,null,hr.map((Br,di)=>Ne.createElement(en.default.Item,{key:di,onClick:()=>fr(Br.id)},Br.name)))},Ne.createElement("span",{className:cn.orderTextWrap},(Vn=hr.find(Br=>An===Br.id))==null?void 0:Vn.name)),Ne.createElement("span",{className:cn.orderIconWrap},Ne.createElement("span",{className:cn.orderAsc},Ne.createElement("i",{className:Pn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${cn.cursorPointer} ${cn.active}`:`iconfont icon-sanjiaoxing-up font12 ${cn.cursorPointer}`,onClick:()=>Yn(Pn==="asc"?"desc":"asc")})),Ne.createElement("span",{className:cn.orderDesc},Ne.createElement("i",{className:Pn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${cn.cursorPointer} ${cn.active}`:`iconfont icon-sanjiaoxing-down font12 ${cn.cursorPointer}`,onClick:()=>Yn(Pn==="asc"?"desc":"asc")}))))},qt={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"},un=Te(3113),dn=Te(29715),yn=Object.defineProperty,bn=Object.getOwnPropertySymbols,_n=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,ar=(Pn,An,xn)=>An in Pn?yn(Pn,An,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Pn[An]=xn,gr=(Pn,An)=>{for(var xn in An||(An={}))_n.call(An,xn)&&ar(Pn,xn,An[xn]);if(bn)for(var xn of bn(An))Qn.call(An,xn)&&ar(Pn,xn,An[xn]);return Pn},mr=(Pn,An)=>{var xn={};for(var Yn in Pn)_n.call(Pn,Yn)&&An.indexOf(Yn)<0&&(xn[Yn]=Pn[Yn]);if(Pn!=null&&bn)for(var Yn of bn(Pn))An.indexOf(Yn)<0&&Qn.call(Pn,Yn)&&(xn[Yn]=Pn[Yn]);return xn},zr=(Pn,An,xn)=>new Promise((Yn,fr)=>{var hr=di=>{try{Br(xn.next(di))}catch(Ii){fr(Ii)}},Vn=di=>{try{Br(xn.throw(di))}catch(Ii){fr(Ii)}},Br=di=>di.done?Yn(di.value):Promise.resolve(di.value).then(hr,Vn);Br((xn=xn.apply(Pn,An)).next())}),lr=Pn=>{var An=Pn,{className:xn,style:Yn,children:fr,loading:hr=!1,openLoading:Vn,onClick:Br=()=>{},size:di="middle",shape:Ii="round",theme:fi}=An,Or=mr(An,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[hi,ki]=(0,Ne.useState)(!1),na=(0,Ne.useMemo)(()=>{switch(fi){case dn.Fy.THEMEONE:return qt.ThemeOne;case dn.Fy.DEFAULT:default:return qt.btn}},[fi]);return Ne.createElement(un.ZP,gr({onClick:(0,oe.throttle)(bi=>zr(void 0,null,function*(){Vn&&ki(!0);try{yield Br(bi)}catch(Si){console.log("error",Si)}Vn&&ki(!1)}),2e3,{leading:!0,trailing:!1}),className:ie()(na,qt[`${di}-${Ii}`],xn),style:Yn,size:di,shape:Ii,loading:hi||hr},Or),fr)},ur={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"},Rr=({className:Pn,style:An,children:xn=null,onClick:Yn,title:fr})=>Ne.createElement("div",{className:ie()(ur.head,Pn),style:An},Ne.createElement("span",{className:"primary-hover",onClick:Yn},Ne.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),Ne.createElement("b",{title:fr},fr),Ne.createElement("div",{className:ur.node},xn)),Cr={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"},Gr=({confirmShow:Pn=!0,confirmTitle:An,confirmClick:xn,cancelShow:Yn=!0,cancelTitle:fr,cancelClick:hr,className:Vn,style:Br,confirmLoading:di=!1})=>Ne.createElement("div",{className:ie()(Cr.btns,Vn),style:Br},Pn&&Ne.createElement(un.ZP,{loading:di,onClick:xn,type:"primary",className:Cr.confirm},An),Yn&&Ne.createElement(un.ZP,{onClick:hr,className:Cr.cancel},fr)),Kr={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"},Di=({className:Pn,style:An={},LeftContent:xn,children:Yn,RightContent:fr})=>Ne.createElement("div",{className:ie()(Kr.fixedBottom,Pn),style:An},Ne.createElement("div",{className:Kr.wrap},Ne.createElement("div",{className:Kr.left},xn),Ne.createElement("div",{className:Kr.center},Yn),Ne.createElement("div",{className:Kr.right},fr))),Hr={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"},ir=({className:Pn,style:An={},dataSource:xn=[]})=>Ne.createElement("div",{className:ie()(Hr.crumbs,Pn),style:An},xn.map((Yn,fr)=>fr<xn.length-1?Ne.createElement(Ne.Fragment,{key:fr},Yn.path||Yn.onClick?Ne.createElement("span",{className:Hr.hover,onClick:Yn!=null&&Yn.onClick?Yn.onClick:()=>Lt.history.push(Yn.path)},Yn.name):Ne.createElement("span",null,Yn.name),Ne.createElement("span",null,"\xA0",">","\xA0")):Ne.createElement("span",{key:fr,style:{color:"#5F6368"}},Yn.name))),ti=Te(31797),Ur=Object.defineProperty,ui=Object.defineProperties,gi=Object.getOwnPropertyDescriptors,pi=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,li=Object.prototype.propertyIsEnumerable,ta=(Pn,An,xn)=>An in Pn?Ur(Pn,An,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Pn[An]=xn,Ir=(Pn,An)=>{for(var xn in An||(An={}))ei.call(An,xn)&&ta(Pn,xn,An[xn]);if(pi)for(var xn of pi(An))li.call(An,xn)&&ta(Pn,xn,An[xn]);return Pn},Wr=(Pn,An)=>ui(Pn,gi(An)),vi=(Pn,An)=>{var xn={};for(var Yn in Pn)ei.call(Pn,Yn)&&An.indexOf(Yn)<0&&(xn[Yn]=Pn[Yn]);if(Pn!=null&&pi)for(var Yn of pi(Pn))An.indexOf(Yn)<0&&li.call(Pn,Yn)&&(xn[Yn]=Pn[Yn]);return xn};const{Countdown:Ai}=ti.default;var ca=Pn=>{var An=Pn,{onChange:xn}=An,Yn=vi(An,["onChange"]);const[fr,hr]=(0,Ne.useState)(null);(0,Ne.useEffect)(()=>{typeof fr=="number"&&fr>=0&&xn(fr)},[fr]);const Vn=Br=>{const di=Math.floor(Br/1e3);hr(di)};return Ne.createElement(Ai,Wr(Ir({},Yn),{onChange:Vn}))},$i={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},xa=({DataProps:Pn,className:An,style:xn={}})=>{var Yn;return Ne.createElement("div",{className:ie()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",$i.ClassRoomItem,An),style:xn,onClick:()=>{(0,tt.xg)(Pn==null?void 0:Pn.first_category_url)}},Ne.createElement("div",{className:"flex flex-col item-center"},Ne.createElement("img",{src:`${(Yn=at.Z)==null?void 0:Yn.IMG_SERVER}/images/${Pn==null?void 0:Pn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Pn==null?void 0:Pn.subject_identifier)&&Ne.createElement("div",{className:"mt-40px"},Ne.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),Ne.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),Ne.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},Ne.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Pn!=null&&Pn.is_public)&&Ne.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),Ne.createElement("span",{className:ie()("text-16px font-medium",$i.TitleDom)},Pn==null?void 0:Pn.name)),Ne.createElement("div",{className:"c-grey-333 font-medium"},Pn==null?void 0:Pn.creator),Ne.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Pn==null?void 0:Pn.course_members_count),Ne.createElement("div",{className:"c-grey-333 flex item-center justify-between"},Ne.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Pn==null?void 0:Pn.tasks_count),Pn!=null&&Pn.is_end?Ne.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):Ne.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},wa=Object.defineProperty,jr=Object.getOwnPropertySymbols,_r=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,$r=(Pn,An,xn)=>An in Pn?wa(Pn,An,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Pn[An]=xn,Yi=(Pn,An)=>{for(var xn in An||(An={}))_r.call(An,xn)&&$r(Pn,xn,An[xn]);if(jr)for(var xn of jr(An))Nr.call(An,xn)&&$r(Pn,xn,An[xn]);return Pn},va=({DataProps:Pn=[],selectValue:An,onChange:xn,className:Yn,style:fr={},extra:hr,classNameItem:Vn,styleItem:Br={},barHidden:di})=>{const[Ii,fi]=(0,Ne.useState)();return(0,Ne.useEffect)(()=>{fi(Array.isArray(An)?An:[An])},[An]),Ne.createElement("div",{className:ie()("flex px-20px py-10px gap-40px",Yn),style:Yi({borderBottom:"1px solid #D3F0FF"},fr)},Pn==null?void 0:Pn.map(Or=>Ne.createElement("div",{key:Or==null?void 0:Or.id,className:ie()("flex item-center justify-center current c-grey-333 text-16 relative",Vn,Or==null?void 0:Or.className),style:Yi(Yi({color:Ii!=null&&Ii.includes(Or==null?void 0:Or.id)?"#1890FF":"",minWidth:88},Br),(Or==null?void 0:Or.style)||{}),onClick:hi=>{xn==null||xn({domEvent:hi,item:Or}),Or!=null&&Or.link&&Lt.history.push(Or==null?void 0:Or.link)}},Or==null?void 0:Or.name,!di&&(Ii==null?void 0:Ii.includes(Or==null?void 0:Or.id))&&Ne.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),Ne.createElement("div",{className:"ml-auto"},hr))},pa=Object.defineProperty,ua=Object.defineProperties,Ma=Object.getOwnPropertyDescriptors,Xa=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,go=Object.prototype.propertyIsEnumerable,_i=(Pn,An,xn)=>An in Pn?pa(Pn,An,{enumerable:!0,configurable:!0,writable:!0,value:xn}):Pn[An]=xn,Ui=(Pn,An)=>{for(var xn in An||(An={}))Va.call(An,xn)&&_i(Pn,xn,An[xn]);if(Xa)for(var xn of Xa(An))go.call(An,xn)&&_i(Pn,xn,An[xn]);return Pn},Oa=(Pn,An)=>ua(Pn,Ma(An)),ha=({value:Pn,onChange:An,onInputChange:xn,className:Yn,style:fr={},InputProps:hr})=>{const[Vn,Br]=(0,Ne.useState)(Pn);return Ne.createElement("div",{className:ie()("flex item-center rounded-full px-10px py-2px",Yn),style:Ui({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},fr)},Ne.createElement(Be.default,Oa(Ui({bordered:!1},hr),{onChange:di=>{Br(di.target.value),xn==null||xn(encodeURIComponent(di.target.value))},onPressEnter:di=>{An==null||An({domEvent:di,item:{value:Vn}})}})),Ne.createElement("img",{className:"h-22px current",src:Te(25365),height:22,onClick:di=>{An==null||An({domEvent:di,item:{value:Vn}})}}))}},57649:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return bt}});var Ne=Te(59301);function bt(E,je){const ve=(0,Ne.useRef)();(0,Ne.useEffect)(()=>{ve.current=E}),(0,Ne.useEffect)(()=>{function ne(){ve.current()}if(je!==null){let ee=setInterval(ne,je);return()=>clearInterval(ee)}},[je])}},77987:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Xe}});var Ne=Te(59301),bt=Te(92832),E=Te(78241),je=Te(8591),ve=Te(43418),ne=Te(71418),ee=Te(54580),ie=Te(6848),oe=Te(93948),le=Te(5112),pe={flex_box_center:"flex_box_center___SntrE",flex_space_between:"flex_space_between___g4tse",flex_box_vertical_center:"flex_box_vertical_center___ooGcI",flex_box_center_end:"flex_box_center_end___UM2Cs",flex_box_column:"flex_box_column___vRGBc",prompt:"prompt___a_aRk",box:"box___X84XK",row:"row___wofpN",icon:"icon___ixIOQ"},re=Te(79769),ae=Te(25544),ce=Te(34396),de=Te(1012),me=Te(47257),we=Te.n(me),xe=Te(30322),Ae=Te(23579),ye=Te(59301),Ee=Object.defineProperty,Le=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Me=(Ie,Ye,Ge)=>Ye in Ie?Ee(Ie,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Ie[Ye]=Ge,De=(Ie,Ye)=>{for(var Ge in Ye||(Ye={}))Ce.call(Ye,Ge)&&Me(Ie,Ge,Ye[Ge]);if(Le)for(var Ge of Le(Ye))_e.call(Ye,Ge)&&Me(Ie,Ge,Ye[Ge]);return Ie},Se=(Ie,Ye,Ge)=>new Promise((qe,it)=>{var st=nt=>{try{Qe(Ge.next(nt))}catch(dt){it(dt)}},Ve=nt=>{try{Qe(Ge.throw(nt))}catch(dt){it(dt)}},Qe=nt=>nt.done?qe(nt.value):Promise.resolve(nt.value).then(st,Ve);Qe((Ge=Ge.apply(Ie,Ye)).next())});const Be=bt.default.TextArea;var Xe=({dataSetInfo:Ie,attachmentInfo:Ye,visible:Ge,onClose:qe=()=>{},onSuccess:it=()=>{}})=>{const[st,Ve]=(0,Ne.useState)([]),[Qe,nt]=(0,Ne.useState)(!1),[dt,at]=(0,Ne.useState)(!1),[tt]=E.default.useForm(),[et,ot]=(0,Ne.useState)([]),[yt,pt]=(0,Ne.useState)({}),Pt=(0,Ne.useRef)([]);(0,Ne.useEffect)(()=>{if(Ge){if(Ie){const{title:Fe,is_public:Ke,desc:Ue,attachments:ut,data_set_tags:vt}=Ie||{},lt=ut.map(Wt=>({id:String(Math.random()).slice(-6),name:Wt.title,response:{attachment_id:Wt.id},size:Wt.size,description:Wt.description||"",percent:100,status:"done"}));Ve(lt),ot(vt);const Dt={title:Fe,is_public:Ke,desc:Ue};tt.setFieldsValue(Dt)}if(Ye){const Fe=Ye.map(Ke=>({id:String(Math.random()).slice(-6),name:Ke.title,response:{attachment_id:Ke.id},size:Ke.size,description:Ke.description||"",percent:100,status:"done"}));Ve(Fe)}Mt()}},[Ge]),(0,Ne.useEffect)(()=>{Pt.current=st},[st]),(0,Ne.useEffect)(()=>{st!=null&&st.length?tt.setFields([{name:"attachments",errors:[]}]):tt.setFields([{name:"attachments",errors:["\u6570\u636E\u96C6\u4E0D\u80FD\u4E3A\u7A7A"]}])},[st.length]),(0,Ne.useEffect)(()=>{et!=null&&et.length?tt.setFields([{name:"tag_ids",errors:[]}]):tt.setFields([{name:"tag_ids",errors:["\u6570\u636E\u96C6\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A"]}])},[et.length]);const Mt=()=>Se(void 0,null,function*(){at(!0);const Fe=yield(0,re.ZP)("/api/data_sets/extra_info.jsoin",{method:"get"});Fe.status===0&&(pt(Fe==null?void 0:Fe.data),at(!1))}),ct={multiple:!0,withCredentials:!0,showUploadList:!1,beforeUpload:Fe=>Se(void 0,null,function*(){var Ke,Ue,ut,vt;if(((vt=(ut=(Ue=(Ke=Fe.name)==null?void 0:Ke.split("."))==null?void 0:Ue.slice(0,-1))==null?void 0:ut.join("."))==null?void 0:vt.length)>60)return je.ZP.warning(`\u300A${Fe.name}\u300B\u6587\u4EF6\u540D\u79F0\u8FC7\u957F\uFF0C\u65E0\u6CD5\u4E0A\u4F20`),Promise.reject();if([...yt.data_set_filenames,...Pt.current.map(St=>St.name)].includes(Fe.name))return je.ZP.warning(`\u300A${Fe.name}\u300B\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`),Promise.reject();const Dt=Fe.size/1024/1024;let Wt=yt==null?void 0:yt.data_sets_filesize;if(Pt.current.forEach(St=>{Wt+=St==null?void 0:St.size}),Wt=Wt/1024/1024,((Wt+Dt/(1024*1024))/1024).toFixed(2)>10&&!(yt!=null&&yt.current_user_no_limit))return je.ZP.warning(`\u300A${Fe.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u50A8\u5B58\u7A7A\u95F4\u5927\u5C0F\u9650\u5236(10GB)`),Promise.reject();const Nt={id:String(Math.random()).slice(-6),name:Fe.name,size:Fe.size,file:Fe,description:"",percent:0,status:"uploading"};return he(Nt),Ve(St=>[...St,Nt]),Promise.reject()})},Je=Fe=>Se(void 0,null,function*(){var Ke;const Ue=Pt.current.find(ut=>ut.name===Fe.name);Ue!=null&&Ue.client&&((Ke=Ue==null?void 0:Ue.client)==null||Ke.abort()),Ve(ut=>ut.filter(vt=>vt.name!==Fe.name))}),Ze=()=>{var Fe;(Fe=Pt.current)==null||Fe.forEach(Ke=>{var Ue;Ke!=null&&Ke.client&&((Ue=Ke==null?void 0:Ke.client)==null||Ue.abort())})};console.log(st,"fileList1");const ue=(Fe,Ke)=>Se(void 0,null,function*(){var Ue,ut,vt,lt,Dt,Wt,wt,zt,Nt;Ke.file_name=Fe.name;const St=Fe.name,ft=yield(0,re.ZP)("/api/buckets/get_data_set_token.json",{method:"get"});if((ft==null?void 0:ft.status)!==0){Ve(Zt=>(Zt[Zt.findIndex(rn=>rn.name===St)].status="error",[...Zt])),je.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}ft.data=JSON.parse((0,ce.pe)(ft.data));const Et=new(we())({endpoint:(Ue=ft==null?void 0:ft.data)==null?void 0:Ue.end_point,region:(ut=ft==null?void 0:ft.data)==null?void 0:ut.region,accessKeyId:(vt=ft==null?void 0:ft.data)==null?void 0:vt.access_key_id,accessKeySecret:(lt=ft==null?void 0:ft.data)==null?void 0:lt.access_key_secret,bucket:(Dt=ft==null?void 0:ft.data)==null?void 0:Dt.bucket,stsToken:(Wt=ft==null?void 0:ft.data)==null?void 0:Wt.security_token}),Ft=Fe.name.split(".");Ft.pop();const Kt=Ke.realFileName?Ft.join("."):(0,de.Z)();Et.multipartUpload(`datasets/${Ke==null?void 0:Ke.login}/${Kt}${St.indexOf(".")>-1?"."+St.split(".").pop():""}`,new Blob([Fe.file],{type:Fe.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(Zt,rn,En)=>{console.log("\u8FDB\u5EA6",Zt,rn,En),Ve(On=>{const Hn=On.findIndex(Dn=>Dn.name===St);return On[Hn].client=Et,On[Hn].percent=Zt*100,On[Hn].checkpoint=rn,[...On]})},checkpoint:(zt=Pt.current[(wt=Pt.current)==null?void 0:wt.findIndex(Zt=>Zt.name===St)])==null?void 0:zt.checkpoint,callback:{customValue:{id:St+""},url:(Nt=ft==null?void 0:ft.data)==null?void 0:Nt.callback_url,host:ft==null?void 0:ft.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,re.rz)(Ke)}}).then(function(Zt){Ve(rn=>{var En,On,Hn;const Dn=rn.findIndex(Jn=>Jn.name===St);let jn="done";return((En=Zt.data)==null?void 0:En.status)===0?rn[Dn].response=(On=Zt.data)==null?void 0:On.data:(je.ZP.warning((Hn=Zt.data)==null?void 0:Hn.message),jn="error"),rn[Dn].status=jn,[...rn]})}).catch(function(Zt){console.log("\u63A5\u53E3\u9519\u8BEF\uFF1A",Zt),(Zt==null?void 0:Zt.name)!=="cancel"&&Ve(rn=>{const En=rn.findIndex(On=>On.name===St);return rn[En].status="error",[...rn]})})}),he=Fe=>Se(void 0,null,function*(){var Ke;const Ue=Fe.file,ut=Ue.size,vt=Ue.name,lt=1024*1024*2,Dt=Math.ceil(ut/lt),Wt=yield(0,re.ZP)("/api/attachments/multipart_breakpoint_upload_start",{method:"POST",body:{fileName:vt,chunkCount:Dt,size:Ue==null?void 0:Ue.size,lastModified:Ue==null?void 0:Ue.lastModified,user_id:yt==null?void 0:yt.user_id,container_type:"DataSet"}});if((Wt==null?void 0:Wt.status)!==0){Ve(Zt=>{const rn=Zt.findIndex(En=>En.name===vt);return rn>-1?(Zt[rn].status="error",[...Zt]):Zt});return}const{upload_id:wt,chunk_count:zt}=Wt,Nt=new AbortController,St=[];let ft=zt;for(let Zt=zt;Zt<Dt;Zt++){const rn=Zt*lt,En=Math.min(rn+lt,ut),On=Ue.slice(rn,En),Hn=new FormData;Hn.append("chunk",On),Hn.append("fileName",vt),Hn.append("chunkIndex",(Zt+1).toString()),Hn.append("uploadId",wt),Hn.append("user_id",yt==null?void 0:yt.user_id),Hn.append("container_type","DataSet"),St.push(()=>(0,re.ZP)("/api/attachments/multipart_upload",{method:"POST",body:Hn,signal:Nt.signal},!0).then(Dn=>{ft++;const jn=Math.round(ft/Dt*100);console.log("\u8FDB\u5EA6",jn,Dn);try{(Dn==null?void 0:Dn.status)===0?Ve(Jn=>{const br=Jn.findIndex(sr=>sr.name===vt);return Jn[br].client=Nt,Jn[br].percent=jn,[...Jn]}):Ve(Jn=>{const br=Jn.findIndex(sr=>sr.name===vt);return br>-1?(Jn[br].status="error",[...Jn]):Jn})}catch(Jn){console.log("\u63A5\u53E3\u9519\u8BEF\uFF1A",Jn)}}))}let Et=0,Ft=4;for(;Et<St.length;){const Zt=(Ke=St.slice(Et,Et+Ft))==null?void 0:Ke.map(rn=>rn());if(Zt.length>0){const rn=yield Promise.all(Zt);Et+=Ft}}const Kt=yield(0,re.ZP)("/api/attachments/multipart_upload_end",{method:"POST",body:{fileName:Ue.name,chunkCount:Dt,uploadId:wt,container_type:"DataSet"}});(Kt==null?void 0:Kt.status)===0?Ve(Zt=>{const rn=Zt.findIndex(En=>En.name===vt);return rn>-1?(Zt[rn].status="done",Zt[rn].response={attachment_id:Kt==null?void 0:Kt.id},[...Zt]):Zt}):Ve(Zt=>{const rn=Zt.findIndex(En=>En.name===vt);return rn>-1?(Zt[rn].status="error",[...Zt]):Zt})}),He=Fe=>(Fe=Fe||"",Fe=String(Fe),Fe=Fe.replace(/\s+/g,""),Fe),We=()=>Se(void 0,null,function*(){var Fe;const Ke=tt.getFieldsValue(),{title:Ue,is_public:ut,desc:vt}=Ke,lt=[];if(He(Ue)||lt.push({name:"title",errors:["\u6570\u636E\u96C6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"]}),st!=null&&st.length||lt.push({name:"attachments",errors:["\u6570\u636E\u96C6\u4E0D\u80FD\u4E3A\u7A7A"]}),et!=null&&et.length||lt.push({name:"tag_ids",errors:["\u6570\u636E\u96C6\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A"]}),lt.length){tt.setFields(lt);return}const Dt=st.map(zt=>{var Nt;return{attachment_id:(Nt=zt.response)==null?void 0:Nt.attachment_id,description:zt.description}});nt(!0);const Wt={title:Ke.title,attachments:Dt,tag_ids:et.map(zt=>zt.id),is_public:ut,desc:vt};let wt;Ie?wt=yield(0,re.ZP)(`/api/data_sets/${Ie==null?void 0:Ie.id}.json`,{method:"put",body:Wt}):wt=yield(0,re.ZP)("/api/data_sets.json",{method:"post",body:Wt}),wt.status===0&&(je.ZP.success("\u64CD\u4F5C\u6210\u529F"),it((Fe=wt==null?void 0:wt.data)==null?void 0:Fe.data_set_id)),nt(!1)}),fe=Fe=>{ot(Fe)},Pe=st.some(Fe=>Fe.status==="uploading");return console.log("fileList",st),ye.createElement(ve.default,{destroyOnClose:!0,confirmLoading:Qe,bodyStyle:{paddingLeft:16,paddingTop:20},okButtonProps:{disabled:Pe},title:Ie?"\u7F16\u8F91\u6570\u636E\u96C6":"\u521B\u5EFA\u6570\u636E\u96C6",width:660,onCancel:()=>{if(Pe){ve.default.confirm({title:"\u5173\u95ED\u5F39\u6846\u63D0\u793A",content:"\u6709\u6587\u4EF6\u672A\u4E0A\u4F20\uFF0C\u662F\u5426\u786E\u5B9A\u79BB\u5F00\uFF1F",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{qe()}});return}qe()},okText:"\u786E\u5B9A",onOk:We,open:Ge,afterClose:()=>{Ve([]),ot([]),nt(!1),at(!1),Ze(),tt.resetFields()}},ye.createElement(ne.Z,{spinning:dt},!(yt!=null&&yt.current_user_no_limit)&&!dt&&ye.createElement("div",{className:pe.prompt},ye.createElement("i",{className:"icon icon-tishi11 font12 mr10"}),"\u6E29\u99A8\u63D0\u793A:\u5E73\u53F0\u4E3A\u7528\u6237\u63D0\u4F9B\u4E86",ye.createElement("span",{style:{color:"#3061D0",margin:"0 5px"}},"10GB"),"\u7684\u6570\u636E\u96C6\u5B58\u50A8\u7A7A\u95F4\uFF0C\u60A8\u76EE\u524D\u5DF2\u4F7F\u7528\u4E86",ye.createElement("span",{style:{color:"#FF9D18",margin:"0 5px"}},((yt==null?void 0:yt.data_sets_filesize)/(1024*1024*1024)).toFixed(2),"GB")),ye.createElement(E.default,{form:tt,colon:!1,labelCol:{span:4},wrapperCol:{span:20},size:"large"},ye.createElement(E.default.Item,{label:"\u6570\u636E\u96C6\u540D\u79F0",name:"title",rules:[{required:!0,message:"\u6570\u636E\u96C6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},ye.createElement(bt.default,{placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u96C6\u540D\u79F0",showCount:!0,maxLength:60})),ye.createElement(E.default.Item,{style:{marginBottom:0},name:"attachments",label:"\u4E0A\u4F20\u6570\u636E\u96C6",rules:[{required:!0,message:"\u6570\u636E\u96C6\u4E0D\u80FD\u4E3A\u7A7A"}]},ye.createElement("div",{style:{position:"relative"}},ye.createElement(ee.default,De({},ct),ye.createElement(Ae.op,{style:{borderRadius:2}},ye.createElement("i",{className:"icon-shangchuan3 mr5 font14"}),"\u4E0A\u4F20\u6587\u4EF6")),ye.createElement("div",{style:{color:"#9096A3",fontSize:"12px",marginLeft:"10px",position:"absolute",left:"115px",top:"-2px"}},ye.createElement("div",null,"1.\u5355\u4E2A\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC72G"),ye.createElement("div",null,"2.\u4E2A\u4EBA\u4E0A\u4F20\u603B\u4F53\u79EF\u4E0D\u8D85\u8FC710GB\uFF0C\u6587\u4EF6\u540D\u4E0D\u8D85\u8FC760\u5B57")))),ye.createElement("div",{className:pe.box},st.map(Fe=>ye.createElement("div",{key:Fe.id,className:pe.row},ye.createElement("div",{className:pe.icon},Fe.status==="done"&&ye.createElement("i",{className:"iconfont icon-wancheng",style:{color:"#19CB70"}}),Fe.status==="error"&&ye.createElement("i",{className:"iconfont icon-cuowu",style:{color:"#E30000",marginLeft:1,fontSize:13}})),ye.createElement("div",{style:{width:176}},ye.createElement(ie.Z,{title:Fe==null?void 0:Fe.name},ye.createElement("div",{style:{color:Fe.status==="error"?"#E30000":"#3061D0",textDecoration:"underline"}},(0,ae.tP)(Fe==null?void 0:Fe.name,9))),Fe.status==="uploading"&&ye.createElement(oe.Z,{strokeColor:"#3061D0",trailColor:"rgba(144, 150, 163, 0.1)",percent:Fe.percent,showInfo:!1,size:[168,4]})),ye.createElement("i",{onClick:()=>Je(Fe),className:"iconfont icon-shanchu14 font14 ml20 mr20",style:{cursor:"pointer",color:"#F65160"}}),ye.createElement(bt.default,{value:Fe.description,onChange:Ke=>{Ve(Ue=>{const ut=Ue.findIndex(vt=>vt.name===Fe.name);return Ue[ut].description=Ke.target.value,[...Ue]})},placeholder:"\u5907\u6CE8\u8BF4\u660E",showCount:!0,maxLength:100,style:{width:"286px"}})))),ye.createElement(E.default.Item,{label:"\u6807\u7B7E",name:"tag_ids",rules:[{required:!0,message:"\u6570\u636E\u96C6\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A"}]},ye.createElement(xe.Z,{isTagsValue:!0,width:"514",selectWidth:"514",placeholder:"\u6DFB\u52A0\u6807\u7B7E",getDataSet:fe,tags:et})),ye.createElement(E.default.Item,{initialValue:0,label:"\u662F\u5426\u516C\u5F00",name:"is_public",rules:[{required:!0}]},ye.createElement(le.ZP.Group,null,ye.createElement(le.ZP,{value:1},"\u662F"),ye.createElement(le.ZP,{value:0},"\u5426"))),ye.createElement("div",{style:{position:"relative",left:"100px",top:"-20px",width:"400px",color:"#9096A3",fontSize:"12px"}},"\u516C\u5F00\u9700\u8981\u7BA1\u7406\u5458\u5BA1\u6838\u901A\u8FC7\u540E\u53EF\u88AB\u5176\u4ED6\u7528\u6237\u8BBF\u95EE"),ye.createElement(E.default.Item,{label:"\u7B80\u4ECB\u6458\u8981",name:"desc",style:{marginBottom:0}},ye.createElement(Be,{placeholder:"\u6B64\u6570\u636E\u96C6\u4E3B\u8981\u5305\u542B\u4EC0\u4E48\u5185\u5BB9\uFF0C\u53EF\u4EE5\u7528\u6765\u505A\u4EC0\u4E48\uFF1F"})))))}},99008:function(kn,Qt,Te){"use strict";Te.r(Qt),Te.d(Qt,{default:function(){return sr}});var Ne=Te(59301),bt=Te(91482),E=Te(71418),je=Te(66104),ve=Te(6848),ne=Te(43418),ee=Te(24905),ie=Te(8591),oe=Te(38854),le=Te(5112),pe={flex_box_center:"flex_box_center___eNs_C",flex_space_between:"flex_space_between___oJc0d",flex_box_vertical_center:"flex_box_vertical_center___MoDEY",flex_box_center_end:"flex_box_center_end___BtlAV",flex_box_column:"flex_box_column___nUGZ8",bg:"bg___kj21E",wrap:"wrap___TtbC8",leftContent:"leftContent___FGaJd",header:"header___kobCa",headerBack:"headerBack___TI5PF",title:"title___B5Aew",time:"time___Ab938",introduction:"introduction___JKUBJ",from:"from___WId6_",bottom:"bottom___Expju",user_img:"user_img___igguI",user_name:"user_name___xNcx6",tags_name:"tags_name___xhTee",buttonList:"buttonList___ayDi1",buttonItem:"buttonItem___p_BX_",rightContent:"rightContent___XTwKA",share:"share___o0Kxt",publicStyle:"publicStyle___I8HuS",more:"more___ZQSDV",collectStyle:"collectStyle___FwPiJ",collectActiveStyle:"collectActiveStyle___vbqkD",content:"content___dl660",addTypeRadio:"addTypeRadio___iEl2Y",addBtn:"addBtn___SYc61",shixunTooltip:"shixunTooltip___krR3m",pageStyle:"pageStyle___UXmCF",pageCan:"pageCan___yNiQI",pageUnCan:"pageUnCan___M1D84",dropList:"dropList___KP6TZ",dropName:"dropName___hgrPU"},re=Te(6521),ae={flex_box_center:"flex_box_center___Kaphe",flex_space_between:"flex_space_between___dzJWD",flex_box_vertical_center:"flex_box_vertical_center___iwu7i",flex_box_center_end:"flex_box_center_end___izksF",flex_box_column:"flex_box_column___ntJPh",content:"content___gDHym",addTypeRadio:"addTypeRadio___oUKH0",introduceNoData:"introduceNoData___iILly",introduceAdd:"introduceAdd___v9keU",introduceText:"introduceText___iTf1W",introduceButton:"introduceButton___bwZMR",close:"close___csBZw",submit:"submit___SQ6af",introduceContent:"introduceContent___Yad8G",introduceTitle:"introduceTitle___DfmXh",introContentWrap:"introContentWrap___bmjAL",action:"action___DPbIq",fileTable:"fileTable___xqsXc",addBtn:"addBtn___em6e3",wrap:"wrap___Q3aN8",colorBlue:"colorBlue____HNqk",repeatedName:"repeatedName___RIjaL",row:"row___ngnyh",icon:"icon___fQvup"},ce=Te(40973),de=Te(39655),me=Te(78241),we=Te(1710),xe=Te(92832),Ae=Te(54580),ye=Te(93948),Ee=Te(11109),Le=Te(66649),Ce=Te.n(Le),_e=Te(25544),Me=Te(1643),De=Te(79769),Se=Te(47257),Be=Te.n(Se),Re=Te(34396),Xe=Te(1012),Ie=Te(59301),Ye=Object.defineProperty,Ge=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Qe=(Rn,Fn,Gn)=>Fn in Rn?Ye(Rn,Fn,{enumerable:!0,configurable:!0,writable:!0,value:Gn}):Rn[Fn]=Gn,nt=(Rn,Fn)=>{for(var Gn in Fn||(Fn={}))st.call(Fn,Gn)&&Qe(Rn,Gn,Fn[Gn]);if(it)for(var Gn of it(Fn))Ve.call(Fn,Gn)&&Qe(Rn,Gn,Fn[Gn]);return Rn},dt=(Rn,Fn)=>Ge(Rn,qe(Fn)),at=(Rn,Fn,Gn)=>new Promise((er,xr)=>{var cr=Xn=>{try{Dr(Gn.next(Xn))}catch($n){xr($n)}},Tr=Xn=>{try{Dr(Gn.throw(Xn))}catch($n){xr($n)}},Dr=Xn=>Xn.done?er(Xn.value):Promise.resolve(Xn.value).then(cr,Tr);Dr((Gn=Gn.apply(Rn,Fn)).next())});const tt=({polls:Rn,globalSetting:Fn,loading:Gn,dispatch:er,user:xr,dataSetInfo:cr,indexType:Tr,getInfo:Dr})=>{const Xn=(0,bt.useParams)(),[$n,wr]=(0,Ne.useState)(!1),[nr,Zn]=(0,Ne.useState)(0),Pr=(0,Ne.useRef)(null),Ht=(0,Ne.useRef)(null),[kt,Rt]=(0,Ne.useState)(""),[Lt,Bt]=(0,Ne.useState)(""),[Ut]=me.default.useForm(),[Yt,hn]=(0,Ne.useState)([]),fn=(0,Ne.useRef)([]),[wn,Ln]=(0,Ne.useState)(!1),[Tn,zn]=(0,Ne.useState)(!1),[nn,In]=(0,Ne.useState)(""),Xt=Yt.some(pn=>pn.status==="uploading");(0,Ne.useEffect)(()=>{var pn;((pn=Pr==null?void 0:Pr.current)==null?void 0:pn.clientHeight)>80?Zn(1):Zn(0)},[kt]),(0,Ne.useEffect)(()=>{fn.current=Yt},[Yt]),(0,Ne.useEffect)(()=>{Rt(cr==null?void 0:cr.introduce),Bt(cr==null?void 0:cr.introduce)},[cr==null?void 0:cr.introduce]);const en={multiple:!0,withCredentials:!0,showUploadList:!1,beforeUpload:pn=>at(void 0,null,function*(){var Tt,Jt,qt,un;if(((un=(qt=(Jt=(Tt=pn.name)==null?void 0:Tt.split("."))==null?void 0:Jt.slice(0,-1))==null?void 0:qt.join("."))==null?void 0:un.length)>60)return ie.ZP.warning(`\u300A${pn.name}\u300B\u6587\u4EF6\u540D\u79F0\u8FC7\u957F\uFF0C\u65E0\u6CD5\u4E0A\u4F20`),Promise.reject();if([...fn.current.map(_n=>_n.name)].includes(pn.name))return ie.ZP.warning(`\u300A${pn.name}\u300B\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`),Promise.reject();const yn=pn.size/1024/1024,bn={id:String(Math.random()).slice(-6),name:pn.name,size:pn.size,file:pn,description:"",percent:0,status:"uploading"};return sn(bn),hn(_n=>[..._n,bn]),Promise.reject()})},sn=pn=>at(void 0,null,function*(){var Tt;const Jt=pn.file,qt=Jt.size,un=Jt.name,dn=1024*1024*2,yn=Math.ceil(qt/dn),bn=yield(0,De.ZP)("/api/attachments/multipart_breakpoint_upload_start",{method:"POST",body:{fileName:un,chunkCount:yn,size:Jt==null?void 0:Jt.size,lastModified:Jt==null?void 0:Jt.lastModified,container_type:"DataSet"}});if((bn==null?void 0:bn.status)!==0){hn(ur=>{const dr=ur.findIndex(Rr=>Rr.name===un);return dr>-1?(ur[dr].status="error",[...ur]):ur});return}const{upload_id:_n,chunk_count:Qn}=bn,ar=new AbortController,gr=[];let mr=Qn;for(let ur=Qn;ur<yn;ur++){const dr=ur*dn,Rr=Math.min(dr+dn,qt),Cr=Jt.slice(dr,Rr),Ar=new FormData;Ar.append("chunk",Cr),Ar.append("fileName",un),Ar.append("chunkIndex",(ur+1).toString()),Ar.append("uploadId",_n),Ar.append("container_type","DataSet"),gr.push(()=>(0,De.ZP)("/api/attachments/multipart_upload",{method:"POST",body:Ar,signal:ar.signal},!0).then(Gr=>{mr++;const Kr=Math.round(mr/yn*100);console.log("\u8FDB\u5EA6",Kr,Gr);try{(Gr==null?void 0:Gr.status)===0?hn(oi=>{const Di=oi.findIndex(Hr=>Hr.name===un);return oi[Di].client=ar,oi[Di].percent=Kr,[...oi]}):hn(oi=>{const Di=oi.findIndex(Hr=>Hr.name===un);return Di>-1?(oi[Di].status="error",[...oi]):oi})}catch(oi){console.log("\u63A5\u53E3\u9519\u8BEF\uFF1A",oi)}}))}let zr=0,Mr=4;for(;zr<gr.length;){const ur=(Tt=gr.slice(zr,zr+Mr))==null?void 0:Tt.map(dr=>dr());if(ur.length>0){const dr=yield Promise.all(ur);zr+=Mr}}const lr=yield(0,De.ZP)("/api/attachments/multipart_upload_end",{method:"POST",body:{fileName:Jt.name,chunkCount:yn,uploadId:_n,container_type:"DataSet"}});(lr==null?void 0:lr.status)===0?hn(ur=>{const dr=ur.findIndex(Rr=>Rr.name===un);return dr>-1?(ur[dr].status="done",ur[dr].response={attachment_id:lr==null?void 0:lr.id},[...ur]):ur}):hn(ur=>{const dr=ur.findIndex(Rr=>Rr.name===un);return dr>-1?(ur[dr].status="error",[...ur]):ur})}),mn=pn=>at(void 0,null,function*(){var Tt,Jt,qt;const un=fn.current.find(dn=>dn.name===pn.name);(Tt=un==null?void 0:un.response)!=null&&Tt.attachment_id&&(yield(0,De.ZP)("/api/data_sets/single_destroy_files.json",{method:"delete",body:{attachment_id:(Jt=un==null?void 0:un.response)==null?void 0:Jt.attachment_id}})),un!=null&&un.client&&((qt=un==null?void 0:un.client)==null||qt.cancel()),hn(dn=>dn.filter(yn=>yn.name!==pn.name))}),Bn=()=>{var pn;(pn=fn.current)==null||pn.forEach(Tt=>{var Jt;Tt!=null&&Tt.client&&((Jt=Tt==null?void 0:Tt.client)==null||Jt.cancel())})},cn=(pn,Tt)=>at(void 0,null,function*(){var Jt,qt,un,dn,yn,bn,_n,Qn,ar;Tt.file_name=pn.name;const gr=pn.name,mr=yield(0,De.ZP)("/api/buckets/get_data_set_token.json",{method:"get"});if((mr==null?void 0:mr.status)!==0){hn(ur=>(ur[ur.findIndex(dr=>dr.name===gr)].status="error",[...ur])),ie.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}mr.data=JSON.parse((0,Re.pe)(mr.data));const zr=new(Be())({endpoint:(Jt=mr==null?void 0:mr.data)==null?void 0:Jt.end_point,region:(qt=mr==null?void 0:mr.data)==null?void 0:qt.region,accessKeyId:(un=mr==null?void 0:mr.data)==null?void 0:un.access_key_id,accessKeySecret:(dn=mr==null?void 0:mr.data)==null?void 0:dn.access_key_secret,bucket:(yn=mr==null?void 0:mr.data)==null?void 0:yn.bucket,stsToken:(bn=mr==null?void 0:mr.data)==null?void 0:bn.security_token}),Mr=pn.name.split(".");Mr.pop();const lr=Tt.realFileName?Mr.join("."):(0,Xe.Z)();zr.multipartUpload(`datasets/${Tt==null?void 0:Tt.login}/${lr}${gr.indexOf(".")>-1?"."+gr.split(".").pop():""}`,new Blob([pn.file],{type:pn.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(ur,dr,Rr)=>{console.log("\u8FDB\u5EA6",ur,dr,Rr),console.log("client--",zr),hn(Cr=>{const Ar=Cr.findIndex(Gr=>Gr.name===gr);return Ar!==-1&&(Cr[Ar].client=zr,Cr[Ar].percent=ur*100,Cr[Ar].checkpoint=dr),[...Cr]})},checkpoint:(Qn=fn.current[(_n=fn.current)==null?void 0:_n.findIndex(ur=>ur.name===gr)])==null?void 0:Qn.checkpoint,callback:{customValue:{id:gr+""},url:(ar=mr==null?void 0:mr.data)==null?void 0:ar.callback_url,host:mr==null?void 0:mr.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,De.rz)(Tt)}}).then(function(ur){hn(dr=>{var Rr,Cr,Ar;const Gr=dr.findIndex(oi=>oi.name===gr);let Kr="done";return Gr!==-1&&(((Rr=ur.data)==null?void 0:Rr.status)===0?dr[Gr].response=(Cr=ur.data)==null?void 0:Cr.data:(ie.ZP.warning((Ar=ur.data)==null?void 0:Ar.message),Kr="error"),dr[Gr].status=Kr),[...dr]})}).catch(function(ur){console.log("\u63A5\u53E3\u9519\u8BEF\uFF1A",ur),(ur==null?void 0:ur.name)!=="cancel"&&hn(dr=>{const Rr=dr.findIndex(Cr=>Cr.name===gr);return Rr!==-1&&(dr[Rr].status="error"),[...dr]})})});return Ie.createElement("div",{className:ae.content},!$n&&!kt&&Tr&&Ie.createElement("div",{className:ae.introduceNoData,onClick:()=>{wr(!0)}},Ie.createElement("div",{className:ae.introduceAdd},Ie.createElement("i",{className:"icon icon-tianjia4 mr5 font12"})," \u6DFB\u52A0\u6570\u636E\u96C6\u4ECB\u7ECD"),Ie.createElement("div",{className:ae.introduceText},"\u8BA9\u4F60\u7684\u6570\u636E\u96C6\u66F4\u53D7\u6B22\u8FCE")),!$n&&kt&&Ie.createElement("div",{className:ae.introduceContent},Ie.createElement("div",{className:ae.introduceTitle},"\u6570\u636E\u96C6\u4ECB\u7ECD",Tr&&Ie.createElement("i",{className:"icon icon-bianji9 font14 ml10",style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{wr(!0)}})),Ie.createElement("div",{className:ae.introContentWrap},Ie.createElement("div",null,Ie.createElement("div",{ref:Ht,style:nr>0?{height:nr===1?80:"auto",overflow:nr===1?"hidden":"auto"}:{paddingRight:0}},Ie.createElement("div",{ref:Pr},Ie.createElement(de.Z,{value:kt,style:{fontSize:"14px"}}))),!!nr&&Ie.createElement(Ne.Fragment,null,nr===1?Ie.createElement("div",{onClick:()=>{Zn(2)},className:ae.action},"\u5C55\u5F00",Ie.createElement("i",{className:"iconfont icon-zhankaixiaojiantou",style:{fontSize:"10px",marginLeft:"3px"}})):Ie.createElement("div",{onClick:()=>{Zn(1)},className:ae.action},"\u6536\u8D77",Ie.createElement("i",{className:"iconfont icon-shouqixiaojiantou",style:{fontSize:"10px",marginLeft:"3px"}})))))),$n&&Ie.createElement("div",{style:{marginTop:"30px"}},Ie.createElement(ce.Z,{watch:!0,onChange:pn=>{Bt(pn)},defaultValue:Lt,placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u5185\u5BB9\uFF0C\u6700\u591A5000\u4E2A\u5B57\u7B26"}),Ie.createElement("div",{className:ae.introduceButton},Ie.createElement("div",{className:ae.close,onClick:pn=>{pn.stopPropagation(),wr(!1)}},"\u53D6\u6D88"),Ie.createElement("div",{className:ae.submit,onClick:pn=>{pn.stopPropagation(),(0,Ee.R2)({id:Xn==null?void 0:Xn.id,introduce:Lt}).then(Tt=>{(Tt==null?void 0:Tt.status)==0&&(ie.ZP.success("\u64CD\u4F5C\u6210\u529F"),wr(!1),Dr(!0))})}},"\u786E\u8BA4"))),Ie.createElement("div",{className:ae.fileTable},Ie.createElement("div",null,"\u6587\u4EF6\u5217\u8868"),Tr&&Ie.createElement("div",{className:ae.addBtn,onClick:()=>{Ln(!0)}},"\u4E0A\u4F20\u6587\u4EF6")),Ie.createElement(we.default,{dataSource:cr==null?void 0:cr.attachments,pagination:!1,style:{marginTop:"20px"},scroll:{y:300},columns:[{title:"\u6587\u4EF6",align:"left",width:400,dataIndex:"title",ellipsis:!0},{title:"\u5907\u6CE8",align:"left",dataIndex:"description",ellipsis:!0},{title:"\u521B\u5EFA\u65F6\u95F4",align:"left",ellipsis:!0,dataIndex:"created_on",render:pn=>Ie.createElement("span",{style:{color:"#666666"}},pn?Ce()(pn).format("YYYY-MM-DD"):"--")},{title:"\u6587\u4EF6\u5927\u5C0F",align:"left",dataIndex:"filesize",ellipsis:!0},{title:"\u64CD\u4F5C",align:"right",dataIndex:"role",width:Tr?130:60,render:(pn,Tt,Jt)=>Ie.createElement("span",{style:{color:"#3061D0"}},Ie.createElement("div",{style:{display:"flex"}},Ie.createElement("div",{style:{marginRight:"10px",color:"#3061D0",cursor:"pointer"},onClick:()=>{(0,_e.Nd)(Tt.title,Tt==null?void 0:Tt.download_url)}},"\u4E0B\u8F7D"),Tr&&Ie.createElement("div",{style:{marginRight:"10px",color:"#3061D0",cursor:"pointer"},onClick:()=>{var qt,un,dn,yn;let bn=(un=Tt==null?void 0:Tt.title)==null?void 0:un.substring(((qt=Tt==null?void 0:Tt.title)==null?void 0:qt.lastIndexOf("."))+1);Ut.setFieldsValue({title:(yn=Tt==null?void 0:Tt.title)==null?void 0:yn.substring(0,(dn=Tt==null?void 0:Tt.title)==null?void 0:dn.lastIndexOf(".")),description:Tt==null?void 0:Tt.description}),ne.default.confirm({icon:null,title:"\u7F16\u8F91",width:700,centered:!0,content:Ie.createElement("div",null,Ie.createElement(me.default,{form:Ut,colon:!1,labelCol:{span:3},style:{marginBottom:"-20px"},wrapperCol:{span:21}},Ie.createElement(me.default.Item,{label:"\u6587\u4EF6\u540D\u79F0",name:"title",rules:[{required:!0,message:"\u5FC5\u586B\u9879"}]},Ie.createElement(xe.default,{placeholder:"\u6587\u4EF6\u540D\u79F0\u6700\u591A\u53EF\u8F93\u5165255\u5B57",size:"large",suffix:Ie.createElement("span",null,".",bn)})),Ie.createElement(me.default.Item,{label:"\u5907\u6CE8",name:"description"},Ie.createElement(Me.Z,{placeholder:"\u5907\u6CE8\u8BF4\u660E\uFF0C\u6700\u591A255\u5B57",size:"large"})))),onOk:()=>at(void 0,null,function*(){yield Ut.validateFields(),(0,Ee.A0)({id:Xn==null?void 0:Xn.id,attachment_id:Tt.id,filename:Ut.getFieldValue("title")+"."+bn,description:Ut.getFieldValue("description")}).then(_n=>{(_n==null?void 0:_n.status)==0&&(ie.ZP.success("\u7F16\u8F91\u6210\u529F"),Dr())})})})}},"\u7F16\u8F91"),Tr&&Ie.createElement("div",{style:{color:"#9096A3",cursor:"pointer"},onClick:()=>{ne.default.confirm({icon:null,centered:!0,title:"\u63D0\u793A",content:"\u5220\u9664\u6570\u636E\u96C6\u4E0D\u4F1A\u5F71\u54CD\u5230\u5F15\u7528\u8BE5\u6570\u636E\u96C6\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4F46\u5220\u9664\u540E\u6570\u636E\u5C06\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664",onOk:()=>at(void 0,null,function*(){(0,Ee.Il)({attachment_id:Tt==null?void 0:Tt.id}).then(qt=>{(qt==null?void 0:qt.status)==0&&(ie.ZP.success("\u5220\u9664\u6210\u529F"),Dr(!0))})})})}},"\u5220\u9664")))}]}),Ie.createElement(ne.default,{centered:!0,keyboard:!1,maskClosable:!1,destroyOnClose:!0,open:wn,title:"\u4E0A\u4F20\u6587\u4EF6",okButtonProps:{loading:Tn,disabled:Xt},width:"1000px",onOk:()=>at(void 0,null,function*(){const pn=Yt.map(Jt=>{var qt;return{attachment_id:(qt=Jt.response)==null?void 0:qt.attachment_id,description:nn}});if(Yt.length===0){ie.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u6587\u4EF6\uFF01");return}zn(!0);const Tt=yield(0,De.ZP)(`/api/data_sets/${Xn==null?void 0:Xn.id}/upload_attachments.json`,{method:"post",body:{attachments:pn}});(Tt==null?void 0:Tt.status)==0&&(ie.ZP.success("\u4E0A\u4F20\u6210\u529F\uFF01"),Dr(),Ln(!1)),zn(!1)}),onCancel:()=>{if(Xt){ne.default.confirm({title:"\u5173\u95ED\u5F39\u6846\u63D0\u793A",content:"\u6709\u6587\u4EF6\u672A\u4E0A\u4F20\uFF0C\u662F\u5426\u786E\u5B9A\u79BB\u5F00\uFF1F",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Ln(!1)}});return}Ln(!1)},afterClose:()=>{hn([]),In(""),zn(!1)}},Ie.createElement("div",{className:ae.wrap},Ie.createElement("div",{className:"mb10"},Ie.createElement("span",{style:{color:"#ff4d4f",marginRight:"5px"}},"*"),"\u9009\u62E9\u6587\u4EF6 ",Ie.createElement("span",{className:"c-light-black"},"(\u5355\u4E2A\u6587\u4EF6\u4E0D\u8D85\u8FC72GB)")),Ie.createElement("div",null,Ie.createElement(Ae.default.Dragger,dt(nt({},en),{height:300}),Ie.createElement("div",null,Ie.createElement("i",{className:`iconfont icon-shangchuan font50 ${ae.colorBlue}`})),Ie.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",Ie.createElement("span",{className:`${ae.colorBlue} ml5`},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),Ie.createElement("div",{className:ae.box},Yt.map(pn=>Ie.createElement("div",{key:pn.id,className:ae.row},Ie.createElement("div",{style:{display:"flex",alignItems:"center"}},Ie.createElement("div",{className:ae.icon},pn.status==="done"&&Ie.createElement("i",{className:"iconfont icon-wancheng",style:{color:"#19CB70"}}),pn.status==="error"&&Ie.createElement("i",{className:"iconfont icon-cuowu",style:{color:"#E30000",marginLeft:1,fontSize:13}})),Ie.createElement("div",{style:{flex:1}},Ie.createElement(ve.Z,{title:pn==null?void 0:pn.name},Ie.createElement("div",{style:{width:"100%",color:pn.status==="error"?"#E30000":"#3061D0",textDecoration:"underline"}},(0,_e.tP)(pn==null?void 0:pn.name,9))),pn.status==="uploading"&&Ie.createElement(ye.Z,{strokeColor:"#3061D0",trailColor:"rgba(144, 150, 163, 0.1)",percent:pn.percent,showInfo:!1,style:{width:"900px"}}))),Ie.createElement("i",{onClick:()=>mn(pn),className:"iconfont icon-shanchu14 font14 ml20",style:{cursor:"pointer",color:"#F65160"}})))),Ie.createElement("div",{style:{marginTop:"20px"}},"\u5907\u6CE8\uFF1A"),Ie.createElement("div",null,Ie.createElement(xe.default,{allowClear:!0,value:nn,onChange:pn=>{In(pn.target.value)},bordered:!1,showCount:!0,maxLength:255,placeholder:"\u8BF7\u586B\u5199\u5907\u6CE8\u4FE1\u606F"})))))};var et=(0,bt.connect)(({polls:Rn,loading:Fn,user:Gn,globalSetting:er})=>({polls:Rn,globalSetting:er,user:Gn,loading:Fn.effects}))(tt),ot=Te(26227),yt=Te(95237),pt=Te(43604),Pt=Te(3113),Mt={flex_box_center:"flex_box_center___kjELP",flex_space_between:"flex_space_between___IoBKu",flex_box_vertical_center:"flex_box_vertical_center___NuujF",flex_box_center_end:"flex_box_center_end___Kc5UK",flex_box_column:"flex_box_column___ebFBu",reply:"reply___xDf2z",replyList:"replyList___zMH5f",comment:"comment___qHsYF",content:"content___vTju0",commentItem:"commentItem___aGdcc",commentParItem:"commentParItem___XkqkQ",submitStyle:"submitStyle___RwXx8"},ct=Te(53822),Je=Te(59301),Ze=Object.defineProperty,ue=Object.defineProperties,he=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Pe=(Rn,Fn,Gn)=>Fn in Rn?Ze(Rn,Fn,{enumerable:!0,configurable:!0,writable:!0,value:Gn}):Rn[Fn]=Gn,Fe=(Rn,Fn)=>{for(var Gn in Fn||(Fn={}))We.call(Fn,Gn)&&Pe(Rn,Gn,Fn[Gn]);if(He)for(var Gn of He(Fn))fe.call(Fn,Gn)&&Pe(Rn,Gn,Fn[Gn]);return Rn},Ke=(Rn,Fn)=>ue(Rn,he(Fn)),Ue=(Rn,Fn,Gn)=>new Promise((er,xr)=>{var cr=Xn=>{try{Dr(Gn.next(Xn))}catch($n){xr($n)}},Tr=Xn=>{try{Dr(Gn.throw(Xn))}catch($n){xr($n)}},Dr=Xn=>Xn.done?er(Xn.value):Promise.resolve(Xn.value).then(cr,Tr);Dr((Gn=Gn.apply(Rn,Fn)).next())});Ce().locale("ZH-cn");function ut({user:Rn,vlist:Fn=[],dispatch:Gn,params:er,id:xr,memo_replies:cr,forumsDetail:Tr}){return Je.createElement("aside",{className:Mt.comment},Fn.map(function(Dr,Xn){var $n,wr;return Je.createElement(yt.Z,{key:Xn,className:Mt.commentItem},Je.createElement(pt.Z,{span:24},Je.createElement(yt.Z,null,Je.createElement(pt.Z,{flex:"1"},Je.createElement("a",{href:`/users/${Dr.user_login}`,target:"_blank",style:{color:"#9096A3",fontSize:"12px"}},Dr==null?void 0:Dr.username),Je.createElement("span",{style:{color:"#9096A3",fontSize:"12px",marginLeft:"10px"}},Dr.time)),(Dr.can_delete||Dr.user_id===(($n=Rn.userInfo)==null?void 0:$n.user_id)||Dr.user_login===((wr=Rn.userInfo)==null?void 0:wr.login))&&Je.createElement(pt.Z,{className:"forums-comment-delete",style:{display:"none"}},Je.createElement(ve.Z,{title:"\u5220\u9664"},Je.createElement(ot.Z,{className:"current",onClick:()=>{ne.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Je.createElement("div",{className:"font16 tc"},"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"),onOk:()=>Ue(this,null,function*(){const nr=yield(0,ct.sW)({id:Dr.id,memo_type:"data_set"}),Zn=cr.find(Pr=>Pr.id===xr).children.filter(Pr=>Pr.id!==Dr.id);cr.find(Pr=>Pr.id===xr).children=Zn,Gn({type:"forumsDetail/setForumsDetailData",payload:Ke(Fe({},Tr.forumsDetailData),{memo_replies:[...cr],memo_type:"data_set"})})})})}}))))),Je.createElement(pt.Z,null,Je.createElement(de.Z,{value:Dr.content,style:{color:"#232B40",fontSize:"14px"}})))}))}var vt=ut,lt=Te(59301),Dt=Object.defineProperty,Wt=Object.defineProperties,wt=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,ft=(Rn,Fn,Gn)=>Fn in Rn?Dt(Rn,Fn,{enumerable:!0,configurable:!0,writable:!0,value:Gn}):Rn[Fn]=Gn,Et=(Rn,Fn)=>{for(var Gn in Fn||(Fn={}))Nt.call(Fn,Gn)&&ft(Rn,Gn,Fn[Gn]);if(zt)for(var Gn of zt(Fn))St.call(Fn,Gn)&&ft(Rn,Gn,Fn[Gn]);return Rn},Ft=(Rn,Fn)=>Wt(Rn,wt(Fn)),Kt=(Rn,Fn,Gn)=>new Promise((er,xr)=>{var cr=Xn=>{try{Dr(Gn.next(Xn))}catch($n){xr($n)}},Tr=Xn=>{try{Dr(Gn.throw(Xn))}catch($n){xr($n)}},Dr=Xn=>Xn.done?er(Xn.value):Promise.resolve(Xn.value).then(cr,Tr);Dr((Gn=Gn.apply(Rn,Fn)).next())});Ce().locale("ZH-cn");const Zt=({user:Rn,forumsDetail:Fn,globalSetting:Gn,loading:er,dispatch:xr,handleClick:cr,memoId:Tr},Dr)=>{const{memo:Xn,memo_replies:$n}=Fn.forumsDetailData||{},wr=(0,bt.useParams)(),[nr,Zn]=(0,Ne.useState)(""),[Pr,Ht]=(0,Ne.useState)(""),[kt,Rt]=(0,Ne.useState)(-1),[Lt,Bt]=(0,Ne.useState)(!1),[Ut,Yt]=(0,Ne.useState)(!1),[hn,fn]=(0,Ne.useState)(1);(0,Ne.useEffect)(()=>{Bt((Xn==null?void 0:Xn.reply_for_memo_count)>10)},[Xn==null?void 0:Xn.reply_for_memo_count]),(0,Ne.useEffect)(()=>{xr({type:"forumsDetail/getForumsDetailData",payload:{id:Tr,memo_type:"data_set"}})},[]);const wn=()=>Kt(void 0,null,function*(){var Tn;const zn=hn+1;fn(zn);const nn=yield(0,ct.z5)({id:Tr,page:zn,memo_type:"data_set"});nn!=null&&nn.memo_replies&&(xr({type:"forumsDetail/setForumsDetailData",payload:Ft(Et({},Fn.forumsDetailData),{memo_replies:[...$n,...nn.memo_replies]})}),Bt(((Tn=nn.memo_replies)==null?void 0:Tn.length)===10))}),Ln=Tn=>{var zn,nn,In,Xt;return Ft(Et({},Tn),{image_url:(zn=Rn.userInfo)==null?void 0:zn.image_url,children:[],user_id:(nn=Rn.userInfo)==null?void 0:nn.user_id,user_login:(In=Rn.userInfo)==null?void 0:In.login,username:(Xt=Rn.userInfo)==null?void 0:Xt.username,time:`${(0,_e.li)((new Date().getTime()-new Date(Tn.created_at).getTime())/1e3)}\u524D`})};return lt.createElement("section",{className:Mt.wrap},!!($n!=null&&$n.length)&&lt.createElement("aside",{className:Mt.content},lt.createElement("aside",{className:Mt.replyList},$n==null?void 0:$n.map(function(Tn,zn){var nn,In,Xt;return lt.createElement(yt.Z,{gutter:[12,12],key:zn},lt.createElement(pt.Z,{flex:"40px"},lt.createElement("a",{href:`/users/${Tn.user_login}`,target:"_blank"},lt.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",width:"46",height:"46",src:`${re.Z.IMG_SERVER}/images/${Tn==null?void 0:Tn.image_url}`}))),lt.createElement(pt.Z,{flex:"1"},lt.createElement(yt.Z,{align:"middle",className:Mt.commentParItem},lt.createElement(pt.Z,{span:24},lt.createElement(yt.Z,null,lt.createElement(pt.Z,{flex:"1"},lt.createElement("a",{href:`/users/${Tn.user_login}`,target:"_blank"},lt.createElement("span",{style:{color:"#9096A3",fontSize:"12px"}},Tn==null?void 0:Tn.username)),lt.createElement("span",{style:{color:"#9096A3",fontSize:"12px",marginLeft:"10px"}},Tn.time)),(Tn.can_delete||Tn.user_id===((nn=Rn.userInfo)==null?void 0:nn.user_id)||Tn.user_login===((In=Rn.userInfo)==null?void 0:In.login))&&lt.createElement(pt.Z,{className:"forums-comment-par-delete",style:{display:"none"}},lt.createElement(ve.Z,{title:"\u5220\u9664"},lt.createElement(ot.Z,{className:"current",onClick:()=>{ne.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:lt.createElement("div",{className:"font16 tc"},"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417\uFF1F"),onOk:()=>Kt(this,null,function*(){const en=yield(0,ct.sW)({id:Tn.id,memo_type:"data_set"}),sn=$n.filter(mn=>mn.id!==Tn.id);xr({type:"forumsDetail/setForumsDetailData",payload:Ft(Et({},Fn.forumsDetailData),{memo_replies:[...sn],memo_type:"data_set"})})})})}}))))),lt.createElement(pt.Z,{span:24,style:{marginTop:"5px"}},lt.createElement("div",{onClick:cr},lt.createElement(de.Z,{value:Tn.content,style:{color:"#232B40",fontSize:"14px"}}))),!!((Xt=Tn==null?void 0:Tn.children)!=null&&Xt.length)&&lt.createElement(vt,{user:Rn,id:Tn==null?void 0:Tn.id,vlist:Tn==null?void 0:Tn.children,dispatch:xr,params:wr,memo_replies:$n,forumsDetail:Fn}),lt.createElement(pt.Z,{span:24,className:"mt5 c-light-black"},kt===zn?lt.createElement("aside",null,lt.createElement(ce.Z,{onChange:en=>{Ht(en)},height:150,isFocus:!0,placeholder:"\u6211\u8981\u56DE\u590D..."}),lt.createElement(yt.Z,null,lt.createElement(pt.Z,{span:24,className:"tr"},lt.createElement(Pt.ZP,{type:"primary",size:"middle",onClick:()=>Kt(this,null,function*(){if(Pr==="")ie.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9");else{const en=yield(0,ct.ts)({parent_id:Tn.id,content:Pr,memo_type:"data_set"});Ht(null),en&&(Rt(-1),$n.find(sn=>sn.id===en.parent_id).children.push(Ln(en)),xr({type:"forumsDetail/setForumsDetailData",payload:Ft(Et({},Fn.forumsDetailData),{memo:Ft(Et({},Xn),{reply_for_memo_count:(Xn==null?void 0:Xn.reply_for_memo_count)+1}),memo_replies:[...$n],memo_type:"data_set"})}))}})},"\u53D1\u9001")))):lt.createElement("div",{className:"tr",style:{textAlign:"left"}},lt.createElement("span",{className:"iconfont icon-xiaopinglun mr30 current font14",onClick:()=>Rt(zn)}),lt.createElement(ve.Z,{title:Tn.user_praise?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},lt.createElement("span",{className:Tn.user_praise?"c-orange":"c-gery-888"},lt.createElement("i",{className:"iconfont icon-dianzan4 mr5 current font14",onClick:()=>Kt(this,null,function*(){const en=yield(0,ct.vL)({id:Tn.id,container_type:"Memo",type:Tn.user_praise?0:1,memo_type:"data_set"});(en==null?void 0:en.praise_count)>=0&&($n.find(sn=>sn.id===Tn.id).user_praise=!Tn.user_praise,$n.find(sn=>sn.id===Tn.id).praise_count=en==null?void 0:en.praise_count,xr({type:"forumsDetail/setForumsDetailData",payload:Ft(Et({},Fn.forumsDetailData),{memo_replies:[...$n],memo_type:"data_set"})}))})}),Tn.praise_count>0?Tn.praise_count:"")))))))}))),Lt&&lt.createElement("aside",{className:"bg-white pb20",style:{display:"flex",justifyContent:"center",marginTop:"20px"}},lt.createElement(yt.Z,{justify:"space-between"},lt.createElement(pt.Z,null),lt.createElement(pt.Z,null,Lt&&lt.createElement("a",{style:{color:"#3061D0",fontSize:"14px"},onClick:wn},"\u67E5\u770B\u66F4\u591A\u8BC4\u8BBA",lt.createElement("i",{className:"icon icon-zhankaixiaojiantou ",style:{fontSize:"10px",marginLeft:"3px"}}))))),lt.createElement("aside",{className:Mt.reply},lt.createElement(ce.Z,{onBlur:()=>Yt(!1),isFocus:Ut,defaultValue:nr,id:"writeForumsReviewId",onChange:Tn=>{Zn(Tn)},placeholder:"\u6211\u8981\u56DE\u590D...",height:240}),lt.createElement(yt.Z,null,lt.createElement(pt.Z,{flex:"1"}),lt.createElement(pt.Z,null,lt.createElement("div",{className:Mt.submitStyle,style:{width:"60px",height:"32px",textAlign:"center"},onClick:()=>Kt(void 0,null,function*(){if(nr==="")ie.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9");else{const Tn=yield(0,ct.ts)({parent_id:Xn==null?void 0:Xn.id,content:nr,memo_type:"data_set"});Zn(null),Tn&&xr({type:"forumsDetail/setForumsDetailData",payload:Ft(Et({},Fn.forumsDetailData),{memo:Ft(Et({},Xn),{reply_for_memo_count:(Xn==null?void 0:Xn.reply_for_memo_count)+1}),memo_replies:[Ln(Tn),...$n],memo_type:"data_set"})})}})},"\u53D1\u9001")))))};var rn=(0,bt.connect)(({user:Rn,forumsDetail:Fn,loading:Gn,globalSetting:er})=>({user:Rn,forumsDetail:Fn,globalSetting:er,loading:Gn.models.forumsDetail}),null,null,{forwardRef:!0})((0,Ne.forwardRef)(Zt)),En=Te(23579),On=Te(7544),Hn=Te(77987),Dn=Te(59301),jn=(Rn,Fn,Gn)=>new Promise((er,xr)=>{var cr=Xn=>{try{Dr(Gn.next(Xn))}catch($n){xr($n)}},Tr=Xn=>{try{Dr(Gn.throw(Xn))}catch($n){xr($n)}},Dr=Xn=>Xn.done?er(Xn.value):Promise.resolve(Xn.value).then(cr,Tr);Dr((Gn=Gn.apply(Rn,Fn)).next())});let Jn={public:"\u516C\u5F00\u6570\u636E\u96C6",mine:"\u6211\u7684\u6570\u636E\u96C6",share:"\u56E2\u961F\u5171\u4EAB",collect:"\u6211\u6536\u85CF\u7684"};const br=({polls:Rn,globalSetting:Fn,loading:Gn,dispatch:er,user:xr})=>{var cr,Tr,Dr;const Xn=(0,bt.useParams)(),[$n]=(0,bt.useSearchParams)(),[wr,nr]=(0,Ne.useState)(!1),[Zn,Pr]=(0,Ne.useState)(1),[Ht,kt]=(0,Ne.useState)(null),[Rt,Lt]=(0,Ne.useState)(""),[Bt,Ut]=(0,Ne.useState)(),[Yt,hn]=(0,Ne.useState)(1),[fn,wn]=(0,Ne.useState)(1),Ln=(0,Ne.useRef)([]),[Tn,zn]=(0,Ne.useState)([]),[nn,In]=(0,Ne.useState)(!1),[Xt,en]=(0,Ne.useState)(!1);(0,Ne.useEffect)(()=>{Bn(),(0,De.ZP)("/api/teach_group_shares.json",{method:"get"}).then(Tt=>{(Tt==null?void 0:Tt.status)==0&&zn(Tt==null?void 0:Tt.groups)})},[]),(0,Ne.useEffect)(()=>{Zn==2&&mn()},[Zn,Yt]);const sn=(Tt,Jt)=>(Tt=Math.max(Tt,0),Jt=Math.max(Jt,1),Math.ceil(Tt/Jt)),mn=()=>{(0,Ee.Ce)({id:Xn==null?void 0:Xn.id,page:Yt,limit:16}).then(Tt=>{var Jt,qt;(Tt==null?void 0:Tt.status)==0&&(Ut((Jt=Tt==null?void 0:Tt.data)==null?void 0:Jt.shixuns),wn(sn((qt=Tt==null?void 0:Tt.data)==null?void 0:qt.count,16)))})},Bn=(Tt=!1)=>{en(!0),(0,Ee.Ru)(Xn==null?void 0:Xn.id).then(Jt=>{var qt,un;(Jt==null?void 0:Jt.status)==0&&(kt(Jt==null?void 0:Jt.data),nr((0,On.Ny)()||((qt=Jt==null?void 0:Jt.data)==null?void 0:qt.is_creator)),Ln.current=(un=Jt==null?void 0:Jt.data)==null?void 0:un.share_group_ids,Tt&&Lt(new Date),en(!1))})},cn=()=>{In(!1)},pn=()=>{Bn(),In(!1)};return Dn.createElement(E.Z,{spinning:Xt},Dn.createElement("section",{className:pe.bg},Ht&&Dn.createElement(Dn.Fragment,null,Dn.createElement("div",{className:"edu-container"},Dn.createElement("aside",{className:"mt10"},Dn.createElement(je.Z,{separator:">"},Dn.createElement(je.Z.Item,null,Dn.createElement(bt.Link,{to:"/dataset"},"\u6570\u636E\u96C6")),Dn.createElement(je.Z.Item,null,Dn.createElement(bt.Link,{to:`/dataset?tabId=${$n.get("tabId")}`},Jn[$n.get("tabId")])),Dn.createElement(je.Z.Item,null,Ht==null?void 0:Ht.title))),Dn.createElement("aside",{className:pe.wrap},Dn.createElement("div",{className:pe.leftContent,style:{width:wr?"78%":"87%"}},Dn.createElement("div",{className:pe.header},Dn.createElement("div",{className:pe.headerBack,onClick:()=>{bt.history.push(`/dataset?tabId=${$n.get("tabId")}`)}},Dn.createElement("i",{className:"iconfont icon-fanhui4 ",style:{fontSize:"10px",margin:"0 3px 0 5px"}}),"\u8FD4\u56DE"),Dn.createElement("div",{className:pe.title},Ht==null?void 0:Ht.title),Dn.createElement("div",{className:pe.time},Ht==null?void 0:Ht.create_at)),Dn.createElement("div",{className:pe.introduction},Ht==null?void 0:Ht.desc),Dn.createElement("div",{className:pe.bottom},((cr=Ht==null?void 0:Ht.user_info)==null?void 0:cr.image_url)&&Dn.createElement("img",{className:pe.user_img,alt:"\u7528\u6237\u5934\u50CF",src:`${re.Z.IMG_SERVER}/images/${(Tr=Ht==null?void 0:Ht.user_info)==null?void 0:Tr.image_url}`}),Dn.createElement("div",{className:pe.user_name},Ht==null?void 0:Ht.user_info_name),(Dr=Ht==null?void 0:Ht.data_set_tags)==null?void 0:Dr.map((Tt,Jt)=>{var qt;return Jt<3?Dn.createElement("div",{key:Jt,className:pe.tags_name},Tt==null?void 0:Tt.tag_name):Jt==3?Dn.createElement(ve.Z,{key:Jt,title:(qt=Ht==null?void 0:Ht.data_set_tags)==null?void 0:qt.map((un,dn)=>{var yn;if(dn>2)return(un==null?void 0:un.tag_name)+(dn===((yn=Ht==null?void 0:Ht.data_set_tags)==null?void 0:yn.length)-1?"":"\u3001")}).join("")},Dn.createElement("div",{key:Jt,className:pe.tags_name},"...")):null}),Dn.createElement("div",{className:pe.buttonList},Dn.createElement(ve.Z,{title:`\u5F15\u7528\u6570\uFF1A${Ht==null?void 0:Ht.used_count}`},Dn.createElement("div",{className:`${pe.buttonItem} current`},Dn.createElement("i",{className:"iconfont icon-yinyong font12 mr5"}),Ht==null?void 0:Ht.used_count)),Dn.createElement(ve.Z,{title:`\u6D4F\u89C8\u6570\uFF1A${Ht==null?void 0:Ht.visited_count}`},Dn.createElement("div",{className:`${pe.buttonItem} current`},Dn.createElement("i",{className:"iconfont icon-chakanrenshu font12 mr5"}),Ht==null?void 0:Ht.visited_count)),Dn.createElement(ve.Z,{title:`\u8BC4\u8BBA\u6570\uFF1A${Ht==null?void 0:Ht.comment_count}`},Dn.createElement("div",{className:`${pe.buttonItem} current`},Dn.createElement("i",{className:"iconfont icon-xiaopinglun font12 mr5"}),Ht==null?void 0:Ht.comment_count))))),Dn.createElement("div",{className:pe.rightContent,style:{width:wr?"22%":"13%"}},wr?Dn.createElement("div",{style:{display:"flex",marginLeft:"auto"}},Dn.createElement("div",{className:pe.share,onClick:()=>jn(void 0,null,function*(){ne.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u5171\u4EAB\u81F3\u6559\u7814\u56E2\u961F",maskClosable:!0,icon:null,content:Dn.createElement("div",{className:`font14 ${pe.overflow}`},Dn.createElement("div",{className:pe.tips},"\u63D0\u793A\uFF1A\u5171\u4EAB\u540E\u7684\u6570\u636E\u96C6\u652F\u6301\u56E2\u961F\u6210\u5458\u8FDB\u884C\u7F16\u8F91\uFF0C\u5982\u9700\u64A4\u9500\u672C\u6570\u636E\u96C6\u5BF9\u9009\u4E2D\u6559\u7814\u56E2\u961F\u7684\u5206\u4EAB\uFF0C\u53D6\u6D88\u9009\u4E2D\u5E76\u786E\u5B9A\u5373\u53EF\u3002"),Dn.createElement(ee.default.Group,{style:{marginTop:"10px"},defaultValue:Ht==null?void 0:Ht.share_group_ids,onChange:Tt=>{Ln.current=Tt}},Tn==null?void 0:Tn.map(Tt=>Dn.createElement(ee.default,{key:Tt==null?void 0:Tt.group_id,value:Tt==null?void 0:Tt.group_id},Tt==null?void 0:Tt.name)))),onOk:()=>{(0,Ee.l5)({ids:[Ht==null?void 0:Ht.id],clazz:"DataSet",group_ids:Ln.current}).then(Tt=>{(Tt==null?void 0:Tt.status)==0&&(ie.ZP.success("\u5171\u4EAB\u6210\u529F"),Bn())})}})})},"\u5171\u4EAB"),Dn.createElement("div",{className:pe.publicStyle,onClick:()=>{ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",icon:null,cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:(Ht==null?void 0:Ht.public_status)==0?"\u7533\u8BF7\u516C\u5F00\u9700\u8981\u5F85\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u901A\u8FC7\u540E\uFF0C\u81EA\u52A8\u516C\u5F00":(Ht==null?void 0:Ht.public_status)==1?"\u53D6\u6D88\u516C\u5F00\u540E\uFF0C\u5176\u4ED6\u7528\u6237\u5C06\u4E0D\u53EF\u89C1\uFF0C\u540C\u65F6\u518D\u6B21\u516C\u5F00\u9700\u8981\u91CD\u65B0\u8FDB\u884C\u7533\u8BF7":"\u64A4\u9500\u7533\u8BF7\u516C\u5F00\u540E\uFF0C\u7533\u8BF7\u8BB0\u5F55\u5C06\u5220\u9664\uFF0C\u5982\u9700\u516C\u5F00\u8BF7\u518D\u6B21\u7533\u8BF7",onOk:()=>jn(void 0,null,function*(){let Tt;switch(Ht==null?void 0:Ht.public_status){case 0:Tt=(0,Ee.To)(Ht==null?void 0:Ht.id);break;case 1:Tt=(0,Ee.a6)(Ht==null?void 0:Ht.id);break;case 2:Tt=(0,Ee.Dx)(Ht==null?void 0:Ht.id);break;default:return}Tt.then(Jt=>{(Jt==null?void 0:Jt.status)===0&&(ie.ZP.success("\u64CD\u4F5C\u6210\u529F"),Bn())})})})}},(Ht==null?void 0:Ht.public_status)==0?"\u7533\u8BF7\u516C\u5F00":(Ht==null?void 0:Ht.public_status)==1?"\u53D6\u6D88\u516C\u5F00":"\u64A4\u9500\u7533\u8BF7\u516C\u5F00"),Dn.createElement(oe.Z,{menu:{items:[{label:Dn.createElement("div",null,"\u7F16\u8F91"),key:"4",onClick:()=>{In(!0)}},{label:Dn.createElement("div",{onClick:()=>{ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:null,content:"\u5220\u9664\u6570\u636E\u96C6\u4E2D\u7684\u6587\u4EF6\u4E0D\u4F1A\u5F71\u54CD\u5230\u5F15\u7528\u8BE5\u6570\u636E\u96C6\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4F46\u5220\u9664\u540E\u6570\u636E\u5C06\u4E0D\u53EF\u6062\u590D\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664",onOk(){return jn(this,null,function*(){(0,Ee.pP)(Ht==null?void 0:Ht.id).then(Tt=>{(Tt==null?void 0:Tt.status)==0&&(ie.ZP.success("\u5220\u9664\u6210\u529F"),bt.history.push("/dataset"))})})}})}},"\u5220\u9664"),key:"5"}]}},Dn.createElement("div",{className:pe.more},Dn.createElement("i",{className:"iconfont icon-gengduo6 font12"})))):Dn.createElement("div",{className:Ht!=null&&Ht.current_user_is_collect?pe.collectActiveStyle:pe.collectStyle,onClick:()=>{let Tt;Ht!=null&&Ht.current_user_is_collect?Tt=(0,Ee.R9)({container_id:Ht==null?void 0:Ht.id,container_type:"DataSet"}):Tt=(0,Ee.nW)({container_id:Ht==null?void 0:Ht.id,container_type:"DataSet"}),Tt.then(Jt=>{(Jt==null?void 0:Jt.status)===0&&Bn()})}},Dn.createElement("i",{className:"iconfont icon-shoucang4 font12"})," ",Ht==null?void 0:Ht.collect_count))),Dn.createElement("div",{className:pe.content},Dn.createElement("div",{style:{display:"flex",alignItems:"center"}},Dn.createElement(le.ZP.Group,{className:pe.addTypeRadio,optionType:"button",options:[{label:"\u8BE6\u60C5",value:1},{label:"\u5B9E\u8DF5\u9879\u76EE",value:2},{label:"\u8BA8\u8BBA",value:3}],onChange:Tt=>{var Jt;Pr((Jt=Tt==null?void 0:Tt.target)==null?void 0:Jt.value)},value:Zn}),Dn.createElement("div",{className:pe.addBtn,onClick:()=>{window.open(`/shixuns/new?dataSetId=${Xn==null?void 0:Xn.id}`)}},"\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE")),Zn==1&&Dn.createElement(et,{dataSetInfo:Ht,getInfo:Bn,key:Rt,indexType:wr}),Zn==2&&Dn.createElement("div",null,Dn.createElement("div",{className:pe.shixunTooltip},Dn.createElement("i",{className:"icon icon-tishi11 font12 mr10"}),"\u6E29\u99A8\u63D0\u793A\uFF1A\u4EC5\u5C55\u793A\u5F15\u7528\u8BE5\u6570\u636E\u96C6\u4E14\u516C\u5F00\u7684\u5B9E\u8DF5\u9879\u76EE"),Dn.createElement(En.wb,{dataSource:Bt,right:23,col:4,precision:1,loading:!1,wrapWidth:1140,trackEventItems:["\u5B9E\u8DF5\u9879\u76EE","\u9996\u9875","\u5B9E\u8BAD\u5217\u8868\u67E5\u770B\u8BE6\u60C5"]}),fn>1&&Dn.createElement("div",{className:pe.pageStyle},Dn.createElement("div",{className:Yt==1?pe.pageUnCan:pe.pageCan,style:{marginRight:"10px"},onClick:()=>{Yt>1&&hn(Yt-1)}},"\u4E0A\u4E00\u9875"),Dn.createElement("div",{className:Yt==fn?pe.pageUnCan:pe.pageCan,style:{marginLeft:"10px"},onClick:()=>{Yt<fn&&hn(Yt+1)}},"\u4E0B\u4E00\u9875"))),Zn==3&&Dn.createElement(rn,{memoId:Ht==null?void 0:Ht.memo_id})))),Dn.createElement(Hn.Z,{dataSetInfo:Ht,visible:nn,onClose:cn,onSuccess:pn})))};var sr=(0,bt.connect)(({polls:Rn,loading:Fn,user:Gn,globalSetting:er})=>({polls:Rn,globalSetting:er,user:Gn,loading:Fn.effects}))(br)},30322:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return pe}});var Ne=Te(59301),bt=Te(91482),E=Te(57809),je=Te(71418),ve=Te(8591),ne={flex_box_center:"flex_box_center___OmLFa",flex_space_between:"flex_space_between___Pwqhp",flex_box_vertical_center:"flex_box_vertical_center___UJzms",flex_box_center_end:"flex_box_center_end___qMu25",flex_box_column:"flex_box_column___AimtA",selectList:"selectList___hGJUN",selectHeader:"selectHeader___HxdBZ",selectContent:"selectContent___oWjby",contentTitle:"contentTitle___xlVyW",contentTags:"contentTags___BGCLU",tagName:"tagName___MIGDL",tagNameActive:"tagNameActive___JCRev",activeStyle:"activeStyle___FvXnt",activeLabel:"activeLabel___RzW9T",activeValue:"activeValue___qxoch",activeItem:"activeItem___NfFjA",activeClose:"activeClose___Su7dS",activeSubmit:"activeSubmit___gjhQA"},ee=Te(11109),ie=Te(59301),oe=(re,ae,ce)=>new Promise((de,me)=>{var we=ye=>{try{Ae(ce.next(ye))}catch(Ee){me(Ee)}},xe=ye=>{try{Ae(ce.throw(ye))}catch(Ee){me(Ee)}},Ae=ye=>ye.done?de(ye.value):Promise.resolve(ye.value).then(we,xe);Ae((ce=ce.apply(re,ae)).next())});const le=({user:re,width:ae,selectWidth:ce,tags:de,getDataSet:me,placeholder:we="\u5168\u90E8\u6807\u7B7E",isTagsValue:xe=!1})=>{const[Ae,ye]=(0,Ne.useState)([]),[Ee,Le]=(0,Ne.useState)([]),[Ce,_e]=(0,Ne.useState)(!1),Me=(0,Ne.useRef)(null);(0,Ne.useEffect)(()=>{De()},[]);const De=()=>oe(void 0,null,function*(){_e(!0),yield(0,ee.bj)({}).then(Be=>{(Be==null?void 0:Be.status)==0&&ye(Be==null?void 0:Be.data)}),_e(!1)}),Se=de==null?void 0:de.map(Be=>Be.tag_name).join("\u3001");return ie.createElement(E.default,{onFocus:()=>{Le(de)},ref:Me,style:{width:ce?ce+"px":300},placeholder:(de==null?void 0:de.length)>0?xe?ie.createElement("span",{className:"c-grey-333"},Se):`\u5DF2\u9009\u4E2D${de==null?void 0:de.length}\u4E2A\u6807\u7B7E`:we,size:"large",dropdownStyle:{width:ae+"px",zIndex:1e3},className:ne.selectStyle,dropdownRender:()=>ie.createElement("div",{className:ne.selectList,style:{width:ae+"px"}},ie.createElement("div",{className:ne.selectHeader},"\u8BF7\u9009\u62E91\uFF5E5\u4E2A\u6807\u7B7E"),ie.createElement(je.Z,{spinning:Ce},ie.createElement("div",{className:ne.selectContent},Ae==null?void 0:Ae.map((Be,Re)=>{var Xe;return ie.createElement("aside",{key:Re},ie.createElement("div",{className:ne.contentTitle,style:{marginTop:Re>0?"20px":"0"}},Be==null?void 0:Be.tag_type_cn),ie.createElement("div",{className:ne.contentTags},(Xe=Be==null?void 0:Be.child)==null?void 0:Xe.map((Ie,Ye)=>{var Ge;return ie.createElement("div",{key:Ye,className:(Ge=Ee==null?void 0:Ee.map(qe=>qe==null?void 0:qe.id))!=null&&Ge.includes(Ie==null?void 0:Ie.id)?ne.tagNameActive:ne.tagName,onClick:()=>{var qe;(qe=Ee==null?void 0:Ee.map(it=>it==null?void 0:it.id))!=null&&qe.includes(Ie==null?void 0:Ie.id)?Le(Ee.filter(it=>(it==null?void 0:it.id)!=(Ie==null?void 0:Ie.id))):(Ee==null?void 0:Ee.length)<5?Le([...Ee,Ie]):ve.ZP.warning("\u6700\u591A\u53EF\u9009\u62E95\u4E2A\u6807\u7B7E")}},Ie==null?void 0:Ie.tag_name)})))}))),ie.createElement("div",{className:ne.activeStyle},ie.createElement("div",{className:ne.activeLabel},"\u5DF2\u9009\u6807\u7B7E:"),ie.createElement("div",{className:ne.activeValue,style:{width:ae-120+"px"}},Ee==null?void 0:Ee.map((Be,Re)=>ie.createElement("div",{key:Re,className:ne.activeItem},Be==null?void 0:Be.tag_name,ie.createElement("i",{className:"iconfont icon-guanbi11 ml5 mr5",style:{fontSize:"10px",cursor:"pointer"},onClick:()=>{Le(Ee.filter(Xe=>(Xe==null?void 0:Xe.id)!==(Be==null?void 0:Be.id)))}}))))),ie.createElement("div",{style:{display:"flex",marginBottom:"20px"}},ie.createElement("div",{className:ne.activeClose,onClick:Be=>{Be.stopPropagation(),me([...de]),Le([]),setTimeout(()=>{Me.current&&Me.current.blur()},10)}},"\u53D6\u6D88"),ie.createElement("div",{className:ne.activeSubmit,onClick:Be=>{Be.stopPropagation(),me([...Ee]),Le([]),setTimeout(()=>{Me.current&&Me.current.blur()},10)}},"\u786E\u8BA4")))})};var pe=(0,bt.connect)(({user:re})=>({user:re}))(le)},11109:function(kn,Qt,Te){"use strict";Te.d(Qt,{A0:function(){return Ce},Ce:function(){return xe},Dx:function(){return re},Il:function(){return Le},R2:function(){return we},R9:function(){return de},Ru:function(){return me},To:function(){return pe},_S:function(){return le},a6:function(){return ae},bj:function(){return oe},l5:function(){return Ee},nW:function(){return ce},pP:function(){return ye},pi:function(){return Ae}});var Ne=Te(79769),bt=Object.defineProperty,E=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,ne=(_e,Me,De)=>Me in _e?bt(_e,Me,{enumerable:!0,configurable:!0,writable:!0,value:De}):_e[Me]=De,ee=(_e,Me)=>{for(var De in Me||(Me={}))je.call(Me,De)&&ne(_e,De,Me[De]);if(E)for(var De of E(Me))ve.call(Me,De)&&ne(_e,De,Me[De]);return _e},ie=(_e,Me,De)=>new Promise((Se,Be)=>{var Re=Ye=>{try{Ie(De.next(Ye))}catch(Ge){Be(Ge)}},Xe=Ye=>{try{Ie(De.throw(Ye))}catch(Ge){Be(Ge)}},Ie=Ye=>Ye.done?Se(Ye.value):Promise.resolve(Ye.value).then(Re,Xe);Ie((De=De.apply(_e,Me)).next())});function oe(_e){return ie(this,null,function*(){return(0,Ne.ZP)("/api/data_sets/tags.json",{method:"get",params:ee({},_e)})})}function le(_e){return ie(this,null,function*(){return(0,Ne.ZP)("/api/data_sets.json",{method:"get",params:ee({},_e)})})}function pe(_e){return ie(this,null,function*(){return(0,Ne.ZP)(`/api/data_sets/${_e}/apply_public.json`,{method:"post"})})}function re(_e){return ie(this,null,function*(){return(0,Ne.ZP)(`/api/data_sets/${_e}/revoke_apply_public.json`,{method:"post"})})}function ae(_e){return ie(this,null,function*(){return(0,Ne.ZP)(`/api/data_sets/${_e}/cancel_public.json`,{method:"post"})})}function ce(_e){return ie(this,null,function*(){return(0,Ne.ZP)("/api/collections.json",{method:"post",body:ee({},_e)})})}function de(_e){return ie(this,null,function*(){return(0,Ne.ZP)("/api/collections/cancel.json",{method:"delete",body:ee({},_e)})})}function me(_e){return ie(this,null,function*(){return(0,Ne.ZP)(`/api/data_sets/${_e}.json`,{method:"get"})})}function we(_e){return ie(this,null,function*(){return(0,Ne.ZP)(`/api/data_sets/${_e==null?void 0:_e.id}/edit_introduce.json`,{method:"put",body:ee({},_e)})})}function xe(_e){return ie(this,null,function*(){return(0,Ne.ZP)(`/api/data_sets/${_e==null?void 0:_e.id}/used_shixuns.json`,{method:"get",params:ee({},_e)})})}function Ae(_e){return ie(this,null,function*(){return(0,Ne.ZP)(`/api/shixuns/${_e}/data_sets_list.json`,{method:"get"})})}function ye(_e){return ie(this,null,function*(){return(0,Ne.ZP)(`/api/data_sets/${_e}/delete.json`,{method:"delete"})})}function Ee(_e){return ie(this,null,function*(){return(0,Ne.ZP)("/api/teach_group_shares.json",{method:"post",body:ee({},_e)})})}function Le(_e){return ie(this,null,function*(){return(0,Ne.ZP)("/api/data_sets/single_destroy_files.json",{method:"delete",body:ee({},_e)})})}function Ce(_e){return ie(this,null,function*(){return(0,Ne.ZP)(`/api/data_sets/${_e==null?void 0:_e.id}/edit_file_info.json`,{method:"put",body:ee({},_e)})})}},47257:function(kn){(function(Qt){(function(Te){if(1)kn.exports=Te();else var Ne})(function(){var Te,Ne,bt;return function(){function E(je,ve,ne){function ee(le,pe){if(!ve[le]){if(!je[le]){var re=void 0;if(!pe&&re)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 ce=ve[le]={exports:{}};je[le][0].call(ce.exports,function(de){var me=je[le][1][de];return ee(me||de)},ce,ce.exports,E,je,ve,ne)}return ve[le].exports}for(var ie=void 0,oe=0;oe<ne.length;oe++)ee(ne[oe]);return ee}return E}()({1:[function(E,je,ve){"use strict";var ne=E("./browser/client");ne.Buffer=E("buffer").Buffer,ne.urllib=E("../shims/xhr"),ne.version=E("./browser/version").version,je.exports=ne},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.slice.js");var oe=E("assert"),le=E("../common/utils/checkBucketName"),pe=le.checkBucketName,re=ve;function ae(de){return Array.isArray?Array.isArray(de):Object.prototype.toString.call(de)==="[object Array]"}function ce(de){return de?ae(de)?de:[de]:[]}re.useBucket=function(me){return pe(me),this.options.bucket=me,this},re.setBucket=function(me){return pe(me),this.options.bucket=me,this},re.getBucket=function(){return this.options.bucket},re.deleteBucket=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae){var ye,Ee;return ee.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return ye=this._bucketRequestParams("DELETE",xe,"",Ae),Ce.next=3,this.request(ye);case 3:if(Ee=Ce.sent,!(Ee.status===200||Ee.status===204)){Ce.next=6;break}return Ce.abrupt("return",{res:Ee.res});case 6:return Ce.next=8,this.requestError(Ee);case 8:throw Ce.sent;case 9:case"end":return Ce.stop()}},we,this)}));function me(we,xe){return de.apply(this,arguments)}return me}(),re.putBucketACL=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae,ye){var Ee,Le;return ee.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return Ee=this._bucketRequestParams("PUT",xe,"acl",ye),Ee.headers={"x-oss-acl":Ae},Ee.successStatuses=[200],_e.next=5,this.request(Ee);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 me(we,xe,Ae){return de.apply(this,arguments)}return me}(),re.getBucketACL=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae){var ye,Ee;return ee.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return ye=this._bucketRequestParams("GET",xe,"acl",Ae),ye.successStatuses=[200],ye.xmlResponse=!0,Ce.next=5,this.request(ye);case 5:return Ee=Ce.sent,Ce.abrupt("return",{acl:Ee.data.AccessControlList.Grant,owner:{id:Ee.data.Owner.ID,displayName:Ee.data.Owner.DisplayName},res:Ee.res});case 7:case"end":return Ce.stop()}},we,this)}));function me(we,xe){return de.apply(this,arguments)}return me}(),re.putBucketLogging=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae,ye){var Ee,Le,Ce;return ee.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Ee=this._bucketRequestParams("PUT",xe,"logging",ye),Le=`<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(xe,`</TargetBucket>
`),Ae&&(Le+="<TargetPrefix>".concat(Ae,`</TargetPrefix>
`)),Le+=`</LoggingEnabled>
</BucketLoggingStatus>`,Ee.content=Le,Ee.mime="xml",Ee.successStatuses=[200],Me.next=9,this.request(Ee);case 9:return Ce=Me.sent,Me.abrupt("return",{res:Ce.res});case 11:case"end":return Me.stop()}},we,this)}));function me(we,xe,Ae){return de.apply(this,arguments)}return me}(),re.getBucketLogging=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae){var ye,Ee,Le;return ee.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return ye=this._bucketRequestParams("GET",xe,"logging",Ae),ye.successStatuses=[200],ye.xmlResponse=!0,_e.next=5,this.request(ye);case 5:return Ee=_e.sent,Le=Ee.data.LoggingEnabled,_e.abrupt("return",{enable:!!Le,prefix:Le&&Le.TargetPrefix||null,res:Ee.res});case 8:case"end":return _e.stop()}},we,this)}));function me(we,xe){return de.apply(this,arguments)}return me}(),re.deleteBucketLogging=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae){var ye,Ee;return ee.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return ye=this._bucketRequestParams("DELETE",xe,"logging",Ae),ye.successStatuses=[204,200],Ce.next=4,this.request(ye);case 4:return Ee=Ce.sent,Ce.abrupt("return",{res:Ee.res});case 6:case"end":return Ce.stop()}},we,this)}));function me(we,xe){return de.apply(this,arguments)}return me}(),re.putBucketCORS=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae,ye){var Ee,Le,Ce,_e,Me,De,Se,Be,Re,Xe;return ee.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:for(Ae=Ae||[],oe(Ae.length,"rules is required"),Ae.forEach(function(Ge){oe(Ge.allowedOrigin,"allowedOrigin is required"),oe(Ge.allowedMethod,"allowedMethod is required")}),Ee=this._bucketRequestParams("PUT",xe,"cors",ye),Le=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,Ce=function(qe){Le+="<AllowedOrigin>".concat(qe,"</AllowedOrigin>")},_e=function(qe){Le+="<AllowedMethod>".concat(qe,"</AllowedMethod>")},Me=function(qe){Le+="<AllowedHeader>".concat(qe,"</AllowedHeader>")},De=function(qe){Le+="<ExposeHeader>".concat(qe,"</ExposeHeader>")},Se=0,Be=Ae.length;Se<Be;Se++)Re=Ae[Se],Le+="<CORSRule>",ce(Re.allowedOrigin).forEach(Ce),ce(Re.allowedMethod).forEach(_e),ce(Re.allowedHeader).forEach(Me),ce(Re.exposeHeader).forEach(De),Re.maxAgeSeconds&&(Le+="<MaxAgeSeconds>".concat(Re.maxAgeSeconds,"</MaxAgeSeconds>")),Le+="</CORSRule>";return Le+="</CORSConfiguration>",Ee.content=Le,Ee.mime="xml",Ee.successStatuses=[200],Ye.next=16,this.request(Ee);case 16:return Xe=Ye.sent,Ye.abrupt("return",{res:Xe.res});case 18:case"end":return Ye.stop()}},we,this)}));function me(we,xe,Ae){return de.apply(this,arguments)}return me}(),re.getBucketCORS=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae){var ye,Ee,Le,Ce;return ee.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return ye=this._bucketRequestParams("GET",xe,"cors",Ae),ye.successStatuses=[200],ye.xmlResponse=!0,Me.next=5,this.request(ye);case 5:return Ee=Me.sent,Le=[],Ee.data&&Ee.data.CORSRule&&(Ce=Ee.data.CORSRule,ae(Ce)||(Ce=[Ce]),Ce.forEach(function(De){var Se={};Object.keys(De).forEach(function(Be){Se[Be.slice(0,1).toLowerCase()+Be.slice(1,Be.length)]=De[Be]}),Le.push(Se)})),Me.abrupt("return",{rules:Le,res:Ee.res});case 9:case"end":return Me.stop()}},we,this)}));function me(we,xe){return de.apply(this,arguments)}return me}(),re.deleteBucketCORS=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae){var ye,Ee;return ee.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return ye=this._bucketRequestParams("DELETE",xe,"cors",Ae),ye.successStatuses=[204],Ce.next=4,this.request(ye);case 4:return Ee=Ce.sent,Ce.abrupt("return",{res:Ee.res});case 6:case"end":return Ce.stop()}},we,this)}));function me(we,xe){return de.apply(this,arguments)}return me}(),re.putBucketReferer=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae,ye,Ee){var Le,Ce,_e,Me;return ee.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:if(Le=this._bucketRequestParams("PUT",xe,"referer",Ee),Ce=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,Ce+=" <AllowEmptyReferer>".concat(Ae?"true":"false",`</AllowEmptyReferer>
`),ye&&ye.length>0){for(Ce+=` <RefererList>
`,_e=0;_e<ye.length;_e++)Ce+=" <Referer>".concat(ye[_e],`</Referer>
`);Ce+=` </RefererList>
`}else Ce+=` <RefererList />
`;return Ce+="</RefererConfiguration>",Le.content=Ce,Le.mime="xml",Le.successStatuses=[200],Se.next=10,this.request(Le);case 10:return Me=Se.sent,Se.abrupt("return",{res:Me.res});case 12:case"end":return Se.stop()}},we,this)}));function me(we,xe,Ae,ye){return de.apply(this,arguments)}return me}(),re.getBucketReferer=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae){var ye,Ee,Le;return ee.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return ye=this._bucketRequestParams("GET",xe,"referer",Ae),ye.successStatuses=[200],ye.xmlResponse=!0,_e.next=5,this.request(ye);case 5:return Ee=_e.sent,Le=Ee.data.RefererList.Referer||null,Le&&(ae(Le)||(Le=[Le])),_e.abrupt("return",{allowEmpty:Ee.data.AllowEmptyReferer==="true",referers:Le,res:Ee.res});case 9:case"end":return _e.stop()}},we,this)}));function me(we,xe){return de.apply(this,arguments)}return me}(),re.deleteBucketReferer=function(){var de=(0,ie.default)(ee.default.mark(function we(xe,Ae){return ee.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return Ee.next=2,this.putBucketReferer(xe,!0,null,Ae);case 2:return Ee.abrupt("return",Ee.sent);case 3:case"end":return Ee.stop()}},we,this)}));function me(we,xe){return de.apply(this,arguments)}return me}(),re._bucketRequestParams=function(me,we,xe,Ae){return{method:me,bucket:we,subres:xe,timeout:Ae&&Ae.timeout,ctx:Ae&&Ae.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(E,je,ve){(function(ne,ee){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),oe=ie(E("@babel/runtime/regenerator")),le=ie(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var pe=E("debug")("ali-oss"),re=E("xml2js"),ae=E("agentkeepalive"),ce=E("merge-descriptors"),de=E("platform"),me=E("utility"),we=E("urllib"),xe=E("./version"),Ae=E("bowser"),ye=E("../common/signUtils"),Ee=E("../common/client/initOptions"),Le=E("../common/utils/createRequest"),Ce=Le.createRequest,_e=E("../common/utils/encoder"),Me=_e.encoder,De=E("../common/client/getReqUrl"),Se=De.getReqUrl,Be=E("../common/utils/setSTSToken"),Re=Be.setSTSToken,Xe=E("../common/utils/retry"),Ie=Xe.retry,Ye=E("../common/utils/isFunction"),Ge=Ye.isFunction,qe=new ae;function it(){var at=de.name,tt=de.version;at&&at.toLowerCase&&at.toLowerCase()==="ie"&&tt.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function st(){return location&&location.protocol==="https:"}function Ve(at,tt){if(it(),!(this instanceof Ve))return new Ve(at,tt);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||qe),this.ctx=tt,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}je.exports=Ve,Ve.initOptions=function(tt){tt.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var et=Object.assign({secure:st(),useFetch:!1},tt);return Ee(et)};var Qe=Ve.prototype;Qe.debug=pe,ce(Qe,E("./object")),ce(Qe,E("./bucket")),ce(Qe,E("../common/bucket/getBucketWebsite")),ce(Qe,E("../common/bucket/putBucketWebsite")),ce(Qe,E("../common/bucket/deleteBucketWebsite")),ce(Qe,E("../common/bucket/getBucketLifecycle")),ce(Qe,E("../common/bucket/putBucketLifecycle")),ce(Qe,E("../common/bucket/deleteBucketLifecycle")),ce(Qe,E("../common/bucket/putBucketVersioning")),ce(Qe,E("../common/bucket/getBucketVersioning")),ce(Qe,E("../common/bucket/getBucketInventory")),ce(Qe,E("../common/bucket/deleteBucketInventory")),ce(Qe,E("../common/bucket/listBucketInventory")),ce(Qe,E("../common/bucket/putBucketInventory")),ce(Qe,E("../common/bucket/abortBucketWorm")),ce(Qe,E("../common/bucket/completeBucketWorm")),ce(Qe,E("../common/bucket/extendBucketWorm")),ce(Qe,E("../common/bucket/getBucketWorm")),ce(Qe,E("../common/bucket/initiateBucketWorm")),ce(Qe,E("./managed-upload")),ce(Qe,E("../common/multipart-copy")),ce(Qe,E("../common/multipart")),ce(Qe,E("../common/parallel")),Qe.signature=function(tt){return this.debug("authorization stringToSign: %s",tt,"info"),ye.computeSignature(this.options.accessKeySecret,tt,this.options.headerEncoding)},Qe._getReqUrl=Se,Qe.authorization=function(tt,et,ot,yt){var pt=ye.buildCanonicalString(tt.toUpperCase(),et,{headers:yt,parameters:ot});return ye.authorization(this.options.accessKeyId,this.options.accessKeySecret,pt,this.options.headerEncoding)},Qe.request=function(){var at=(0,le.default)(oe.default.mark(function tt(et){var ot=this;return oe.default.wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:if(!this.options.retryMax){pt.next=6;break}return pt.next=3,Ie(nt.bind(this),this.options.retryMax,{errorHandler:function(Mt){var ct=function(Ze){if(et.stream)return!1;var ue=[-1,-2].includes(Ze.status),he=ot.options.requestErrorRetryHandle||function(){return!0};return ue&&he(Ze)};return!!ct(Mt)}})(et);case 3:return pt.abrupt("return",pt.sent);case 6:return pt.abrupt("return",nt.call(this,et));case 7:case"end":return pt.stop()}},tt,this)}));return function(tt){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(tt){var et,ot,yt,pt,Pt,Mt;return oe.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(!(this.options.stsToken&&Ge(this.options.refreshSTSToken))){Je.next=3;break}return Je.next=3,Re.call(this);case 3:return et=Ce.call(this,tt),this.options.useFetch||(et.params.mode="disable-fetch"),pt=!!tt.stream,Je.prev=6,Je.next=9,this.urllib.request(et.url,et.params);case 9:ot=Je.sent,this.debug("response %s %s, got %s, headers: %j",tt.method,et.url,ot.status,ot.headers,"info"),Je.next=16;break;case 13:Je.prev=13,Je.t0=Je.catch(6),yt=Je.t0;case 16:if(!(ot&&tt.successStatuses&&tt.successStatuses.indexOf(ot.status)===-1)){Je.next=28;break}return Je.next=19,this.requestError(ot);case 19:if(Pt=Je.sent,!(Pt.code==="RequestTimeTooSkewed"&&!pt)){Je.next=25;break}return this.options.amendTimeSkewed=+new Date(Pt.serverTime)-new Date,Je.next=24,this.request(tt);case 24:return Je.abrupt("return",Je.sent);case 25:Pt.params=tt,Je.next=32;break;case 28:if(!yt){Je.next=32;break}return Je.next=31,this.requestError(yt);case 31:Pt=Je.sent;case 32:if(!Pt){Je.next=34;break}throw Pt;case 34:if(!tt.xmlResponse){Je.next=39;break}return Je.next=37,this.parseXML(ot.data);case 37:Mt=Je.sent,ot.data=Mt;case 39:return Je.abrupt("return",ot);case 40:case"end":return Je.stop()}},at,this,[[6,13]])})),dt.apply(this,arguments)}Qe._getResource=function(tt){var et="/";return tt.bucket&&(et+="".concat(tt.bucket,"/")),tt.object&&(et+=Me(tt.object,this.options.headerEncoding)),et},Qe._escape=function(tt){return me.encodeURIComponent(tt).replace(/%2F/g,"/")},Qe._getUserAgent=function(){var tt=ee&&ee.browser?"js":"nodejs",et="aliyun-sdk-".concat(tt,"/").concat(xe.version),ot=de.description;return!ot&&ee&&(ot="Node.js ".concat(ee.version.slice(1)," on ").concat(ee.platform," ").concat(ee.arch)),this._checkUserAgent("".concat(et," ").concat(ot))},Qe._checkUserAgent=function(tt){var et=tt.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return et},Qe.checkBrowserAndVersion=function(tt,et){return Ae.name===tt&&Ae.version.split(".")[0]===et},Qe.parseXML=function(tt){return new Promise(function(et,ot){ne.isBuffer(tt)&&(tt=tt.toString()),re.parseString(tt,{explicitRoot:!1,explicitArray:!1},function(yt,pt){yt?ot(yt):et(pt)})})},Qe.requestError=function(){var at=(0,le.default)(oe.default.mark(function et(ot){var yt,pt,Pt,Mt;return oe.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(yt=null,!(!ot.data||!ot.data.length)){Je.next=5;break}ot.status===-1||ot.status===-2?(yt=new Error(ot.message),yt.name=ot.name,yt.status=ot.status,yt.code=ot.name):(ot.status===404?(yt=new Error("Object not exists"),yt.name="NoSuchKeyError",yt.status=404,yt.code="NoSuchKey"):ot.status===412?(yt=new Error("Pre condition failed"),yt.name="PreconditionFailedError",yt.status=412,yt.code="PreconditionFailed"):(yt=new Error("Unknow error, status: ".concat(ot.status)),yt.name="UnknownError",yt.status=ot.status),yt.requestId=ot.headers["x-oss-request-id"],yt.host=""),Je.next=32;break;case 5:return pt=String(ot.data),this.debug("request response error data: %s",pt,"error"),Je.prev=7,Je.next=10,this.parseXML(pt);case 10:if(Je.t0=Je.sent,Je.t0){Je.next=13;break}Je.t0={};case 13:Pt=Je.t0,Je.next=23;break;case 16:return Je.prev=16,Je.t1=Je.catch(7),this.debug(pt,"error"),Je.t1.message+=`
raw xml: `.concat(pt),Je.t1.status=ot.status,Je.t1.requestId=ot.headers["x-oss-request-id"],Je.abrupt("return",Je.t1);case 23:Mt=Pt.Message||"unknow request error, status: ".concat(ot.status),Pt.Condition&&(Mt+=" (condition: ".concat(Pt.Condition,")")),yt=new Error(Mt),yt.name=Pt.Code?"".concat(Pt.Code,"Error"):"UnknownError",yt.status=ot.status,yt.code=Pt.Code,yt.requestId=Pt.RequestId,yt.hostId=Pt.HostId,yt.serverTime=Pt.ServerTime;case 32:return this.debug("generate error %j",yt,"error"),Je.abrupt("return",yt);case 34:case"end":return Je.stop()}},et,this,[[7,16]])}));function tt(et){return at.apply(this,arguments)}return tt}()}).call(this)}).call(this,{isBuffer:E("../../node_modules/is-buffer/index.js")},E("_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(E,je,ve){(function(ne){(function(){"use strict";var ee=E("@babel/runtime/helpers/interopRequireDefault"),ie=ee(E("@babel/runtime/regenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js");var oe=ee(E("@babel/runtime/helpers/asyncToGenerator")),le=E("util"),pe=E("path"),re=E("mime"),ae=E("copy-to"),ce=E("../common/utils/isBlob"),de=ce.isBlob,me=E("../common/utils/isFile"),we=me.isFile,xe=E("../common/utils/isBuffer"),Ae=xe.isBuffer,ye=ve;ye.multipartUpload=function(){var Me=(0,oe.default)(ie.default.mark(function Se(Be,Re){var Xe,Ie,Ye,Ge,qe,it,st,Ve,Qe,nt=arguments;return ie.default.wrap(function(at){for(;;)switch(at.prev=at.next){case 0:if(Xe=nt.length>2&&nt[2]!==void 0?nt[2]:{},this.resetCancelFlag(),Xe.disabledMD5=Xe.disabledMD5===void 0?!0:!!Xe.disabledMD5,!(Xe.checkpoint&&Xe.checkpoint.uploadId)){at.next=8;break}return Re&&we(Re)&&(Xe.checkpoint.file=Re),at.next=7,this._resumeMultipart(Xe.checkpoint,Xe);case 7:return at.abrupt("return",at.sent);case 8:return Ie=102400,Xe.mime||(we(Re)?Xe.mime=re.getType(pe.extname(Re.name)):de(Re)?Xe.mime=Re.type:Ae(Re)?Xe.mime="":Xe.mime=re.getType(pe.extname(Re))),Xe.headers=Xe.headers||{},this._convertMetaToHeaders(Xe.meta,Xe.headers),at.next=14,this._getFileSize(Re);case 14:if(Ye=at.sent,!(Ye<Ie)){at.next=26;break}return Xe.contentLength=Ye,at.next=19,this.put(Be,Re,Xe);case 19:if(Ge=at.sent,!(Xe&&Xe.progress)){at.next=23;break}return at.next=23,Xe.progress(1);case 23:return qe={res:Ge.res,bucket:this.options.bucket,name:Be,etag:Ge.res.headers.etag},(Xe.headers&&Xe.headers["x-oss-callback"]||Xe.callback)&&(qe.data=Ge.data),at.abrupt("return",qe);case 26:if(!(Xe.partSize&&parseInt(Xe.partSize,10)!==Xe.partSize)){at.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Xe.partSize&&Xe.partSize<Ie)){at.next=30;break}throw new Error("partSize must not be smaller than ".concat(Ie));case 30:return at.next=32,this.initMultipartUpload(Be,Xe);case 32:if(it=at.sent,st=it.uploadId,Ve=this._getPartSize(Ye,Xe.partSize),Qe={file:Re,name:Be,fileSize:Ye,partSize:Ve,uploadId:st,doneParts:[]},!(Xe&&Xe.progress)){at.next=39;break}return at.next=39,Xe.progress(0,Qe,it.res);case 39:return at.next=41,this._resumeMultipart(Qe,Xe);case 41:return at.abrupt("return",at.sent);case 42:case"end":return at.stop()}},Se,this)}));function De(Se,Be){return Me.apply(this,arguments)}return De}(),ye._resumeMultipart=function(){var Me=(0,oe.default)(ie.default.mark(function Se(Be,Re){var Xe,Ie,Ye,Ge,qe,it,st,Ve,Qe,nt,dt,at,tt,et,ot,yt,pt,Pt,Mt;return ie.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(Xe=this,!this.isCancel()){Je.next=3;break}throw this._makeCancelEvent();case 3:return Ie=Be.file,Ye=Be.fileSize,Ge=Be.partSize,qe=Be.uploadId,it=Be.doneParts,st=Be.name,Ve=[],it.length>0&&ae(it).to(Ve),Qe=this._divideParts(Ye,Ge),nt=Qe.length,dt=!1,at=function(ue,he){return new Promise(function(){var He=(0,oe.default)(ie.default.mark(function We(fe,Pe){var Fe,Ke,Ue,ut,vt;return ie.default.wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:if(Dt.prev=0,ue.isCancel()){Dt.next=29;break}return Fe=Qe[he-1],Dt.next=5,ue._createBuffer(Ie,Fe.start,Fe.end);case 5:return Ke=Dt.sent,Ue={content:Ke,size:Fe.end-Fe.start},Dt.prev=7,Dt.next=10,ue._uploadPart(st,qe,he,Ue,Re);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 ue._makeAbortEvent();case 17:throw Dt.t0;case 18:if(!(!ue.isCancel()&&!dt)){Dt.next=26;break}if(Be.doneParts.push({number:he,etag:ut.res.headers.etag}),!Re.progress){Dt.next=23;break}return Dt.next=23,Re.progress(it.length/(nt+1),Be,ut.res);case 23:fe({number:he,etag:ut.res.headers.etag}),Dt.next=27;break;case 26:fe();case 27:Dt.next=30;break;case 29:fe();case 30:Dt.next=41;break;case 32:Dt.prev=32,Dt.t1=Dt.catch(0),vt=new Error,vt.name=Dt.t1.name,vt.message=Dt.t1.message,vt.stack=Dt.t1.stack,vt.partNum=he,ae(Dt.t1).to(vt),Pe(vt);case 41:case"end":return Dt.stop()}},We,null,[[0,32],[7,13]])}));return function(We,fe){return He.apply(this,arguments)}}())},tt=Array.from(new Array(nt),function(Ze,ue){return ue+1}),et=Ve.map(function(Ze){return Ze.number}),ot=tt.filter(function(Ze){return et.indexOf(Ze)<0}),yt=5,pt=Re.parallel||yt,Je.next=17,this._parallel(ot,pt,function(Ze){return new Promise(function(ue,he){at(Xe,Ze).then(function(He){He&&Ve.push(He),ue()}).catch(function(He){he(He)})})});case 17:if(Pt=Je.sent,dt=!0,Mt=Pt.find(function(Ze){return Ze.name==="abort"}),!Mt){Je.next=22;break}throw Mt;case 22:if(!this.isCancel()){Je.next=25;break}throw at=null,this._makeCancelEvent();case 25:if(!(Pt&&Pt.length>0)){Je.next=28;break}throw Pt[0].message="Failed to upload some parts with error: ".concat(Pt[0].toString()," part_num: ").concat(Pt[0].partNum),Pt[0];case 28:return Je.next=30,this.completeMultipartUpload(st,qe,Ve,Re);case 30:return Je.abrupt("return",Je.sent);case 31:case"end":return Je.stop()}},Se,this)}));function De(Se,Be){return Me.apply(this,arguments)}return De}(),ye._getFileSize=function(){var Me=(0,oe.default)(ie.default.mark(function Se(Be){return ie.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(!Ae(Be)){Xe.next=4;break}return Xe.abrupt("return",Be.length);case 4:if(!(de(Be)||we(Be))){Xe.next=6;break}return Xe.abrupt("return",Be.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Xe.stop()}},Se)}));function De(Se){return Me.apply(this,arguments)}return De}();var Ee=E("stream"),Le=Ee.Readable;function Ce(Me,De){if(!(this instanceof Ce))return new Ce(Me,De);Le.call(this,De),this.file=Me,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}le.inherits(Ce,Le),Ce.prototype.readFileAndPush=function(De){if(this.fileBuffer)for(var Se=!0;Se&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Be=this.start,Re=Be+De;Re=Re>this.fileBuffer.length?this.fileBuffer.length:Re,this.start=Re,Se=this.push(this.fileBuffer.slice(Be,Re))}},Ce.prototype._read=function(De){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 Se=16*1024;De=De||Se;var Be=this;this.reader.onload=function(Xe){Be.fileBuffer=ne.from(new Uint8Array(Xe.target.result)),Be.file=null,Be.readFileAndPush(De)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(De)};function _e(Me){return Me.arrayBuffer?Me.arrayBuffer():new Promise(function(De,Se){var Be=new FileReader;Be.onload=function(Re){De(Re.target.result)},Be.onerror=function(Re){Se(Re)},Be.readAsArrayBuffer(Me)})}ye._createBuffer=function(){var Me=(0,oe.default)(ie.default.mark(function Se(Be,Re,Xe){var Ie,Ye;return ie.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(!(de(Be)||we(Be))){qe.next=8;break}return Ie=Be.slice(Re,Xe),qe.next=4,_e(Ie);case 4:return Ye=qe.sent,qe.abrupt("return",ne.from(Ye));case 8:if(!Ae(Be)){qe.next=12;break}return qe.abrupt("return",Be.subarray(Re,Xe));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return qe.stop()}},Se)}));function De(Se,Be,Re){return Me.apply(this,arguments)}return De}(),ye._getPartSize=function(De,Se){var Be=1e4,Re=1*1024*1024;Se||(Se=Re);var Xe=Math.ceil(De/Be);return Se<Xe&&(Se=Xe,console.warn("partSize has been set to ".concat(Se,", because the partSize you provided causes partNumber to be greater than 10,000"))),Se},ye._divideParts=function(De,Se){for(var Be=Math.ceil(De/Se),Re=[],Xe=0;Xe<Be;Xe++){var Ie=Se*Xe,Ye=Math.min(Ie+Se,De);Re.push({start:Ie,end:Ye})}return Re}}).call(this)}).call(this,E("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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.promise.js");var ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("fs"),le=E("copy-to"),pe=E("path"),re=E("mime"),ae=E("../common/callback"),ce=E("merge-descriptors"),de=E("../common/utils/isBlob"),me=de.isBlob,we=E("../common/utils/isFile"),xe=we.isFile,Ae=E("../common/utils/isBuffer"),ye=Ae.isBuffer,Ee=E("../common/utils/obj2xml"),Le=Ee.obj2xml,Ce=ve;Ce.append=function(){var _e=(0,ie.default)(ee.default.mark(function De(Se,Be,Re){var Xe;return ee.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return Re=Re||{},Re.position===void 0&&(Re.position="0"),Re.subres={append:"",position:Re.position},Re.method="POST",Ye.next=6,this.put(Se,Be,Re);case 6:return Xe=Ye.sent,Xe.nextAppendPosition=Xe.res.headers["x-oss-next-append-position"],Ye.abrupt("return",Xe);case 9:case"end":return Ye.stop()}},De,this)}));function Me(De,Se,Be){return _e.apply(this,arguments)}return Me}(),Ce.put=function(){var _e=(0,ie.default)(ee.default.mark(function De(Se,Be,Re){var Xe,Ie,Ye,Ge,qe;return ee.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:if(Re=Re||{},Re.disabledMD5=Re.disabledMD5===void 0?!0:!!Re.disabledMD5,Re.headers=Re.headers||{},Se=this._objectName(Se),!ye(Be)){st.next=8;break}Xe=Be,st.next=19;break;case 8:if(!(me(Be)||xe(Be))){st.next=18;break}return Re.mime||(xe(Be)?Re.mime=re.getType(pe.extname(Be.name)):Re.mime=Be.type),st.next=12,this._createBuffer(Be,0,Be.size);case 12:return Xe=st.sent,st.next=15,this._getFileSize(Be);case 15:Re.contentLength=st.sent,st.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(Re.meta,Re.headers),Ie=Re.method||"PUT",Ye=this._objectRequestParams(Ie,Se,Re),ae.encodeCallback(Ye,Re),Ye.mime=Re.mime,Ye.disabledMD5=Re.disabledMD5,Ye.content=Xe,Ye.successStatuses=[200],st.next=29,this.request(Ye);case 29:return Ge=st.sent,qe={name:Se,url:this._objectUrl(Se),res:Ge.res},Ye.headers&&Ye.headers["x-oss-callback"]&&(qe.data=JSON.parse(Ge.data.toString())),st.abrupt("return",qe);case 33:case"end":return st.stop()}},De,this)}));function Me(De,Se,Be){return _e.apply(this,arguments)}return Me}(),Ce.putStream=function(){var _e=(0,ie.default)(ee.default.mark(function De(Se,Be,Re){var Xe,Ie,Ye,Ge;return ee.default.wrap(function(it){for(;;)switch(it.prev=it.next){case 0:return Re=Re||{},Re.headers=Re.headers||{},Se=this._objectName(Se),Re.contentLength?Re.headers["Content-Length"]=Re.contentLength:Re.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(Re.meta,Re.headers),Xe=Re.method||"PUT",Ie=this._objectRequestParams(Xe,Se,Re),ae.encodeCallback(Ie,Re),Ie.mime=Re.mime,Ie.stream=Be,Ie.successStatuses=[200],it.next=13,this.request(Ie);case 13:return Ye=it.sent,Ge={name:Se,url:this._objectUrl(Se),res:Ye.res},Ie.headers&&Ie.headers["x-oss-callback"]&&(Ge.data=JSON.parse(Ye.data.toString())),it.abrupt("return",Ge);case 17:case"end":return it.stop()}},De,this)}));function Me(De,Se,Be){return _e.apply(this,arguments)}return Me}(),ce(Ce,E("../common/object/copyObject")),ce(Ce,E("../common/object/getObjectTagging")),ce(Ce,E("../common/object/putObjectTagging")),ce(Ce,E("../common/object/deleteObjectTagging")),ce(Ce,E("../common/image")),ce(Ce,E("../common/object/getBucketVersions")),ce(Ce,E("../common/object/getACL")),ce(Ce,E("../common/object/putACL")),ce(Ce,E("../common/object/head")),ce(Ce,E("../common/object/delete")),ce(Ce,E("../common/object/get")),ce(Ce,E("../common/object/putSymlink")),ce(Ce,E("../common/object/getSymlink")),ce(Ce,E("../common/object/deleteMulti")),ce(Ce,E("../common/object/getObjectMeta")),ce(Ce,E("../common/object/getObjectUrl")),ce(Ce,E("../common/object/generateObjectUrl")),ce(Ce,E("../common/object/signatureUrl")),ce(Ce,E("../common/object/asyncSignatureUrl")),Ce.putMeta=function(){var _e=(0,ie.default)(ee.default.mark(function De(Se,Be,Re){var Xe;return ee.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return Ye.next=2,this.copy(Se,Se,{meta:Be||{},timeout:Re&&Re.timeout,ctx:Re&&Re.ctx});case 2:return Xe=Ye.sent,Ye.abrupt("return",Xe);case 4:case"end":return Ye.stop()}},De,this)}));function Me(De,Se,Be){return _e.apply(this,arguments)}return Me}(),Ce.list=function(){var _e=(0,ie.default)(ee.default.mark(function De(Se,Be){var Re,Xe,Ie,Ye,Ge;return ee.default.wrap(function(it){for(;;)switch(it.prev=it.next){case 0:return Re=this._objectRequestParams("GET","",Be),Re.query=Se,Re.xmlResponse=!0,Re.successStatuses=[200],it.next=6,this.request(Re);case 6:return Xe=it.sent,Ie=Xe.data.Contents||[],Ye=this,Ie&&(Array.isArray(Ie)||(Ie=[Ie]),Ie=Ie.map(function(st){return{name:st.Key,url:Ye._objectUrl(st.Key),lastModified:st.LastModified,etag:st.ETag,type:st.Type,size:Number(st.Size),storageClass:st.StorageClass,owner:{id:st.Owner.ID,displayName:st.Owner.DisplayName}}})),Ge=Xe.data.CommonPrefixes||null,Ge&&(Array.isArray(Ge)||(Ge=[Ge]),Ge=Ge.map(function(st){return st.Prefix})),it.abrupt("return",{res:Xe.res,objects:Ie,prefixes:Ge,nextMarker:Xe.data.NextMarker||null,isTruncated:Xe.data.IsTruncated==="true"});case 13:case"end":return it.stop()}},De,this)}));function Me(De,Se){return _e.apply(this,arguments)}return Me}(),Ce.listV2=function(){var _e=(0,ie.default)(ee.default.mark(function De(Se){var Be,Re,Xe,Ie,Ye,Ge,qe,it=arguments;return ee.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:return Be=it.length>1&&it[1]!==void 0?it[1]:{},Re=Se["continuation-token"]||Se.continuationToken,Re&&(Be.subres=Object.assign({"continuation-token":Re},Be.subres)),Xe=this._objectRequestParams("GET","",Be),Xe.query=Object.assign({"list-type":2},Se),delete Xe.query["continuation-token"],delete Xe.query.continuationToken,Xe.xmlResponse=!0,Xe.successStatuses=[200],Ve.next=11,this.request(Xe);case 11:return Ie=Ve.sent,Ye=Ie.data.Contents||[],Ge=this,Ye&&(Array.isArray(Ye)||(Ye=[Ye]),Ye=Ye.map(function(Qe){var nt=null;return Qe.Owner&&(nt={id:Qe.Owner.ID,displayName:Qe.Owner.DisplayName}),{name:Qe.Key,url:Ge._objectUrl(Qe.Key),lastModified:Qe.LastModified,etag:Qe.ETag,type:Qe.Type,size:Number(Qe.Size),storageClass:Qe.StorageClass,owner:nt}})),qe=Ie.data.CommonPrefixes||null,qe&&(Array.isArray(qe)||(qe=[qe]),qe=qe.map(function(Qe){return Qe.Prefix})),Ve.abrupt("return",{res:Ie.res,objects:Ye,prefixes:qe,isTruncated:Ie.data.IsTruncated==="true",keyCount:+Ie.data.KeyCount,continuationToken:Ie.data.ContinuationToken||null,nextContinuationToken:Ie.data.NextContinuationToken||null});case 18:case"end":return Ve.stop()}},De,this)}));function Me(De){return _e.apply(this,arguments)}return Me}(),Ce.restore=function(){var _e=(0,ie.default)(ee.default.mark(function De(Se){var Be,Re,Xe,Ie,Ye=arguments;return ee.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:return Be=Ye.length>1&&Ye[1]!==void 0?Ye[1]:{type:"Archive"},Be=Be||{},Be.subres=Object.assign({restore:""},Be.subres),Be.versionId&&(Be.subres.versionId=Be.versionId),Re=this._objectRequestParams("POST",Se,Be),Be.type==="ColdArchive"&&(Xe={RestoreRequest:{Days:Be.Days?Be.Days:2,JobParameters:{Tier:Be.JobParameters?Be.JobParameters:"Standard"}}},Re.content=Le(Xe,{headers:!0}),Re.mime="xml"),Re.successStatuses=[202],qe.next=9,this.request(Re);case 9:return Ie=qe.sent,qe.abrupt("return",{res:Ie.res});case 11:case"end":return qe.stop()}},De,this)}));function Me(De){return _e.apply(this,arguments)}return Me}(),Ce._objectUrl=function(Me){return this._getReqUrl({bucket:this.options.bucket,object:Me})},Ce._objectRequestParams=function(Me,De,Se){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");Se=Se||{},De=this._objectName(De);var Be={object:De,bucket:this.options.bucket,method:Me,subres:Se&&Se.subres,timeout:Se&&Se.timeout,ctx:Se&&Se.ctx};return Se.headers&&(Be.headers={},le(Se.headers).to(Be.headers)),Be},Ce._objectName=function(Me){return Me.replace(/^\/+/,"")},Ce._convertMetaToHeaders=function(Me,De){Me&&Object.keys(Me).forEach(function(Se){De["x-oss-meta-".concat(Se)]=Me[Se]})},Ce._deleteFileSafe=function(Me){var De=this;return new Promise(function(Se){oe.exists(Me,function(Be){Be?oe.unlink(Me,function(Re){Re&&De.debug("unlink %j error: %s",Me,Re,"error"),Se()}):Se()})})}},{"../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(E,je,ve){"use strict";ve.version="6.18.1"},{}],7:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.abortBucketWorm=void 0;var oe=E("../utils/checkBucketName");function le(re,ae){return pe.apply(this,arguments)}function pe(){return pe=(0,ie.default)(ee.default.mark(function re(ae,ce){var de,me;return ee.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return oe.checkBucketName(ae),de=this._bucketRequestParams("DELETE",ae,"worm",ce),xe.next=4,this.request(de);case 4:return me=xe.sent,xe.abrupt("return",{res:me.res,status:me.status});case 6:case"end":return xe.stop()}},re,this)})),pe.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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.completeBucketWorm=void 0;var oe=E("../utils/checkBucketName");function le(re,ae,ce){return pe.apply(this,arguments)}function pe(){return pe=(0,ie.default)(ee.default.mark(function re(ae,ce,de){var me,we;return ee.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return oe.checkBucketName(ae),me=this._bucketRequestParams("POST",ae,{wormId:ce},de),Ae.next=4,this.request(me);case 4:return we=Ae.sent,Ae.abrupt("return",{res:we.res,status:we.status});case 6:case"end":return Ae.stop()}},re,this)})),pe.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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.deleteBucketInventory=void 0;var oe=E("../utils/checkBucketName");function le(re,ae){return pe.apply(this,arguments)}function pe(){return pe=(0,ie.default)(ee.default.mark(function re(ae,ce){var de,me,we,xe,Ae=arguments;return ee.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return de=Ae.length>2&&Ae[2]!==void 0?Ae[2]:{},me=Object.assign({inventory:"",inventoryId:ce},de.subres),oe.checkBucketName(ae),we=this._bucketRequestParams("DELETE",ae,me,de),we.successStatuses=[204],Ee.next=7,this.request(we);case 7:return xe=Ee.sent,Ee.abrupt("return",{status:xe.status,res:xe.res});case 9:case"end":return Ee.stop()}},re,this)})),pe.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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/checkBucketName"),le=oe.checkBucketName,pe=ve;pe.deleteBucketLifecycle=function(){var re=(0,ie.default)(ee.default.mark(function ce(de,me){var we,xe;return ee.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return le(de),we=this._bucketRequestParams("DELETE",de,"lifecycle",me),we.successStatuses=[204],ye.next=5,this.request(we);case 5:return xe=ye.sent,ye.abrupt("return",{res:xe.res});case 7:case"end":return ye.stop()}},ce,this)}));function ae(ce,de){return re.apply(this,arguments)}return ae}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/checkBucketName"),le=oe.checkBucketName,pe=ve;pe.deleteBucketWebsite=function(){var re=(0,ie.default)(ee.default.mark(function ce(de,me){var we,xe;return ee.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return le(de),we=this._bucketRequestParams("DELETE",de,"website",me),we.successStatuses=[204],ye.next=5,this.request(we);case 5:return xe=ye.sent,ye.abrupt("return",{res:xe.res});case 7:case"end":return ye.stop()}},ce,this)}));function ae(ce,de){return re.apply(this,arguments)}return ae}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.extendBucketWorm=void 0;var oe=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function pe(ae,ce,de,me){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ee.default.mark(function ae(ce,de,me,we){var xe,Ae,ye;return ee.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return oe.checkBucketName(ce),xe=this._bucketRequestParams("POST",ce,{wormExtend:"",wormId:de},we),Ae={ExtendWormConfiguration:{RetentionPeriodInDays:me}},xe.mime="xml",xe.content=le.obj2xml(Ae,{headers:!0}),xe.successStatuses=[200],Le.next=8,this.request(xe);case 8:return ye=Le.sent,Le.abrupt("return",{res:ye.res,status:ye.status});case 10:case"end":return Le.stop()}},ae,this)})),re.apply(this,arguments)}ve.extendBucketWorm=pe},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.getBucketInventory=void 0;var oe=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function pe(ae,ce){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ee.default.mark(function ae(ce,de){var me,we,xe,Ae,ye=arguments;return ee.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return me=ye.length>2&&ye[2]!==void 0?ye[2]:{},we=Object.assign({inventory:"",inventoryId:de},me.subres),oe.checkBucketName(ce),xe=this._bucketRequestParams("GET",ce,we,me),xe.successStatuses=[200],xe.xmlResponse=!0,Le.next=8,this.request(xe);case 8:return Ae=Le.sent,Le.abrupt("return",{status:Ae.status,res:Ae.res,inventory:le.formatInventoryConfig(Ae.data)});case 10:case"end":return Le.stop()}},ae,this)})),re.apply(this,arguments)}ve.getBucketInventory=pe},{"../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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/checkBucketName"),le=oe.checkBucketName,pe=E("../utils/isArray"),re=pe.isArray,ae=E("../utils/formatObjKey"),ce=ae.formatObjKey,de=ve;de.getBucketLifecycle=function(){var me=(0,ie.default)(ee.default.mark(function xe(Ae,ye){var Ee,Le,Ce;return ee.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return le(Ae),Ee=this._bucketRequestParams("GET",Ae,"lifecycle",ye),Ee.successStatuses=[200],Ee.xmlResponse=!0,Me.next=6,this.request(Ee);case 6:return Le=Me.sent,Ce=Le.data.Rule||null,Ce&&(re(Ce)||(Ce=[Ce]),Ce=Ce.map(function(De){return De.ID&&(De.id=De.ID,delete De.ID),De.Tag&&!re(De.Tag)&&(De.Tag=[De.Tag]),ce(De,"firstLowerCase")})),Me.abrupt("return",{rules:Ce,res:Le.res});case 10:case"end":return Me.stop()}},xe,this)}));function we(xe,Ae){return me.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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/checkBucketName"),le=oe.checkBucketName,pe=ve;pe.getBucketVersioning=function(){var re=(0,ie.default)(ee.default.mark(function ce(de,me){var we,xe,Ae;return ee.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return le(de),we=this._bucketRequestParams("GET",de,"versioning",me),we.xmlResponse=!0,we.successStatuses=[200],Ee.next=6,this.request(we);case 6:return xe=Ee.sent,Ae=xe.data.Status,Ee.abrupt("return",{status:xe.status,versionStatus:Ae,res:xe.res});case 9:case"end":return Ee.stop()}},ce,this)}));function ae(ce,de){return re.apply(this,arguments)}return ae}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/checkBucketName"),le=oe.checkBucketName,pe=E("../utils/isObject"),re=pe.isObject,ae=ve;ae.getBucketWebsite=function(){var ce=(0,ie.default)(ee.default.mark(function me(we,xe){var Ae,ye,Ee;return ee.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return le(we),Ae=this._bucketRequestParams("GET",we,"website",xe),Ae.successStatuses=[200],Ae.xmlResponse=!0,Ce.next=6,this.request(Ae);case 6:return ye=Ce.sent,Ee=[],ye.data.RoutingRules&&ye.data.RoutingRules.RoutingRule&&(re(ye.data.RoutingRules.RoutingRule)?Ee=[ye.data.RoutingRules.RoutingRule]:Ee=ye.data.RoutingRules.RoutingRule),Ce.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:Ee,error:ye.data.ErrorDocument&&ye.data.ErrorDocument.Key||null,res:ye.res});case 10:case"end":return Ce.stop()}},me,this)}));function de(me,we){return ce.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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.getBucketWorm=void 0;var oe=E("../utils/checkBucketName"),le=E("../utils/dataFix");function pe(ae,ce){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ee.default.mark(function ae(ce,de){var me,we;return ee.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return oe.checkBucketName(ce),me=this._bucketRequestParams("GET",ce,"worm",de),me.successStatuses=[200],me.xmlResponse=!0,Ae.next=6,this.request(me);case 6:return we=Ae.sent,le.dataFix(we.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),Ae.abrupt("return",Object.assign(Object.assign({},we.data),{res:we.res,status:we.status}));case 9:case"end":return Ae.stop()}},ae,this)})),re.apply(this,arguments)}ve.getBucketWorm=pe},{"../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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.initiateBucketWorm=void 0;var oe=E("../utils/obj2xml"),le=E("../utils/checkBucketName");function pe(ae,ce,de){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ee.default.mark(function ae(ce,de,me){var we,xe,Ae;return ee.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return le.checkBucketName(ce),we=this._bucketRequestParams("POST",ce,"worm",me),xe={InitiateWormConfiguration:{RetentionPeriodInDays:de}},we.mime="xml",we.content=oe.obj2xml(xe,{headers:!0}),we.successStatuses=[200],Ee.next=8,this.request(we);case 8:return Ae=Ee.sent,Ee.abrupt("return",{res:Ae.res,wormId:Ae.res.headers["x-oss-worm-id"],status:Ae.status});case 10:case"end":return Ee.stop()}},ae,this)})),re.apply(this,arguments)}ve.initiateBucketWorm=pe},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.listBucketInventory=void 0;var oe=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function pe(ae){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ee.default.mark(function ae(ce){var de,me,we,xe,Ae,ye,Ee,Le,Ce=arguments;return ee.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return de=Ce.length>1&&Ce[1]!==void 0?Ce[1]:{},me=de.continuationToken,we=Object.assign({inventory:""},me&&{"continuation-token":me},de.subres),oe.checkBucketName(ce),xe=this._bucketRequestParams("GET",ce,we,de),xe.successStatuses=[200],xe.xmlResponse=!0,Me.next=9,this.request(xe);case 9:return Ae=Me.sent,ye=Ae.data,Ee=Ae.res,Le=Ae.status,Me.abrupt("return",{isTruncated:ye.IsTruncated==="true",nextContinuationToken:ye.NextContinuationToken,inventoryList:le.formatInventoryConfig(ye.InventoryConfiguration,!0),status:Le,res:Ee});case 12:case"end":return Me.stop()}},ae,this)})),re.apply(this,arguments)}ve.listBucketInventory=pe},{"../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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.putBucketInventory=void 0;var oe=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function pe(ae,ce){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(ee.default.mark(function ae(ce,de){var me,we,xe,Ae,ye,Ee,Le,Ce,_e,Me,De,Se=arguments;return ee.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return me=Se.length>2&&Se[2]!==void 0?Se[2]:{},we=Object.assign({inventory:"",inventoryId:de.id},me.subres),oe.checkBucketName(ce),xe=de.OSSBucketDestination,Ae=de.optionalFields,ye=de.includedObjectVersions,Ee="acs:oss:::",Le="acs:ram::".concat(xe.accountId,":role/"),Ce={InventoryConfiguration:{Id:de.id,IsEnabled:de.isEnabled,Filter:{Prefix:de.prefix||""},Destination:{OSSBucketDestination:{Format:xe.format,AccountId:xe.accountId,RoleArn:"".concat(Le).concat(xe.rolename),Bucket:"".concat(Ee).concat(xe.bucket),Prefix:xe.prefix||"",Encryption:xe.encryption||""}},Schedule:{Frequency:de.frequency},IncludedObjectVersions:ye,OptionalFields:{Field:(Ae==null?void 0:Ae.field)||[]}}},_e=le.obj2xml(Ce,{headers:!0,firstUpperCase:!0}),Me=this._bucketRequestParams("PUT",ce,we,me),Me.successStatuses=[200],Me.mime="xml",Me.content=_e,Re.next=14,this.request(Me);case 14:return De=Re.sent,Re.abrupt("return",{status:De.status,res:De.res});case 16:case"end":return Re.stop()}},ae,this)})),re.apply(this,arguments)}ve.putBucketInventory=pe},{"../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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/checkBucketName"),le=oe.checkBucketName,pe=E("../utils/isArray"),re=pe.isArray,ae=E("../utils/deepCopy"),ce=ae.deepCopy,de=E("../utils/isObject"),me=de.isObject,we=E("../utils/obj2xml"),xe=we.obj2xml,Ae=E("../utils/checkObjectTag"),ye=Ae.checkObjectTag,Ee=E("../utils/getStrBytesCount"),Le=Ee.getStrBytesCount,Ce=ve;Ce.putBucketLifecycle=function(){var Be=(0,ie.default)(ee.default.mark(function Xe(Ie,Ye,Ge){var qe,it,st,Ve,Qe;return ee.default.wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:if(le(Ie),re(Ye)){dt.next=3;break}throw new Error("rules must be Array");case 3:return qe=this._bucketRequestParams("PUT",Ie,"lifecycle",Ge),it=[],st={LifecycleConfiguration:{Rule:it}},Ye.forEach(function(at){_e(at),Se(at),at.id&&(at.ID=at.id,delete at.id),it.push(at)}),Ve=xe(st,{headers:!0,firstUpperCase:!0}),qe.content=Ve,qe.mime="xml",qe.successStatuses=[200],dt.next=13,this.request(qe);case 13:return Qe=dt.sent,dt.abrupt("return",{res:Qe.res});case 15:case"end":return dt.stop()}},Xe,this)}));function Re(Xe,Ie,Ye){return Be.apply(this,arguments)}return Re}();function _e(Be){Be.days&&(Be.expiration={days:Be.days}),Be.date&&(Be.expiration={createdBeforeDate:Be.date})}function Me(Be,Re){var Xe=Be.days,Ie=Be.createdBeforeDate;if(!Xe&&!Ie)throw new Error("".concat(Re," must includes days or createdBeforeDate"));if(Xe&&!/^[1-9][0-9]*$/.test(Xe))throw new Error("days must be a positive integer");if(Ie&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ie))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function De(Be){if(!re(Be)&&!me(Be))throw new Error("tag must be Object or Array");Be=me(Be)?[Be]:Be;var Re={},Xe=ce(Be);Xe.forEach(function(Ie){Re[Ie.key]=Ie.value}),ye(Re)}function Se(Be){if(Be.id&&Le(Be.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Be.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Be.status))throw new Error("Status must be Enabled or Disabled");if(Be.transition){if(!["IA","Archive"].includes(Be.transition.storageClass))throw new Error("StorageClass must be IA or Archive");Me(Be.transition,"Transition")}if(Be.expiration){if(!Be.expiration.expiredObjectDeleteMarker)Me(Be.expiration,"Expiration");else if(Be.expiration.days||Be.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Be.abortMultipartUpload&&Me(Be.abortMultipartUpload,"AbortMultipartUpload"),!Be.expiration&&!Be.abortMultipartUpload&&!Be.transition&&!Be.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Be.tag){if(Be.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");De(Be.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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/checkBucketName"),le=oe.checkBucketName,pe=E("../utils/obj2xml"),re=pe.obj2xml,ae=ve;ae.putBucketVersioning=function(){var ce=(0,ie.default)(ee.default.mark(function me(we,xe){var Ae,ye,Ee,Le,Ce=arguments;return ee.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(Ae=Ce.length>2&&Ce[2]!==void 0?Ce[2]:{},le(we),["Enabled","Suspended"].includes(xe)){Me.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ye=this._bucketRequestParams("PUT",we,"versioning",Ae),Ee={VersioningConfiguration:{Status:xe}},ye.mime="xml",ye.content=re(Ee,{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()}},me,this)}));function de(me,we){return ce.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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/checkBucketName"),le=oe.checkBucketName,pe=E("../utils/obj2xml"),re=pe.obj2xml,ae=E("../utils/isArray"),ce=ae.isArray,de=ve;de.putBucketWebsite=function(){var me=(0,ie.default)(ee.default.mark(function xe(Ae){var ye,Ee,Le,Ce,_e,Me,De,Se=arguments;return ee.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(ye=Se.length>1&&Se[1]!==void 0?Se[1]:{},Ee=Se.length>2?Se[2]:void 0,le(Ae),Le=this._bucketRequestParams("PUT",Ae,"website",Ee),Ce={Suffix:ye.index||"index.html"},_e={IndexDocument:Ce},Me={WebsiteConfiguration:_e},ye.supportSubDir&&(Ce.SupportSubDir=ye.supportSubDir),ye.type&&(Ce.Type=ye.type),ye.error&&(_e.ErrorDocument={Key:ye.error}),ye.routingRules===void 0){Re.next=14;break}if(ce(ye.routingRules)){Re.next=13;break}throw new Error("RoutingRules must be Array");case 13:_e.RoutingRules={RoutingRule:ye.routingRules};case 14:return Me=re(Me),Le.content=Me,Le.mime="xml",Le.successStatuses=[200],Re.next=20,this.request(Le);case 20:return De=Re.sent,Re.abrupt("return",{res:De.res});case 22:case"end":return Re.stop()}},xe,this)}));function we(xe){return me.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(E,je,ve){(function(ne){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("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 pe=ne.from(JSON.stringify(le)).toString("base64");if(ie.headers["x-oss-callback"]=pe,oe.callback.customValue){var re={};Object.keys(oe.callback.customValue).forEach(function(ae){re["x:".concat(ae)]=oe.callback.customValue[ae].toString()}),ie.headers["x-oss-callback-var"]=ne.from(JSON.stringify(re)).toString("base64")}}}}).call(this)}).call(this,E("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(E,je,ve){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var ne=function(ce){return ce&&ce.__esModule?ce:{default:ce}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.getReqUrl=void 0;var ee=ne(E("copy-to")),ie=ne(E("url")),oe=ne(E("merge-descriptors")),le=ne(E("is-type-of")),pe=E("../utils/isIP"),re=E("../utils/checkConfigValid");function ae(ce){var de={},me=this.options.cname;re.checkConfigValid(this.options.endpoint,"endpoint"),ee.default(this.options.endpoint,!1).to(de),ce.bucket&&!me&&!pe.isIP(de.hostname)&&!this.options.sldEnable&&(de.host="".concat(ce.bucket,".").concat(de.host));var we="/";ce.bucket&&this.options.sldEnable&&(we+="".concat(ce.bucket,"/")),ce.object&&(we+=this._escape(ce.object).replace(/\+/g,"%2B")),de.pathname=we;var xe={};if(ce.query&&oe.default(xe,ce.query),ce.subres){var Ae={};le.default.string(ce.subres)?Ae[ce.subres]="":le.default.array(ce.subres)?ce.subres.forEach(function(ye){Ae[ye]=""}):Ae=ce.subres,oe.default(xe,Ae)}return de.query=xe,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(E,je,ve){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var ne=E("humanize-ms"),ee=E("url"),ie=E("../utils/checkBucketName"),oe=ie.checkBucketName,le=E("../utils/setRegion"),pe=le.setRegion,re=E("../utils/checkConfigValid"),ae=re.checkConfigValid;function ce(de,me){ae(de,"endpoint");var we=ee.parse(de);if(we.protocol||(we=ee.parse("http".concat(me?"s":"","://").concat(de))),we.protocol!=="http:"&&we.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return we}je.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 me=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(me.accessKeyId=me.accessKeyId.trim(),me.accessKeySecret=me.accessKeySecret.trim(),me.timeout&&(me.timeout=ne(me.timeout)),me.endpoint)me.endpoint=ce(me.endpoint,me.secure);else if(me.region)me.endpoint=pe(me.region,me.internal,me.secure);else throw new Error("require options.endpoint or options.region");return me.inited=!0,me}},{"../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(E,je,ve){"use strict";var ne=E("merge-descriptors"),ee=ve;ne(ee,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/checkBucketName"),le=oe.checkBucketName,pe=E("querystring"),re=E("js-base64"),ae=re.Base64.encode,ce=ve;ce.processObjectSave=function(){var me=(0,ie.default)(ee.default.mark(function xe(Ae,ye,Ee,Le){var Ce,_e,Me,De;return ee.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return de(Ae,"sourceObject"),de(ye,"targetObject"),de(Ee,"process"),ye=this._objectName(ye),Le&&le(Le),Ce=this._objectRequestParams("POST",Ae,{subres:"x-oss-process"}),_e=Le?",b_".concat(ae(Le)):"",ye=ae(ye),Me={"x-oss-process":"".concat(Ee,"|sys/saveas,o_").concat(ye).concat(_e)},Ce.content=pe.stringify(Me),Be.next=12,this.request(Ce);case 12:return De=Be.sent,Be.abrupt("return",{res:De.res,status:De.res.status});case 14:case"end":return Be.stop()}},xe,this)}));function we(xe,Ae,ye,Ee){return me.apply(this,arguments)}return we}();function de(me,we){if(!me)throw new Error("".concat(we," is required"));if(typeof me!="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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("debug")("ali-oss:multipart-copy"),le=E("copy-to"),pe=ve;pe.uploadPartCopy=function(){var re=(0,ie.default)(ee.default.mark(function ce(de,me,we,xe,Ae){var ye,Ee,Le,Ce,_e,Me=arguments;return ee.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return ye=Me.length>5&&Me[5]!==void 0?Me[5]:{},ye.headers=ye.headers||{},Ee=ye.versionId||ye.subres&&ye.subres.versionId||null,Ee?Le="/".concat(Ae.sourceBucketName,"/").concat(encodeURIComponent(Ae.sourceKey),"?versionId=").concat(Ee):Le="/".concat(Ae.sourceBucketName,"/").concat(encodeURIComponent(Ae.sourceKey)),ye.headers["x-oss-copy-source"]=Le,xe&&(ye.headers["x-oss-copy-source-range"]="bytes=".concat(xe)),ye.subres={partNumber:we,uploadId:me},Ce=this._objectRequestParams("PUT",de,ye),Ce.mime=ye.mime,Ce.successStatuses=[200],Se.next=12,this.request(Ce);case 12:return _e=Se.sent,Se.abrupt("return",{name:de,etag:_e.res.headers.etag,res:_e.res});case 14:case"end":return Se.stop()}},ce,this)}));function ae(ce,de,me,we,xe){return re.apply(this,arguments)}return ae}(),pe.multipartUploadCopy=function(){var re=(0,ie.default)(ee.default.mark(function ce(de,me){var we,xe,Ae,ye,Ee,Le,Ce,_e,Me,De,Se,Be,Re=arguments;return ee.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return we=Re.length>2&&Re[2]!==void 0?Re[2]:{},this.resetCancelFlag(),xe=we.versionId,Ae=xe===void 0?null:xe,ye={versionId:Ae},Ie.next=6,this._getObjectMeta(me.sourceBucketName,me.sourceKey,ye);case 6:if(Ee=Ie.sent,Le=Ee.res.headers["content-length"],me.startOffset=me.startOffset||0,me.endOffset=me.endOffset||Le,!(we.checkpoint&&we.checkpoint.uploadId)){Ie.next=14;break}return Ie.next=13,this._resumeMultipartCopy(we.checkpoint,me,we);case 13:return Ie.abrupt("return",Ie.sent);case 14:if(Ce=102400,_e=me.endOffset-me.startOffset,!(_e<Ce)){Ie.next=18;break}throw new Error("copySize must not be smaller than ".concat(Ce));case 18:if(!(we.partSize&&we.partSize<Ce)){Ie.next=20;break}throw new Error("partSize must not be smaller than ".concat(Ce));case 20:return Ie.next=22,this.initMultipartUpload(de,we);case 22:if(Me=Ie.sent,De=Me.uploadId,Se=this._getPartSize(_e,we.partSize),Be={name:de,copySize:_e,partSize:Se,uploadId:De,doneParts:[]},!(we&&we.progress)){Ie.next=29;break}return Ie.next=29,we.progress(0,Be,Me.res);case 29:return Ie.next=31,this._resumeMultipartCopy(Be,me,we);case 31:return Ie.abrupt("return",Ie.sent);case 32:case"end":return Ie.stop()}},ce,this)}));function ae(ce,de){return re.apply(this,arguments)}return ae}(),pe._resumeMultipartCopy=function(){var re=(0,ie.default)(ee.default.mark(function ce(de,me,we){var xe,Ae,ye,Ee,Le,Ce,_e,Me,De,Se,Be,Re,Xe,Ie,Ye,Ge,qe,it,st,Ve,Qe;return ee.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(xe=we.versionId,Ae=xe===void 0?null:xe,ye={versionId:Ae},Ee=de.copySize,Le=de.partSize,Ce=de.uploadId,_e=de.doneParts,Me=de.name,De=this._divideMultipartCopyParts(Ee,Le,me.startOffset),Se=De.length,Be={headers:{}},we.copyheaders&&le(we.copyheaders).to(Be.headers),Ae&&le(ye).to(Be),Re=function(tt,et,ot){return new Promise(function(){var yt=(0,ie.default)(ee.default.mark(function pt(Pt,Mt){var ct,Je,Ze;return ee.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:if(he.prev=0,tt.isCancel()){he.next=22;break}return ct=De[et-1],Je="".concat(ct.start,"-").concat(ct.end-1),he.prev=4,he.next=7,tt.uploadPartCopy(Me,Ce,et,Je,ot,Be);case 7:Ze=he.sent,he.next=15;break;case 10:if(he.prev=10,he.t0=he.catch(4),he.t0.status!==404){he.next=14;break}throw tt._makeAbortEvent();case 14:throw he.t0;case 15:if(tt.isCancel()){he.next=22;break}if(oe("content-range ".concat(Ze.res.headers["content-range"])),_e.push({number:et,etag:Ze.res.headers.etag}),de.doneParts=_e,!(we&&we.progress)){he.next=22;break}return he.next=22,we.progress(_e.length/Se,de,Ze.res);case 22:Pt(),he.next=29;break;case 25:he.prev=25,he.t1=he.catch(0),he.t1.partNum=et,Mt(he.t1);case 29:case"end":return he.stop()}},pt,null,[[0,25],[4,10]])}));return function(pt,Pt){return yt.apply(this,arguments)}}())},Xe=Array.from(new Array(Se),function(at,tt){return tt+1}),Ie=_e.map(function(at){return at.number}),Ye=Xe.filter(function(at){return Ie.indexOf(at)<0}),Ge=5,qe=we.parallel||Ge,!(this.checkBrowserAndVersion("Internet Explorer","10")||qe===1)){dt.next=28;break}it=0;case 18:if(!(it<Ye.length)){dt.next=26;break}if(!this.isCancel()){dt.next=21;break}throw this._makeCancelEvent();case 21:return dt.next=23,Re(this,Ye[it],me);case 23:it++,dt.next=18;break;case 26:dt.next=40;break;case 28:return dt.next=30,this._parallelNode(Ye,qe,Re,me);case 30:if(st=dt.sent,Ve=st.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(!(st&&st.length>0)){dt.next=40;break}throw Qe=st[0],Qe.message="Failed to copy some parts with error: ".concat(Qe.toString()," part_num: ").concat(Qe.partNum),Qe;case 40:return dt.next=42,this.completeMultipartUpload(Me,Ce,_e,we);case 42:return dt.abrupt("return",dt.sent);case 43:case"end":return dt.stop()}},ce,this)}));function ae(ce,de,me){return re.apply(this,arguments)}return ae}(),pe._divideMultipartCopyParts=function(ae,ce,de){for(var me=Math.ceil(ae/ce),we=[],xe=0;xe<me;xe++){var Ae=ce*xe+de,ye=Math.min(Ae+ce,ae+de);we.push({start:Ae,end:ye})}return we},pe._getObjectMeta=function(){var re=(0,ie.default)(ee.default.mark(function ce(de,me,we){var xe,Ae;return ee.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return xe=this.getBucket(),this.setBucket(de),Ee.next=4,this.head(me,we);case 4:return Ae=Ee.sent,this.setBucket(xe),Ee.abrupt("return",Ae);case 7:case"end":return Ee.stop()}},ce,this)}));function ae(ce,de,me){return re.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(E,je,ve){(function(ne){(function(){"use strict";var ee=E("@babel/runtime/helpers/interopRequireDefault"),ie=ee(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var oe=ee(E("@babel/runtime/helpers/asyncToGenerator")),le=E("copy-to"),pe=E("./callback"),re=E("./utils/deepCopy"),ae=re.deepCopyWith,ce=E("./utils/isBuffer"),de=ce.isBuffer,me=E("./utils/omit"),we=me.omit,xe=ve;xe.listUploads=function(){var Ae=(0,oe.default)(ie.default.mark(function Ee(Le,Ce){var _e,Me,De,Se;return ie.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Ce=Ce||{},_e={},le(Ce).to(_e),_e.subres="uploads",Me=this._objectRequestParams("GET","",_e),Me.query=Le,Me.xmlResponse=!0,Me.successStatuses=[200],Re.next=10,this.request(Me);case 10:return De=Re.sent,Se=De.data.Upload||[],Array.isArray(Se)||(Se=[Se]),Se=Se.map(function(Xe){return{name:Xe.Key,uploadId:Xe.UploadId,initiated:Xe.Initiated}}),Re.abrupt("return",{res:De.res,uploads:Se,bucket:De.data.Bucket,nextKeyMarker:De.data.NextKeyMarker,nextUploadIdMarker:De.data.NextUploadIdMarker,isTruncated:De.data.IsTruncated==="true"});case 15:case"end":return Re.stop()}},Ee,this)}));function ye(Ee,Le){return Ae.apply(this,arguments)}return ye}(),xe.listParts=function(){var Ae=(0,oe.default)(ie.default.mark(function Ee(Le,Ce,_e,Me){var De,Se,Be;return ie.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return Me=Me||{},De={},le(Me).to(De),De.subres={uploadId:Ce},Se=this._objectRequestParams("GET",Le,De),Se.query=_e,Se.xmlResponse=!0,Se.successStatuses=[200],Xe.next=10,this.request(Se);case 10:return Be=Xe.sent,Xe.abrupt("return",{res:Be.res,uploadId:Be.data.UploadId,bucket:Be.data.Bucket,name:Be.data.Key,partNumberMarker:Be.data.PartNumberMarker,nextPartNumberMarker:Be.data.NextPartNumberMarker,maxParts:Be.data.MaxParts,isTruncated:Be.data.IsTruncated,parts:Be.data.Part||[]});case 12:case"end":return Xe.stop()}},Ee,this)}));function ye(Ee,Le,Ce,_e){return Ae.apply(this,arguments)}return ye}(),xe.abortMultipartUpload=function(){var Ae=(0,oe.default)(ie.default.mark(function Ee(Le,Ce,_e){var Me,De,Se;return ie.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return this._stop(),_e=_e||{},Me={},le(_e).to(Me),Me.subres={uploadId:Ce},De=this._objectRequestParams("DELETE",Le,Me),De.successStatuses=[204],Re.next=9,this.request(De);case 9:return Se=Re.sent,Re.abrupt("return",{res:Se.res});case 11:case"end":return Re.stop()}},Ee,this)}));function ye(Ee,Le,Ce){return Ae.apply(this,arguments)}return ye}(),xe.initMultipartUpload=function(){var Ae=(0,oe.default)(ie.default.mark(function Ee(Le,Ce){var _e,Me,De;return ie.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return Ce=Ce||{},_e={},le(Ce).to(_e),_e.headers=_e.headers||{},this._convertMetaToHeaders(Ce.meta,_e.headers),_e.subres="uploads",Me=this._objectRequestParams("POST",Le,_e),Me.mime=Ce.mime,Me.xmlResponse=!0,Me.successStatuses=[200],Be.next=12,this.request(Me);case 12:return De=Be.sent,Be.abrupt("return",{res:De.res,bucket:De.data.Bucket,name:De.data.Key,uploadId:De.data.UploadId});case 14:case"end":return Be.stop()}},Ee,this)}));function ye(Ee,Le){return Ae.apply(this,arguments)}return ye}(),xe.uploadPart=function(){var Ae=(0,oe.default)(ie.default.mark(function Ee(Le,Ce,_e,Me,De,Se,Be){var Re,Xe;return ie.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(Re={size:Se-De},Xe=ne&&ne.browser,!Xe){Ye.next=8;break}return Ye.next=5,this._createBuffer(Me,De,Se);case 5:Re.content=Ye.sent,Ye.next=11;break;case 8:return Ye.next=10,this._createStream(Me,De,Se);case 10:Re.stream=Ye.sent;case 11:return Ye.next=13,this._uploadPart(Le,Ce,_e,Re,Be);case 13:return Ye.abrupt("return",Ye.sent);case 14:case"end":return Ye.stop()}},Ee,this)}));function ye(Ee,Le,Ce,_e,Me,De,Se){return Ae.apply(this,arguments)}return ye}(),xe.completeMultipartUpload=function(){var Ae=(0,oe.default)(ie.default.mark(function Ee(Le,Ce,_e,Me){var De,Se,Be,Re,Xe,Ie,Ye,Ge;return ie.default.wrap(function(it){for(;;)switch(it.prev=it.next){case 0:for(De=_e.concat().sort(function(st,Ve){return st.number-Ve.number}).filter(function(st,Ve,Qe){return!Ve||st.number!==Qe[Ve-1].number}),Se=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,Be=0;Be<De.length;Be++)Re=De[Be],Se+=`<Part>
`,Se+="<PartNumber>".concat(Re.number,`</PartNumber>
`),Se+="<ETag>".concat(Re.etag,`</ETag>
`),Se+=`</Part>
`;return Se+="</CompleteMultipartUpload>",Me=Me||{},Xe={},Xe=ae(Me,function(st){if(de(st))return null}),Xe.subres={uploadId:Ce},Xe.headers=we(Xe.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ie=this._objectRequestParams("POST",Le,Xe),pe.encodeCallback(Ie,Xe),Ie.mime="xml",Ie.content=Se,Ie.headers&&Ie.headers["x-oss-callback"]||(Ie.xmlResponse=!0),Ie.successStatuses=[200],it.next=17,this.request(Ie);case 17:if(Ye=it.sent,!Me.progress){it.next=21;break}return it.next=21,Me.progress(1,null,Ye.res);case 21:return Ge={res:Ye.res,bucket:Ie.bucket,name:Le,etag:Ye.res.headers.etag},Ie.headers&&Ie.headers["x-oss-callback"]&&(Ge.data=JSON.parse(Ye.data.toString())),it.abrupt("return",Ge);case 24:case"end":return it.stop()}},Ee,this)}));function ye(Ee,Le,Ce,_e){return Ae.apply(this,arguments)}return ye}(),xe._uploadPart=function(){var Ae=(0,oe.default)(ie.default.mark(function Ee(Le,Ce,_e,Me,De){var Se,Be,Re,Xe;return ie.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return De=De||{},Se={},le(De).to(Se),Se.headers=Se.headers||{},Se.headers["Content-Length"]=Me.size,Se.headers=we(Se.headers,["x-oss-server-side-encryption"]),Se.subres={partNumber:_e,uploadId:Ce},Be=this._objectRequestParams("PUT",Le,Se),Be.mime=Se.mime,Re=ne&&ne.browser,Re?Be.content=Me.content:Be.stream=Me.stream,Be.successStatuses=[200],Be.disabledMD5=De.disabledMD5,Ye.next=15,this.request(Be);case 15:if(Xe=Ye.sent,Xe.res.headers.etag){Ye.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,Be.stream=null),Ye.abrupt("return",{name:Le,etag:Xe.res.headers.etag,res:Xe.res});case 20:case"end":return Ye.stop()}},Ee,this)}));function ye(Ee,Le,Ce,_e,Me){return Ae.apply(this,arguments)}return ye}()}).call(this)}).call(this,E("_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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator")),ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("url"),le=E("utility"),pe=E("copy-to"),re=E("../../common/signUtils"),ae=E("../utils/isIP"),ce=ae.isIP,de=E("../utils/setSTSToken"),me=de.setSTSToken,we=E("../utils/isFunction"),xe=we.isFunction,Ae=ve;Ae.asyncSignatureUrl=function(){var ye=(0,ie.default)(ee.default.mark(function Le(Ce,_e){var Me,De,Se,Be,Re;return ee.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:if(!ce(this.options.endpoint.hostname)){Ie.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(_e=_e||{},Ce=this._objectName(Ce),_e.method=_e.method||"GET",Me=le.timestamp()+(_e.expires||1800),De={bucket:this.options.bucket,object:Ce},Se=this._getResource(De),!(this.options.stsToken&&xe(this.options.refreshSTSToken))){Ie.next=11;break}return Ie.next=11,me.call(this);case 11:return this.options.stsToken&&(_e["security-token"]=this.options.stsToken),Be=re._signatureForURL(this.options.accessKeySecret,_e,Se,Me),Re=oe.parse(this._getReqUrl(De)),Re.query={OSSAccessKeyId:this.options.accessKeyId,Expires:Me,Signature:Be.Signature},pe(Be.subResource).to(Re.query),Ie.abrupt("return",Re.format());case 17:case"end":return Ie.stop()}},Le,this)}));function Ee(Le,Ce){return ye.apply(this,arguments)}return Ee}()},{"../../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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ie=ne(E("@babel/runtime/helpers/typeof")),oe=ne(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),pe=le.checkBucketName,re=ve,ae=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];re.copy=function(){var ce=(0,oe.default)(ee.default.mark(function me(we,xe,Ae,ye){var Ee,Le,Ce;return ee.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return(0,ie.default)(Ae)==="object"&&(ye=Ae),ye=ye||{},ye.headers=ye.headers||{},Object.keys(ye.headers).forEach(function(De){ye.headers["x-oss-copy-source-".concat(De.toLowerCase())]=ye.headers[De]}),(ye.meta||Object.keys(ye.headers).find(function(De){return ae.includes(De.toLowerCase())}))&&(ye.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(ye.meta,ye.headers),xe=this._getSourceName(xe,Ae),ye.versionId&&(xe="".concat(xe,"?versionId=").concat(ye.versionId)),ye.headers["x-oss-copy-source"]=xe,Ee=this._objectRequestParams("PUT",we,ye),Ee.xmlResponse=!0,Ee.successStatuses=[200,304],Me.next=14,this.request(Ee);case 14:return Le=Me.sent,Ce=Le.data,Ce&&(Ce={etag:Ce.ETag,lastModified:Ce.LastModified}),Me.abrupt("return",{data:Ce,res:Le.res});case 18:case"end":return Me.stop()}},me,this)}));function de(me,we,xe,Ae){return ce.apply(this,arguments)}return de}(),re._getSourceName=function(de,me){return typeof me=="string"?de=this._objectName(de):de[0]!=="/"?me=this.options.bucket:(me=de.replace(/\/(.+?)(\/.*)/,"$1"),de=de.replace(/(\/.+?\/)(.*)/,"$2")),pe(me),de=encodeURIComponent(de),de="/".concat(me,"/").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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.delete=function(){var le=(0,ie.default)(ee.default.mark(function re(ae){var ce,de,me,we=arguments;return ee.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return ce=we.length>1&&we[1]!==void 0?we[1]:{},ce.subres=Object.assign({},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),de=this._objectRequestParams("DELETE",ae,ce),de.successStatuses=[204],Ae.next=7,this.request(de);case 7:return me=Ae.sent,Ae.abrupt("return",{res:me.res});case 9:case"end":return Ae.stop()}},re,this)}));function pe(re){return le.apply(this,arguments)}return pe}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("utility"),le=E("../utils/obj2xml"),pe=le.obj2xml,re=ve;re.deleteMulti=function(){var ae=(0,ie.default)(ee.default.mark(function de(me){var we,xe,Ae,ye,Ee,Le,Ce,_e,Me,De,Se,Be,Re,Xe=arguments;return ee.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(we=Xe.length>1&&Xe[1]!==void 0?Xe[1]:{},xe=[],!(!me||!me.length)){Ye.next=4;break}throw new Error("names is required");case 4:for(Ae=0;Ae<me.length;Ae++)ye={},typeof me[Ae]=="string"?ye.Key=oe.escape(this._objectName(me[Ae])):(Ee=me[Ae],Le=Ee.key,Ce=Ee.versionId,ye.Key=oe.escape(this._objectName(Le)),ye.VersionId=Ce),xe.push(ye);return _e={Delete:{Quiet:!!we.quiet,Object:xe}},Me=pe(_e,{headers:!0}),we.subres=Object.assign({delete:""},we.subres),we.versionId&&(we.subres.versionId=we.versionId),De=this._objectRequestParams("POST","",we),De.mime="xml",De.content=Me,De.xmlResponse=!0,De.successStatuses=[200],Ye.next=16,this.request(De);case 16:return Se=Ye.sent,Be=Se.data,Re=Be&&Be.Deleted||null,Re&&(Array.isArray(Re)||(Re=[Re])),Ye.abrupt("return",{res:Se.res,deleted:Re||[]});case 21:case"end":return Ye.stop()}},de,this)}));function ce(de){return ae.apply(this,arguments)}return ce}()},{"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,utility:474}],35:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.deleteObjectTagging=function(){var le=(0,ie.default)(ee.default.mark(function re(ae){var ce,de,me,we=arguments;return ee.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return ce=we.length>1&&we[1]!==void 0?we[1]:{},ce.subres=Object.assign({tagging:""},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),ae=this._objectName(ae),de=this._objectRequestParams("DELETE",ae,ce),de.successStatuses=[204],Ae.next=8,this.request(de);case 8:return me=Ae.sent,Ae.abrupt("return",{status:me.status,res:me.res});case 10:case"end":return Ae.stop()}},re,this)}));function pe(re){return le.apply(this,arguments)}return pe}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,je,ve){"use strict";E("core-js/modules/es.array.concat.js");var ne=E("url"),ee=E("../utils/isIP"),ie=ee.isIP,oe=ve;oe.generateObjectUrl=function(pe,re){if(ie(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(re)re[re.length-1]!=="/"&&(re+="/");else{re=this.options.endpoint.format();var ae=ne.parse(re),ce=this.options.bucket;ae.hostname="".concat(ce,".").concat(ae.hostname),ae.host="".concat(ce,".").concat(ae.host),re=ae.format()}return re+this._escape(this._objectName(pe))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,je,ve){(function(ne){(function(){"use strict";var ee=E("@babel/runtime/helpers/interopRequireDefault"),ie=ee(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var oe=ee(E("@babel/runtime/helpers/asyncToGenerator")),le=E("fs"),pe=E("is-type-of"),re=ve;re.get=function(){var ae=(0,oe.default)(ie.default.mark(function de(me,we){var xe,Ae,ye,Ee,Le,Ce,_e,Me,De=arguments;return ie.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return xe=De.length>2&&De[2]!==void 0?De[2]:{},Ae=null,ye=!1,pe.writableStream(we)?Ae=we:pe.string(we)?(Ae=le.createWriteStream(we),ye=!0):xe=we,xe=xe||{},Ee=ne&&ne.browser,Le=xe.responseCacheControl===null?"":"no-cache",Ce=Ee&&Le?{"response-cache-control":Le}:{},xe.subres=Object.assign(Ce,xe.subres),xe.versionId&&(xe.subres.versionId=xe.versionId),xe.process&&(xe.subres["x-oss-process"]=xe.process),Be.prev=11,Me=this._objectRequestParams("GET",me,xe),Me.writeStream=Ae,Me.successStatuses=[200,206,304],Be.next=17,this.request(Me);case 17:_e=Be.sent,ye&&Ae.destroy(),Be.next=28;break;case 21:if(Be.prev=21,Be.t0=Be.catch(11),!ye){Be.next=27;break}return Ae.destroy(),Be.next=27,this._deleteFileSafe(we);case 27:throw Be.t0;case 28:return Be.abrupt("return",{res:_e.res,content:_e.data});case 29:case"end":return Be.stop()}},de,this,[[11,21]])}));function ce(de,me){return ae.apply(this,arguments)}return ce}()}).call(this)}).call(this,E("_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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.getACL=function(){var le=(0,ie.default)(ee.default.mark(function re(ae){var ce,de,me,we=arguments;return ee.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return ce=we.length>1&&we[1]!==void 0?we[1]:{},ce.subres=Object.assign({acl:""},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),ae=this._objectName(ae),de=this._objectRequestParams("GET",ae,ce),de.successStatuses=[200],de.xmlResponse=!0,Ae.next=9,this.request(de);case 9:return me=Ae.sent,Ae.abrupt("return",{acl:me.data.AccessControlList.Grant,owner:{id:me.data.Owner.ID,displayName:me.data.Owner.DisplayName},res:me.res});case 11:case"end":return Ae.stop()}},re,this)}));function pe(re){return le.apply(this,arguments)}return pe}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=ve,le=E("../utils/isObject"),pe=le.isObject,re=E("../utils/isArray"),ae=re.isArray;oe.getBucketVersions=ce,oe.listObjectVersions=ce;function ce(){return de.apply(this,arguments)}function de(){return de=(0,ie.default)(ee.default.mark(function xe(){var Ae,ye,Ee,Le,Ce,_e,Me,De,Se=arguments;return ee.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(Ae=Se.length>0&&Se[0]!==void 0?Se[0]:{},ye=Se.length>1&&Se[1]!==void 0?Se[1]:{},!(Ae.versionIdMarker&&Ae.keyMarker===void 0)){Re.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),Ee=this._objectRequestParams("GET","",ye),Ee.xmlResponse=!0,Ee.successStatuses=[200],Ee.query=we(Ae),Re.next=12,this.request(Ee);case 12:return Le=Re.sent,Ce=Le.data.Version||[],_e=Le.data.DeleteMarker||[],Me=this,Ce&&(Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(Xe){return{name:Xe.Key,url:Me._objectUrl(Xe.Key),lastModified:Xe.LastModified,isLatest:Xe.IsLatest==="true",versionId:Xe.VersionId,etag:Xe.ETag,type:Xe.Type,size:Number(Xe.Size),storageClass:Xe.StorageClass,owner:{id:Xe.Owner.ID,displayName:Xe.Owner.DisplayName}}})),_e&&(ae(_e)||(_e=[_e]),_e=_e.map(function(Xe){return{name:Xe.Key,lastModified:Xe.LastModified,versionId:Xe.VersionId,owner:{id:Xe.Owner.ID,displayName:Xe.Owner.DisplayName}}})),De=Le.data.CommonPrefixes||null,De&&(ae(De)||(De=[De]),De=De.map(function(Xe){return Xe.Prefix})),Re.abrupt("return",{res:Le.res,objects:Ce,deleteMarker:_e,prefixes:De,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 Re.stop()}},xe,this)})),de.apply(this,arguments)}function me(xe){return xe.replace(/([A-Z])/g,"-$1").toLowerCase()}function we(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ae={};return pe(xe)&&Object.keys(xe).forEach(function(ye){Ae[me(ye)]=xe[ye]}),Ae}},{"../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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.getObjectMeta=function(){var le=(0,ie.default)(ee.default.mark(function re(ae,ce){var de,me;return ee.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ce=ce||{},ae=this._objectName(ae),ce.subres=Object.assign({objectMeta:""},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),de=this._objectRequestParams("HEAD",ae,ce),de.successStatuses=[200],xe.next=8,this.request(de);case 8:return me=xe.sent,xe.abrupt("return",{status:me.status,res:me.res});case 10:case"end":return xe.stop()}},re,this)}));function pe(re,ae){return le.apply(this,arguments)}return pe}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=ve,le=E("../utils/isObject"),pe=le.isObject;oe.getObjectTagging=function(){var re=(0,ie.default)(ee.default.mark(function ce(de){var me,we,xe,Ae,ye,Ee,Le=arguments;return ee.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return me=Le.length>1&&Le[1]!==void 0?Le[1]:{},me.subres=Object.assign({tagging:""},me.subres),me.versionId&&(me.subres.versionId=me.versionId),de=this._objectName(de),we=this._objectRequestParams("GET",de,me),we.successStatuses=[200],_e.next=8,this.request(we);case 8:return xe=_e.sent,_e.next=11,this.parseXML(xe.data);case 11:return Ae=_e.sent,ye=Ae.TagSet.Tag,ye=ye&&pe(ye)?[ye]:ye||[],Ee={},ye.forEach(function(Me){Ee[Me.Key]=Me.Value}),_e.abrupt("return",{status:xe.status,res:xe.res,tag:Ee});case 17:case"end":return _e.stop()}},ce,this)}));function ae(ce){return re.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(E,je,ve){"use strict";var ne=E("../utils/isIP"),ee=ne.isIP,ie=ve;ie.getObjectUrl=function(le,pe){if(ee(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return pe?pe[pe.length-1]!=="/"&&(pe+="/"):pe=this.options.endpoint.format(),pe+this._escape(this._objectName(le))}},{"../utils/isIP":69}],43:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.getSymlink=function(){var le=(0,ie.default)(ee.default.mark(function re(ae){var ce,de,me,we,xe=arguments;return ee.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ce=xe.length>1&&xe[1]!==void 0?xe[1]:{},ce.subres=Object.assign({symlink:""},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),ae=this._objectName(ae),de=this._objectRequestParams("GET",ae,ce),de.successStatuses=[200],ye.next=8,this.request(de);case 8:return me=ye.sent,we=me.res.headers["x-oss-symlink-target"],ye.abrupt("return",{targetName:decodeURIComponent(we),res:me.res});case 11:case"end":return ye.stop()}},re,this)}));function pe(re){return le.apply(this,arguments)}return pe}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/checkEnv"),le=oe.checkEnv,pe=ve;pe.head=function(){var re=(0,ie.default)(ee.default.mark(function ce(de){var me,we,xe,Ae,ye=arguments;return ee.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return me=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"),me.subres=Object.assign({},me.subres),me.versionId&&(me.subres.versionId=me.versionId),we=this._objectRequestParams("HEAD",de,me),we.successStatuses=[200,304],Le.next=8,this.request(we);case 8:return xe=Le.sent,Ae={meta:null,res:xe.res,status:xe.status},xe.status===200&&Object.keys(xe.headers).forEach(function(Ce){Ce.indexOf("x-oss-meta-")===0&&(Ae.meta||(Ae.meta={}),Ae.meta[Ce.substring(11)]=xe.headers[Ce])}),Le.abrupt("return",Ae);case 12:case"end":return Le.stop()}},ce,this)}));function ae(ce){return re.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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.putACL=function(){var le=(0,ie.default)(ee.default.mark(function re(ae,ce,de){var me,we;return ee.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.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"]=ce,ae=this._objectName(ae),me=this._objectRequestParams("PUT",ae,de),me.successStatuses=[200],Ae.next=10,this.request(me);case 10:return we=Ae.sent,Ae.abrupt("return",{res:we.res});case 12:case"end":return Ae.stop()}},re,this)}));function pe(re,ae,ce){return le.apply(this,arguments)}return pe}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("../utils/obj2xml"),le=oe.obj2xml,pe=E("../utils/checkObjectTag"),re=pe.checkObjectTag,ae=ve;ae.putObjectTagging=function(){var ce=(0,ie.default)(ee.default.mark(function me(we,xe){var Ae,ye,Ee,Le,Ce=arguments;return ee.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Ae=Ce.length>2&&Ce[2]!==void 0?Ce[2]:{},re(xe),Ae.subres=Object.assign({tagging:""},Ae.subres),Ae.versionId&&(Ae.subres.versionId=Ae.versionId),we=this._objectName(we),ye=this._objectRequestParams("PUT",we,Ae),ye.successStatuses=[200],xe=Object.keys(xe).map(function(De){return{Key:De,Value:xe[De]}}),Ee={Tagging:{TagSet:{Tag:xe}}},ye.mime="xml",ye.content=le(Ee),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()}},me,this)}));function de(me,we){return ce.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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.putSymlink=function(){var le=(0,ie.default)(ee.default.mark(function re(ae,ce,de){var me,we;return ee.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return de=de||{},de.headers=de.headers||{},ce=this._escape(this._objectName(ce)),this._convertMetaToHeaders(de.meta,de.headers),de.headers["x-oss-symlink-target"]=ce,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),me=this._objectRequestParams("PUT",ae,de),me.successStatuses=[200],Ae.next=13,this.request(me);case 13:return we=Ae.sent,Ae.abrupt("return",{res:we.res});case 15:case"end":return Ae.stop()}},re,this)}));function pe(re,ae,ce){return le.apply(this,arguments)}return pe}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,je,ve){"use strict";var ne=E("url"),ee=E("utility"),ie=E("copy-to"),oe=E("../../common/signUtils"),le=E("../utils/isIP"),pe=le.isIP,re=ve;re.signatureUrl=function(ce,de){if(pe(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");de=de||{},ce=this._objectName(ce),de.method=de.method||"GET";var me=ee.timestamp()+(de.expires||1800),we={bucket:this.options.bucket,object:ce},xe=this._getResource(we);this.options.stsToken&&(de["security-token"]=this.options.stsToken);var Ae=oe._signatureForURL(this.options.accessKeySecret,de,xe,me),ye=ne.parse(this._getReqUrl(we));return ye.query={OSSAccessKeyId:this.options.accessKeyId,Expires:me,Signature:Ae.Signature},ie(Ae.subResource).to(ye.query),ye.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator")),oe=E("./utils/isArray"),le=oe.isArray,pe=ve;pe._parallelNode=function(){var re=(0,ie.default)(ee.default.mark(function ce(de,me,we,xe){var Ae,ye,Ee,Le,Ce,_e,Me,De;return ee.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:Ae=this,ye=[],Ee=[],Le=de.length/me,Ce=de.length%me,_e=Ce===0?Le:(de.length-Ce)/me+1,Me=1,De=0;case 8:if(!(De<de.length)){Be.next=26;break}if(!Ae.isCancel()){Be.next=11;break}return Be.abrupt("break",26);case 11:if(xe?Ee.push(we(Ae,de[De],xe)):Ee.push(we(Ae,de[De])),!(Ee.length===me||Me===_e&&De===de.length-1)){Be.next=23;break}return Be.prev=13,Me+=1,Be.next=17,Promise.all(Ee);case 17:Be.next=22;break;case 19:Be.prev=19,Be.t0=Be.catch(13),ye.push(Be.t0);case 22:Ee=[];case 23:De++,Be.next=8;break;case 26:return Be.abrupt("return",ye);case 27:case"end":return Be.stop()}},ce,this,[[13,19]])}));function ae(ce,de,me,we){return re.apply(this,arguments)}return ae}(),pe._parallel=function(ae,ce,de){var me=this;return new Promise(function(we){var xe=[];if(ce<=0||!ae){we(xe);return}function Ae(Be){return function(){if(Be===null)throw new Error("Callback was already called.");var Re=Be;Be=null;for(var Xe=arguments.length,Ie=new Array(Xe),Ye=0;Ye<Xe;Ye++)Ie[Ye]=arguments[Ye];Re.apply(this,Ie)}}function ye(Be){var Re=-1,Xe=Be.length;return function(){return++Re<Xe&&!me.isCancel()?{value:Be[Re],key:Re}:null}}var Ee=ye(ae),Le=!1,Ce=0,_e=!1;function Me(Be){Ce-=1,Be?(Le=!0,xe.push(Be),we(xe)):Le&&Ce<=0?(Le=!0,we(xe)):_e||(me.isCancel()?we(xe):Se())}function De(Be,Re){de(Be).then(function(Xe){Re(null,Xe)}).catch(function(Xe){Re(Xe)})}function Se(){for(_e=!0;Ce<ce&&!Le&&!me.isCancel();){var Be=Ee();if(Be===null||xe.length>0){Le=!0,Ce<=0&&we(xe);return}Ce+=1,De(Be.value,Ae(Me))}_e=!1}Se()})},pe.cancel=function(ae){this.options.cancelFlag=!0,le(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ce){if(ce.destroyed===!1){var de={name:"cancel",message:"cancel"};ce.destroy(de)}}),this.multipartUploadStreams=[],ae&&this.abortMultipartUpload(ae.name,ae.uploadId,ae.options)},pe.isCancel=function(){return this.options.cancelFlag},pe.resetCancelFlag=function(){this.options.cancelFlag=!1},pe._stop=function(){this.options.cancelFlag=!0},pe._makeCancelEvent=function(){var ae={status:0,name:"cancel"};return ae},pe._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(E,je,ve){(function(ne){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var ee=E("./../../shims/crypto/crypto.js"),ie=E("is-type-of"),oe=E("./utils/lowercaseKeyHeader"),le=oe.lowercaseKeyHeader;ve.buildCanonicalizedResource=function(re,ae){var ce="".concat(re),de="?";if(ie.string(ae)&&ae.trim()!=="")ce+=de+ae;else if(ie.array(ae))ae.sort(),ce+=de+ae.join("&");else if(ae){var me=function(Ae,ye){return Ae[0]>ye[0]?1:Ae[0]<ye[0]?-1:0},we=function(Ae){ce+=de+Ae,(ae[Ae]||ae[Ae]===0)&&(ce+="=".concat(ae[Ae])),de="&"};Object.keys(ae).sort(me).forEach(we)}return ce},ve.buildCanonicalString=function(re,ae,ce,de){ce=ce||{};var me=le(ce.headers),we="x-oss-",xe=[],Ae={},ye=[re.toUpperCase(),me["content-md5"]||"",me["content-type"],de||me["x-oss-date"]];return Object.keys(me).forEach(function(Ee){var Le=Ee.toLowerCase();Le.indexOf(we)===0&&(Ae[Le]=String(me[Ee]).trim())}),Object.keys(Ae).sort().forEach(function(Ee){xe.push("".concat(Ee,":").concat(Ae[Ee]))}),ye=ye.concat(xe),ye.push(this.buildCanonicalizedResource(ae,ce.parameters)),ye.join(`
`)},ve.computeSignature=function(re,ae){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",de=ee.createHmac("sha1",re);return de.update(ne.from(ae,ce)).digest("base64")},ve.authorization=function(re,ae,ce,de){return"OSS ".concat(re,":").concat(this.computeSignature(ae,ce,de))},ve._signatureForURL=function(re){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ce=arguments.length>2?arguments[2]:void 0,de=arguments.length>3?arguments[3]:void 0,me=arguments.length>4?arguments[4]:void 0,we={},xe=ae.subResource,Ae=xe===void 0?{}:xe;if(ae.process){var ye="x-oss-process";Ae[ye]=ae.process}if(ae.trafficLimit){var Ee="x-oss-traffic-limit";Ae[Ee]=ae.trafficLimit}if(ae.response&&Object.keys(ae.response).forEach(function(Me){var De="response-".concat(Me.toLowerCase());Ae[De]=ae.response[Me]}),Object.keys(ae).forEach(function(Me){var De=Me.toLowerCase(),Se=ae[Me];De.indexOf("x-oss-")===0?we[De]=Se:(De.indexOf("content-md5")===0||De.indexOf("content-type")===0)&&(we[Me]=Se)}),Object.prototype.hasOwnProperty.call(ae,"security-token")&&(Ae["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),Ae.callback=ne.from(JSON.stringify(Le)).toString("base64"),ae.callback.customValue){var Ce={};Object.keys(ae.callback.customValue).forEach(function(Me){Ce["x:".concat(Me)]=ae.callback.customValue[Me]}),Ae["callback-var"]=ne.from(JSON.stringify(Ce)).toString("base64")}}var _e=this.buildCanonicalString(ae.method,ce,{headers:we,parameters:Ae},de.toString());return{Signature:this.computeSignature(re,_e,me),subResource:Ae}}}).call(this)}).call(this,E("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(E,je,ve){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkBucketName=void 0,ve.checkBucketName=function(ne){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=ee?/^[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(ne))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,je,ve){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkConfigValid=void 0;var ne={endpoint:ee,region:/^[a-zA-Z0-9\-_]+$/};function ee(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(ne[oe]){var le=!0;if(ne[oe]instanceof Function?le=ne[oe](ie):le=ne[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(E,je,ve){(function(ne){(function(){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkEnv=void 0;function ee(ie){ne.browser&&console.warn(ie)}ve.checkEnv=ee}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,je,ve){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkObjectTag=void 0;var ne=E("./checkValid"),ee=ne.checkValid,ie=E("./isObject"),oe=ie.isObject,le=[{validator:function(ce){if(typeof ce!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],pe={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 re(ae){if(!oe(ae))throw new Error("tag must be Object");var ce=Object.entries(ae);if(ce.length>10)throw new Error("maximum of 10 tags for a object");var de=["key","value"];ce.forEach(function(me){me.forEach(function(we,xe){ee(we,pe[de[xe]])})})}ve.checkObjectTag=re},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,je,ve){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkValid=void 0;function ne(ee,ie){ie.forEach(function(oe){if(oe.validator)oe.validator(ee);else if(oe.pattern&&!oe.pattern.test(ee))throw new Error(oe.msg)})}ve.checkValid=ne},{"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(E,je,ve){(function(ne){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.createRequest=void 0;var ee=E("./../../../shims/crypto/crypto.js"),ie=E("debug")("ali-oss"),oe=E("mime"),le=E("dateformat"),pe=E("copy-to"),re=E("path"),ae=E("./encoder"),ce=ae.encoder,de=E("./isIP"),me=de.isIP,we=E("./setRegion"),xe=we.setRegion,Ae=E("../client/getReqUrl"),ye=Ae.getReqUrl,Ee=E("./isDingTalk"),Le=Ee.isDingTalk;function Ce(De,Se){return De[Se]||De[Se.toLowerCase()]}function _e(De,Se){delete De[Se],delete De[Se.toLowerCase()]}function Me(De){var Se=new Date;this.options.amendTimeSkewed&&(Se=+new Date+this.options.amendTimeSkewed);var Be={"x-oss-date":le(Se,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Be["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Be["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Be,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Be["x-oss-security-token"]=this.options.stsToken),pe(De.headers).to(Be),Ce(Be,"Content-Type")||(De.mime&&De.mime.indexOf("/")>0?Be["Content-Type"]=De.mime:Le()?Be["Content-Type"]="application/octet-stream":Be["Content-Type"]=oe.getType(De.mime||re.extname(De.object||""))),Ce(Be,"Content-Type")||_e(Be,"Content-Type"),De.content&&(De.disabledMD5||(!De.headers||!De.headers["Content-MD5"]?Be["Content-MD5"]=ee.createHash("md5").update(ne.from(De.content,"utf8")).digest("base64"):Be["Content-MD5"]=De.headers["Content-MD5"]),Be["Content-Length"]||(Be["Content-Length"]=De.content.length));var Re=Object.prototype.hasOwnProperty;for(var Xe in Be)Be[Xe]&&Re.call(Be,Xe)&&(Be[Xe]=ce(String(Be[Xe]),this.options.headerEncoding));var Ie=this._getResource(De);if(Be.authorization=this.authorization(De.method,Ie,De.subres,Be,this.options.headerEncoding),me(this.options.endpoint.hostname)){var Ye=this.options,Ge=Ye.region,qe=Ye.internal,it=Ye.secure,st=xe(Ge,qe,it);Be.host="".concat(De.bucket,".").concat(st.host)}var Ve=ye.bind(this)(De);ie("request %s %s, with headers %j, !!stream: %s",De.method,Ve,Be,!!De.stream);var Qe=De.timeout||this.options.timeout,nt={method:De.method,content:De.content,stream:De.stream,headers:Be,timeout:Qe,writeStream:De.writeStream,customResponse:De.customResponse,ctx:De.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,E("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(E,je,ve){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.dataFix=void 0;var ne=E("./isObject"),ee=["true","TRUE","1",1],ie=["false","FALSE","0",0];function oe(re,ae,ce){if(ne.isObject(re)){var de=ae.remove,me=de===void 0?[]:de,we=ae.rename,xe=we===void 0?{}:we,Ae=ae.camel,ye=Ae===void 0?[]:Ae,Ee=ae.bool,Le=Ee===void 0?[]:Ee,Ce=ae.lowerFirst,_e=Ce===void 0?!1:Ce;return me.forEach(function(Me){return delete re[Me]}),Object.entries(xe).forEach(function(Me){re[Me[0]]&&(re[Me[1]]||(re[Me[1]]=re[Me[0]],delete re[Me[0]]))}),ye.forEach(function(Me){if(re[Me]){var De=Me.replace(/^(.)/,function(Se){return Se.toLowerCase()}).replace(/-(\w)/g,function(Se,Be){return Be.toUpperCase()});re[De]||(re[De]=re[Me])}}),Le.forEach(function(Me){re[Me]=le(re[Me])}),typeof ce=="function"&&ce(re),pe(re,_e),oe}}ve.dataFix=oe;function le(re){return re?ee.includes(re)?!0:ie.includes(re)?!1:re:!1}function pe(re,ae){ae&&Object.keys(re).forEach(function(ce){var de=ce.replace(/^\w/,function(me){return me.toLowerCase()});typeof re[de]=="undefined"&&(re[de]=re[ce],delete re[ce])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ee=ne(E("@babel/runtime/helpers/typeof"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.deepCopyWith=ve.deepCopy=void 0;var ie=E("./isBuffer");ve.deepCopy=function(oe){if(oe===null||(0,ee.default)(oe)!=="object")return oe;if(ie.isBuffer(oe))return oe.slice();var le=Array.isArray(oe)?[]:{};return Object.keys(oe).forEach(function(pe){le[pe]=ve.deepCopy(oe[pe])}),le},ve.deepCopyWith=function(oe,le){function pe(re,ae,ce){var de=le(re,ae,ce);if(de!==void 0)return de;if(re===null||(0,ee.default)(re)!=="object")return re;if(ie.isBuffer(re))return re.slice();var me=Array.isArray(re)?[]:{};return Object.keys(re).forEach(function(we){me[we]=pe(re[we],we,re)}),me}return le?pe(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(E,je,ve){(function(ne){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.encoder=void 0;function ee(ie){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return oe==="utf-8"?ie:ne.from(ie).toString("latin1")}ve.encoder=ee}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,je,ve){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.formatInventoryConfig=void 0;var ne=E("../utils/dataFix"),ee=E("../utils/isObject"),ie=E("../utils/isArray"),oe=E("../utils/formatObjKey");function le(re){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ae&&ee.isObject(re)&&(re=[re]),ie.isArray(re)?re=re.map(pe):re=pe(re),re}ve.formatInventoryConfig=le;function pe(re){return ne.dataFix(re,{bool:["IsEnabled"]},function(ae){var ce,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,!((ce=ae==null?void 0:ae.OptionalFields)===null||ce===void 0)&&ce.Field&&!ie.isArray((de=ae.OptionalFields)===null||de===void 0?void 0:de.Field)&&(ae.OptionalFields.Field=[ae.OptionalFields.Field])}),re=oe.formatObjKey(re,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),re}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ee=ne(E("@babel/runtime/helpers/typeof"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.formatObjKey=void 0;function ie(le,pe,re){if(le===null||(0,ee.default)(le)!=="object")return le;var ae;if(Array.isArray(le)){ae=[];for(var ce=0;ce<le.length;ce++)ae.push(ie(le[ce],pe,re))}else ae={},Object.keys(le).forEach(function(de){ae[oe(de,pe,re)]=ie(le[de],pe,re)});return ae}ve.formatObjKey=ie;function oe(le,pe,re){return re&&re.exclude&&re.exclude.includes(le)||(pe==="firstUpperCase"?le=le.replace(/^./,function(ae){return ae.toUpperCase()}):pe==="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(E,je,ve){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.getStrBytesCount=void 0;function ne(ee){for(var ie=0,oe=0;oe<ee.length;oe++){var le=ee.charAt(oe);/^[\u00-\uff]$/.test(le)?ie+=1:ie+=2}return ie}ve.getStrBytesCount=ne},{"core-js/modules/es.regexp.exec.js":300}],63:[function(E,je,ve){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.isArray=void 0,ve.isArray=function(ne){return Object.prototype.toString.call(ne)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(E,je,ve){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.isBlob=void 0;function ne(ee){return typeof Blob!="undefined"&&ee instanceof Blob}ve.isBlob=ne},{}],65:[function(E,je,ve){(function(ne){(function(){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.isBuffer=void 0;function ee(ie){return ne.isBuffer(ie)}ve.isBuffer=ee}).call(this)}).call(this,{isBuffer:E("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(E,je,ve){(function(ne){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.isDingTalk=void 0;function ee(){return!!(ne.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}ve.isDingTalk=ee}).call(this)}).call(this,E("_process"))},{_process:467,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.string.includes.js":302}],67:[function(E,je,ve){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.isFile=void 0,ve.isFile=function(ne){return typeof File!="undefined"&&ne instanceof File}},{}],68:[function(E,je,ve){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.isFunction=void 0,ve.isFunction=function(ne){return typeof ne=="function"}},{}],69:[function(E,je,ve){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.isIP=void 0,ve.isIP=function(ne){var ee=/^(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 ee.test(ne)||ie.test(ne)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(E,je,ve){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.isObject=void 0,ve.isObject=function(ne){return Object.prototype.toString.call(ne)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(E,je,ve){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.lowercaseKeyHeader=void 0;var ne=E("./isObject");function ee(ie){var oe={};return ne.isObject(ie)&&Object.keys(ie).forEach(function(le){oe[le.toLowerCase()]=ie[le]}),oe}ve.lowercaseKeyHeader=ee},{"./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(E,je,ve){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.obj2xml=void 0;var ne=E("./formatObjKey");function ee(oe){return Object.prototype.toString.call(oe).replace(/(.*? |])/g,"").toLowerCase()}function ie(oe,le){var pe="";return le&&le.headers&&(pe=`<?xml version="1.0" encoding="UTF-8"?>
`),le&&le.firstUpperCase&&(oe=ne.formatObjKey(oe,"firstUpperCase")),ee(oe)==="object"?Object.keys(oe).forEach(function(re){ee(oe[re])!=="undefined"&&ee(oe[re])!=="null"&&(ee(oe[re])==="string"||ee(oe[re])==="number"?pe+="<".concat(re,">").concat(oe[re],"</").concat(re,">"):ee(oe[re])==="object"?pe+="<".concat(re,">").concat(ie(oe[re]),"</").concat(re,">"):ee(oe[re])==="array"?pe+=oe[re].map(function(ae){return"<".concat(re,">").concat(ie(ae),"</").concat(re,">")}).join(""):pe+="<".concat(re,">").concat(oe[re].toString(),"</").concat(re,">"))}):pe+=oe.toString(),pe}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(E,je,ve){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function ne(le,pe){var re=typeof Symbol!="undefined"&&le[Symbol.iterator]||le["@@iterator"];if(!re){if(Array.isArray(le)||(re=ee(le))||pe&&le&&typeof le.length=="number"){re&&(le=re);var ae=0,ce=function(){};return{s:ce,n:function(){return ae>=le.length?{done:!0}:{done:!1,value:le[ae++]}},e:function(Ae){throw Ae},f:ce}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var de=!0,me=!1,we;return{s:function(){re=re.call(le)},n:function(){var Ae=re.next();return de=Ae.done,Ae},e:function(Ae){me=!0,we=Ae},f:function(){try{!de&&re.return!=null&&re.return()}finally{if(me)throw we}}}}function ee(le,pe){if(le){if(typeof le=="string")return ie(le,pe);var re=Object.prototype.toString.call(le).slice(8,-1);if(re==="Object"&&le.constructor&&(re=le.constructor.name),re==="Map"||re==="Set")return Array.from(le);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return ie(le,pe)}}function ie(le,pe){(pe==null||pe>le.length)&&(pe=le.length);for(var re=0,ae=new Array(pe);re<pe;re++)ae[re]=le[re];return ae}Object.defineProperty(ve,"__esModule",{value:!0}),ve.omit=void 0;function oe(le,pe){var re=Object.assign({},le),ae=ne(pe),ce;try{for(ae.s();!(ce=ae.n()).done;){var de=ce.value;delete re[de]}}catch(me){ae.e(me)}finally{ae.f()}return re}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(E,je,ve){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.retry=void 0;function ne(ee,ie){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},le=0,pe=oe.retryDelay,re=pe===void 0?500:pe,ae=oe.errorHandler,ce=ae===void 0?function(){return!0}:ae,de=function me(){for(var we=arguments.length,xe=new Array(we),Ae=0;Ae<we;Ae++)xe[Ae]=arguments[Ae];return new Promise(function(ye,Ee){ee.apply(void 0,xe).then(function(Le){le=0,ye(Le)}).catch(function(Le){le<ie&&ce(Le)?(le++,setTimeout(function(){ye(me.apply(void 0,xe))},re)):(le=0,Ee(Le))})})};return de}ve.retry=ne},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(E,je,ve){"use strict";var ne=function(le){return le&&le.__esModule?le:{default:le}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.setRegion=void 0;var ee=ne(E("url")),ie=E("./checkConfigValid");function oe(le){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ie.checkConfigValid(le,"region");var ae=re?"https://":"http://",ce=pe?"-internal.aliyuncs.com":".aliyuncs.com",de="vpc100-oss-cn-";return le.substr(0,de.length)===de&&(ce=".aliyuncs.com"),ee.default.parse(ae+le+ce)}ve.setRegion=oe},{"./checkConfigValid":52,url:472}],76:[function(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var ie=ne(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkCredentials=ve.setSTSToken=void 0;var oe=E("./formatObjKey");function le(){return pe.apply(this,arguments)}function pe(){return pe=(0,ie.default)(ee.default.mark(function ae(){var ce,de;return ee.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(this.options||(this.options={}),ce=new Date,!this.stsTokenFreshTime){we.next=14;break}if(!(+ce-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){we.next=12;break}return this.stsTokenFreshTime=ce,we.next=7,this.options.refreshSTSToken();case 7:de=we.sent,de=oe.formatObjKey(de,"firstLowerCase"),de.securityToken&&(de.stsToken=de.securityToken),re(de),Object.assign(this.options,de);case 12:we.next=15;break;case 14:this.stsTokenFreshTime=ce;case 15:return we.abrupt("return",null);case 16:case"end":return we.stop()}},ae,this)})),pe.apply(this,arguments)}ve.setSTSToken=le;function re(ae){var ce=["accessKeySecret","accessKeyId","stsToken"],de=Object.keys(ae);ce.forEach(function(me){if(!de.find(function(we){return we===me}))throw Error("refreshSTSToken must return contains ".concat(me))})}ve.checkCredentials=re},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,je,ve){function ne(ie,oe,le,pe,re,ae,ce){try{var de=ie[ae](ce),me=de.value}catch(we){le(we);return}de.done?oe(me):Promise.resolve(me).then(pe,re)}function ee(ie){return function(){var oe=this,le=arguments;return new Promise(function(pe,re){var ae=ie.apply(oe,le);function ce(me){ne(ae,pe,re,ce,de,"next",me)}function de(me){ne(ae,pe,re,ce,de,"throw",me)}ce(void 0)})}}je.exports=ee,je.exports.__esModule=!0,je.exports.default=je.exports},{}],78:[function(E,je,ve){function ne(ee){return ee&&ee.__esModule?ee:{default:ee}}je.exports=ne,je.exports.__esModule=!0,je.exports.default=je.exports},{}],79:[function(E,je,ve){function ne(ee){"@babel/helpers - typeof";return je.exports=ne=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},je.exports.__esModule=!0,je.exports.default=je.exports,ne(ee)}je.exports=ne,je.exports.__esModule=!0,je.exports.default=je.exports},{}],80:[function(E,je,ve){je.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,je,ve){je.exports=ne,je.exports.HttpsAgent=ne;function ne(){}},{}],82:[function(E,je,ve){(function(ne){(function(){"use strict";var ee=E("object-assign");function ie(Ge,qe){if(Ge===qe)return 0;for(var it=Ge.length,st=qe.length,Ve=0,Qe=Math.min(it,st);Ve<Qe;++Ve)if(Ge[Ve]!==qe[Ve]){it=Ge[Ve],st=qe[Ve];break}return it<st?-1:st<it?1:0}function oe(Ge){return ne.Buffer&&typeof ne.Buffer.isBuffer=="function"?ne.Buffer.isBuffer(Ge):!!(Ge!=null&&Ge._isBuffer)}var le=E("util/"),pe=Object.prototype.hasOwnProperty,re=Array.prototype.slice,ae=function(){return function(){}.name==="foo"}();function ce(Ge){return Object.prototype.toString.call(Ge)}function de(Ge){return oe(Ge)||typeof ne.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Ge):Ge?!!(Ge instanceof DataView||Ge.buffer&&Ge.buffer instanceof ArrayBuffer):!1}var me=je.exports=Ce,we=/\s*function\s+([^\(\s]*)\s*/;function xe(Ge){if(le.isFunction(Ge)){if(ae)return Ge.name;var qe=Ge.toString(),it=qe.match(we);return it&&it[1]}}me.AssertionError=function(qe){this.name="AssertionError",this.actual=qe.actual,this.expected=qe.expected,this.operator=qe.operator,qe.message?(this.message=qe.message,this.generatedMessage=!1):(this.message=Ee(this),this.generatedMessage=!0);var it=qe.stackStartFunction||Le;if(Error.captureStackTrace)Error.captureStackTrace(this,it);else{var st=new Error;if(st.stack){var Ve=st.stack,Qe=xe(it),nt=Ve.indexOf(`
`+Qe);if(nt>=0){var dt=Ve.indexOf(`
`,nt+1);Ve=Ve.substring(dt+1)}this.stack=Ve}}},le.inherits(me.AssertionError,Error);function Ae(Ge,qe){return typeof Ge=="string"?Ge.length<qe?Ge:Ge.slice(0,qe):Ge}function ye(Ge){if(ae||!le.isFunction(Ge))return le.inspect(Ge);var qe=xe(Ge),it=qe?": "+qe:"";return"[Function"+it+"]"}function Ee(Ge){return Ae(ye(Ge.actual),128)+" "+Ge.operator+" "+Ae(ye(Ge.expected),128)}function Le(Ge,qe,it,st,Ve){throw new me.AssertionError({message:it,actual:Ge,expected:qe,operator:st,stackStartFunction:Ve})}me.fail=Le;function Ce(Ge,qe){Ge||Le(Ge,!0,qe,"==",me.ok)}me.ok=Ce,me.equal=function(qe,it,st){qe!=it&&Le(qe,it,st,"==",me.equal)},me.notEqual=function(qe,it,st){qe==it&&Le(qe,it,st,"!=",me.notEqual)},me.deepEqual=function(qe,it,st){_e(qe,it,!1)||Le(qe,it,st,"deepEqual",me.deepEqual)},me.deepStrictEqual=function(qe,it,st){_e(qe,it,!0)||Le(qe,it,st,"deepStrictEqual",me.deepStrictEqual)};function _e(Ge,qe,it,st){if(Ge===qe)return!0;if(oe(Ge)&&oe(qe))return ie(Ge,qe)===0;if(le.isDate(Ge)&&le.isDate(qe))return Ge.getTime()===qe.getTime();if(le.isRegExp(Ge)&&le.isRegExp(qe))return Ge.source===qe.source&&Ge.global===qe.global&&Ge.multiline===qe.multiline&&Ge.lastIndex===qe.lastIndex&&Ge.ignoreCase===qe.ignoreCase;if((Ge===null||typeof Ge!="object")&&(qe===null||typeof qe!="object"))return it?Ge===qe:Ge==qe;if(de(Ge)&&de(qe)&&ce(Ge)===ce(qe)&&!(Ge instanceof Float32Array||Ge instanceof Float64Array))return ie(new Uint8Array(Ge.buffer),new Uint8Array(qe.buffer))===0;if(oe(Ge)!==oe(qe))return!1;st=st||{actual:[],expected:[]};var Ve=st.actual.indexOf(Ge);return Ve!==-1&&Ve===st.expected.indexOf(qe)?!0:(st.actual.push(Ge),st.expected.push(qe),De(Ge,qe,it,st))}function Me(Ge){return Object.prototype.toString.call(Ge)=="[object Arguments]"}function De(Ge,qe,it,st){if(Ge==null||qe===null||qe===void 0)return!1;if(le.isPrimitive(Ge)||le.isPrimitive(qe))return Ge===qe;if(it&&Object.getPrototypeOf(Ge)!==Object.getPrototypeOf(qe))return!1;var Ve=Me(Ge),Qe=Me(qe);if(Ve&&!Qe||!Ve&&Qe)return!1;if(Ve)return Ge=re.call(Ge),qe=re.call(qe),_e(Ge,qe,it);var nt=Ye(Ge),dt=Ye(qe),at,tt;if(nt.length!==dt.length)return!1;for(nt.sort(),dt.sort(),tt=nt.length-1;tt>=0;tt--)if(nt[tt]!==dt[tt])return!1;for(tt=nt.length-1;tt>=0;tt--)if(at=nt[tt],!_e(Ge[at],qe[at],it,st))return!1;return!0}me.notDeepEqual=function(qe,it,st){_e(qe,it,!1)&&Le(qe,it,st,"notDeepEqual",me.notDeepEqual)},me.notDeepStrictEqual=Se;function Se(Ge,qe,it){_e(Ge,qe,!0)&&Le(Ge,qe,it,"notDeepStrictEqual",Se)}me.strictEqual=function(qe,it,st){qe!==it&&Le(qe,it,st,"===",me.strictEqual)},me.notStrictEqual=function(qe,it,st){qe===it&&Le(qe,it,st,"!==",me.notStrictEqual)};function Be(Ge,qe){if(!Ge||!qe)return!1;if(Object.prototype.toString.call(qe)=="[object RegExp]")return qe.test(Ge);try{if(Ge instanceof qe)return!0}catch(it){}return Error.isPrototypeOf(qe)?!1:qe.call({},Ge)===!0}function Re(Ge){var qe;try{Ge()}catch(it){qe=it}return qe}function Xe(Ge,qe,it,st){var Ve;if(typeof qe!="function")throw new TypeError('"block" argument must be a function');typeof it=="string"&&(st=it,it=null),Ve=Re(qe),st=(it&&it.name?" ("+it.name+").":".")+(st?" "+st:"."),Ge&&!Ve&&Le(Ve,it,"Missing expected exception"+st);var Qe=typeof st=="string",nt=!Ge&&le.isError(Ve),dt=!Ge&&Ve&&!it;if((nt&&Qe&&Be(Ve,it)||dt)&&Le(Ve,it,"Got unwanted exception"+st),Ge&&Ve&&it&&!Be(Ve,it)||!Ge&&Ve)throw Ve}me.throws=function(Ge,qe,it){Xe(!0,Ge,qe,it)},me.doesNotThrow=function(Ge,qe,it){Xe(!1,Ge,qe,it)},me.ifError=function(Ge){if(Ge)throw Ge};function Ie(Ge,qe){Ge||Le(Ge,!0,qe,"==",Ie)}me.strict=ee(Ie,me,{equal:me.strictEqual,deepEqual:me.deepStrictEqual,notEqual:me.notStrictEqual,notDeepEqual:me.notDeepStrictEqual}),me.strict.strict=me.strict;var Ye=Object.keys||function(Ge){var qe=[];for(var it in Ge)pe.call(Ge,it)&&qe.push(it);return qe}}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,je,ve){typeof Object.create=="function"?je.exports=function(ee,ie){ee.super_=ie,ee.prototype=Object.create(ie.prototype,{constructor:{value:ee,enumerable:!1,writable:!0,configurable:!0}})}:je.exports=function(ee,ie){ee.super_=ie;var oe=function(){};oe.prototype=ie.prototype,ee.prototype=new oe,ee.prototype.constructor=ee}},{}],84:[function(E,je,ve){je.exports=function(ee){return ee&&typeof ee=="object"&&typeof ee.copy=="function"&&typeof ee.fill=="function"&&typeof ee.readUInt8=="function"}},{}],85:[function(E,je,ve){(function(ne,ee){(function(){var ie=/%[sdj%]/g;ve.format=function(dt){if(!De(dt)){for(var at=[],tt=0;tt<arguments.length;tt++)at.push(pe(arguments[tt]));return at.join(" ")}for(var tt=1,et=arguments,ot=et.length,yt=String(dt).replace(ie,function(Pt){if(Pt==="%%")return"%";if(tt>=ot)return Pt;switch(Pt){case"%s":return String(et[tt++]);case"%d":return Number(et[tt++]);case"%j":try{return JSON.stringify(et[tt++])}catch(Mt){return"[Circular]"}default:return Pt}}),pt=et[tt];tt<ot;pt=et[++tt])Ce(pt)||!Xe(pt)?yt+=" "+pt:yt+=" "+pe(pt);return yt},ve.deprecate=function(dt,at){if(Be(ee.process))return function(){return ve.deprecate(dt,at).apply(this,arguments)};if(ne.noDeprecation===!0)return dt;var tt=!1;function et(){if(!tt){if(ne.throwDeprecation)throw new Error(at);ne.traceDeprecation?console.trace(at):console.error(at),tt=!0}return dt.apply(this,arguments)}return et};var oe={},le;ve.debuglog=function(dt){if(Be(le)&&(le=ne.env.NODE_DEBUG||""),dt=dt.toUpperCase(),!oe[dt])if(new RegExp("\\b"+dt+"\\b","i").test(le)){var at=ne.pid;oe[dt]=function(){var tt=ve.format.apply(ve,arguments);console.error("%s %d: %s",dt,at,tt)}}else oe[dt]=function(){};return oe[dt]};function pe(dt,at){var tt={seen:[],stylize:ae};return arguments.length>=3&&(tt.depth=arguments[2]),arguments.length>=4&&(tt.colors=arguments[3]),Le(at)?tt.showHidden=at:at&&ve._extend(tt,at),Be(tt.showHidden)&&(tt.showHidden=!1),Be(tt.depth)&&(tt.depth=2),Be(tt.colors)&&(tt.colors=!1),Be(tt.customInspect)&&(tt.customInspect=!0),tt.colors&&(tt.stylize=re),de(tt,dt,tt.depth)}ve.inspect=pe,pe.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]},pe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function re(dt,at){var tt=pe.styles[at];return tt?"\x1B["+pe.colors[tt][0]+"m"+dt+"\x1B["+pe.colors[tt][1]+"m":dt}function ae(dt,at){return dt}function ce(dt){var at={};return dt.forEach(function(tt,et){at[tt]=!0}),at}function de(dt,at,tt){if(dt.customInspect&&at&&Ge(at.inspect)&&at.inspect!==ve.inspect&&!(at.constructor&&at.constructor.prototype===at)){var et=at.inspect(tt,dt);return De(et)||(et=de(dt,et,tt)),et}var ot=me(dt,at);if(ot)return ot;var yt=Object.keys(at),pt=ce(yt);if(dt.showHidden&&(yt=Object.getOwnPropertyNames(at)),Ye(at)&&(yt.indexOf("message")>=0||yt.indexOf("description")>=0))return we(at);if(yt.length===0){if(Ge(at)){var Pt=at.name?": "+at.name:"";return dt.stylize("[Function"+Pt+"]","special")}if(Re(at))return dt.stylize(RegExp.prototype.toString.call(at),"regexp");if(Ie(at))return dt.stylize(Date.prototype.toString.call(at),"date");if(Ye(at))return we(at)}var Mt="",ct=!1,Je=["{","}"];if(Ee(at)&&(ct=!0,Je=["[","]"]),Ge(at)){var Ze=at.name?": "+at.name:"";Mt=" [Function"+Ze+"]"}if(Re(at)&&(Mt=" "+RegExp.prototype.toString.call(at)),Ie(at)&&(Mt=" "+Date.prototype.toUTCString.call(at)),Ye(at)&&(Mt=" "+we(at)),yt.length===0&&(!ct||at.length==0))return Je[0]+Mt+Je[1];if(tt<0)return Re(at)?dt.stylize(RegExp.prototype.toString.call(at),"regexp"):dt.stylize("[Object]","special");dt.seen.push(at);var ue;return ct?ue=xe(dt,at,tt,pt,yt):ue=yt.map(function(he){return Ae(dt,at,tt,pt,he,ct)}),dt.seen.pop(),ye(ue,Mt,Je)}function me(dt,at){if(Be(at))return dt.stylize("undefined","undefined");if(De(at)){var tt="'"+JSON.stringify(at).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return dt.stylize(tt,"string")}if(Me(at))return dt.stylize(""+at,"number");if(Le(at))return dt.stylize(""+at,"boolean");if(Ce(at))return dt.stylize("null","null")}function we(dt){return"["+Error.prototype.toString.call(dt)+"]"}function xe(dt,at,tt,et,ot){for(var yt=[],pt=0,Pt=at.length;pt<Pt;++pt)nt(at,String(pt))?yt.push(Ae(dt,at,tt,et,String(pt),!0)):yt.push("");return ot.forEach(function(Mt){Mt.match(/^\d+$/)||yt.push(Ae(dt,at,tt,et,Mt,!0))}),yt}function Ae(dt,at,tt,et,ot,yt){var pt,Pt,Mt;if(Mt=Object.getOwnPropertyDescriptor(at,ot)||{value:at[ot]},Mt.get?Mt.set?Pt=dt.stylize("[Getter/Setter]","special"):Pt=dt.stylize("[Getter]","special"):Mt.set&&(Pt=dt.stylize("[Setter]","special")),nt(et,ot)||(pt="["+ot+"]"),Pt||(dt.seen.indexOf(Mt.value)<0?(Ce(tt)?Pt=de(dt,Mt.value,null):Pt=de(dt,Mt.value,tt-1),Pt.indexOf(`
`)>-1&&(yt?Pt=Pt.split(`
`).map(function(ct){return" "+ct}).join(`
`).substr(2):Pt=`
`+Pt.split(`
`).map(function(ct){return" "+ct}).join(`
`))):Pt=dt.stylize("[Circular]","special")),Be(pt)){if(yt&&ot.match(/^\d+$/))return Pt;pt=JSON.stringify(""+ot),pt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(pt=pt.substr(1,pt.length-2),pt=dt.stylize(pt,"name")):(pt=pt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),pt=dt.stylize(pt,"string"))}return pt+": "+Pt}function ye(dt,at,tt){var et=0,ot=dt.reduce(function(yt,pt){return et++,pt.indexOf(`
`)>=0&&et++,yt+pt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ot>60?tt[0]+(at===""?"":at+`
`)+" "+dt.join(`,
`)+" "+tt[1]:tt[0]+at+" "+dt.join(", ")+" "+tt[1]}function Ee(dt){return Array.isArray(dt)}ve.isArray=Ee;function Le(dt){return typeof dt=="boolean"}ve.isBoolean=Le;function Ce(dt){return dt===null}ve.isNull=Ce;function _e(dt){return dt==null}ve.isNullOrUndefined=_e;function Me(dt){return typeof dt=="number"}ve.isNumber=Me;function De(dt){return typeof dt=="string"}ve.isString=De;function Se(dt){return typeof dt=="symbol"}ve.isSymbol=Se;function Be(dt){return dt===void 0}ve.isUndefined=Be;function Re(dt){return Xe(dt)&&it(dt)==="[object RegExp]"}ve.isRegExp=Re;function Xe(dt){return typeof dt=="object"&&dt!==null}ve.isObject=Xe;function Ie(dt){return Xe(dt)&&it(dt)==="[object Date]"}ve.isDate=Ie;function Ye(dt){return Xe(dt)&&(it(dt)==="[object Error]"||dt instanceof Error)}ve.isError=Ye;function Ge(dt){return typeof dt=="function"}ve.isFunction=Ge;function qe(dt){return dt===null||typeof dt=="boolean"||typeof dt=="number"||typeof dt=="string"||typeof dt=="symbol"||typeof dt=="undefined"}ve.isPrimitive=qe,ve.isBuffer=E("./support/isBuffer");function it(dt){return Object.prototype.toString.call(dt)}function st(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 Qe(){var dt=new Date,at=[st(dt.getHours()),st(dt.getMinutes()),st(dt.getSeconds())].join(":");return[dt.getDate(),Ve[dt.getMonth()],at].join(" ")}ve.log=function(){console.log("%s - %s",Qe(),ve.format.apply(ve,arguments))},ve.inherits=E("inherits"),ve._extend=function(dt,at){if(!at||!Xe(at))return dt;for(var tt=Object.keys(at),et=tt.length;et--;)dt[tt[et]]=at[tt[et]];return dt};function nt(dt,at){return Object.prototype.hasOwnProperty.call(dt,at)}}).call(this)}).call(this,E("_process"),typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,je,ve){(function(ne){(function(){"use strict";var ee=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ie=typeof globalThis=="undefined"?ne:globalThis;je.exports=function(){for(var le=[],pe=0;pe<ee.length;pe++)typeof ie[ee[pe]]=="function"&&(le[le.length]=ee[pe]);return le}}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(E,je,ve){"use strict";ve.byteLength=ae,ve.toByteArray=de,ve.fromByteArray=xe;for(var ne=[],ee=[],ie=typeof Uint8Array!="undefined"?Uint8Array:Array,oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=0,pe=oe.length;le<pe;++le)ne[le]=oe[le],ee[oe.charCodeAt(le)]=le;ee[45]=62,ee[95]=63;function re(Ae){var ye=Ae.length;if(ye%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Ee=Ae.indexOf("=");Ee===-1&&(Ee=ye);var Le=Ee===ye?0:4-Ee%4;return[Ee,Le]}function ae(Ae){var ye=re(Ae),Ee=ye[0],Le=ye[1];return(Ee+Le)*3/4-Le}function ce(Ae,ye,Ee){return(ye+Ee)*3/4-Ee}function de(Ae){var ye,Ee=re(Ae),Le=Ee[0],Ce=Ee[1],_e=new ie(ce(Ae,Le,Ce)),Me=0,De=Ce>0?Le-4:Le,Se;for(Se=0;Se<De;Se+=4)ye=ee[Ae.charCodeAt(Se)]<<18|ee[Ae.charCodeAt(Se+1)]<<12|ee[Ae.charCodeAt(Se+2)]<<6|ee[Ae.charCodeAt(Se+3)],_e[Me++]=ye>>16&255,_e[Me++]=ye>>8&255,_e[Me++]=ye&255;return Ce===2&&(ye=ee[Ae.charCodeAt(Se)]<<2|ee[Ae.charCodeAt(Se+1)]>>4,_e[Me++]=ye&255),Ce===1&&(ye=ee[Ae.charCodeAt(Se)]<<10|ee[Ae.charCodeAt(Se+1)]<<4|ee[Ae.charCodeAt(Se+2)]>>2,_e[Me++]=ye>>8&255,_e[Me++]=ye&255),_e}function me(Ae){return ne[Ae>>18&63]+ne[Ae>>12&63]+ne[Ae>>6&63]+ne[Ae&63]}function we(Ae,ye,Ee){for(var Le,Ce=[],_e=ye;_e<Ee;_e+=3)Le=(Ae[_e]<<16&16711680)+(Ae[_e+1]<<8&65280)+(Ae[_e+2]&255),Ce.push(me(Le));return Ce.join("")}function xe(Ae){for(var ye,Ee=Ae.length,Le=Ee%3,Ce=[],_e=16383,Me=0,De=Ee-Le;Me<De;Me+=_e)Ce.push(we(Ae,Me,Me+_e>De?De:Me+_e));return Le===1?(ye=Ae[Ee-1],Ce.push(ne[ye>>2]+ne[ye<<4&63]+"==")):Le===2&&(ye=(Ae[Ee-2]<<8)+Ae[Ee-1],Ce.push(ne[ye>>10]+ne[ye>>4&63]+ne[ye<<2&63]+"=")),Ce.join("")}},{}],88:[function(E,je,ve){(function(ne,ee,ie){typeof je!="undefined"&&je.exports?je.exports=ie():typeof Te=="function"&&Te.amd?Te(ee,ie):ne[ee]=ie()})(this,"bowser",function(){var ne=!0;function ee(ce){function de(at){var tt=ce.match(at);return tt&&tt.length>1&&tt[1]||""}function me(at){var tt=ce.match(at);return tt&&tt.length>1&&tt[2]||""}var we=de(/(ipod|iphone|ipad)/i).toLowerCase(),xe=/like android/i.test(ce),Ae=!xe&&/android/i.test(ce),ye=/nexus\s*[0-6]\s*/i.test(ce),Ee=!ye&&/nexus\s*[0-9]+/i.test(ce),Le=/CrOS/.test(ce),Ce=/silk/i.test(ce),_e=/sailfish/i.test(ce),Me=/tizen/i.test(ce),De=/(web|hpw)(o|0)s/i.test(ce),Se=/windows phone/i.test(ce),Be=/SamsungBrowser/i.test(ce),Re=!Se&&/windows/i.test(ce),Xe=!we&&!Ce&&/macintosh/i.test(ce),Ie=!Ae&&!_e&&!Me&&!De&&/linux/i.test(ce),Ye=me(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ge=de(/version\/(\d+(\.\d+)?)/i),qe=/tablet/i.test(ce)&&!/tablet pc/i.test(ce),it=!qe&&/[^-]mobi/i.test(ce),st=/xbox/i.test(ce),Ve;/opera/i.test(ce)?Ve={name:"Opera",opera:ne,version:Ge||de(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ce)?Ve={name:"Opera",opera:ne,version:de(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ge}:/SamsungBrowser/i.test(ce)?Ve={name:"Samsung Internet for Android",samsungBrowser:ne,version:Ge||de(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ce)?Ve={name:"NAVER Whale browser",whale:ne,version:de(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ce)?Ve={name:"MZ Browser",mzbrowser:ne,version:de(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ce)?Ve={name:"Opera Coast",coast:ne,version:Ge||de(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ce)?Ve={name:"Focus",focus:ne,version:de(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ce)?Ve={name:"Yandex Browser",yandexbrowser:ne,version:Ge||de(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ce)?Ve={name:"UC Browser",ucbrowser:ne,version:de(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ce)?Ve={name:"Maxthon",maxthon:ne,version:de(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ce)?Ve={name:"Epiphany",epiphany:ne,version:de(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ce)?Ve={name:"Puffin",puffin:ne,version:de(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ce)?Ve={name:"Sleipnir",sleipnir:ne,version:de(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ce)?Ve={name:"K-Meleon",kMeleon:ne,version:de(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Se?(Ve={name:"Windows Phone",osname:"Windows Phone",windowsphone:ne},Ye?(Ve.msedge=ne,Ve.version=Ye):(Ve.msie=ne,Ve.version=de(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ce)?Ve={name:"Internet Explorer",msie:ne,version:de(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:Le?Ve={name:"Chrome",osname:"Chrome OS",chromeos:ne,chromeBook:ne,chrome:ne,version:de(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ce)?Ve={name:"Microsoft Edge",msedge:ne,version:Ye}:/vivaldi/i.test(ce)?Ve={name:"Vivaldi",vivaldi:ne,version:de(/vivaldi\/(\d+(\.\d+)?)/i)||Ge}:_e?Ve={name:"Sailfish",osname:"Sailfish OS",sailfish:ne,version:de(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ce)?Ve={name:"SeaMonkey",seamonkey:ne,version:de(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ce)?(Ve={name:"Firefox",firefox:ne,version:de(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ce)&&(Ve.firefoxos=ne,Ve.osname="Firefox OS")):Ce?Ve={name:"Amazon Silk",silk:ne,version:de(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ce)?Ve={name:"PhantomJS",phantom:ne,version:de(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ce)?Ve={name:"SlimerJS",slimer:ne,version:de(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ce)||/rim\stablet/i.test(ce)?Ve={name:"BlackBerry",osname:"BlackBerry OS",blackberry:ne,version:Ge||de(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:De?(Ve={name:"WebOS",osname:"WebOS",webos:ne,version:Ge||de(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ce)&&(Ve.touchpad=ne)):/bada/i.test(ce)?Ve={name:"Bada",osname:"Bada",bada:ne,version:de(/dolfin\/(\d+(\.\d+)?)/i)}:Me?Ve={name:"Tizen",osname:"Tizen",tizen:ne,version:de(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ge}:/qupzilla/i.test(ce)?Ve={name:"QupZilla",qupzilla:ne,version:de(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ge}:/chromium/i.test(ce)?Ve={name:"Chromium",chromium:ne,version:de(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ge}:/chrome|crios|crmo/i.test(ce)?Ve={name:"Chrome",chrome:ne,version:de(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:Ae?Ve={name:"Android",version:Ge}:/safari|applewebkit/i.test(ce)?(Ve={name:"Safari",safari:ne},Ge&&(Ve.version=Ge)):we?(Ve={name:we=="iphone"?"iPhone":we=="ipad"?"iPad":"iPod"},Ge&&(Ve.version=Ge)):/googlebot/i.test(ce)?Ve={name:"Googlebot",googlebot:ne,version:de(/googlebot\/(\d+(\.\d+))/i)||Ge}:Ve={name:de(/^(.*)\/(.*) /),version:me(/^(.*)\/(.*) /)},!Ve.msedge&&/(apple)?webkit/i.test(ce)?(/(apple)?webkit\/537\.36/i.test(ce)?(Ve.name=Ve.name||"Blink",Ve.blink=ne):(Ve.name=Ve.name||"Webkit",Ve.webkit=ne),!Ve.version&&Ge&&(Ve.version=Ge)):!Ve.opera&&/gecko\//i.test(ce)&&(Ve.name=Ve.name||"Gecko",Ve.gecko=ne,Ve.version=Ve.version||de(/gecko\/(\d+(\.\d+)?)/i)),!Ve.windowsphone&&(Ae||Ve.silk)?(Ve.android=ne,Ve.osname="Android"):!Ve.windowsphone&&we?(Ve[we]=ne,Ve.ios=ne,Ve.osname="iOS"):Xe?(Ve.mac=ne,Ve.osname="macOS"):st?(Ve.xbox=ne,Ve.osname="Xbox"):Re?(Ve.windows=ne,Ve.osname="Windows"):Ie&&(Ve.linux=ne,Ve.osname="Linux");function Qe(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=Qe(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,".")):Ae?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 qe||Ee||we=="ipad"||Ae&&(dt==3||dt>=4&&!it)||Ve.silk?Ve.tablet=ne:(it||we=="iphone"||we=="ipod"||Ae||ye||Ve.blackberry||Ve.webos||Ve.bada)&&(Ve.mobile=ne),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&&pe([Ve.version,"1.0"])===1||Ve.mzbrowser&&pe([Ve.version,"6.0"])===1||Ve.focus&&pe([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=ne: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=ne:Ve.x=ne,Ve}var ie=ee(typeof navigator!="undefined"&&navigator.userAgent||"");ie.test=function(ce){for(var de=0;de<ce.length;++de){var me=ce[de];if(typeof me=="string"&&me in ie)return!0}return!1};function oe(ce){return ce.split(".").length}function le(ce,de){var me=[],we;if(Array.prototype.map)return Array.prototype.map.call(ce,de);for(we=0;we<ce.length;we++)me.push(de(ce[we]));return me}function pe(ce){for(var de=Math.max(oe(ce[0]),oe(ce[1])),me=le(ce,function(we){var xe=de-oe(we);return we=we+new Array(xe+1).join(".0"),le(we.split("."),function(Ae){return new Array(20-Ae.length).join("0")+Ae}).reverse()});--de>=0;){if(me[0][de]>me[1][de])return 1;if(me[0][de]===me[1][de]){if(de===0)return 0}else return-1}}function re(ce,de,me){var we=ie;typeof de=="string"&&(me=de,de=void 0),de===void 0&&(de=!1),me&&(we=ee(me));var xe=""+we.version;for(var Ae in ce)if(ce.hasOwnProperty(Ae)&&we[Ae]){if(typeof ce[Ae]!="string")throw new Error("Browser version in the minVersion map should be a string: "+Ae+": "+String(ce));return pe([xe,ce[Ae]])<0}return de}function ae(ce,de,me){return!re(ce,de,me)}return ie.isUnsupportedBrowser=re,ie.compareVersions=pe,ie.check=ae,ie._detect=ee,ie.detect=ee,ie})},{}],89:[function(E,je,ve){},{}],90:[function(E,je,ve){(function(ne){(function(){"use strict";var ee=E("base64-js"),ie=E("ieee754");ve.Buffer=re,ve.SlowBuffer=Le,ve.INSPECT_MAX_BYTES=50;var oe=2147483647;ve.kMaxLength=oe,re.TYPED_ARRAY_SUPPORT=le(),!re.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function le(){try{var Pe=new Uint8Array(1);return Pe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Pe.foo()===42}catch(Fe){return!1}}Object.defineProperty(re.prototype,"parent",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.buffer}}),Object.defineProperty(re.prototype,"offset",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.byteOffset}});function pe(Pe){if(Pe>oe)throw new RangeError('The value "'+Pe+'" is invalid for option "size"');var Fe=new Uint8Array(Pe);return Fe.__proto__=re.prototype,Fe}function re(Pe,Fe,Ke){if(typeof Pe=="number"){if(typeof Fe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return me(Pe)}return ae(Pe,Fe,Ke)}typeof Symbol!="undefined"&&Symbol.species!=null&&re[Symbol.species]===re&&Object.defineProperty(re,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),re.poolSize=8192;function ae(Pe,Fe,Ke){if(typeof Pe=="string")return we(Pe,Fe);if(ArrayBuffer.isView(Pe))return xe(Pe);if(Pe==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Pe);if(We(Pe,ArrayBuffer)||Pe&&We(Pe.buffer,ArrayBuffer))return Ae(Pe,Fe,Ke);if(typeof Pe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ue=Pe.valueOf&&Pe.valueOf();if(Ue!=null&&Ue!==Pe)return re.from(Ue,Fe,Ke);var ut=ye(Pe);if(ut)return ut;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Pe[Symbol.toPrimitive]=="function")return re.from(Pe[Symbol.toPrimitive]("string"),Fe,Ke);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Pe)}re.from=function(Pe,Fe,Ke){return ae(Pe,Fe,Ke)},re.prototype.__proto__=Uint8Array.prototype,re.__proto__=Uint8Array;function ce(Pe){if(typeof Pe!="number")throw new TypeError('"size" argument must be of type number');if(Pe<0)throw new RangeError('The value "'+Pe+'" is invalid for option "size"')}function de(Pe,Fe,Ke){return ce(Pe),Pe<=0?pe(Pe):Fe!==void 0?typeof Ke=="string"?pe(Pe).fill(Fe,Ke):pe(Pe).fill(Fe):pe(Pe)}re.alloc=function(Pe,Fe,Ke){return de(Pe,Fe,Ke)};function me(Pe){return ce(Pe),pe(Pe<0?0:Ee(Pe)|0)}re.allocUnsafe=function(Pe){return me(Pe)},re.allocUnsafeSlow=function(Pe){return me(Pe)};function we(Pe,Fe){if((typeof Fe!="string"||Fe==="")&&(Fe="utf8"),!re.isEncoding(Fe))throw new TypeError("Unknown encoding: "+Fe);var Ke=Ce(Pe,Fe)|0,Ue=pe(Ke),ut=Ue.write(Pe,Fe);return ut!==Ke&&(Ue=Ue.slice(0,ut)),Ue}function xe(Pe){for(var Fe=Pe.length<0?0:Ee(Pe.length)|0,Ke=pe(Fe),Ue=0;Ue<Fe;Ue+=1)Ke[Ue]=Pe[Ue]&255;return Ke}function Ae(Pe,Fe,Ke){if(Fe<0||Pe.byteLength<Fe)throw new RangeError('"offset" is outside of buffer bounds');if(Pe.byteLength<Fe+(Ke||0))throw new RangeError('"length" is outside of buffer bounds');var Ue;return Fe===void 0&&Ke===void 0?Ue=new Uint8Array(Pe):Ke===void 0?Ue=new Uint8Array(Pe,Fe):Ue=new Uint8Array(Pe,Fe,Ke),Ue.__proto__=re.prototype,Ue}function ye(Pe){if(re.isBuffer(Pe)){var Fe=Ee(Pe.length)|0,Ke=pe(Fe);return Ke.length===0||Pe.copy(Ke,0,0,Fe),Ke}if(Pe.length!==void 0)return typeof Pe.length!="number"||fe(Pe.length)?pe(0):xe(Pe);if(Pe.type==="Buffer"&&Array.isArray(Pe.data))return xe(Pe.data)}function Ee(Pe){if(Pe>=oe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+oe.toString(16)+" bytes");return Pe|0}function Le(Pe){return+Pe!=Pe&&(Pe=0),re.alloc(+Pe)}re.isBuffer=function(Fe){return Fe!=null&&Fe._isBuffer===!0&&Fe!==re.prototype},re.compare=function(Fe,Ke){if(We(Fe,Uint8Array)&&(Fe=re.from(Fe,Fe.offset,Fe.byteLength)),We(Ke,Uint8Array)&&(Ke=re.from(Ke,Ke.offset,Ke.byteLength)),!re.isBuffer(Fe)||!re.isBuffer(Ke))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Fe===Ke)return 0;for(var Ue=Fe.length,ut=Ke.length,vt=0,lt=Math.min(Ue,ut);vt<lt;++vt)if(Fe[vt]!==Ke[vt]){Ue=Fe[vt],ut=Ke[vt];break}return Ue<ut?-1:ut<Ue?1:0},re.isEncoding=function(Fe){switch(String(Fe).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},re.concat=function(Fe,Ke){if(!Array.isArray(Fe))throw new TypeError('"list" argument must be an Array of Buffers');if(Fe.length===0)return re.alloc(0);var Ue;if(Ke===void 0)for(Ke=0,Ue=0;Ue<Fe.length;++Ue)Ke+=Fe[Ue].length;var ut=re.allocUnsafe(Ke),vt=0;for(Ue=0;Ue<Fe.length;++Ue){var lt=Fe[Ue];if(We(lt,Uint8Array)&&(lt=re.from(lt)),!re.isBuffer(lt))throw new TypeError('"list" argument must be an Array of Buffers');lt.copy(ut,vt),vt+=lt.length}return ut};function Ce(Pe,Fe){if(re.isBuffer(Pe))return Pe.length;if(ArrayBuffer.isView(Pe)||We(Pe,ArrayBuffer))return Pe.byteLength;if(typeof Pe!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Pe);var Ke=Pe.length,Ue=arguments.length>2&&arguments[2]===!0;if(!Ue&&Ke===0)return 0;for(var ut=!1;;)switch(Fe){case"ascii":case"latin1":case"binary":return Ke;case"utf8":case"utf-8":return Je(Pe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ke*2;case"hex":return Ke>>>1;case"base64":return he(Pe).length;default:if(ut)return Ue?-1:Je(Pe).length;Fe=(""+Fe).toLowerCase(),ut=!0}}re.byteLength=Ce;function _e(Pe,Fe,Ke){var Ue=!1;if((Fe===void 0||Fe<0)&&(Fe=0),Fe>this.length||((Ke===void 0||Ke>this.length)&&(Ke=this.length),Ke<=0)||(Ke>>>=0,Fe>>>=0,Ke<=Fe))return"";for(Pe||(Pe="utf8");;)switch(Pe){case"hex":return dt(this,Fe,Ke);case"utf8":case"utf-8":return it(this,Fe,Ke);case"ascii":return Qe(this,Fe,Ke);case"latin1":case"binary":return nt(this,Fe,Ke);case"base64":return qe(this,Fe,Ke);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return at(this,Fe,Ke);default:if(Ue)throw new TypeError("Unknown encoding: "+Pe);Pe=(Pe+"").toLowerCase(),Ue=!0}}re.prototype._isBuffer=!0;function Me(Pe,Fe,Ke){var Ue=Pe[Fe];Pe[Fe]=Pe[Ke],Pe[Ke]=Ue}re.prototype.swap16=function(){var Fe=this.length;if(Fe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ke=0;Ke<Fe;Ke+=2)Me(this,Ke,Ke+1);return this},re.prototype.swap32=function(){var Fe=this.length;if(Fe%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Ke=0;Ke<Fe;Ke+=4)Me(this,Ke,Ke+3),Me(this,Ke+1,Ke+2);return this},re.prototype.swap64=function(){var Fe=this.length;if(Fe%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Ke=0;Ke<Fe;Ke+=8)Me(this,Ke,Ke+7),Me(this,Ke+1,Ke+6),Me(this,Ke+2,Ke+5),Me(this,Ke+3,Ke+4);return this},re.prototype.toString=function(){var Fe=this.length;return Fe===0?"":arguments.length===0?it(this,0,Fe):_e.apply(this,arguments)},re.prototype.toLocaleString=re.prototype.toString,re.prototype.equals=function(Fe){if(!re.isBuffer(Fe))throw new TypeError("Argument must be a Buffer");return this===Fe?!0:re.compare(this,Fe)===0},re.prototype.inspect=function(){var Fe="",Ke=ve.INSPECT_MAX_BYTES;return Fe=this.toString("hex",0,Ke).replace(/(.{2})/g,"$1 ").trim(),this.length>Ke&&(Fe+=" ... "),"<Buffer "+Fe+">"},re.prototype.compare=function(Fe,Ke,Ue,ut,vt){if(We(Fe,Uint8Array)&&(Fe=re.from(Fe,Fe.offset,Fe.byteLength)),!re.isBuffer(Fe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Fe);if(Ke===void 0&&(Ke=0),Ue===void 0&&(Ue=Fe?Fe.length:0),ut===void 0&&(ut=0),vt===void 0&&(vt=this.length),Ke<0||Ue>Fe.length||ut<0||vt>this.length)throw new RangeError("out of range index");if(ut>=vt&&Ke>=Ue)return 0;if(ut>=vt)return-1;if(Ke>=Ue)return 1;if(Ke>>>=0,Ue>>>=0,ut>>>=0,vt>>>=0,this===Fe)return 0;for(var lt=vt-ut,Dt=Ue-Ke,Wt=Math.min(lt,Dt),wt=this.slice(ut,vt),zt=Fe.slice(Ke,Ue),Nt=0;Nt<Wt;++Nt)if(wt[Nt]!==zt[Nt]){lt=wt[Nt],Dt=zt[Nt];break}return lt<Dt?-1:Dt<lt?1:0};function De(Pe,Fe,Ke,Ue,ut){if(Pe.length===0)return-1;if(typeof Ke=="string"?(Ue=Ke,Ke=0):Ke>2147483647?Ke=2147483647:Ke<-2147483648&&(Ke=-2147483648),Ke=+Ke,fe(Ke)&&(Ke=ut?0:Pe.length-1),Ke<0&&(Ke=Pe.length+Ke),Ke>=Pe.length){if(ut)return-1;Ke=Pe.length-1}else if(Ke<0)if(ut)Ke=0;else return-1;if(typeof Fe=="string"&&(Fe=re.from(Fe,Ue)),re.isBuffer(Fe))return Fe.length===0?-1:Se(Pe,Fe,Ke,Ue,ut);if(typeof Fe=="number")return Fe=Fe&255,typeof Uint8Array.prototype.indexOf=="function"?ut?Uint8Array.prototype.indexOf.call(Pe,Fe,Ke):Uint8Array.prototype.lastIndexOf.call(Pe,Fe,Ke):Se(Pe,[Fe],Ke,Ue,ut);throw new TypeError("val must be string, number or Buffer")}function Se(Pe,Fe,Ke,Ue,ut){var vt=1,lt=Pe.length,Dt=Fe.length;if(Ue!==void 0&&(Ue=String(Ue).toLowerCase(),Ue==="ucs2"||Ue==="ucs-2"||Ue==="utf16le"||Ue==="utf-16le")){if(Pe.length<2||Fe.length<2)return-1;vt=2,lt/=2,Dt/=2,Ke/=2}function Wt(ft,Et){return vt===1?ft[Et]:ft.readUInt16BE(Et*vt)}var wt;if(ut){var zt=-1;for(wt=Ke;wt<lt;wt++)if(Wt(Pe,wt)===Wt(Fe,zt===-1?0:wt-zt)){if(zt===-1&&(zt=wt),wt-zt+1===Dt)return zt*vt}else zt!==-1&&(wt-=wt-zt),zt=-1}else for(Ke+Dt>lt&&(Ke=lt-Dt),wt=Ke;wt>=0;wt--){for(var Nt=!0,St=0;St<Dt;St++)if(Wt(Pe,wt+St)!==Wt(Fe,St)){Nt=!1;break}if(Nt)return wt}return-1}re.prototype.includes=function(Fe,Ke,Ue){return this.indexOf(Fe,Ke,Ue)!==-1},re.prototype.indexOf=function(Fe,Ke,Ue){return De(this,Fe,Ke,Ue,!0)},re.prototype.lastIndexOf=function(Fe,Ke,Ue){return De(this,Fe,Ke,Ue,!1)};function Be(Pe,Fe,Ke,Ue){Ke=Number(Ke)||0;var ut=Pe.length-Ke;Ue?(Ue=Number(Ue),Ue>ut&&(Ue=ut)):Ue=ut;var vt=Fe.length;Ue>vt/2&&(Ue=vt/2);for(var lt=0;lt<Ue;++lt){var Dt=parseInt(Fe.substr(lt*2,2),16);if(fe(Dt))return lt;Pe[Ke+lt]=Dt}return lt}function Re(Pe,Fe,Ke,Ue){return He(Je(Fe,Pe.length-Ke),Pe,Ke,Ue)}function Xe(Pe,Fe,Ke,Ue){return He(Ze(Fe),Pe,Ke,Ue)}function Ie(Pe,Fe,Ke,Ue){return Xe(Pe,Fe,Ke,Ue)}function Ye(Pe,Fe,Ke,Ue){return He(he(Fe),Pe,Ke,Ue)}function Ge(Pe,Fe,Ke,Ue){return He(ue(Fe,Pe.length-Ke),Pe,Ke,Ue)}re.prototype.write=function(Fe,Ke,Ue,ut){if(Ke===void 0)ut="utf8",Ue=this.length,Ke=0;else if(Ue===void 0&&typeof Ke=="string")ut=Ke,Ue=this.length,Ke=0;else if(isFinite(Ke))Ke=Ke>>>0,isFinite(Ue)?(Ue=Ue>>>0,ut===void 0&&(ut="utf8")):(ut=Ue,Ue=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var vt=this.length-Ke;if((Ue===void 0||Ue>vt)&&(Ue=vt),Fe.length>0&&(Ue<0||Ke<0)||Ke>this.length)throw new RangeError("Attempt to write outside buffer bounds");ut||(ut="utf8");for(var lt=!1;;)switch(ut){case"hex":return Be(this,Fe,Ke,Ue);case"utf8":case"utf-8":return Re(this,Fe,Ke,Ue);case"ascii":return Xe(this,Fe,Ke,Ue);case"latin1":case"binary":return Ie(this,Fe,Ke,Ue);case"base64":return Ye(this,Fe,Ke,Ue);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ge(this,Fe,Ke,Ue);default:if(lt)throw new TypeError("Unknown encoding: "+ut);ut=(""+ut).toLowerCase(),lt=!0}},re.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function qe(Pe,Fe,Ke){return Fe===0&&Ke===Pe.length?ee.fromByteArray(Pe):ee.fromByteArray(Pe.slice(Fe,Ke))}function it(Pe,Fe,Ke){Ke=Math.min(Pe.length,Ke);for(var Ue=[],ut=Fe;ut<Ke;){var vt=Pe[ut],lt=null,Dt=vt>239?4:vt>223?3:vt>191?2:1;if(ut+Dt<=Ke){var Wt,wt,zt,Nt;switch(Dt){case 1:vt<128&&(lt=vt);break;case 2:Wt=Pe[ut+1],(Wt&192)===128&&(Nt=(vt&31)<<6|Wt&63,Nt>127&&(lt=Nt));break;case 3:Wt=Pe[ut+1],wt=Pe[ut+2],(Wt&192)===128&&(wt&192)===128&&(Nt=(vt&15)<<12|(Wt&63)<<6|wt&63,Nt>2047&&(Nt<55296||Nt>57343)&&(lt=Nt));break;case 4:Wt=Pe[ut+1],wt=Pe[ut+2],zt=Pe[ut+3],(Wt&192)===128&&(wt&192)===128&&(zt&192)===128&&(Nt=(vt&15)<<18|(Wt&63)<<12|(wt&63)<<6|zt&63,Nt>65535&&Nt<1114112&&(lt=Nt))}}lt===null?(lt=65533,Dt=1):lt>65535&&(lt-=65536,Ue.push(lt>>>10&1023|55296),lt=56320|lt&1023),Ue.push(lt),ut+=Dt}return Ve(Ue)}var st=4096;function Ve(Pe){var Fe=Pe.length;if(Fe<=st)return String.fromCharCode.apply(String,Pe);for(var Ke="",Ue=0;Ue<Fe;)Ke+=String.fromCharCode.apply(String,Pe.slice(Ue,Ue+=st));return Ke}function Qe(Pe,Fe,Ke){var Ue="";Ke=Math.min(Pe.length,Ke);for(var ut=Fe;ut<Ke;++ut)Ue+=String.fromCharCode(Pe[ut]&127);return Ue}function nt(Pe,Fe,Ke){var Ue="";Ke=Math.min(Pe.length,Ke);for(var ut=Fe;ut<Ke;++ut)Ue+=String.fromCharCode(Pe[ut]);return Ue}function dt(Pe,Fe,Ke){var Ue=Pe.length;(!Fe||Fe<0)&&(Fe=0),(!Ke||Ke<0||Ke>Ue)&&(Ke=Ue);for(var ut="",vt=Fe;vt<Ke;++vt)ut+=ct(Pe[vt]);return ut}function at(Pe,Fe,Ke){for(var Ue=Pe.slice(Fe,Ke),ut="",vt=0;vt<Ue.length;vt+=2)ut+=String.fromCharCode(Ue[vt]+Ue[vt+1]*256);return ut}re.prototype.slice=function(Fe,Ke){var Ue=this.length;Fe=~~Fe,Ke=Ke===void 0?Ue:~~Ke,Fe<0?(Fe+=Ue,Fe<0&&(Fe=0)):Fe>Ue&&(Fe=Ue),Ke<0?(Ke+=Ue,Ke<0&&(Ke=0)):Ke>Ue&&(Ke=Ue),Ke<Fe&&(Ke=Fe);var ut=this.subarray(Fe,Ke);return ut.__proto__=re.prototype,ut};function tt(Pe,Fe,Ke){if(Pe%1!==0||Pe<0)throw new RangeError("offset is not uint");if(Pe+Fe>Ke)throw new RangeError("Trying to access beyond buffer length")}re.prototype.readUIntLE=function(Fe,Ke,Ue){Fe=Fe>>>0,Ke=Ke>>>0,Ue||tt(Fe,Ke,this.length);for(var ut=this[Fe],vt=1,lt=0;++lt<Ke&&(vt*=256);)ut+=this[Fe+lt]*vt;return ut},re.prototype.readUIntBE=function(Fe,Ke,Ue){Fe=Fe>>>0,Ke=Ke>>>0,Ue||tt(Fe,Ke,this.length);for(var ut=this[Fe+--Ke],vt=1;Ke>0&&(vt*=256);)ut+=this[Fe+--Ke]*vt;return ut},re.prototype.readUInt8=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,1,this.length),this[Fe]},re.prototype.readUInt16LE=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,2,this.length),this[Fe]|this[Fe+1]<<8},re.prototype.readUInt16BE=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,2,this.length),this[Fe]<<8|this[Fe+1]},re.prototype.readUInt32LE=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,4,this.length),(this[Fe]|this[Fe+1]<<8|this[Fe+2]<<16)+this[Fe+3]*16777216},re.prototype.readUInt32BE=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,4,this.length),this[Fe]*16777216+(this[Fe+1]<<16|this[Fe+2]<<8|this[Fe+3])},re.prototype.readIntLE=function(Fe,Ke,Ue){Fe=Fe>>>0,Ke=Ke>>>0,Ue||tt(Fe,Ke,this.length);for(var ut=this[Fe],vt=1,lt=0;++lt<Ke&&(vt*=256);)ut+=this[Fe+lt]*vt;return vt*=128,ut>=vt&&(ut-=Math.pow(2,8*Ke)),ut},re.prototype.readIntBE=function(Fe,Ke,Ue){Fe=Fe>>>0,Ke=Ke>>>0,Ue||tt(Fe,Ke,this.length);for(var ut=Ke,vt=1,lt=this[Fe+--ut];ut>0&&(vt*=256);)lt+=this[Fe+--ut]*vt;return vt*=128,lt>=vt&&(lt-=Math.pow(2,8*Ke)),lt},re.prototype.readInt8=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,1,this.length),this[Fe]&128?(255-this[Fe]+1)*-1:this[Fe]},re.prototype.readInt16LE=function(Fe,Ke){Fe=Fe>>>0,Ke||tt(Fe,2,this.length);var Ue=this[Fe]|this[Fe+1]<<8;return Ue&32768?Ue|4294901760:Ue},re.prototype.readInt16BE=function(Fe,Ke){Fe=Fe>>>0,Ke||tt(Fe,2,this.length);var Ue=this[Fe+1]|this[Fe]<<8;return Ue&32768?Ue|4294901760:Ue},re.prototype.readInt32LE=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,4,this.length),this[Fe]|this[Fe+1]<<8|this[Fe+2]<<16|this[Fe+3]<<24},re.prototype.readInt32BE=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,4,this.length),this[Fe]<<24|this[Fe+1]<<16|this[Fe+2]<<8|this[Fe+3]},re.prototype.readFloatLE=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,4,this.length),ie.read(this,Fe,!0,23,4)},re.prototype.readFloatBE=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,4,this.length),ie.read(this,Fe,!1,23,4)},re.prototype.readDoubleLE=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,8,this.length),ie.read(this,Fe,!0,52,8)},re.prototype.readDoubleBE=function(Fe,Ke){return Fe=Fe>>>0,Ke||tt(Fe,8,this.length),ie.read(this,Fe,!1,52,8)};function et(Pe,Fe,Ke,Ue,ut,vt){if(!re.isBuffer(Pe))throw new TypeError('"buffer" argument must be a Buffer instance');if(Fe>ut||Fe<vt)throw new RangeError('"value" argument is out of bounds');if(Ke+Ue>Pe.length)throw new RangeError("Index out of range")}re.prototype.writeUIntLE=function(Fe,Ke,Ue,ut){if(Fe=+Fe,Ke=Ke>>>0,Ue=Ue>>>0,!ut){var vt=Math.pow(2,8*Ue)-1;et(this,Fe,Ke,Ue,vt,0)}var lt=1,Dt=0;for(this[Ke]=Fe&255;++Dt<Ue&&(lt*=256);)this[Ke+Dt]=Fe/lt&255;return Ke+Ue},re.prototype.writeUIntBE=function(Fe,Ke,Ue,ut){if(Fe=+Fe,Ke=Ke>>>0,Ue=Ue>>>0,!ut){var vt=Math.pow(2,8*Ue)-1;et(this,Fe,Ke,Ue,vt,0)}var lt=Ue-1,Dt=1;for(this[Ke+lt]=Fe&255;--lt>=0&&(Dt*=256);)this[Ke+lt]=Fe/Dt&255;return Ke+Ue},re.prototype.writeUInt8=function(Fe,Ke,Ue){return Fe=+Fe,Ke=Ke>>>0,Ue||et(this,Fe,Ke,1,255,0),this[Ke]=Fe&255,Ke+1},re.prototype.writeUInt16LE=function(Fe,Ke,Ue){return Fe=+Fe,Ke=Ke>>>0,Ue||et(this,Fe,Ke,2,65535,0),this[Ke]=Fe&255,this[Ke+1]=Fe>>>8,Ke+2},re.prototype.writeUInt16BE=function(Fe,Ke,Ue){return Fe=+Fe,Ke=Ke>>>0,Ue||et(this,Fe,Ke,2,65535,0),this[Ke]=Fe>>>8,this[Ke+1]=Fe&255,Ke+2},re.prototype.writeUInt32LE=function(Fe,Ke,Ue){return Fe=+Fe,Ke=Ke>>>0,Ue||et(this,Fe,Ke,4,4294967295,0),this[Ke+3]=Fe>>>24,this[Ke+2]=Fe>>>16,this[Ke+1]=Fe>>>8,this[Ke]=Fe&255,Ke+4},re.prototype.writeUInt32BE=function(Fe,Ke,Ue){return Fe=+Fe,Ke=Ke>>>0,Ue||et(this,Fe,Ke,4,4294967295,0),this[Ke]=Fe>>>24,this[Ke+1]=Fe>>>16,this[Ke+2]=Fe>>>8,this[Ke+3]=Fe&255,Ke+4},re.prototype.writeIntLE=function(Fe,Ke,Ue,ut){if(Fe=+Fe,Ke=Ke>>>0,!ut){var vt=Math.pow(2,8*Ue-1);et(this,Fe,Ke,Ue,vt-1,-vt)}var lt=0,Dt=1,Wt=0;for(this[Ke]=Fe&255;++lt<Ue&&(Dt*=256);)Fe<0&&Wt===0&&this[Ke+lt-1]!==0&&(Wt=1),this[Ke+lt]=(Fe/Dt>>0)-Wt&255;return Ke+Ue},re.prototype.writeIntBE=function(Fe,Ke,Ue,ut){if(Fe=+Fe,Ke=Ke>>>0,!ut){var vt=Math.pow(2,8*Ue-1);et(this,Fe,Ke,Ue,vt-1,-vt)}var lt=Ue-1,Dt=1,Wt=0;for(this[Ke+lt]=Fe&255;--lt>=0&&(Dt*=256);)Fe<0&&Wt===0&&this[Ke+lt+1]!==0&&(Wt=1),this[Ke+lt]=(Fe/Dt>>0)-Wt&255;return Ke+Ue},re.prototype.writeInt8=function(Fe,Ke,Ue){return Fe=+Fe,Ke=Ke>>>0,Ue||et(this,Fe,Ke,1,127,-128),Fe<0&&(Fe=255+Fe+1),this[Ke]=Fe&255,Ke+1},re.prototype.writeInt16LE=function(Fe,Ke,Ue){return Fe=+Fe,Ke=Ke>>>0,Ue||et(this,Fe,Ke,2,32767,-32768),this[Ke]=Fe&255,this[Ke+1]=Fe>>>8,Ke+2},re.prototype.writeInt16BE=function(Fe,Ke,Ue){return Fe=+Fe,Ke=Ke>>>0,Ue||et(this,Fe,Ke,2,32767,-32768),this[Ke]=Fe>>>8,this[Ke+1]=Fe&255,Ke+2},re.prototype.writeInt32LE=function(Fe,Ke,Ue){return Fe=+Fe,Ke=Ke>>>0,Ue||et(this,Fe,Ke,4,2147483647,-2147483648),this[Ke]=Fe&255,this[Ke+1]=Fe>>>8,this[Ke+2]=Fe>>>16,this[Ke+3]=Fe>>>24,Ke+4},re.prototype.writeInt32BE=function(Fe,Ke,Ue){return Fe=+Fe,Ke=Ke>>>0,Ue||et(this,Fe,Ke,4,2147483647,-2147483648),Fe<0&&(Fe=4294967295+Fe+1),this[Ke]=Fe>>>24,this[Ke+1]=Fe>>>16,this[Ke+2]=Fe>>>8,this[Ke+3]=Fe&255,Ke+4};function ot(Pe,Fe,Ke,Ue,ut,vt){if(Ke+Ue>Pe.length)throw new RangeError("Index out of range");if(Ke<0)throw new RangeError("Index out of range")}function yt(Pe,Fe,Ke,Ue,ut){return Fe=+Fe,Ke=Ke>>>0,ut||ot(Pe,Fe,Ke,4,34028234663852886e22,-34028234663852886e22),ie.write(Pe,Fe,Ke,Ue,23,4),Ke+4}re.prototype.writeFloatLE=function(Fe,Ke,Ue){return yt(this,Fe,Ke,!0,Ue)},re.prototype.writeFloatBE=function(Fe,Ke,Ue){return yt(this,Fe,Ke,!1,Ue)};function pt(Pe,Fe,Ke,Ue,ut){return Fe=+Fe,Ke=Ke>>>0,ut||ot(Pe,Fe,Ke,8,17976931348623157e292,-17976931348623157e292),ie.write(Pe,Fe,Ke,Ue,52,8),Ke+8}re.prototype.writeDoubleLE=function(Fe,Ke,Ue){return pt(this,Fe,Ke,!0,Ue)},re.prototype.writeDoubleBE=function(Fe,Ke,Ue){return pt(this,Fe,Ke,!1,Ue)},re.prototype.copy=function(Fe,Ke,Ue,ut){if(!re.isBuffer(Fe))throw new TypeError("argument should be a Buffer");if(Ue||(Ue=0),!ut&&ut!==0&&(ut=this.length),Ke>=Fe.length&&(Ke=Fe.length),Ke||(Ke=0),ut>0&&ut<Ue&&(ut=Ue),ut===Ue||Fe.length===0||this.length===0)return 0;if(Ke<0)throw new RangeError("targetStart out of bounds");if(Ue<0||Ue>=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),Fe.length-Ke<ut-Ue&&(ut=Fe.length-Ke+Ue);var vt=ut-Ue;if(this===Fe&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Ke,Ue,ut);else if(this===Fe&&Ue<Ke&&Ke<ut)for(var lt=vt-1;lt>=0;--lt)Fe[lt+Ke]=this[lt+Ue];else Uint8Array.prototype.set.call(Fe,this.subarray(Ue,ut),Ke);return vt},re.prototype.fill=function(Fe,Ke,Ue,ut){if(typeof Fe=="string"){if(typeof Ke=="string"?(ut=Ke,Ke=0,Ue=this.length):typeof Ue=="string"&&(ut=Ue,Ue=this.length),ut!==void 0&&typeof ut!="string")throw new TypeError("encoding must be a string");if(typeof ut=="string"&&!re.isEncoding(ut))throw new TypeError("Unknown encoding: "+ut);if(Fe.length===1){var vt=Fe.charCodeAt(0);(ut==="utf8"&&vt<128||ut==="latin1")&&(Fe=vt)}}else typeof Fe=="number"&&(Fe=Fe&255);if(Ke<0||this.length<Ke||this.length<Ue)throw new RangeError("Out of range index");if(Ue<=Ke)return this;Ke=Ke>>>0,Ue=Ue===void 0?this.length:Ue>>>0,Fe||(Fe=0);var lt;if(typeof Fe=="number")for(lt=Ke;lt<Ue;++lt)this[lt]=Fe;else{var Dt=re.isBuffer(Fe)?Fe:re.from(Fe,ut),Wt=Dt.length;if(Wt===0)throw new TypeError('The value "'+Fe+'" is invalid for argument "value"');for(lt=0;lt<Ue-Ke;++lt)this[lt+Ke]=Dt[lt%Wt]}return this};var Pt=/[^+/0-9A-Za-z-_]/g;function Mt(Pe){if(Pe=Pe.split("=")[0],Pe=Pe.trim().replace(Pt,""),Pe.length<2)return"";for(;Pe.length%4!==0;)Pe=Pe+"=";return Pe}function ct(Pe){return Pe<16?"0"+Pe.toString(16):Pe.toString(16)}function Je(Pe,Fe){Fe=Fe||1/0;for(var Ke,Ue=Pe.length,ut=null,vt=[],lt=0;lt<Ue;++lt){if(Ke=Pe.charCodeAt(lt),Ke>55295&&Ke<57344){if(!ut){if(Ke>56319){(Fe-=3)>-1&&vt.push(239,191,189);continue}else if(lt+1===Ue){(Fe-=3)>-1&&vt.push(239,191,189);continue}ut=Ke;continue}if(Ke<56320){(Fe-=3)>-1&&vt.push(239,191,189),ut=Ke;continue}Ke=(ut-55296<<10|Ke-56320)+65536}else ut&&(Fe-=3)>-1&&vt.push(239,191,189);if(ut=null,Ke<128){if((Fe-=1)<0)break;vt.push(Ke)}else if(Ke<2048){if((Fe-=2)<0)break;vt.push(Ke>>6|192,Ke&63|128)}else if(Ke<65536){if((Fe-=3)<0)break;vt.push(Ke>>12|224,Ke>>6&63|128,Ke&63|128)}else if(Ke<1114112){if((Fe-=4)<0)break;vt.push(Ke>>18|240,Ke>>12&63|128,Ke>>6&63|128,Ke&63|128)}else throw new Error("Invalid code point")}return vt}function Ze(Pe){for(var Fe=[],Ke=0;Ke<Pe.length;++Ke)Fe.push(Pe.charCodeAt(Ke)&255);return Fe}function ue(Pe,Fe){for(var Ke,Ue,ut,vt=[],lt=0;lt<Pe.length&&!((Fe-=2)<0);++lt)Ke=Pe.charCodeAt(lt),Ue=Ke>>8,ut=Ke%256,vt.push(ut),vt.push(Ue);return vt}function he(Pe){return ee.toByteArray(Mt(Pe))}function He(Pe,Fe,Ke,Ue){for(var ut=0;ut<Ue&&!(ut+Ke>=Fe.length||ut>=Pe.length);++ut)Fe[ut+Ke]=Pe[ut];return ut}function We(Pe,Fe){return Pe instanceof Fe||Pe!=null&&Pe.constructor!=null&&Pe.constructor.name!=null&&Pe.constructor.name===Fe.name}function fe(Pe){return Pe!==Pe}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,je,ve){je.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(E,je,ve){"use strict";var ne=E("get-intrinsic"),ee=E("./"),ie=ee(ne("String.prototype.indexOf"));je.exports=function(le,pe){var re=ne(le,!!pe);return typeof re=="function"&&ie(le,".prototype.")>-1?ee(re):re}},{"./":93,"get-intrinsic":348}],93:[function(E,je,ve){"use strict";var ne=E("function-bind"),ee=E("get-intrinsic"),ie=ee("%Function.prototype.apply%"),oe=ee("%Function.prototype.call%"),le=ee("%Reflect.apply%",!0)||ne.call(oe,ie),pe=ee("%Object.getOwnPropertyDescriptor%",!0),re=ee("%Object.defineProperty%",!0),ae=ee("%Math.max%");if(re)try{re({},"a",{value:1})}catch(de){re=null}je.exports=function(me){var we=le(ne,oe,arguments);if(pe&&re){var xe=pe(we,"length");xe.configurable&&re(we,"length",{value:1+ae(0,me.length-(arguments.length-1))})}return we};var ce=function(){return le(ne,ie,arguments)};re?re(je.exports,"apply",{value:ce}):je.exports.apply=ce},{"function-bind":347,"get-intrinsic":348}],94:[function(E,je,ve){"use strict";var ne=Array.prototype.slice;je.exports=ee;function ee(oe,le){if(!(this instanceof ee))return new ee(oe,le);this.src=oe,this._withAccess=le}ee.prototype.withAccess=function(oe){return this._withAccess=oe!==!1,this},ee.prototype.pick=function(oe){return Array.isArray(oe)||(oe=ne.call(arguments)),oe.length&&(this.keys=oe),this},ee.prototype.to=function(oe){if(oe=oe||{},!this.src)return oe;var le=this.keys||Object.keys(this.src);if(!this._withAccess){for(var pe=0;pe<le.length;pe++)re=le[pe],oe[re]===void 0&&(oe[re]=this.src[re]);return oe}for(var pe=0;pe<le.length;pe++){var re=le[pe];if(ie(oe,re)){var ae=this.src.__lookupGetter__(re),ce=this.src.__lookupSetter__(re);ae&&oe.__defineGetter__(re,ae),ce&&oe.__defineSetter__(re,ce),!ae&&!ce&&(oe[re]=this.src[re])}}return oe},ee.prototype.toCover=function(oe){for(var le=this.keys||Object.keys(this.src),pe=0;pe<le.length;pe++){var re=le[pe];delete oe[re];var ae=this.src.__lookupGetter__(re),ce=this.src.__lookupSetter__(re);ae&&oe.__defineGetter__(re,ae),ce&&oe.__defineSetter__(re,ce),!ae&&!ce&&(oe[re]=this.src[re])}},ee.prototype.override=ee.prototype.toCover,ee.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(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/is-callable"),ie=E("../internals/try-to-string"),oe=ne.TypeError;je.exports=function(le){if(ee(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(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/is-constructor"),ie=E("../internals/try-to-string"),oe=ne.TypeError;je.exports=function(le){if(ee(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(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/is-callable"),ie=ne.String,oe=ne.TypeError;je.exports=function(le){if(typeof le=="object"||ee(le))return le;throw oe("Can't set "+ie(le)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,je,ve){var ne=E("../internals/well-known-symbol"),ee=E("../internals/object-create"),ie=E("../internals/object-define-property"),oe=ne("unscopables"),le=Array.prototype;le[oe]==null&&ie.f(le,oe,{configurable:!0,value:ee(null)}),je.exports=function(pe){le[oe][pe]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(E,je,ve){"use strict";var ne=E("../internals/string-multibyte").charAt;je.exports=function(ee,ie,oe){return ie+(oe?ne(ee,ie).length:1)}},{"../internals/string-multibyte":239}],100:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/object-is-prototype-of"),ie=ne.TypeError;je.exports=function(oe,le){if(ee(le,oe))return oe;throw ie("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/is-object"),ie=ne.String,oe=ne.TypeError;je.exports=function(le){if(ee(le))return le;throw oe(ie(le)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(E,je,ve){je.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-native"),ee=E("../internals/descriptors"),ie=E("../internals/global"),oe=E("../internals/is-callable"),le=E("../internals/is-object"),pe=E("../internals/has-own-property"),re=E("../internals/classof"),ae=E("../internals/try-to-string"),ce=E("../internals/create-non-enumerable-property"),de=E("../internals/redefine"),me=E("../internals/object-define-property").f,we=E("../internals/object-is-prototype-of"),xe=E("../internals/object-get-prototype-of"),Ae=E("../internals/object-set-prototype-of"),ye=E("../internals/well-known-symbol"),Ee=E("../internals/uid"),Le=ie.Int8Array,Ce=Le&&Le.prototype,_e=ie.Uint8ClampedArray,Me=_e&&_e.prototype,De=Le&&xe(Le),Se=Ce&&xe(Ce),Be=Object.prototype,Re=ie.TypeError,Xe=ye("toStringTag"),Ie=Ee("TYPED_ARRAY_TAG"),Ye=Ee("TYPED_ARRAY_CONSTRUCTOR"),Ge=ne&&!!Ae&&re(ie.opera)!=="Opera",qe=!1,it,st,Ve,Qe={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(Pt){if(!le(Pt))return!1;var Mt=re(Pt);return Mt==="DataView"||pe(Qe,Mt)||pe(nt,Mt)},at=function(pt){if(!le(pt))return!1;var Pt=re(pt);return pe(Qe,Pt)||pe(nt,Pt)},tt=function(pt){if(at(pt))return pt;throw Re("Target is not a typed array")},et=function(pt){if(oe(pt)&&(!Ae||we(De,pt)))return pt;throw Re(ae(pt)+" is not a typed array constructor")},ot=function(pt,Pt,Mt,ct){if(ee){if(Mt)for(var Je in Qe){var Ze=ie[Je];if(Ze&&pe(Ze.prototype,pt))try{delete Ze.prototype[pt]}catch(ue){try{Ze.prototype[pt]=Pt}catch(he){}}}(!Se[pt]||Mt)&&de(Se,pt,Mt?Pt:Ge&&Ce[pt]||Pt,ct)}},yt=function(pt,Pt,Mt){var ct,Je;if(ee){if(Ae){if(Mt){for(ct in Qe)if(Je=ie[ct],Je&&pe(Je,pt))try{delete Je[pt]}catch(Ze){}}if(!De[pt]||Mt)try{return de(De,pt,Mt?Pt:Ge&&De[pt]||Pt)}catch(Ze){}else return}for(ct in Qe)Je=ie[ct],Je&&(!Je[pt]||Mt)&&de(Je,pt,Pt)}};for(it in Qe)st=ie[it],Ve=st&&st.prototype,Ve?ce(Ve,Ye,st):Ge=!1;for(it in nt)st=ie[it],Ve=st&&st.prototype,Ve&&ce(Ve,Ye,st);if((!Ge||!oe(De)||De===Function.prototype)&&(De=function(){throw Re("Incorrect invocation")},Ge))for(it in Qe)ie[it]&&Ae(ie[it],De);if((!Ge||!Se||Se===Be)&&(Se=De.prototype,Ge))for(it in Qe)ie[it]&&Ae(ie[it].prototype,Se);if(Ge&&xe(Me)!==Se&&Ae(Me,Se),ee&&!pe(Se,Xe)){qe=!0,me(Se,Xe,{get:function(){return le(this)?this[Ie]:void 0}});for(it in Qe)ie[it]&&ce(ie[it],Ie,it)}je.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ge,TYPED_ARRAY_CONSTRUCTOR:Ye,TYPED_ARRAY_TAG:qe&&Ie,aTypedArray:tt,aTypedArrayConstructor:et,exportTypedArrayMethod:ot,exportTypedArrayStaticMethod:yt,isView:dt,isTypedArray:at,TypedArray:De,TypedArrayPrototype:Se}},{"../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(E,je,ve){"use strict";var ne=E("../internals/global"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/descriptors"),oe=E("../internals/array-buffer-native"),le=E("../internals/function-name"),pe=E("../internals/create-non-enumerable-property"),re=E("../internals/redefine-all"),ae=E("../internals/fails"),ce=E("../internals/an-instance"),de=E("../internals/to-integer-or-infinity"),me=E("../internals/to-length"),we=E("../internals/to-index"),xe=E("../internals/ieee754"),Ae=E("../internals/object-get-prototype-of"),ye=E("../internals/object-set-prototype-of"),Ee=E("../internals/object-get-own-property-names").f,Le=E("../internals/object-define-property").f,Ce=E("../internals/array-fill"),_e=E("../internals/array-slice-simple"),Me=E("../internals/set-to-string-tag"),De=E("../internals/internal-state"),Se=le.PROPER,Be=le.CONFIGURABLE,Re=De.get,Xe=De.set,Ie="ArrayBuffer",Ye="DataView",Ge="prototype",qe="Wrong length",it="Wrong index",st=ne[Ie],Ve=st,Qe=Ve&&Ve[Ge],nt=ne[Ye],dt=nt&&nt[Ge],at=Object.prototype,tt=ne.Array,et=ne.RangeError,ot=ee(Ce),yt=ee([].reverse),pt=xe.pack,Pt=xe.unpack,Mt=function(lt){return[lt&255]},ct=function(lt){return[lt&255,lt>>8&255]},Je=function(lt){return[lt&255,lt>>8&255,lt>>16&255,lt>>24&255]},Ze=function(lt){return lt[3]<<24|lt[2]<<16|lt[1]<<8|lt[0]},ue=function(lt){return pt(lt,23,4)},he=function(lt){return pt(lt,52,8)},He=function(lt,Dt){Le(lt[Ge],Dt,{get:function(){return Re(this)[Dt]}})},We=function(lt,Dt,Wt,wt){var zt=we(Wt),Nt=Re(lt);if(zt+Dt>Nt.byteLength)throw et(it);var St=Re(Nt.buffer).bytes,ft=zt+Nt.byteOffset,Et=_e(St,ft,ft+Dt);return wt?Et:yt(Et)},fe=function(lt,Dt,Wt,wt,zt,Nt){var St=we(Wt),ft=Re(lt);if(St+Dt>ft.byteLength)throw et(it);for(var Et=Re(ft.buffer).bytes,Ft=St+ft.byteOffset,Kt=wt(+zt),Zt=0;Zt<Dt;Zt++)Et[Ft+Zt]=Kt[Nt?Zt:Dt-Zt-1]};if(!oe)Ve=function(Dt){ce(this,Qe);var Wt=we(Dt);Xe(this,{bytes:ot(tt(Wt),0),byteLength:Wt}),ie||(this.byteLength=Wt)},Qe=Ve[Ge],nt=function(Dt,Wt,wt){ce(this,dt),ce(Dt,Qe);var zt=Re(Dt).byteLength,Nt=de(Wt);if(Nt<0||Nt>zt)throw et("Wrong offset");if(wt=wt===void 0?zt-Nt:me(wt),Nt+wt>zt)throw et(qe);Xe(this,{buffer:Dt,byteLength:wt,byteOffset:Nt}),ie||(this.buffer=Dt,this.byteLength=wt,this.byteOffset=Nt)},dt=nt[Ge],ie&&(He(Ve,"byteLength"),He(nt,"buffer"),He(nt,"byteLength"),He(nt,"byteOffset")),re(dt,{getInt8:function(Dt){return We(this,1,Dt)[0]<<24>>24},getUint8:function(Dt){return We(this,1,Dt)[0]},getInt16:function(Dt){var Wt=We(this,2,Dt,arguments.length>1?arguments[1]:void 0);return(Wt[1]<<8|Wt[0])<<16>>16},getUint16:function(Dt){var Wt=We(this,2,Dt,arguments.length>1?arguments[1]:void 0);return Wt[1]<<8|Wt[0]},getInt32:function(Dt){return Ze(We(this,4,Dt,arguments.length>1?arguments[1]:void 0))},getUint32:function(Dt){return Ze(We(this,4,Dt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(Dt){return Pt(We(this,4,Dt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(Dt){return Pt(We(this,8,Dt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(Dt,Wt){fe(this,1,Dt,Mt,Wt)},setUint8:function(Dt,Wt){fe(this,1,Dt,Mt,Wt)},setInt16:function(Dt,Wt){fe(this,2,Dt,ct,Wt,arguments.length>2?arguments[2]:void 0)},setUint16:function(Dt,Wt){fe(this,2,Dt,ct,Wt,arguments.length>2?arguments[2]:void 0)},setInt32:function(Dt,Wt){fe(this,4,Dt,Je,Wt,arguments.length>2?arguments[2]:void 0)},setUint32:function(Dt,Wt){fe(this,4,Dt,Je,Wt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(Dt,Wt){fe(this,4,Dt,ue,Wt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(Dt,Wt){fe(this,8,Dt,he,Wt,arguments.length>2?arguments[2]:void 0)}});else{var Pe=Se&&st.name!==Ie;if(!ae(function(){st(1)})||!ae(function(){new st(-1)})||ae(function(){return new st,new st(1.5),new st(NaN),Pe&&!Be})){Ve=function(Dt){return ce(this,Qe),new st(we(Dt))},Ve[Ge]=Qe;for(var Fe=Ee(st),Ke=0,Ue;Fe.length>Ke;)(Ue=Fe[Ke++])in Ve||pe(Ve,Ue,st[Ue]);Qe.constructor=Ve}else Pe&&Be&&pe(st,"name",Ie);ye&&Ae(dt)!==at&&ye(dt,at);var ut=new nt(new Ve(2)),vt=ee(dt.setInt8);ut.setInt8(0,2147483648),ut.setInt8(1,2147483649),(ut.getInt8(0)||!ut.getInt8(1))&&re(dt,{setInt8:function(Dt,Wt){vt(this,Dt,Wt<<24>>24)},setUint8:function(Dt,Wt){vt(this,Dt,Wt<<24>>24)}},{unsafe:!0})}Me(Ve,Ie),Me(nt,Ye),je.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(E,je,ve){"use strict";var ne=E("../internals/to-object"),ee=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),oe=Math.min;je.exports=[].copyWithin||function(pe,re){var ae=ne(this),ce=ie(ae),de=ee(pe,ce),me=ee(re,ce),we=arguments.length>2?arguments[2]:void 0,xe=oe((we===void 0?ce:ee(we,ce))-me,ce-de),Ae=1;for(me<de&&de<me+xe&&(Ae=-1,me+=xe-1,de+=xe-1);xe-- >0;)me in ae?ae[de]=ae[me]:delete ae[de],de+=Ae,me+=Ae;return ae}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,je,ve){"use strict";var ne=E("../internals/to-object"),ee=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like");je.exports=function(le){for(var pe=ne(this),re=ie(pe),ae=arguments.length,ce=ee(ae>1?arguments[1]:void 0,re),de=ae>2?arguments[2]:void 0,me=de===void 0?re:ee(de,re);me>ce;)pe[ce++]=le;return pe}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,je,ve){"use strict";var ne=E("../internals/array-iteration").forEach,ee=E("../internals/array-method-is-strict"),ie=ee("forEach");je.exports=ie?[].forEach:function(le){return ne(this,le,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,je,ve){var ne=E("../internals/length-of-array-like");je.exports=function(ee,ie){for(var oe=0,le=ne(ie),pe=new ee(le);le>oe;)pe[oe]=ie[oe++];return pe}},{"../internals/length-of-array-like":188}],109:[function(E,je,ve){"use strict";var ne=E("../internals/global"),ee=E("../internals/function-bind-context"),ie=E("../internals/function-call"),oe=E("../internals/to-object"),le=E("../internals/call-with-safe-iteration-closing"),pe=E("../internals/is-array-iterator-method"),re=E("../internals/is-constructor"),ae=E("../internals/length-of-array-like"),ce=E("../internals/create-property"),de=E("../internals/get-iterator"),me=E("../internals/get-iterator-method"),we=ne.Array;je.exports=function(Ae){var ye=oe(Ae),Ee=re(this),Le=arguments.length,Ce=Le>1?arguments[1]:void 0,_e=Ce!==void 0;_e&&(Ce=ee(Ce,Le>2?arguments[2]:void 0));var Me=me(ye),De=0,Se,Be,Re,Xe,Ie,Ye;if(Me&&!(this==we&&pe(Me)))for(Xe=de(ye,Me),Ie=Xe.next,Be=Ee?new this:[];!(Re=ie(Ie,Xe)).done;De++)Ye=_e?le(Xe,Ce,[Re.value,De],!0):Re.value,ce(Be,De,Ye);else for(Se=ae(ye),Be=Ee?new this(Se):we(Se);Se>De;De++)Ye=_e?Ce(ye[De],De):ye[De],ce(Be,De,Ye);return Be.length=De,Be}},{"../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(E,je,ve){var ne=E("../internals/to-indexed-object"),ee=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),oe=function(le){return function(pe,re,ae){var ce=ne(pe),de=ie(ce),me=ee(ae,de),we;if(le&&re!=re){for(;de>me;)if(we=ce[me++],we!=we)return!0}else for(;de>me;me++)if((le||me in ce)&&ce[me]===re)return le||me||0;return!le&&-1}};je.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(E,je,ve){var ne=E("../internals/function-bind-context"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),oe=E("../internals/to-object"),le=E("../internals/length-of-array-like"),pe=E("../internals/array-species-create"),re=ee([].push),ae=function(ce){var de=ce==1,me=ce==2,we=ce==3,xe=ce==4,Ae=ce==6,ye=ce==7,Ee=ce==5||Ae;return function(Le,Ce,_e,Me){for(var De=oe(Le),Se=ie(De),Be=ne(Ce,_e),Re=le(Se),Xe=0,Ie=Me||pe,Ye=de?Ie(Le,Re):me||ye?Ie(Le,0):void 0,Ge,qe;Re>Xe;Xe++)if((Ee||Xe in Se)&&(Ge=Se[Xe],qe=Be(Ge,Xe,De),ce))if(de)Ye[Xe]=qe;else if(qe)switch(ce){case 3:return!0;case 5:return Ge;case 6:return Xe;case 2:re(Ye,Ge)}else switch(ce){case 4:return!1;case 7:re(Ye,Ge)}return Ae?-1:we||xe?xe:Ye}};je.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(E,je,ve){"use strict";var ne=E("../internals/function-apply"),ee=E("../internals/to-indexed-object"),ie=E("../internals/to-integer-or-infinity"),oe=E("../internals/length-of-array-like"),le=E("../internals/array-method-is-strict"),pe=Math.min,re=[].lastIndexOf,ae=!!re&&1/[1].lastIndexOf(1,-0)<0,ce=le("lastIndexOf"),de=ae||!ce;je.exports=de?function(we){if(ae)return ne(re,this,arguments)||0;var xe=ee(this),Ae=oe(xe),ye=Ae-1;for(arguments.length>1&&(ye=pe(ye,ie(arguments[1]))),ye<0&&(ye=Ae+ye);ye>=0;ye--)if(ye in xe&&xe[ye]===we)return ye||0;return-1}:re},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(E,je,ve){var ne=E("../internals/fails"),ee=E("../internals/well-known-symbol"),ie=E("../internals/engine-v8-version"),oe=ee("species");je.exports=function(le){return ie>=51||!ne(function(){var pe=[],re=pe.constructor={};return re[oe]=function(){return{foo:1}},pe[le](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,je,ve){"use strict";var ne=E("../internals/fails");je.exports=function(ee,ie){var oe=[][ee];return!!oe&&ne(function(){oe.call(null,ie||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/a-callable"),ie=E("../internals/to-object"),oe=E("../internals/indexed-object"),le=E("../internals/length-of-array-like"),pe=ne.TypeError,re=function(ae){return function(ce,de,me,we){ee(de);var xe=ie(ce),Ae=oe(xe),ye=le(xe),Ee=ae?ye-1:0,Le=ae?-1:1;if(me<2)for(;;){if(Ee in Ae){we=Ae[Ee],Ee+=Le;break}if(Ee+=Le,ae?Ee<0:ye<=Ee)throw pe("Reduce of empty array with no initial value")}for(;ae?Ee>=0:ye>Ee;Ee+=Le)Ee in Ae&&(we=de(we,Ae[Ee],Ee,xe));return we}};je.exports={left:re(!1),right:re(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),oe=E("../internals/create-property"),le=ne.Array,pe=Math.max;je.exports=function(re,ae,ce){for(var de=ie(re),me=ee(ae,de),we=ee(ce===void 0?de:ce,de),xe=le(pe(we-me,0)),Ae=0;me<we;me++,Ae++)oe(xe,Ae,re[me]);return xe.length=Ae,xe}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(E,je,ve){var ne=E("../internals/function-uncurry-this");je.exports=ne([].slice)},{"../internals/function-uncurry-this":157}],118:[function(E,je,ve){var ne=E("../internals/array-slice-simple"),ee=Math.floor,ie=function(pe,re){var ae=pe.length,ce=ee(ae/2);return ae<8?oe(pe,re):le(pe,ie(ne(pe,0,ce),re),ie(ne(pe,ce),re),re)},oe=function(pe,re){for(var ae=pe.length,ce=1,de,me;ce<ae;){for(me=ce,de=pe[ce];me&&re(pe[me-1],de)>0;)pe[me]=pe[--me];me!==ce++&&(pe[me]=de)}return pe},le=function(pe,re,ae,ce){for(var de=re.length,me=ae.length,we=0,xe=0;we<de||xe<me;)pe[we+xe]=we<de&&xe<me?ce(re[we],ae[xe])<=0?re[we++]:ae[xe++]:we<de?re[we++]:ae[xe++];return pe};je.exports=ie},{"../internals/array-slice-simple":116}],119:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/is-array"),ie=E("../internals/is-constructor"),oe=E("../internals/is-object"),le=E("../internals/well-known-symbol"),pe=le("species"),re=ne.Array;je.exports=function(ae){var ce;return ee(ae)&&(ce=ae.constructor,ie(ce)&&(ce===re||ee(ce.prototype))?ce=void 0:oe(ce)&&(ce=ce[pe],ce===null&&(ce=void 0))),ce===void 0?re:ce}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(E,je,ve){var ne=E("../internals/array-species-constructor");je.exports=function(ee,ie){return new(ne(ee))(ie===0?0:ie)}},{"../internals/array-species-constructor":119}],121:[function(E,je,ve){var ne=E("../internals/an-object"),ee=E("../internals/iterator-close");je.exports=function(ie,oe,le,pe){try{return pe?oe(ne(le)[0],le[1]):oe(le)}catch(re){ee(ie,"throw",re)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,je,ve){var ne=E("../internals/well-known-symbol"),ee=ne("iterator"),ie=!1;try{var oe=0,le={next:function(){return{done:!!oe++}},return:function(){ie=!0}};le[ee]=function(){return this},Array.from(le,function(){throw 2})}catch(pe){}je.exports=function(pe,re){if(!re&&!ie)return!1;var ae=!1;try{var ce={};ce[ee]=function(){return{next:function(){return{done:ae=!0}}}},pe(ce)}catch(de){}return ae}},{"../internals/well-known-symbol":268}],123:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=ne({}.toString),ie=ne("".slice);je.exports=function(oe){return ie(ee(oe),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/to-string-tag-support"),ie=E("../internals/is-callable"),oe=E("../internals/classof-raw"),le=E("../internals/well-known-symbol"),pe=le("toStringTag"),re=ne.Object,ae=oe(function(){return arguments}())=="Arguments",ce=function(de,me){try{return de[me]}catch(we){}};je.exports=ee?oe:function(de){var me,we,xe;return de===void 0?"Undefined":de===null?"Null":typeof(we=ce(me=re(de),pe))=="string"?we:ae?oe(me):(xe=oe(me))=="Object"&&ie(me.callee)?"Arguments":xe}},{"../internals/classof-raw":123,"../internals/global":163,"../internals/is-callable":176,"../internals/to-string-tag-support":255,"../internals/well-known-symbol":268}],125:[function(E,je,ve){var ne=E("../internals/has-own-property"),ee=E("../internals/own-keys"),ie=E("../internals/object-get-own-property-descriptor"),oe=E("../internals/object-define-property");je.exports=function(le,pe,re){for(var ae=ee(pe),ce=oe.f,de=ie.f,me=0;me<ae.length;me++){var we=ae[me];!ne(le,we)&&!(re&&ne(re,we))&&ce(le,we,de(pe,we))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(E,je,ve){var ne=E("../internals/well-known-symbol"),ee=ne("match");je.exports=function(ie){var oe=/./;try{"/./"[ie](oe)}catch(le){try{return oe[ee]=!1,"/./"[ie](oe)}catch(pe){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,je,ve){var ne=E("../internals/fails");je.exports=!ne(function(){function ee(){}return ee.prototype.constructor=null,Object.getPrototypeOf(new ee)!==ee.prototype})},{"../internals/fails":150}],128:[function(E,je,ve){"use strict";var ne=E("../internals/iterators-core").IteratorPrototype,ee=E("../internals/object-create"),ie=E("../internals/create-property-descriptor"),oe=E("../internals/set-to-string-tag"),le=E("../internals/iterators"),pe=function(){return this};je.exports=function(re,ae,ce,de){var me=ae+" Iterator";return re.prototype=ee(ne,{next:ie(+!de,ce)}),oe(re,me,!1,!0),le[me]=pe,re}},{"../internals/create-property-descriptor":130,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-create":196,"../internals/set-to-string-tag":234}],129:[function(E,je,ve){var ne=E("../internals/descriptors"),ee=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");je.exports=ne?function(oe,le,pe){return ee.f(oe,le,ie(1,pe))}:function(oe,le,pe){return oe[le]=pe,oe}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,je,ve){je.exports=function(ne,ee){return{enumerable:!(ne&1),configurable:!(ne&2),writable:!(ne&4),value:ee}}},{}],131:[function(E,je,ve){"use strict";var ne=E("../internals/to-property-key"),ee=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");je.exports=function(oe,le,pe){var re=ne(le);re in oe?ee.f(oe,re,ie(0,pe)):oe[re]=pe}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/function-call"),ie=E("../internals/is-pure"),oe=E("../internals/function-name"),le=E("../internals/is-callable"),pe=E("../internals/create-iterator-constructor"),re=E("../internals/object-get-prototype-of"),ae=E("../internals/object-set-prototype-of"),ce=E("../internals/set-to-string-tag"),de=E("../internals/create-non-enumerable-property"),me=E("../internals/redefine"),we=E("../internals/well-known-symbol"),xe=E("../internals/iterators"),Ae=E("../internals/iterators-core"),ye=oe.PROPER,Ee=oe.CONFIGURABLE,Le=Ae.IteratorPrototype,Ce=Ae.BUGGY_SAFARI_ITERATORS,_e=we("iterator"),Me="keys",De="values",Se="entries",Be=function(){return this};je.exports=function(Re,Xe,Ie,Ye,Ge,qe,it){pe(Ie,Xe,Ye);var st=function(pt){if(pt===Ge&&at)return at;if(!Ce&&pt in nt)return nt[pt];switch(pt){case Me:return function(){return new Ie(this,pt)};case De:return function(){return new Ie(this,pt)};case Se:return function(){return new Ie(this,pt)}}return function(){return new Ie(this)}},Ve=Xe+" Iterator",Qe=!1,nt=Re.prototype,dt=nt[_e]||nt["@@iterator"]||Ge&&nt[Ge],at=!Ce&&dt||st(Ge),tt=Xe=="Array"&&nt.entries||dt,et,ot,yt;if(tt&&(et=re(tt.call(new Re)),et!==Object.prototype&&et.next&&(!ie&&re(et)!==Le&&(ae?ae(et,Le):le(et[_e])||me(et,_e,Be)),ce(et,Ve,!0,!0),ie&&(xe[Ve]=Be))),ye&&Ge==De&&dt&&dt.name!==De&&(!ie&&Ee?de(nt,"name",De):(Qe=!0,at=function(){return ee(dt,this)})),Ge)if(ot={values:st(De),keys:qe?at:st(Me),entries:st(Se)},it)for(yt in ot)(Ce||Qe||!(yt in nt))&&me(nt,yt,ot[yt]);else ne({target:Xe,proto:!0,forced:Ce||Qe},ot);return(!ie||it)&&nt[_e]!==at&&me(nt,_e,at,{name:Ge}),xe[Xe]=at,ot}},{"../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(E,je,ve){var ne=E("../internals/path"),ee=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol-wrapped"),oe=E("../internals/object-define-property").f;je.exports=function(le){var pe=ne.Symbol||(ne.Symbol={});ee(pe,le)||oe(pe,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(E,je,ve){var ne=E("../internals/fails");je.exports=!ne(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/is-object"),ie=ne.document,oe=ee(ie)&&ee(ie.createElement);je.exports=function(le){return oe?ie.createElement(le):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(E,je,ve){je.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(E,je,ve){var ne=E("../internals/document-create-element"),ee=ne("span").classList,ie=ee&&ee.constructor&&ee.constructor.prototype;je.exports=ie===Object.prototype?void 0:ie},{"../internals/document-create-element":135}],138:[function(E,je,ve){var ne=E("../internals/engine-user-agent"),ee=ne.match(/firefox\/(\d+)/i);je.exports=!!ee&&+ee[1]},{"../internals/engine-user-agent":145}],139:[function(E,je,ve){je.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(E,je,ve){var ne=E("../internals/engine-user-agent");je.exports=/MSIE|Trident/.test(ne)},{"../internals/engine-user-agent":145}],141:[function(E,je,ve){var ne=E("../internals/engine-user-agent"),ee=E("../internals/global");je.exports=/ipad|iphone|ipod/i.test(ne)&&ee.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(E,je,ve){var ne=E("../internals/engine-user-agent");je.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(ne)},{"../internals/engine-user-agent":145}],143:[function(E,je,ve){var ne=E("../internals/classof-raw"),ee=E("../internals/global");je.exports=ne(ee.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(E,je,ve){var ne=E("../internals/engine-user-agent");je.exports=/web0s(?!.*chrome)/i.test(ne)},{"../internals/engine-user-agent":145}],145:[function(E,je,ve){var ne=E("../internals/get-built-in");je.exports=ne("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/engine-user-agent"),ie=ne.process,oe=ne.Deno,le=ie&&ie.versions||oe&&oe.version,pe=le&&le.v8,re,ae;pe&&(re=pe.split("."),ae=re[0]>0&&re[0]<4?1:+(re[0]+re[1])),!ae&&ee&&(re=ee.match(/Edge\/(\d+)/),(!re||re[1]>=74)&&(re=ee.match(/Chrome\/(\d+)/),re&&(ae=+re[1]))),je.exports=ae},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,je,ve){var ne=E("../internals/engine-user-agent"),ee=ne.match(/AppleWebKit\/(\d+)\./);je.exports=!!ee&&+ee[1]},{"../internals/engine-user-agent":145}],148:[function(E,je,ve){je.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/object-get-own-property-descriptor").f,ie=E("../internals/create-non-enumerable-property"),oe=E("../internals/redefine"),le=E("../internals/set-global"),pe=E("../internals/copy-constructor-properties"),re=E("../internals/is-forced");je.exports=function(ae,ce){var de=ae.target,me=ae.global,we=ae.stat,xe,Ae,ye,Ee,Le,Ce;if(me?Ae=ne:we?Ae=ne[de]||le(de,{}):Ae=(ne[de]||{}).prototype,Ae)for(ye in ce){if(Le=ce[ye],ae.noTargetGet?(Ce=ee(Ae,ye),Ee=Ce&&Ce.value):Ee=Ae[ye],xe=re(me?ye:de+(we?".":"#")+ye,ae.forced),!xe&&Ee!==void 0){if(typeof Le==typeof Ee)continue;pe(Le,Ee)}(ae.sham||Ee&&Ee.sham)&&ie(Le,"sham",!0),oe(Ae,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(E,je,ve){je.exports=function(ne){try{return!!ne()}catch(ee){return!0}}},{}],151:[function(E,je,ve){"use strict";E("../modules/es.regexp.exec");var ne=E("../internals/function-uncurry-this"),ee=E("../internals/redefine"),ie=E("../internals/regexp-exec"),oe=E("../internals/fails"),le=E("../internals/well-known-symbol"),pe=E("../internals/create-non-enumerable-property"),re=le("species"),ae=RegExp.prototype;je.exports=function(ce,de,me,we){var xe=le(ce),Ae=!oe(function(){var Ce={};return Ce[xe]=function(){return 7},""[ce](Ce)!=7}),ye=Ae&&!oe(function(){var Ce=!1,_e=/a/;return ce==="split"&&(_e={},_e.constructor={},_e.constructor[re]=function(){return _e},_e.flags="",_e[xe]=/./[xe]),_e.exec=function(){return Ce=!0,null},_e[xe](""),!Ce});if(!Ae||!ye||me){var Ee=ne(/./[xe]),Le=de(xe,""[ce],function(Ce,_e,Me,De,Se){var Be=ne(Ce),Re=_e.exec;return Re===ie||Re===ae.exec?Ae&&!Se?{done:!0,value:Ee(_e,Me,De)}:{done:!0,value:Be(Me,_e,De)}:{done:!1}});ee(String.prototype,ce,Le[0]),ee(ae,xe,Le[1])}we&&pe(ae[xe],"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(E,je,ve){var ne=E("../internals/function-bind-native"),ee=Function.prototype,ie=ee.apply,oe=ee.call;je.exports=typeof Reflect=="object"&&Reflect.apply||(ne?oe.bind(ie):function(){return oe.apply(ie,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=E("../internals/a-callable"),ie=E("../internals/function-bind-native"),oe=ne(ne.bind);je.exports=function(le,pe){return ee(le),pe===void 0?le:ie?oe(le,pe):function(){return le.apply(pe,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,je,ve){var ne=E("../internals/fails");je.exports=!ne(function(){var ee=function(){}.bind();return typeof ee!="function"||ee.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,je,ve){var ne=E("../internals/function-bind-native"),ee=Function.prototype.call;je.exports=ne?ee.bind(ee):function(){return ee.apply(ee,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,je,ve){var ne=E("../internals/descriptors"),ee=E("../internals/has-own-property"),ie=Function.prototype,oe=ne&&Object.getOwnPropertyDescriptor,le=ee(ie,"name"),pe=le&&function(){}.name==="something",re=le&&(!ne||ne&&oe(ie,"name").configurable);je.exports={EXISTS:le,PROPER:pe,CONFIGURABLE:re}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,je,ve){var ne=E("../internals/function-bind-native"),ee=Function.prototype,ie=ee.bind,oe=ee.call,le=ne&&ie.bind(oe,oe);je.exports=ne?function(pe){return pe&&le(pe)}:function(pe){return pe&&function(){return oe.apply(pe,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/is-callable"),ie=function(oe){return ee(oe)?oe:void 0};je.exports=function(oe,le){return arguments.length<2?ie(ne[oe]):ne[oe]&&ne[oe][le]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,je,ve){var ne=E("../internals/classof"),ee=E("../internals/get-method"),ie=E("../internals/iterators"),oe=E("../internals/well-known-symbol"),le=oe("iterator");je.exports=function(pe){if(pe!=null)return ee(pe,le)||ee(pe,"@@iterator")||ie[ne(pe)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/function-call"),ie=E("../internals/a-callable"),oe=E("../internals/an-object"),le=E("../internals/try-to-string"),pe=E("../internals/get-iterator-method"),re=ne.TypeError;je.exports=function(ae,ce){var de=arguments.length<2?pe(ae):ce;if(ie(de))return oe(ee(de,ae));throw re(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(E,je,ve){var ne=E("../internals/a-callable");je.exports=function(ee,ie){var oe=ee[ie];return oe==null?void 0:ne(oe)}},{"../internals/a-callable":95}],162:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=E("../internals/to-object"),ie=Math.floor,oe=ne("".charAt),le=ne("".replace),pe=ne("".slice),re=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ae=/\$([$&'`]|\d{1,2})/g;je.exports=function(ce,de,me,we,xe,Ae){var ye=me+ce.length,Ee=we.length,Le=ae;return xe!==void 0&&(xe=ee(xe),Le=re),le(Ae,Le,function(Ce,_e){var Me;switch(oe(_e,0)){case"$":return"$";case"&":return ce;case"`":return pe(de,0,me);case"'":return pe(de,ye);case"<":Me=xe[pe(_e,1,-1)];break;default:var De=+_e;if(De===0)return Ce;if(De>Ee){var Se=ie(De/10);return Se===0?Ce:Se<=Ee?we[Se-1]===void 0?oe(_e,1):we[Se-1]+oe(_e,1):Ce}Me=we[De-1]}return Me===void 0?"":Me})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,je,ve){(function(ne){(function(){var ee=function(ie){return ie&&ie.Math==Math&&ie};je.exports=ee(typeof globalThis=="object"&&globalThis)||ee(typeof window=="object"&&window)||ee(typeof self=="object"&&self)||ee(typeof ne=="object"&&ne)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=E("../internals/to-object"),ie=ne({}.hasOwnProperty);je.exports=Object.hasOwn||function(le,pe){return ie(ee(le),pe)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,je,ve){je.exports={}},{}],166:[function(E,je,ve){var ne=E("../internals/global");je.exports=function(ee,ie){var oe=ne.console;oe&&oe.error&&(arguments.length==1?oe.error(ee):oe.error(ee,ie))}},{"../internals/global":163}],167:[function(E,je,ve){var ne=E("../internals/get-built-in");je.exports=ne("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,je,ve){var ne=E("../internals/descriptors"),ee=E("../internals/fails"),ie=E("../internals/document-create-element");je.exports=!ne&&!ee(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(E,je,ve){var ne=E("../internals/global"),ee=ne.Array,ie=Math.abs,oe=Math.pow,le=Math.floor,pe=Math.log,re=Math.LN2,ae=function(de,me,we){var xe=ee(we),Ae=we*8-me-1,ye=(1<<Ae)-1,Ee=ye>>1,Le=me===23?oe(2,-24)-oe(2,-77):0,Ce=de<0||de===0&&1/de<0?1:0,_e=0,Me,De,Se;for(de=ie(de),de!=de||de===1/0?(De=de!=de?1:0,Me=ye):(Me=le(pe(de)/re),Se=oe(2,-Me),de*Se<1&&(Me--,Se*=2),Me+Ee>=1?de+=Le/Se:de+=Le*oe(2,1-Ee),de*Se>=2&&(Me++,Se/=2),Me+Ee>=ye?(De=0,Me=ye):Me+Ee>=1?(De=(de*Se-1)*oe(2,me),Me=Me+Ee):(De=de*oe(2,Ee-1)*oe(2,me),Me=0));me>=8;)xe[_e++]=De&255,De/=256,me-=8;for(Me=Me<<me|De,Ae+=me;Ae>0;)xe[_e++]=Me&255,Me/=256,Ae-=8;return xe[--_e]|=Ce*128,xe},ce=function(de,me){var we=de.length,xe=we*8-me-1,Ae=(1<<xe)-1,ye=Ae>>1,Ee=xe-7,Le=we-1,Ce=de[Le--],_e=Ce&127,Me;for(Ce>>=7;Ee>0;)_e=_e*256+de[Le--],Ee-=8;for(Me=_e&(1<<-Ee)-1,_e>>=-Ee,Ee+=me;Ee>0;)Me=Me*256+de[Le--],Ee-=8;if(_e===0)_e=1-ye;else{if(_e===Ae)return Me?NaN:Ce?-1/0:1/0;Me=Me+oe(2,me),_e=_e-ye}return(Ce?-1:1)*Me*oe(2,_e-me)};je.exports={pack:ae,unpack:ce}},{"../internals/global":163}],170:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),oe=E("../internals/classof-raw"),le=ne.Object,pe=ee("".split);je.exports=ie(function(){return!le("z").propertyIsEnumerable(0)})?function(re){return oe(re)=="String"?pe(re,""):le(re)}:le},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,je,ve){var ne=E("../internals/is-callable"),ee=E("../internals/is-object"),ie=E("../internals/object-set-prototype-of");je.exports=function(oe,le,pe){var re,ae;return ie&&ne(re=le.constructor)&&re!==pe&&ee(ae=re.prototype)&&ae!==pe.prototype&&ie(oe,ae),oe}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=E("../internals/is-callable"),ie=E("../internals/shared-store"),oe=ne(Function.toString);ee(ie.inspectSource)||(ie.inspectSource=function(le){return oe(le)}),je.exports=ie.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,je,ve){var ne=E("../internals/native-weak-map"),ee=E("../internals/global"),ie=E("../internals/function-uncurry-this"),oe=E("../internals/is-object"),le=E("../internals/create-non-enumerable-property"),pe=E("../internals/has-own-property"),re=E("../internals/shared-store"),ae=E("../internals/shared-key"),ce=E("../internals/hidden-keys"),de="Object already initialized",me=ee.TypeError,we=ee.WeakMap,xe,Ae,ye,Ee=function(Be){return ye(Be)?Ae(Be):xe(Be,{})},Le=function(Be){return function(Re){var Xe;if(!oe(Re)||(Xe=Ae(Re)).type!==Be)throw me("Incompatible receiver, "+Be+" required");return Xe}};if(ne||re.state){var Ce=re.state||(re.state=new we),_e=ie(Ce.get),Me=ie(Ce.has),De=ie(Ce.set);xe=function(Be,Re){if(Me(Ce,Be))throw new me(de);return Re.facade=Be,De(Ce,Be,Re),Re},Ae=function(Be){return _e(Ce,Be)||{}},ye=function(Be){return Me(Ce,Be)}}else{var Se=ae("state");ce[Se]=!0,xe=function(Be,Re){if(pe(Be,Se))throw new me(de);return Re.facade=Be,le(Be,Se,Re),Re},Ae=function(Be){return pe(Be,Se)?Be[Se]:{}},ye=function(Be){return pe(Be,Se)}}je.exports={set:xe,get:Ae,has:ye,enforce:Ee,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(E,je,ve){var ne=E("../internals/well-known-symbol"),ee=E("../internals/iterators"),ie=ne("iterator"),oe=Array.prototype;je.exports=function(le){return le!==void 0&&(ee.Array===le||oe[ie]===le)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,je,ve){var ne=E("../internals/classof-raw");je.exports=Array.isArray||function(ie){return ne(ie)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,je,ve){je.exports=function(ne){return typeof ne=="function"}},{}],177:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=E("../internals/fails"),ie=E("../internals/is-callable"),oe=E("../internals/classof"),le=E("../internals/get-built-in"),pe=E("../internals/inspect-source"),re=function(){},ae=[],ce=le("Reflect","construct"),de=/^\s*(?:class|function)\b/,me=ne(de.exec),we=!de.exec(re),xe=function(Ee){if(!ie(Ee))return!1;try{return ce(re,ae,Ee),!0}catch(Le){return!1}},Ae=function(Ee){if(!ie(Ee))return!1;switch(oe(Ee)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return we||!!me(de,pe(Ee))}catch(Le){return!0}};Ae.sham=!0,je.exports=!ce||ee(function(){var ye;return xe(xe.call)||!xe(Object)||!xe(function(){ye=!0})||ye})?Ae:xe},{"../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(E,je,ve){var ne=E("../internals/fails"),ee=E("../internals/is-callable"),ie=/#|\.prototype\./,oe=function(ce,de){var me=pe[le(ce)];return me==ae?!0:me==re?!1:ee(de)?ne(de):!!de},le=oe.normalize=function(ce){return String(ce).replace(ie,".").toLowerCase()},pe=oe.data={},re=oe.NATIVE="N",ae=oe.POLYFILL="P";je.exports=oe},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,je,ve){var ne=E("../internals/is-object"),ee=Math.floor;je.exports=Number.isInteger||function(oe){return!ne(oe)&&isFinite(oe)&&ee(oe)===oe}},{"../internals/is-object":180}],180:[function(E,je,ve){var ne=E("../internals/is-callable");je.exports=function(ee){return typeof ee=="object"?ee!==null:ne(ee)}},{"../internals/is-callable":176}],181:[function(E,je,ve){je.exports=!1},{}],182:[function(E,je,ve){var ne=E("../internals/is-object"),ee=E("../internals/classof-raw"),ie=E("../internals/well-known-symbol"),oe=ie("match");je.exports=function(le){var pe;return ne(le)&&((pe=le[oe])!==void 0?!!pe:ee(le)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/get-built-in"),ie=E("../internals/is-callable"),oe=E("../internals/object-is-prototype-of"),le=E("../internals/use-symbol-as-uid"),pe=ne.Object;je.exports=le?function(re){return typeof re=="symbol"}:function(re){var ae=ee("Symbol");return ie(ae)&&oe(ae.prototype,pe(re))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/function-bind-context"),ie=E("../internals/function-call"),oe=E("../internals/an-object"),le=E("../internals/try-to-string"),pe=E("../internals/is-array-iterator-method"),re=E("../internals/length-of-array-like"),ae=E("../internals/object-is-prototype-of"),ce=E("../internals/get-iterator"),de=E("../internals/get-iterator-method"),me=E("../internals/iterator-close"),we=ne.TypeError,xe=function(ye,Ee){this.stopped=ye,this.result=Ee},Ae=xe.prototype;je.exports=function(ye,Ee,Le){var Ce=Le&&Le.that,_e=!!(Le&&Le.AS_ENTRIES),Me=!!(Le&&Le.IS_ITERATOR),De=!!(Le&&Le.INTERRUPTED),Se=ee(Ee,Ce),Be,Re,Xe,Ie,Ye,Ge,qe,it=function(Ve){return Be&&me(Be,"normal",Ve),new xe(!0,Ve)},st=function(Ve){return _e?(oe(Ve),De?Se(Ve[0],Ve[1],it):Se(Ve[0],Ve[1])):De?Se(Ve,it):Se(Ve)};if(Me)Be=ye;else{if(Re=de(ye),!Re)throw we(le(ye)+" is not iterable");if(pe(Re)){for(Xe=0,Ie=re(ye);Ie>Xe;Xe++)if(Ye=st(ye[Xe]),Ye&&ae(Ae,Ye))return Ye;return new xe(!1)}Be=ce(ye,Re)}for(Ge=Be.next;!(qe=ie(Ge,Be)).done;){try{Ye=st(qe.value)}catch(Ve){me(Be,"throw",Ve)}if(typeof Ye=="object"&&Ye&&ae(Ae,Ye))return Ye}return new xe(!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(E,je,ve){var ne=E("../internals/function-call"),ee=E("../internals/an-object"),ie=E("../internals/get-method");je.exports=function(oe,le,pe){var re,ae;ee(oe);try{if(re=ie(oe,"return"),!re){if(le==="throw")throw pe;return pe}re=ne(re,oe)}catch(ce){ae=!0,re=ce}if(le==="throw")throw pe;if(ae)throw re;return ee(re),pe}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,je,ve){"use strict";var ne=E("../internals/fails"),ee=E("../internals/is-callable"),ie=E("../internals/object-create"),oe=E("../internals/object-get-prototype-of"),le=E("../internals/redefine"),pe=E("../internals/well-known-symbol"),re=E("../internals/is-pure"),ae=pe("iterator"),ce=!1,de,me,we;[].keys&&(we=[].keys(),"next"in we?(me=oe(oe(we)),me!==Object.prototype&&(de=me)):ce=!0);var xe=de==null||ne(function(){var Ae={};return de[ae].call(Ae)!==Ae});xe?de={}:re&&(de=ie(de)),ee(de[ae])||le(de,ae,function(){return this}),je.exports={IteratorPrototype:de,BUGGY_SAFARI_ITERATORS:ce}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(E,je,ve){arguments[4][165][0].apply(ve,arguments)},{dup:165}],188:[function(E,je,ve){var ne=E("../internals/to-length");je.exports=function(ee){return ne(ee.length)}},{"../internals/to-length":249}],189:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/function-bind-context"),ie=E("../internals/object-get-own-property-descriptor").f,oe=E("../internals/task").set,le=E("../internals/engine-is-ios"),pe=E("../internals/engine-is-ios-pebble"),re=E("../internals/engine-is-webos-webkit"),ae=E("../internals/engine-is-node"),ce=ne.MutationObserver||ne.WebKitMutationObserver,de=ne.document,me=ne.process,we=ne.Promise,xe=ie(ne,"queueMicrotask"),Ae=xe&&xe.value,ye,Ee,Le,Ce,_e,Me,De,Se;Ae||(ye=function(){var Be,Re;for(ae&&(Be=me.domain)&&Be.exit();Ee;){Re=Ee.fn,Ee=Ee.next;try{Re()}catch(Xe){throw Ee?Ce():Le=void 0,Xe}}Le=void 0,Be&&Be.enter()},!le&&!ae&&!re&&ce&&de?(_e=!0,Me=de.createTextNode(""),new ce(ye).observe(Me,{characterData:!0}),Ce=function(){Me.data=_e=!_e}):!pe&&we&&we.resolve?(De=we.resolve(void 0),De.constructor=we,Se=ee(De.then,De),Ce=function(){Se(ye)}):ae?Ce=function(){me.nextTick(ye)}:(oe=ee(oe,ne),Ce=function(){oe(ye)})),je.exports=Ae||function(Be){var Re={fn:Be,next:void 0};Le&&(Le.next=Re),Ee||(Ee=Re,Ce()),Le=Re}},{"../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(E,je,ve){var ne=E("../internals/native-symbol");je.exports=ne&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,je,ve){var ne=E("../internals/engine-v8-version"),ee=E("../internals/fails");je.exports=!!Object.getOwnPropertySymbols&&!ee(function(){var ie=Symbol();return!String(ie)||!(Object(ie)instanceof Symbol)||!Symbol.sham&&ne&&ne<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/is-callable"),ie=E("../internals/inspect-source"),oe=ne.WeakMap;je.exports=ee(oe)&&/native code/.test(ie(oe))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,je,ve){"use strict";var ne=E("../internals/a-callable"),ee=function(ie){var oe,le;this.promise=new ie(function(pe,re){if(oe!==void 0||le!==void 0)throw TypeError("Bad Promise constructor");oe=pe,le=re}),this.resolve=ne(oe),this.reject=ne(le)};je.exports.f=function(ie){return new ee(ie)}},{"../internals/a-callable":95}],194:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/is-regexp"),ie=ne.TypeError;je.exports=function(oe){if(ee(oe))throw ie("The method doesn't accept regular expressions");return oe}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,je,ve){"use strict";var ne=E("../internals/descriptors"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/function-call"),oe=E("../internals/fails"),le=E("../internals/object-keys"),pe=E("../internals/object-get-own-property-symbols"),re=E("../internals/object-property-is-enumerable"),ae=E("../internals/to-object"),ce=E("../internals/indexed-object"),de=Object.assign,me=Object.defineProperty,we=ee([].concat);je.exports=!de||oe(function(){if(ne&&de({b:1},de(me({},"a",{enumerable:!0,get:function(){me(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var xe={},Ae={},ye=Symbol(),Ee="abcdefghijklmnopqrst";return xe[ye]=7,Ee.split("").forEach(function(Le){Ae[Le]=Le}),de({},xe)[ye]!=7||le(de({},Ae)).join("")!=Ee})?function(Ae,ye){for(var Ee=ae(Ae),Le=arguments.length,Ce=1,_e=pe.f,Me=re.f;Le>Ce;)for(var De=ce(arguments[Ce++]),Se=_e?we(le(De),_e(De)):le(De),Be=Se.length,Re=0,Xe;Be>Re;)Xe=Se[Re++],(!ne||ie(Me,De,Xe))&&(Ee[Xe]=De[Xe]);return Ee}: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(E,je,ve){var ne=E("../internals/an-object"),ee=E("../internals/object-define-properties"),ie=E("../internals/enum-bug-keys"),oe=E("../internals/hidden-keys"),le=E("../internals/html"),pe=E("../internals/document-create-element"),re=E("../internals/shared-key"),ae=">",ce="<",de="prototype",me="script",we=re("IE_PROTO"),xe=function(){},Ae=function(_e){return ce+me+ae+_e+ce+"/"+me+ae},ye=function(_e){_e.write(Ae("")),_e.close();var Me=_e.parentWindow.Object;return _e=null,Me},Ee=function(){var _e=pe("iframe"),Me="java"+me+":",De;return _e.style.display="none",le.appendChild(_e),_e.src=String(Me),De=_e.contentWindow.document,De.open(),De.write(Ae("document.F=Object")),De.close(),De.F},Le,Ce=function(){try{Le=new ActiveXObject("htmlfile")}catch(Me){}Ce=typeof document!="undefined"?document.domain&&Le?ye(Le):Ee():ye(Le);for(var _e=ie.length;_e--;)delete Ce[de][ie[_e]];return Ce()};oe[we]=!0,je.exports=Object.create||function(Me,De){var Se;return Me!==null?(xe[de]=ne(Me),Se=new xe,xe[de]=null,Se[we]=Me):Se=Ce(),De===void 0?Se:ee.f(Se,De)}},{"../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(E,je,ve){var ne=E("../internals/descriptors"),ee=E("../internals/v8-prototype-define-bug"),ie=E("../internals/object-define-property"),oe=E("../internals/an-object"),le=E("../internals/to-indexed-object"),pe=E("../internals/object-keys");ve.f=ne&&!ee?Object.defineProperties:function(ae,ce){oe(ae);for(var de=le(ce),me=pe(ce),we=me.length,xe=0,Ae;we>xe;)ie.f(ae,Ae=me[xe++],de[Ae]);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(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/descriptors"),ie=E("../internals/ie8-dom-define"),oe=E("../internals/v8-prototype-define-bug"),le=E("../internals/an-object"),pe=E("../internals/to-property-key"),re=ne.TypeError,ae=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,de="enumerable",me="configurable",we="writable";ve.f=ee?oe?function(Ae,ye,Ee){if(le(Ae),ye=pe(ye),le(Ee),typeof Ae=="function"&&ye==="prototype"&&"value"in Ee&&we in Ee&&!Ee[we]){var Le=ce(Ae,ye);Le&&Le[we]&&(Ae[ye]=Ee.value,Ee={configurable:me in Ee?Ee[me]:Le[me],enumerable:de in Ee?Ee[de]:Le[de],writable:!1})}return ae(Ae,ye,Ee)}:ae:function(Ae,ye,Ee){if(le(Ae),ye=pe(ye),le(Ee),ie)try{return ae(Ae,ye,Ee)}catch(Le){}if("get"in Ee||"set"in Ee)throw re("Accessors not supported");return"value"in Ee&&(Ae[ye]=Ee.value),Ae}},{"../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(E,je,ve){var ne=E("../internals/descriptors"),ee=E("../internals/function-call"),ie=E("../internals/object-property-is-enumerable"),oe=E("../internals/create-property-descriptor"),le=E("../internals/to-indexed-object"),pe=E("../internals/to-property-key"),re=E("../internals/has-own-property"),ae=E("../internals/ie8-dom-define"),ce=Object.getOwnPropertyDescriptor;ve.f=ne?ce:function(me,we){if(me=le(me),we=pe(we),ae)try{return ce(me,we)}catch(xe){}if(re(me,we))return oe(!ee(ie.f,me,we),me[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(E,je,ve){var ne=E("../internals/classof-raw"),ee=E("../internals/to-indexed-object"),ie=E("../internals/object-get-own-property-names").f,oe=E("../internals/array-slice-simple"),le=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],pe=function(re){try{return ie(re)}catch(ae){return oe(le)}};je.exports.f=function(ae){return le&&ne(ae)=="Window"?pe(ae):ie(ee(ae))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,je,ve){var ne=E("../internals/object-keys-internal"),ee=E("../internals/enum-bug-keys"),ie=ee.concat("length","prototype");ve.f=Object.getOwnPropertyNames||function(le){return ne(le,ie)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,je,ve){ve.f=Object.getOwnPropertySymbols},{}],203:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/has-own-property"),ie=E("../internals/is-callable"),oe=E("../internals/to-object"),le=E("../internals/shared-key"),pe=E("../internals/correct-prototype-getter"),re=le("IE_PROTO"),ae=ne.Object,ce=ae.prototype;je.exports=pe?ae.getPrototypeOf:function(de){var me=oe(de);if(ee(me,re))return me[re];var we=me.constructor;return ie(we)&&me instanceof we?we.prototype:me instanceof ae?ce:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(E,je,ve){var ne=E("../internals/function-uncurry-this");je.exports=ne({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=E("../internals/has-own-property"),ie=E("../internals/to-indexed-object"),oe=E("../internals/array-includes").indexOf,le=E("../internals/hidden-keys"),pe=ne([].push);je.exports=function(re,ae){var ce=ie(re),de=0,me=[],we;for(we in ce)!ee(le,we)&&ee(ce,we)&&pe(me,we);for(;ae.length>de;)ee(ce,we=ae[de++])&&(~oe(me,we)||pe(me,we));return me}},{"../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(E,je,ve){var ne=E("../internals/object-keys-internal"),ee=E("../internals/enum-bug-keys");je.exports=Object.keys||function(oe){return ne(oe,ee)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,je,ve){"use strict";var ne={}.propertyIsEnumerable,ee=Object.getOwnPropertyDescriptor,ie=ee&&!ne.call({1:2},1);ve.f=ie?function(le){var pe=ee(this,le);return!!pe&&pe.enumerable}:ne},{}],208:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=E("../internals/an-object"),ie=E("../internals/a-possible-prototype");je.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var oe=!1,le={},pe;try{pe=ne(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),pe(le,[]),oe=le instanceof Array}catch(re){}return function(ae,ce){return ee(ae),ie(ce),oe?pe(ae,ce):ae.__proto__=ce,ae}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,je,ve){var ne=E("../internals/descriptors"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/object-keys"),oe=E("../internals/to-indexed-object"),le=E("../internals/object-property-is-enumerable").f,pe=ee(le),re=ee([].push),ae=function(ce){return function(de){for(var me=oe(de),we=ie(me),xe=we.length,Ae=0,ye=[],Ee;xe>Ae;)Ee=we[Ae++],(!ne||pe(me,Ee))&&re(ye,ce?[Ee,me[Ee]]:me[Ee]);return ye}};je.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(E,je,ve){"use strict";var ne=E("../internals/to-string-tag-support"),ee=E("../internals/classof");je.exports=ne?{}.toString:function(){return"[object "+ee(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/function-call"),ie=E("../internals/is-callable"),oe=E("../internals/is-object"),le=ne.TypeError;je.exports=function(pe,re){var ae,ce;if(re==="string"&&ie(ae=pe.toString)&&!oe(ce=ee(ae,pe))||ie(ae=pe.valueOf)&&!oe(ce=ee(ae,pe))||re!=="string"&&ie(ae=pe.toString)&&!oe(ce=ee(ae,pe)))return ce;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(E,je,ve){var ne=E("../internals/get-built-in"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/object-get-own-property-names"),oe=E("../internals/object-get-own-property-symbols"),le=E("../internals/an-object"),pe=ee([].concat);je.exports=ne("Reflect","ownKeys")||function(ae){var ce=ie.f(le(ae)),de=oe.f;return de?pe(ce,de(ae)):ce}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(E,je,ve){var ne=E("../internals/global");je.exports=ne},{"../internals/global":163}],214:[function(E,je,ve){je.exports=function(ne){try{return{error:!1,value:ne()}}catch(ee){return{error:!0,value:ee}}}},{}],215:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/promise-native-constructor"),ie=E("../internals/is-callable"),oe=E("../internals/is-forced"),le=E("../internals/inspect-source"),pe=E("../internals/well-known-symbol"),re=E("../internals/engine-is-browser"),ae=E("../internals/is-pure"),ce=E("../internals/engine-v8-version"),de=ee&&ee.prototype,me=pe("species"),we=!1,xe=ie(ne.PromiseRejectionEvent),Ae=oe("Promise",function(){var ye=le(ee),Ee=ye!==String(ee);if(!Ee&&ce===66||ae&&!(de.catch&&de.finally))return!0;if(ce>=51&&/native code/.test(ye))return!1;var Le=new ee(function(Me){Me(1)}),Ce=function(Me){Me(function(){},function(){})},_e=Le.constructor={};return _e[me]=Ce,we=Le.then(function(){})instanceof Ce,we?!Ee&&re&&!xe:!0});je.exports={CONSTRUCTOR:Ae,REJECTION_EVENT:xe,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(E,je,ve){var ne=E("../internals/global");je.exports=ne.Promise},{"../internals/global":163}],217:[function(E,je,ve){var ne=E("../internals/an-object"),ee=E("../internals/is-object"),ie=E("../internals/new-promise-capability");je.exports=function(oe,le){if(ne(oe),ee(le)&&le.constructor===oe)return le;var pe=ie.f(oe),re=pe.resolve;return re(le),pe.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,je,ve){var ne=E("../internals/promise-native-constructor"),ee=E("../internals/check-correctness-of-iteration"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR;je.exports=ie||!ee(function(oe){ne.all(oe).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,je,ve){var ne=E("../internals/object-define-property").f;je.exports=function(ee,ie,oe){oe in ee||ne(ee,oe,{configurable:!0,get:function(){return ie[oe]},set:function(le){ie[oe]=le}})}},{"../internals/object-define-property":198}],220:[function(E,je,ve){var ne=function(){this.head=null,this.tail=null};ne.prototype={add:function(ee){var ie={item:ee,next:null};this.head?this.tail.next=ie:this.head=ie,this.tail=ie},get:function(){var ee=this.head;if(ee)return this.head=ee.next,this.tail===ee&&(this.tail=null),ee.item}},je.exports=ne},{}],221:[function(E,je,ve){var ne=E("../internals/redefine");je.exports=function(ee,ie,oe){for(var le in ie)ne(ee,le,ie[le],oe);return ee}},{"../internals/redefine":222}],222:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/is-callable"),ie=E("../internals/has-own-property"),oe=E("../internals/create-non-enumerable-property"),le=E("../internals/set-global"),pe=E("../internals/inspect-source"),re=E("../internals/internal-state"),ae=E("../internals/function-name").CONFIGURABLE,ce=re.get,de=re.enforce,me=String(String).split("String");(je.exports=function(we,xe,Ae,ye){var Ee=ye?!!ye.unsafe:!1,Le=ye?!!ye.enumerable:!1,Ce=ye?!!ye.noTargetGet:!1,_e=ye&&ye.name!==void 0?ye.name:xe,Me;if(ee(Ae)&&(String(_e).slice(0,7)==="Symbol("&&(_e="["+String(_e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ie(Ae,"name")||ae&&Ae.name!==_e)&&oe(Ae,"name",_e),Me=de(Ae),Me.source||(Me.source=me.join(typeof _e=="string"?_e:""))),we===ne){Le?we[xe]=Ae:le(xe,Ae);return}else Ee?!Ce&&we[xe]&&(Le=!0):delete we[xe];Le?we[xe]=Ae:oe(we,xe,Ae)})(Function.prototype,"toString",function(){return ee(this)&&ce(this).source||pe(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(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/function-call"),ie=E("../internals/an-object"),oe=E("../internals/is-callable"),le=E("../internals/classof-raw"),pe=E("../internals/regexp-exec"),re=ne.TypeError;je.exports=function(ae,ce){var de=ae.exec;if(oe(de)){var me=ee(de,ae,ce);return me!==null&&ie(me),me}if(le(ae)==="RegExp")return ee(pe,ae,ce);throw re("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(E,je,ve){"use strict";var ne=E("../internals/function-call"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/to-string"),oe=E("../internals/regexp-flags"),le=E("../internals/regexp-sticky-helpers"),pe=E("../internals/shared"),re=E("../internals/object-create"),ae=E("../internals/internal-state").get,ce=E("../internals/regexp-unsupported-dot-all"),de=E("../internals/regexp-unsupported-ncg"),me=pe("native-string-replace",String.prototype.replace),we=RegExp.prototype.exec,xe=we,Ae=ee("".charAt),ye=ee("".indexOf),Ee=ee("".replace),Le=ee("".slice),Ce=function(){var Se=/a/,Be=/b*/g;return ne(we,Se,"a"),ne(we,Be,"a"),Se.lastIndex!==0||Be.lastIndex!==0}(),_e=le.BROKEN_CARET,Me=/()??/.exec("")[1]!==void 0,De=Ce||Me||_e||ce||de;De&&(xe=function(Be){var Re=this,Xe=ae(Re),Ie=ie(Be),Ye=Xe.raw,Ge,qe,it,st,Ve,Qe,nt;if(Ye)return Ye.lastIndex=Re.lastIndex,Ge=ne(xe,Ye,Ie),Re.lastIndex=Ye.lastIndex,Ge;var dt=Xe.groups,at=_e&&Re.sticky,tt=ne(oe,Re),et=Re.source,ot=0,yt=Ie;if(at&&(tt=Ee(tt,"y",""),ye(tt,"g")===-1&&(tt+="g"),yt=Le(Ie,Re.lastIndex),Re.lastIndex>0&&(!Re.multiline||Re.multiline&&Ae(Ie,Re.lastIndex-1)!==`
`)&&(et="(?: "+et+")",yt=" "+yt,ot++),qe=new RegExp("^(?:"+et+")",tt)),Me&&(qe=new RegExp("^"+et+"$(?!\\s)",tt)),Ce&&(it=Re.lastIndex),st=ne(we,at?qe:Re,yt),at?st?(st.input=Le(st.input,ot),st[0]=Le(st[0],ot),st.index=Re.lastIndex,Re.lastIndex+=st[0].length):Re.lastIndex=0:Ce&&st&&(Re.lastIndex=Re.global?st.index+st[0].length:it),Me&&st&&st.length>1&&ne(me,st[0],qe,function(){for(Ve=1;Ve<arguments.length-2;Ve++)arguments[Ve]===void 0&&(st[Ve]=void 0)}),st&&dt)for(st.groups=Qe=re(null),Ve=0;Ve<dt.length;Ve++)nt=dt[Ve],Qe[nt[0]]=st[nt[1]];return st}),je.exports=xe},{"../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(E,je,ve){"use strict";var ne=E("../internals/an-object");je.exports=function(){var ee=ne(this),ie="";return ee.hasIndices&&(ie+="d"),ee.global&&(ie+="g"),ee.ignoreCase&&(ie+="i"),ee.multiline&&(ie+="m"),ee.dotAll&&(ie+="s"),ee.unicode&&(ie+="u"),ee.sticky&&(ie+="y"),ie}},{"../internals/an-object":101}],226:[function(E,je,ve){var ne=E("../internals/function-call"),ee=E("../internals/has-own-property"),ie=E("../internals/object-is-prototype-of"),oe=E("../internals/regexp-flags"),le=RegExp.prototype;je.exports=function(pe){var re=pe.flags;return re===void 0&&!("flags"in le)&&!ee(pe,"flags")&&ie(le,pe)?ne(oe,pe):re}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(E,je,ve){var ne=E("../internals/fails"),ee=E("../internals/global"),ie=ee.RegExp,oe=ne(function(){var re=ie("a","y");return re.lastIndex=2,re.exec("abcd")!=null}),le=oe||ne(function(){return!ie("a","y").sticky}),pe=oe||ne(function(){var re=ie("^r","gy");return re.lastIndex=2,re.exec("str")!=null});je.exports={BROKEN_CARET:pe,MISSED_STICKY:le,UNSUPPORTED_Y:oe}},{"../internals/fails":150,"../internals/global":163}],228:[function(E,je,ve){var ne=E("../internals/fails"),ee=E("../internals/global"),ie=ee.RegExp;je.exports=ne(function(){var oe=ie(".","s");return!(oe.dotAll&&oe.exec(`
`)&&oe.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(E,je,ve){var ne=E("../internals/fails"),ee=E("../internals/global"),ie=ee.RegExp;je.exports=ne(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(E,je,ve){var ne=E("../internals/global"),ee=ne.TypeError;je.exports=function(ie){if(ie==null)throw ee("Can't call method on "+ie);return ie}},{"../internals/global":163}],231:[function(E,je,ve){je.exports=Object.is||function(ee,ie){return ee===ie?ee!==0||1/ee===1/ie:ee!=ee&&ie!=ie}},{}],232:[function(E,je,ve){var ne=E("../internals/global"),ee=Object.defineProperty;je.exports=function(ie,oe){try{ee(ne,ie,{value:oe,configurable:!0,writable:!0})}catch(le){ne[ie]=oe}return oe}},{"../internals/global":163}],233:[function(E,je,ve){"use strict";var ne=E("../internals/get-built-in"),ee=E("../internals/object-define-property"),ie=E("../internals/well-known-symbol"),oe=E("../internals/descriptors"),le=ie("species");je.exports=function(pe){var re=ne(pe),ae=ee.f;oe&&re&&!re[le]&&ae(re,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(E,je,ve){var ne=E("../internals/object-define-property").f,ee=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol"),oe=ie("toStringTag");je.exports=function(le,pe,re){le&&!re&&(le=le.prototype),le&&!ee(le,oe)&&ne(le,oe,{configurable:!0,value:pe})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,je,ve){var ne=E("../internals/shared"),ee=E("../internals/uid"),ie=ne("keys");je.exports=function(oe){return ie[oe]||(ie[oe]=ee(oe))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/set-global"),ie="__core-js_shared__",oe=ne[ie]||ee(ie,{});je.exports=oe},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,je,ve){var ne=E("../internals/is-pure"),ee=E("../internals/shared-store");(je.exports=function(ie,oe){return ee[ie]||(ee[ie]=oe!==void 0?oe:{})})("versions",[]).push({version:"3.22.1",mode:ne?"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(E,je,ve){var ne=E("../internals/an-object"),ee=E("../internals/a-constructor"),ie=E("../internals/well-known-symbol"),oe=ie("species");je.exports=function(le,pe){var re=ne(le).constructor,ae;return re===void 0||(ae=ne(re)[oe])==null?pe:ee(ae)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-string"),oe=E("../internals/require-object-coercible"),le=ne("".charAt),pe=ne("".charCodeAt),re=ne("".slice),ae=function(ce){return function(de,me){var we=ie(oe(de)),xe=ee(me),Ae=we.length,ye,Ee;return xe<0||xe>=Ae?ce?"":void 0:(ye=pe(we,xe),ye<55296||ye>56319||xe+1===Ae||(Ee=pe(we,xe+1))<56320||Ee>57343?ce?le(we,xe):ye:ce?re(we,xe,xe+2):(ye-55296<<10)+(Ee-56320)+65536)}};je.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(E,je,ve){var ne=E("../internals/function-name").PROPER,ee=E("../internals/fails"),ie=E("../internals/whitespaces"),oe="\u200B\x85\u180E";je.exports=function(le){return ee(function(){return!!ie[le]()||oe[le]()!==oe||ne&&ie[le].name!==le})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=E("../internals/require-object-coercible"),ie=E("../internals/to-string"),oe=E("../internals/whitespaces"),le=ne("".replace),pe="["+oe+"]",re=RegExp("^"+pe+pe+"*"),ae=RegExp(pe+pe+"*$"),ce=function(de){return function(me){var we=ie(ee(me));return de&1&&(we=le(we,re,"")),de&2&&(we=le(we,ae,"")),we}};je.exports={start:ce(1),end:ce(2),trim:ce(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,je,ve){var ne=E("../internals/function-call"),ee=E("../internals/get-built-in"),ie=E("../internals/well-known-symbol"),oe=E("../internals/redefine");je.exports=function(){var le=ee("Symbol"),pe=le&&le.prototype,re=pe&&pe.valueOf,ae=ie("toPrimitive");pe&&!pe[ae]&&oe(pe,ae,function(ce){return ne(re,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/function-apply"),ie=E("../internals/function-bind-context"),oe=E("../internals/is-callable"),le=E("../internals/has-own-property"),pe=E("../internals/fails"),re=E("../internals/html"),ae=E("../internals/array-slice"),ce=E("../internals/document-create-element"),de=E("../internals/validate-arguments-length"),me=E("../internals/engine-is-ios"),we=E("../internals/engine-is-node"),xe=ne.setImmediate,Ae=ne.clearImmediate,ye=ne.process,Ee=ne.Dispatch,Le=ne.Function,Ce=ne.MessageChannel,_e=ne.String,Me=0,De={},Se="onreadystatechange",Be,Re,Xe,Ie;try{Be=ne.location}catch(st){}var Ye=function(st){if(le(De,st)){var Ve=De[st];delete De[st],Ve()}},Ge=function(st){return function(){Ye(st)}},qe=function(st){Ye(st.data)},it=function(st){ne.postMessage(_e(st),Be.protocol+"//"+Be.host)};(!xe||!Ae)&&(xe=function(Ve){de(arguments.length,1);var Qe=oe(Ve)?Ve:Le(Ve),nt=ae(arguments,1);return De[++Me]=function(){ee(Qe,void 0,nt)},Re(Me),Me},Ae=function(Ve){delete De[Ve]},we?Re=function(st){ye.nextTick(Ge(st))}:Ee&&Ee.now?Re=function(st){Ee.now(Ge(st))}:Ce&&!me?(Xe=new Ce,Ie=Xe.port2,Xe.port1.onmessage=qe,Re=ie(Ie.postMessage,Ie)):ne.addEventListener&&oe(ne.postMessage)&&!ne.importScripts&&Be&&Be.protocol!=="file:"&&!pe(it)?(Re=it,ne.addEventListener("message",qe,!1)):Se in ce("script")?Re=function(st){re.appendChild(ce("script"))[Se]=function(){re.removeChild(this),Ye(st)}}:Re=function(st){setTimeout(Ge(st),0)}),je.exports={set:xe,clear:Ae}},{"../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(E,je,ve){var ne=E("../internals/function-uncurry-this");je.exports=ne(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,je,ve){var ne=E("../internals/to-integer-or-infinity"),ee=Math.max,ie=Math.min;je.exports=function(oe,le){var pe=ne(oe);return pe<0?ee(pe+le,0):ie(pe,le)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-length"),oe=ne.RangeError;je.exports=function(le){if(le===void 0)return 0;var pe=ee(le),re=ie(pe);if(pe!==re)throw oe("Wrong length or index");return re}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,je,ve){var ne=E("../internals/indexed-object"),ee=E("../internals/require-object-coercible");je.exports=function(ie){return ne(ee(ie))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,je,ve){var ne=Math.ceil,ee=Math.floor;je.exports=function(ie){var oe=+ie;return oe!==oe||oe===0?0:(oe>0?ee:ne)(oe)}},{}],249:[function(E,je,ve){var ne=E("../internals/to-integer-or-infinity"),ee=Math.min;je.exports=function(ie){return ie>0?ee(ne(ie),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/require-object-coercible"),ie=ne.Object;je.exports=function(oe){return ie(ee(oe))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/to-positive-integer"),ie=ne.RangeError;je.exports=function(oe,le){var pe=ee(oe);if(pe%le)throw ie("Wrong offset");return pe}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/to-integer-or-infinity"),ie=ne.RangeError;je.exports=function(oe){var le=ee(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(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/function-call"),ie=E("../internals/is-object"),oe=E("../internals/is-symbol"),le=E("../internals/get-method"),pe=E("../internals/ordinary-to-primitive"),re=E("../internals/well-known-symbol"),ae=ne.TypeError,ce=re("toPrimitive");je.exports=function(de,me){if(!ie(de)||oe(de))return de;var we=le(de,ce),xe;if(we){if(me===void 0&&(me="default"),xe=ee(we,de,me),!ie(xe)||oe(xe))return xe;throw ae("Can't convert object to primitive value")}return me===void 0&&(me="number"),pe(de,me)}},{"../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(E,je,ve){var ne=E("../internals/to-primitive"),ee=E("../internals/is-symbol");je.exports=function(ie){var oe=ne(ie,"string");return ee(oe)?oe:oe+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,je,ve){var ne=E("../internals/well-known-symbol"),ee=ne("toStringTag"),ie={};ie[ee]="z",je.exports=String(ie)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/classof"),ie=ne.String;je.exports=function(oe){if(ee(oe)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ie(oe)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,je,ve){var ne=E("../internals/global"),ee=ne.String;je.exports=function(ie){try{return ee(ie)}catch(oe){return"Object"}}},{"../internals/global":163}],258:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/global"),ie=E("../internals/function-call"),oe=E("../internals/descriptors"),le=E("../internals/typed-array-constructors-require-wrappers"),pe=E("../internals/array-buffer-view-core"),re=E("../internals/array-buffer"),ae=E("../internals/an-instance"),ce=E("../internals/create-property-descriptor"),de=E("../internals/create-non-enumerable-property"),me=E("../internals/is-integral-number"),we=E("../internals/to-length"),xe=E("../internals/to-index"),Ae=E("../internals/to-offset"),ye=E("../internals/to-property-key"),Ee=E("../internals/has-own-property"),Le=E("../internals/classof"),Ce=E("../internals/is-object"),_e=E("../internals/is-symbol"),Me=E("../internals/object-create"),De=E("../internals/object-is-prototype-of"),Se=E("../internals/object-set-prototype-of"),Be=E("../internals/object-get-own-property-names").f,Re=E("../internals/typed-array-from"),Xe=E("../internals/array-iteration").forEach,Ie=E("../internals/set-species"),Ye=E("../internals/object-define-property"),Ge=E("../internals/object-get-own-property-descriptor"),qe=E("../internals/internal-state"),it=E("../internals/inherit-if-required"),st=qe.get,Ve=qe.set,Qe=Ye.f,nt=Ge.f,dt=Math.round,at=ee.RangeError,tt=re.ArrayBuffer,et=tt.prototype,ot=re.DataView,yt=pe.NATIVE_ARRAY_BUFFER_VIEWS,pt=pe.TYPED_ARRAY_CONSTRUCTOR,Pt=pe.TYPED_ARRAY_TAG,Mt=pe.TypedArray,ct=pe.TypedArrayPrototype,Je=pe.aTypedArrayConstructor,Ze=pe.isTypedArray,ue="BYTES_PER_ELEMENT",he="Wrong length",He=function(Ue,ut){Je(Ue);for(var vt=0,lt=ut.length,Dt=new Ue(lt);lt>vt;)Dt[vt]=ut[vt++];return Dt},We=function(Ue,ut){Qe(Ue,ut,{get:function(){return st(this)[ut]}})},fe=function(Ue){var ut;return De(et,Ue)||(ut=Le(Ue))=="ArrayBuffer"||ut=="SharedArrayBuffer"},Pe=function(Ue,ut){return Ze(Ue)&&!_e(ut)&&ut in Ue&&me(+ut)&&ut>=0},Fe=function(ut,vt){return vt=ye(vt),Pe(ut,vt)?ce(2,ut[vt]):nt(ut,vt)},Ke=function(ut,vt,lt){return vt=ye(vt),Pe(ut,vt)&&Ce(lt)&&Ee(lt,"value")&&!Ee(lt,"get")&&!Ee(lt,"set")&&!lt.configurable&&(!Ee(lt,"writable")||lt.writable)&&(!Ee(lt,"enumerable")||lt.enumerable)?(ut[vt]=lt.value,ut):Qe(ut,vt,lt)};oe?(yt||(Ge.f=Fe,Ye.f=Ke,We(ct,"buffer"),We(ct,"byteOffset"),We(ct,"byteLength"),We(ct,"length")),ne({target:"Object",stat:!0,forced:!yt},{getOwnPropertyDescriptor:Fe,defineProperty:Ke}),je.exports=function(Ue,ut,vt){var lt=Ue.match(/\d+$/)[0]/8,Dt=Ue+(vt?"Clamped":"")+"Array",Wt="get"+Ue,wt="set"+Ue,zt=ee[Dt],Nt=zt,St=Nt&&Nt.prototype,ft={},Et=function(Zt,rn){var En=st(Zt);return En.view[Wt](rn*lt+En.byteOffset,!0)},Ft=function(Zt,rn,En){var On=st(Zt);vt&&(En=(En=dt(En))<0?0:En>255?255:En&255),On.view[wt](rn*lt+On.byteOffset,En,!0)},Kt=function(Zt,rn){Qe(Zt,rn,{get:function(){return Et(this,rn)},set:function(En){return Ft(this,rn,En)},enumerable:!0})};yt?le&&(Nt=ut(function(Zt,rn,En,On){return ae(Zt,St),it(function(){return Ce(rn)?fe(rn)?On!==void 0?new zt(rn,Ae(En,lt),On):En!==void 0?new zt(rn,Ae(En,lt)):new zt(rn):Ze(rn)?He(Nt,rn):ie(Re,Nt,rn):new zt(xe(rn))}(),Zt,Nt)}),Se&&Se(Nt,Mt),Xe(Be(zt),function(Zt){Zt in Nt||de(Nt,Zt,zt[Zt])}),Nt.prototype=St):(Nt=ut(function(Zt,rn,En,On){ae(Zt,St);var Hn=0,Dn=0,jn,Jn,br;if(!Ce(rn))br=xe(rn),Jn=br*lt,jn=new tt(Jn);else if(fe(rn)){jn=rn,Dn=Ae(En,lt);var sr=rn.byteLength;if(On===void 0){if(sr%lt||(Jn=sr-Dn,Jn<0))throw at(he)}else if(Jn=we(On)*lt,Jn+Dn>sr)throw at(he);br=Jn/lt}else return Ze(rn)?He(Nt,rn):ie(Re,Nt,rn);for(Ve(Zt,{buffer:jn,byteOffset:Dn,byteLength:Jn,length:br,view:new ot(jn)});Hn<br;)Kt(Zt,Hn++)}),Se&&Se(Nt,Mt),St=Nt.prototype=Me(ct)),St.constructor!==Nt&&de(St,"constructor",Nt),de(St,pt,Nt),Pt&&de(St,Pt,Dt),ft[Dt]=Nt,ne({global:!0,forced:Nt!=zt,sham:!yt},ft),ue in Nt||de(Nt,ue,lt),ue in St||de(St,ue,lt),Ie(Dt)}):je.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(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/fails"),ie=E("../internals/check-correctness-of-iteration"),oe=E("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,le=ne.ArrayBuffer,pe=ne.Int8Array;je.exports=!oe||!ee(function(){pe(1)})||!ee(function(){new pe(-1)})||!ie(function(re){new pe,new pe(null),new pe(1.5),new pe(re)},!0)||ee(function(){return new pe(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(E,je,ve){var ne=E("../internals/array-from-constructor-and-list"),ee=E("../internals/typed-array-species-constructor");je.exports=function(ie,oe){return ne(ee(ie),oe)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(E,je,ve){var ne=E("../internals/function-bind-context"),ee=E("../internals/function-call"),ie=E("../internals/a-constructor"),oe=E("../internals/to-object"),le=E("../internals/length-of-array-like"),pe=E("../internals/get-iterator"),re=E("../internals/get-iterator-method"),ae=E("../internals/is-array-iterator-method"),ce=E("../internals/array-buffer-view-core").aTypedArrayConstructor;je.exports=function(me){var we=ie(this),xe=oe(me),Ae=arguments.length,ye=Ae>1?arguments[1]:void 0,Ee=ye!==void 0,Le=re(xe),Ce,_e,Me,De,Se,Be;if(Le&&!ae(Le))for(Se=pe(xe,Le),Be=Se.next,xe=[];!(De=ee(Be,Se)).done;)xe.push(De.value);for(Ee&&Ae>2&&(ye=ne(ye,arguments[2])),_e=le(xe),Me=new(ce(we))(_e),Ce=0;_e>Ce;Ce++)Me[Ce]=Ee?ye(xe[Ce],Ce):xe[Ce];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(E,je,ve){var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/species-constructor"),ie=ne.TYPED_ARRAY_CONSTRUCTOR,oe=ne.aTypedArrayConstructor;je.exports=function(le){return oe(ee(le,le[ie]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,je,ve){var ne=E("../internals/function-uncurry-this"),ee=0,ie=Math.random(),oe=ne(1 .toString);je.exports=function(le){return"Symbol("+(le===void 0?"":le)+")_"+oe(++ee+ie,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,je,ve){var ne=E("../internals/native-symbol");je.exports=ne&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,je,ve){var ne=E("../internals/descriptors"),ee=E("../internals/fails");je.exports=ne&&ee(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,je,ve){var ne=E("../internals/global"),ee=ne.TypeError;je.exports=function(ie,oe){if(ie<oe)throw ee("Not enough arguments");return ie}},{"../internals/global":163}],267:[function(E,je,ve){var ne=E("../internals/well-known-symbol");ve.f=ne},{"../internals/well-known-symbol":268}],268:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/shared"),ie=E("../internals/has-own-property"),oe=E("../internals/uid"),le=E("../internals/native-symbol"),pe=E("../internals/use-symbol-as-uid"),re=ee("wks"),ae=ne.Symbol,ce=ae&&ae.for,de=pe?ae:ae&&ae.withoutSetter||oe;je.exports=function(me){if(!ie(re,me)||!(le||typeof re[me]=="string")){var we="Symbol."+me;le&&ie(ae,me)?re[me]=ae[me]:pe&&ce?re[me]=ce(we):re[me]=de(we)}return re[me]}},{"../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(E,je,ve){je.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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/global"),ie=E("../internals/array-buffer"),oe=E("../internals/set-species"),le="ArrayBuffer",pe=ie[le],re=ee[le];ne({global:!0,forced:re!==pe},{ArrayBuffer:pe}),oe(le)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),oe=E("../internals/array-buffer"),le=E("../internals/an-object"),pe=E("../internals/to-absolute-index"),re=E("../internals/to-length"),ae=E("../internals/species-constructor"),ce=oe.ArrayBuffer,de=oe.DataView,me=de.prototype,we=ee(ce.prototype.slice),xe=ee(me.getUint8),Ae=ee(me.setUint8),ye=ie(function(){return!new ce(2).slice(1,void 0).byteLength});ne({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:ye},{slice:function(Le,Ce){if(we&&Ce===void 0)return we(le(this),Le);for(var _e=le(this).byteLength,Me=pe(Le,_e),De=pe(Ce===void 0?_e:Ce,_e),Se=new(ae(this,ce))(re(De-Me)),Be=new de(this),Re=new de(Se),Xe=0;Me<De;)Ae(Re,Xe++,xe(Be,Me++));return Se}})},{"../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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/global"),ie=E("../internals/fails"),oe=E("../internals/is-array"),le=E("../internals/is-object"),pe=E("../internals/to-object"),re=E("../internals/length-of-array-like"),ae=E("../internals/create-property"),ce=E("../internals/array-species-create"),de=E("../internals/array-method-has-species-support"),me=E("../internals/well-known-symbol"),we=E("../internals/engine-v8-version"),xe=me("isConcatSpreadable"),Ae=9007199254740991,ye="Maximum allowed index exceeded",Ee=ee.TypeError,Le=we>=51||!ie(function(){var De=[];return De[xe]=!1,De.concat()[0]!==De}),Ce=de("concat"),_e=function(De){if(!le(De))return!1;var Se=De[xe];return Se!==void 0?!!Se:oe(De)},Me=!Le||!Ce;ne({target:"Array",proto:!0,forced:Me},{concat:function(Se){var Be=pe(this),Re=ce(Be,0),Xe=0,Ie,Ye,Ge,qe,it;for(Ie=-1,Ge=arguments.length;Ie<Ge;Ie++)if(it=Ie===-1?Be:arguments[Ie],_e(it)){if(qe=re(it),Xe+qe>Ae)throw Ee(ye);for(Ye=0;Ye<qe;Ye++,Xe++)Ye in it&&ae(Re,Xe,it[Ye])}else{if(Xe>=Ae)throw Ee(ye);ae(Re,Xe++,it)}return Re.length=Xe,Re}})},{"../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(E,je,ve){var ne=E("../internals/export"),ee=E("../internals/array-fill"),ie=E("../internals/add-to-unscopables");ne({target:"Array",proto:!0},{fill:ee}),ie("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/array-iteration").filter,ie=E("../internals/array-method-has-species-support"),oe=ie("filter");ne({target:"Array",proto:!0,forced:!oe},{filter:function(pe){return ee(this,pe,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/array-iteration").find,ie=E("../internals/add-to-unscopables"),oe="find",le=!0;oe in[]&&Array(1)[oe](function(){le=!1}),ne({target:"Array",proto:!0,forced:le},{find:function(re){return ee(this,re,arguments.length>1?arguments[1]:void 0)}}),ie(oe)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,je,ve){var ne=E("../internals/export"),ee=E("../internals/array-from"),ie=E("../internals/check-correctness-of-iteration"),oe=!ie(function(le){Array.from(le)});ne({target:"Array",stat:!0,forced:oe},{from:ee})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/array-includes").includes,ie=E("../internals/add-to-unscopables");ne({target:"Array",proto:!0},{includes:function(le){return ee(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(E,je,ve){"use strict";var ne=E("../internals/to-indexed-object"),ee=E("../internals/add-to-unscopables"),ie=E("../internals/iterators"),oe=E("../internals/internal-state"),le=E("../internals/object-define-property").f,pe=E("../internals/define-iterator"),re=E("../internals/is-pure"),ae=E("../internals/descriptors"),ce="Array Iterator",de=oe.set,me=oe.getterFor(ce);je.exports=pe(Array,"Array",function(xe,Ae){de(this,{type:ce,target:ne(xe),index:0,kind:Ae})},function(){var xe=me(this),Ae=xe.target,ye=xe.kind,Ee=xe.index++;return!Ae||Ee>=Ae.length?(xe.target=void 0,{value:void 0,done:!0}):ye=="keys"?{value:Ee,done:!1}:ye=="values"?{value:Ae[Ee],done:!1}:{value:[Ee,Ae[Ee]],done:!1}},"values");var we=ie.Arguments=ie.Array;if(ee("keys"),ee("values"),ee("entries"),!re&&ae&&we.name!=="values")try{le(we,"name",{value:"values"})}catch(xe){}},{"../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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),oe=E("../internals/to-indexed-object"),le=E("../internals/array-method-is-strict"),pe=ee([].join),re=ie!=Object,ae=le("join",",");ne({target:"Array",proto:!0,forced:re||!ae},{join:function(de){return pe(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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/array-iteration").map,ie=E("../internals/array-method-has-species-support"),oe=ie("map");ne({target:"Array",proto:!0,forced:!oe},{map:function(pe){return ee(this,pe,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/global"),ie=E("../internals/is-array"),oe=E("../internals/is-constructor"),le=E("../internals/is-object"),pe=E("../internals/to-absolute-index"),re=E("../internals/length-of-array-like"),ae=E("../internals/to-indexed-object"),ce=E("../internals/create-property"),de=E("../internals/well-known-symbol"),me=E("../internals/array-method-has-species-support"),we=E("../internals/array-slice"),xe=me("slice"),Ae=de("species"),ye=ee.Array,Ee=Math.max;ne({target:"Array",proto:!0,forced:!xe},{slice:function(Ce,_e){var Me=ae(this),De=re(Me),Se=pe(Ce,De),Be=pe(_e===void 0?De:_e,De),Re,Xe,Ie;if(ie(Me)&&(Re=Me.constructor,oe(Re)&&(Re===ye||ie(Re.prototype))?Re=void 0:le(Re)&&(Re=Re[Ae],Re===null&&(Re=void 0)),Re===ye||Re===void 0))return we(Me,Se,Be);for(Xe=new(Re===void 0?ye:Re)(Ee(Be-Se,0)),Ie=0;Se<Be;Se++,Ie++)Se in Me&&ce(Xe,Ie,Me[Se]);return Xe.length=Ie,Xe}})},{"../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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/a-callable"),oe=E("../internals/to-object"),le=E("../internals/length-of-array-like"),pe=E("../internals/to-string"),re=E("../internals/fails"),ae=E("../internals/array-sort"),ce=E("../internals/array-method-is-strict"),de=E("../internals/engine-ff-version"),me=E("../internals/engine-is-ie-or-edge"),we=E("../internals/engine-v8-version"),xe=E("../internals/engine-webkit-version"),Ae=[],ye=ee(Ae.sort),Ee=ee(Ae.push),Le=re(function(){Ae.sort(void 0)}),Ce=re(function(){Ae.sort(null)}),_e=ce("sort"),Me=!re(function(){if(we)return we<70;if(!(de&&de>3)){if(me)return!0;if(xe)return xe<603;var Be="",Re,Xe,Ie,Ye;for(Re=65;Re<76;Re++){switch(Xe=String.fromCharCode(Re),Re){case 66:case 69:case 70:case 72:Ie=3;break;case 68:case 71:Ie=4;break;default:Ie=2}for(Ye=0;Ye<47;Ye++)Ae.push({k:Xe+Ye,v:Ie})}for(Ae.sort(function(Ge,qe){return qe.v-Ge.v}),Ye=0;Ye<Ae.length;Ye++)Xe=Ae[Ye].k.charAt(0),Be.charAt(Be.length-1)!==Xe&&(Be+=Xe);return Be!=="DGBEFHACIJK"}}),De=Le||!Ce||!_e||!Me,Se=function(Be){return function(Re,Xe){return Xe===void 0?-1:Re===void 0?1:Be!==void 0?+Be(Re,Xe)||0:pe(Re)>pe(Xe)?1:-1}};ne({target:"Array",proto:!0,forced:De},{sort:function(Re){Re!==void 0&&ie(Re);var Xe=oe(this);if(Me)return Re===void 0?ye(Xe):ye(Xe,Re);var Ie=[],Ye=le(Xe),Ge,qe;for(qe=0;qe<Ye;qe++)qe in Xe&&Ee(Ie,Xe[qe]);for(ae(Ie,Se(Re)),Ge=Ie.length,qe=0;qe<Ge;)Xe[qe]=Ie[qe++];for(;qe<Ye;)delete Xe[qe++];return Xe}})},{"../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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/global"),ie=E("../internals/to-absolute-index"),oe=E("../internals/to-integer-or-infinity"),le=E("../internals/length-of-array-like"),pe=E("../internals/to-object"),re=E("../internals/array-species-create"),ae=E("../internals/create-property"),ce=E("../internals/array-method-has-species-support"),de=ce("splice"),me=ee.TypeError,we=Math.max,xe=Math.min,Ae=9007199254740991,ye="Maximum allowed length exceeded";ne({target:"Array",proto:!0,forced:!de},{splice:function(Le,Ce){var _e=pe(this),Me=le(_e),De=ie(Le,Me),Se=arguments.length,Be,Re,Xe,Ie,Ye,Ge;if(Se===0?Be=Re=0:Se===1?(Be=0,Re=Me-De):(Be=Se-2,Re=xe(we(oe(Ce),0),Me-De)),Me+Be-Re>Ae)throw me(ye);for(Xe=re(_e,Re),Ie=0;Ie<Re;Ie++)Ye=De+Ie,Ye in _e&&ae(Xe,Ie,_e[Ye]);if(Xe.length=Re,Be<Re){for(Ie=De;Ie<Me-Re;Ie++)Ye=Ie+Re,Ge=Ie+Be,Ye in _e?_e[Ge]=_e[Ye]:delete _e[Ge];for(Ie=Me;Ie>Me-Re+Be;Ie--)delete _e[Ie-1]}else if(Be>Re)for(Ie=Me-Re;Ie>De;Ie--)Ye=Ie+Re-1,Ge=Ie+Be-1,Ye in _e?_e[Ge]=_e[Ye]:delete _e[Ge];for(Ie=0;Ie<Be;Ie++)_e[Ie+De]=arguments[Ie+2];return _e.length=Me-Re+Be,Xe}})},{"../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(E,je,ve){var ne=E("../internals/descriptors"),ee=E("../internals/function-name").EXISTS,ie=E("../internals/function-uncurry-this"),oe=E("../internals/object-define-property").f,le=Function.prototype,pe=ie(le.toString),re=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ae=ie(re.exec),ce="name";ne&&!ee&&oe(le,ce,{configurable:!0,get:function(){try{return ae(re,pe(this))[1]}catch(de){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(E,je,ve){var ne=E("../internals/export"),ee=E("../internals/get-built-in"),ie=E("../internals/function-apply"),oe=E("../internals/function-call"),le=E("../internals/function-uncurry-this"),pe=E("../internals/fails"),re=E("../internals/is-array"),ae=E("../internals/is-callable"),ce=E("../internals/is-object"),de=E("../internals/is-symbol"),me=E("../internals/array-slice"),we=E("../internals/native-symbol"),xe=ee("JSON","stringify"),Ae=le(/./.exec),ye=le("".charAt),Ee=le("".charCodeAt),Le=le("".replace),Ce=le(1 .toString),_e=/[\uD800-\uDFFF]/g,Me=/^[\uD800-\uDBFF]$/,De=/^[\uDC00-\uDFFF]$/,Se=!we||pe(function(){var Ie=ee("Symbol")();return xe([Ie])!="[null]"||xe({a:Ie})!="{}"||xe(Object(Ie))!="{}"}),Be=pe(function(){return xe("\uDF06\uD834")!=='"\\udf06\\ud834"'||xe("\uDEAD")!=='"\\udead"'}),Re=function(Ie,Ye){var Ge=me(arguments),qe=Ye;if(!(!ce(Ye)&&Ie===void 0||de(Ie)))return re(Ye)||(Ye=function(it,st){if(ae(qe)&&(st=oe(qe,this,it,st)),!de(st))return st}),Ge[1]=Ye,ie(xe,null,Ge)},Xe=function(Ie,Ye,Ge){var qe=ye(Ge,Ye-1),it=ye(Ge,Ye+1);return Ae(Me,Ie)&&!Ae(De,it)||Ae(De,Ie)&&!Ae(Me,qe)?"\\u"+Ce(Ee(Ie,0),16):Ie};xe&&ne({target:"JSON",stat:!0,forced:Se||Be},{stringify:function(Ye,Ge,qe){var it=me(arguments),st=ie(Se?Re:xe,null,it);return Be&&typeof st=="string"?Le(st,_e,Xe):st}})},{"../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(E,je,ve){"use strict";var ne=E("../internals/descriptors"),ee=E("../internals/global"),ie=E("../internals/function-uncurry-this"),oe=E("../internals/is-forced"),le=E("../internals/redefine"),pe=E("../internals/has-own-property"),re=E("../internals/inherit-if-required"),ae=E("../internals/object-is-prototype-of"),ce=E("../internals/is-symbol"),de=E("../internals/to-primitive"),me=E("../internals/fails"),we=E("../internals/object-get-own-property-names").f,xe=E("../internals/object-get-own-property-descriptor").f,Ae=E("../internals/object-define-property").f,ye=E("../internals/this-number-value"),Ee=E("../internals/string-trim").trim,Le="Number",Ce=ee[Le],_e=Ce.prototype,Me=ee.TypeError,De=ie("".slice),Se=ie("".charCodeAt),Be=function(qe){var it=de(qe,"number");return typeof it=="bigint"?it:Re(it)},Re=function(qe){var it=de(qe,"number"),st,Ve,Qe,nt,dt,at,tt,et;if(ce(it))throw Me("Cannot convert a Symbol value to a number");if(typeof it=="string"&&it.length>2){if(it=Ee(it),st=Se(it,0),st===43||st===45){if(Ve=Se(it,2),Ve===88||Ve===120)return NaN}else if(st===48){switch(Se(it,1)){case 66:case 98:Qe=2,nt=49;break;case 79:case 111:Qe=8,nt=55;break;default:return+it}for(dt=De(it,2),at=dt.length,tt=0;tt<at;tt++)if(et=Se(dt,tt),et<48||et>nt)return NaN;return parseInt(dt,Qe)}}return+it};if(oe(Le,!Ce(" 0o1")||!Ce("0b1")||Ce("+0x1"))){for(var Xe=function(it){var st=arguments.length<1?0:Ce(Be(it)),Ve=this;return ae(_e,Ve)&&me(function(){ye(Ve)})?re(Object(st),Ve,Xe):st},Ie=ne?we(Ce):"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(","),Ye=0,Ge;Ie.length>Ye;Ye++)pe(Ce,Ge=Ie[Ye])&&!pe(Xe,Ge)&&Ae(Xe,Ge,xe(Ce,Ge));Xe.prototype=_e,_e.constructor=Xe,le(ee,Le,Xe)}},{"../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(E,je,ve){var ne=E("../internals/export"),ee=E("../internals/object-assign");ne({target:"Object",stat:!0,forced:Object.assign!==ee},{assign:ee})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,je,ve){var ne=E("../internals/export"),ee=E("../internals/object-to-array").entries;ne({target:"Object",stat:!0},{entries:function(oe){return ee(oe)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,je,ve){var ne=E("../internals/export"),ee=E("../internals/native-symbol"),ie=E("../internals/fails"),oe=E("../internals/object-get-own-property-symbols"),le=E("../internals/to-object"),pe=!ee||ie(function(){oe.f(1)});ne({target:"Object",stat:!0,forced:pe},{getOwnPropertySymbols:function(ae){var ce=oe.f;return ce?ce(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(E,je,ve){var ne=E("../internals/export"),ee=E("../internals/to-object"),ie=E("../internals/object-keys"),oe=E("../internals/fails"),le=oe(function(){ie(1)});ne({target:"Object",stat:!0,forced:le},{keys:function(re){return ie(ee(re))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,je,ve){var ne=E("../internals/to-string-tag-support"),ee=E("../internals/redefine"),ie=E("../internals/object-to-string");ne||ee(Object.prototype,"toString",ie,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/function-call"),ie=E("../internals/a-callable"),oe=E("../internals/new-promise-capability"),le=E("../internals/perform"),pe=E("../internals/iterate"),re=E("../internals/promise-statics-incorrect-iteration");ne({target:"Promise",stat:!0,forced:re},{all:function(ce){var de=this,me=oe.f(de),we=me.resolve,xe=me.reject,Ae=le(function(){var ye=ie(de.resolve),Ee=[],Le=0,Ce=1;pe(ce,function(_e){var Me=Le++,De=!1;Ce++,ee(ye,de,_e).then(function(Se){De||(De=!0,Ee[Me]=Se,--Ce||we(Ee))},xe)}),--Ce||we(Ee)});return Ae.error&&xe(Ae.value),me.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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/is-pure"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR,oe=E("../internals/promise-native-constructor"),le=E("../internals/get-built-in"),pe=E("../internals/is-callable"),re=E("../internals/redefine"),ae=oe&&oe.prototype;if(ne({target:"Promise",proto:!0,forced:ie,real:!0},{catch:function(de){return this.then(void 0,de)}}),!ee&&pe(oe)){var ce=le("Promise").prototype.catch;ae.catch!==ce&&re(ae,"catch",ce,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/is-pure"),ie=E("../internals/engine-is-node"),oe=E("../internals/global"),le=E("../internals/function-call"),pe=E("../internals/redefine"),re=E("../internals/redefine-all"),ae=E("../internals/object-set-prototype-of"),ce=E("../internals/set-to-string-tag"),de=E("../internals/set-species"),me=E("../internals/a-callable"),we=E("../internals/is-callable"),xe=E("../internals/is-object"),Ae=E("../internals/an-instance"),ye=E("../internals/species-constructor"),Ee=E("../internals/task").set,Le=E("../internals/microtask"),Ce=E("../internals/host-report-errors"),_e=E("../internals/perform"),Me=E("../internals/queue"),De=E("../internals/internal-state"),Se=E("../internals/promise-native-constructor"),Be=E("../internals/promise-constructor-detection"),Re=E("../internals/new-promise-capability"),Xe="Promise",Ie=Be.CONSTRUCTOR,Ye=Be.REJECTION_EVENT,Ge=Be.SUBCLASSING,qe=De.getterFor(Xe),it=De.set,st=Se&&Se.prototype,Ve=Se,Qe=st,nt=oe.TypeError,dt=oe.document,at=oe.process,tt=Re.f,et=tt,ot=!!(dt&&dt.createEvent&&oe.dispatchEvent),yt="unhandledrejection",pt="rejectionhandled",Pt=0,Mt=1,ct=2,Je=1,Ze=2,ue,he,He,We,fe=function(wt){var zt;return xe(wt)&&we(zt=wt.then)?zt:!1},Pe=function(wt,zt){var Nt=zt.value,St=zt.state==Mt,ft=St?wt.ok:wt.fail,Et=wt.resolve,Ft=wt.reject,Kt=wt.domain,Zt,rn,En;try{ft?(St||(zt.rejection===Ze&&vt(zt),zt.rejection=Je),ft===!0?Zt=Nt:(Kt&&Kt.enter(),Zt=ft(Nt),Kt&&(Kt.exit(),En=!0)),Zt===wt.promise?Ft(nt("Promise-chain cycle")):(rn=fe(Zt))?le(rn,Zt,Et,Ft):Et(Zt)):Ft(Nt)}catch(On){Kt&&!En&&Kt.exit(),Ft(On)}},Fe=function(wt,zt){wt.notified||(wt.notified=!0,Le(function(){for(var Nt=wt.reactions,St;St=Nt.get();)Pe(St,wt);wt.notified=!1,zt&&!wt.rejection&&Ue(wt)}))},Ke=function(wt,zt,Nt){var St,ft;ot?(St=dt.createEvent("Event"),St.promise=zt,St.reason=Nt,St.initEvent(wt,!1,!0),oe.dispatchEvent(St)):St={promise:zt,reason:Nt},!Ye&&(ft=oe["on"+wt])?ft(St):wt===yt&&Ce("Unhandled promise rejection",Nt)},Ue=function(wt){le(Ee,oe,function(){var zt=wt.facade,Nt=wt.value,St=ut(wt),ft;if(St&&(ft=_e(function(){ie?at.emit("unhandledRejection",Nt,zt):Ke(yt,zt,Nt)}),wt.rejection=ie||ut(wt)?Ze:Je,ft.error))throw ft.value})},ut=function(wt){return wt.rejection!==Je&&!wt.parent},vt=function(wt){le(Ee,oe,function(){var zt=wt.facade;ie?at.emit("rejectionHandled",zt):Ke(pt,zt,wt.value)})},lt=function(wt,zt,Nt){return function(St){wt(zt,St,Nt)}},Dt=function(wt,zt,Nt){wt.done||(wt.done=!0,Nt&&(wt=Nt),wt.value=zt,wt.state=ct,Fe(wt,!0))},Wt=function(wt,zt,Nt){if(!wt.done){wt.done=!0,Nt&&(wt=Nt);try{if(wt.facade===zt)throw nt("Promise can't be resolved itself");var St=fe(zt);St?Le(function(){var ft={done:!1};try{le(St,zt,lt(Wt,ft,wt),lt(Dt,ft,wt))}catch(Et){Dt(ft,Et,wt)}}):(wt.value=zt,wt.state=Mt,Fe(wt,!1))}catch(ft){Dt({done:!1},ft,wt)}}};if(Ie&&(Ve=function(zt){Ae(this,Qe),me(zt),le(ue,this);var Nt=qe(this);try{zt(lt(Wt,Nt),lt(Dt,Nt))}catch(St){Dt(Nt,St)}},Qe=Ve.prototype,ue=function(zt){it(this,{type:Xe,done:!1,notified:!1,parent:!1,reactions:new Me,rejection:!1,state:Pt,value:void 0})},ue.prototype=re(Qe,{then:function(zt,Nt){var St=qe(this),ft=tt(ye(this,Ve));return St.parent=!0,ft.ok=we(zt)?zt:!0,ft.fail=we(Nt)&&Nt,ft.domain=ie?at.domain:void 0,St.state==Pt?St.reactions.add(ft):Le(function(){Pe(ft,St)}),ft.promise}}),he=function(){var wt=new ue,zt=qe(wt);this.promise=wt,this.resolve=lt(Wt,zt),this.reject=lt(Dt,zt)},Re.f=tt=function(wt){return wt===Ve||wt===He?new he(wt):et(wt)},!ee&&we(Se)&&st!==Object.prototype)){We=st.then,Ge||pe(st,"then",function(zt,Nt){var St=this;return new Ve(function(ft,Et){le(We,St,ft,Et)}).then(zt,Nt)},{unsafe:!0});try{delete st.constructor}catch(wt){}ae&&ae(st,Qe)}ne({global:!0,wrap:!0,forced:Ie},{Promise:Ve}),ce(Ve,Xe,!1,!0),de(Xe)},{"../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(E,je,ve){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/function-call"),ie=E("../internals/a-callable"),oe=E("../internals/new-promise-capability"),le=E("../internals/perform"),pe=E("../internals/iterate"),re=E("../internals/promise-statics-incorrect-iteration");ne({target:"Promise",stat:!0,forced:re},{race:function(ce){var de=this,me=oe.f(de),we=me.reject,xe=le(function(){var Ae=ie(de.resolve);pe(ce,function(ye){ee(Ae,de,ye).then(me.resolve,we)})});return xe.error&&we(xe.value),me.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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/function-call"),ie=E("../internals/new-promise-capability"),oe=E("../internals/promise-constructor-detection").CONSTRUCTOR;ne({target:"Promise",stat:!0,forced:oe},{reject:function(pe){var re=ie.f(this);return ee(re.reject,void 0,pe),re.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/get-built-in"),ie=E("../internals/is-pure"),oe=E("../internals/promise-native-constructor"),le=E("../internals/promise-constructor-detection").CONSTRUCTOR,pe=E("../internals/promise-resolve"),re=ee("Promise"),ae=ie&&!le;ne({target:"Promise",stat:!0,forced:ie||le},{resolve:function(de){return pe(ae&&this===re?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(E,je,ve){var ne=E("../internals/descriptors"),ee=E("../internals/global"),ie=E("../internals/function-uncurry-this"),oe=E("../internals/is-forced"),le=E("../internals/inherit-if-required"),pe=E("../internals/create-non-enumerable-property"),re=E("../internals/object-get-own-property-names").f,ae=E("../internals/object-is-prototype-of"),ce=E("../internals/is-regexp"),de=E("../internals/to-string"),me=E("../internals/regexp-get-flags"),we=E("../internals/regexp-sticky-helpers"),xe=E("../internals/proxy-accessor"),Ae=E("../internals/redefine"),ye=E("../internals/fails"),Ee=E("../internals/has-own-property"),Le=E("../internals/internal-state").enforce,Ce=E("../internals/set-species"),_e=E("../internals/well-known-symbol"),Me=E("../internals/regexp-unsupported-dot-all"),De=E("../internals/regexp-unsupported-ncg"),Se=_e("match"),Be=ee.RegExp,Re=Be.prototype,Xe=ee.SyntaxError,Ie=ie(Re.exec),Ye=ie("".charAt),Ge=ie("".replace),qe=ie("".indexOf),it=ie("".slice),st=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ve=/a/g,Qe=/a/g,nt=new Be(Ve)!==Ve,dt=we.MISSED_STICKY,at=we.UNSUPPORTED_Y,tt=ne&&(!nt||dt||Me||De||ye(function(){return Qe[Se]=!1,Be(Ve)!=Ve||Be(Qe)==Qe||Be(Ve,"i")!="/a/i"})),et=function(Mt){for(var ct=Mt.length,Je=0,Ze="",ue=!1,he;Je<=ct;Je++){if(he=Ye(Mt,Je),he==="\\"){Ze+=he+Ye(Mt,++Je);continue}!ue&&he==="."?Ze+="[\\s\\S]":(he==="["?ue=!0:he==="]"&&(ue=!1),Ze+=he)}return Ze},ot=function(Mt){for(var ct=Mt.length,Je=0,Ze="",ue=[],he={},He=!1,We=!1,fe=0,Pe="",Fe;Je<=ct;Je++){if(Fe=Ye(Mt,Je),Fe==="\\")Fe=Fe+Ye(Mt,++Je);else if(Fe==="]")He=!1;else if(!He)switch(!0){case Fe==="[":He=!0;break;case Fe==="(":Ie(st,it(Mt,Je+1))&&(Je+=2,We=!0),Ze+=Fe,fe++;continue;case(Fe===">"&&We):if(Pe===""||Ee(he,Pe))throw new Xe("Invalid capture group name");he[Pe]=!0,ue[ue.length]=[Pe,fe],We=!1,Pe="";continue}We?Pe+=Fe:Ze+=Fe}return[Ze,ue]};if(oe("RegExp",tt)){for(var yt=function(ct,Je){var Ze=ae(Re,this),ue=ce(ct),he=Je===void 0,He=[],We=ct,fe,Pe,Fe,Ke,Ue,ut;if(!Ze&&ue&&he&&ct.constructor===yt)return ct;if((ue||ae(Re,ct))&&(ct=ct.source,he&&(Je=me(We))),ct=ct===void 0?"":de(ct),Je=Je===void 0?"":de(Je),We=ct,Me&&"dotAll"in Ve&&(Pe=!!Je&&qe(Je,"s")>-1,Pe&&(Je=Ge(Je,/s/g,""))),fe=Je,dt&&"sticky"in Ve&&(Fe=!!Je&&qe(Je,"y")>-1,Fe&&at&&(Je=Ge(Je,/y/g,""))),De&&(Ke=ot(ct),ct=Ke[0],He=Ke[1]),Ue=le(Be(ct,Je),Ze?this:Re,yt),(Pe||Fe||He.length)&&(ut=Le(Ue),Pe&&(ut.dotAll=!0,ut.raw=yt(et(ct),fe)),Fe&&(ut.sticky=!0),He.length&&(ut.groups=He)),ct!==We)try{pe(Ue,"source",We===""?"(?:)":We)}catch(vt){}return Ue},pt=re(Be),Pt=0;pt.length>Pt;)xe(yt,Be,pt[Pt++]);Re.constructor=yt,yt.prototype=Re,Ae(ee,"RegExp",yt)}Ce("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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/regexp-exec");ne({target:"RegExp",proto:!0,forced:/./.exec!==ee},{exec:ee})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,je,ve){"use strict";var ne=E("../internals/function-name").PROPER,ee=E("../internals/redefine"),ie=E("../internals/an-object"),oe=E("../internals/to-string"),le=E("../internals/fails"),pe=E("../internals/regexp-get-flags"),re="toString",ae=RegExp.prototype,ce=ae[re],de=le(function(){return ce.call({source:"a",flags:"b"})!="/a/b"}),me=ne&&ce.name!=re;(de||me)&&ee(RegExp.prototype,re,function(){var xe=ie(this),Ae=oe(xe.source),ye=oe(pe(xe));return"/"+Ae+"/"+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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/not-a-regexp"),oe=E("../internals/require-object-coercible"),le=E("../internals/to-string"),pe=E("../internals/correct-is-regexp-logic"),re=ee("".indexOf);ne({target:"String",proto:!0,forced:!pe("includes")},{includes:function(ce){return!!~re(le(oe(this)),le(ie(ce)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,je,ve){"use strict";var ne=E("../internals/string-multibyte").charAt,ee=E("../internals/to-string"),ie=E("../internals/internal-state"),oe=E("../internals/define-iterator"),le="String Iterator",pe=ie.set,re=ie.getterFor(le);oe(String,"String",function(ae){pe(this,{type:le,string:ee(ae),index:0})},function(){var ce=re(this),de=ce.string,me=ce.index,we;return me>=de.length?{value:void 0,done:!0}:(we=ne(de,me),ce.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(E,je,ve){"use strict";var ne=E("../internals/function-call"),ee=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),oe=E("../internals/to-length"),le=E("../internals/to-string"),pe=E("../internals/require-object-coercible"),re=E("../internals/get-method"),ae=E("../internals/advance-string-index"),ce=E("../internals/regexp-exec-abstract");ee("match",function(de,me,we){return[function(Ae){var ye=pe(this),Ee=Ae==null?void 0:re(Ae,de);return Ee?ne(Ee,Ae,ye):new RegExp(Ae)[de](le(ye))},function(xe){var Ae=ie(this),ye=le(xe),Ee=we(me,Ae,ye);if(Ee.done)return Ee.value;if(!Ae.global)return ce(Ae,ye);var Le=Ae.unicode;Ae.lastIndex=0;for(var Ce=[],_e=0,Me;(Me=ce(Ae,ye))!==null;){var De=le(Me[0]);Ce[_e]=De,De===""&&(Ae.lastIndex=ae(ye,oe(Ae.lastIndex),Le)),_e++}return _e===0?null:Ce}]})},{"../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(E,je,ve){"use strict";var ne=E("../internals/function-apply"),ee=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),oe=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/fails"),pe=E("../internals/an-object"),re=E("../internals/is-callable"),ae=E("../internals/to-integer-or-infinity"),ce=E("../internals/to-length"),de=E("../internals/to-string"),me=E("../internals/require-object-coercible"),we=E("../internals/advance-string-index"),xe=E("../internals/get-method"),Ae=E("../internals/get-substitution"),ye=E("../internals/regexp-exec-abstract"),Ee=E("../internals/well-known-symbol"),Le=Ee("replace"),Ce=Math.max,_e=Math.min,Me=ie([].concat),De=ie([].push),Se=ie("".indexOf),Be=ie("".slice),Re=function(Ge){return Ge===void 0?Ge:String(Ge)},Xe=function(){return"a".replace(/./,"$0")==="$0"}(),Ie=function(){return/./[Le]?/./[Le]("a","$0")==="":!1}(),Ye=!le(function(){var Ge=/./;return Ge.exec=function(){var qe=[];return qe.groups={a:"7"},qe},"".replace(Ge,"$<a>")!=="7"});oe("replace",function(Ge,qe,it){var st=Ie?"$":"$0";return[function(Qe,nt){var dt=me(this),at=Qe==null?void 0:xe(Qe,Le);return at?ee(at,Qe,dt,nt):ee(qe,de(dt),Qe,nt)},function(Ve,Qe){var nt=pe(this),dt=de(Ve);if(typeof Qe=="string"&&Se(Qe,st)===-1&&Se(Qe,"$<")===-1){var at=it(qe,nt,dt,Qe);if(at.done)return at.value}var tt=re(Qe);tt||(Qe=de(Qe));var et=nt.global;if(et){var ot=nt.unicode;nt.lastIndex=0}for(var yt=[];;){var pt=ye(nt,dt);if(pt===null||(De(yt,pt),!et))break;var Pt=de(pt[0]);Pt===""&&(nt.lastIndex=we(dt,ce(nt.lastIndex),ot))}for(var Mt="",ct=0,Je=0;Je<yt.length;Je++){pt=yt[Je];for(var Ze=de(pt[0]),ue=Ce(_e(ae(pt.index),dt.length),0),he=[],He=1;He<pt.length;He++)De(he,Re(pt[He]));var We=pt.groups;if(tt){var fe=Me([Ze],he,ue,dt);We!==void 0&&De(fe,We);var Pe=de(ne(Qe,void 0,fe))}else Pe=Ae(Ze,dt,ue,he,We,Qe);ue>=ct&&(Mt+=Be(dt,ct,ue)+Pe,ct=ue+Ze.length)}return Mt+Be(dt,ct)}]},!Ye||!Xe||Ie)},{"../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(E,je,ve){"use strict";var ne=E("../internals/function-call"),ee=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),oe=E("../internals/require-object-coercible"),le=E("../internals/same-value"),pe=E("../internals/to-string"),re=E("../internals/get-method"),ae=E("../internals/regexp-exec-abstract");ee("search",function(ce,de,me){return[function(xe){var Ae=oe(this),ye=xe==null?void 0:re(xe,ce);return ye?ne(ye,xe,Ae):new RegExp(xe)[ce](pe(Ae))},function(we){var xe=ie(this),Ae=pe(we),ye=me(de,xe,Ae);if(ye.done)return ye.value;var Ee=xe.lastIndex;le(Ee,0)||(xe.lastIndex=0);var Le=ae(xe,Ae);return le(xe.lastIndex,Ee)||(xe.lastIndex=Ee),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(E,je,ve){"use strict";var ne=E("../internals/function-apply"),ee=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),oe=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/is-regexp"),pe=E("../internals/an-object"),re=E("../internals/require-object-coercible"),ae=E("../internals/species-constructor"),ce=E("../internals/advance-string-index"),de=E("../internals/to-length"),me=E("../internals/to-string"),we=E("../internals/get-method"),xe=E("../internals/array-slice-simple"),Ae=E("../internals/regexp-exec-abstract"),ye=E("../internals/regexp-exec"),Ee=E("../internals/regexp-sticky-helpers"),Le=E("../internals/fails"),Ce=Ee.UNSUPPORTED_Y,_e=4294967295,Me=Math.min,De=[].push,Se=ie(/./.exec),Be=ie(De),Re=ie("".slice),Xe=!Le(function(){var Ie=/(?:)/,Ye=Ie.exec;Ie.exec=function(){return Ye.apply(this,arguments)};var Ge="ab".split(Ie);return Ge.length!==2||Ge[0]!=="a"||Ge[1]!=="b"});oe("split",function(Ie,Ye,Ge){var qe;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?qe=function(it,st){var Ve=me(re(this)),Qe=st===void 0?_e:st>>>0;if(Qe===0)return[];if(it===void 0)return[Ve];if(!le(it))return ee(Ye,Ve,it,Qe);for(var nt=[],dt=(it.ignoreCase?"i":"")+(it.multiline?"m":"")+(it.unicode?"u":"")+(it.sticky?"y":""),at=0,tt=new RegExp(it.source,dt+"g"),et,ot,yt;(et=ee(ye,tt,Ve))&&(ot=tt.lastIndex,!(ot>at&&(Be(nt,Re(Ve,at,et.index)),et.length>1&&et.index<Ve.length&&ne(De,nt,xe(et,1)),yt=et[0].length,at=ot,nt.length>=Qe)));)tt.lastIndex===et.index&&tt.lastIndex++;return at===Ve.length?(yt||!Se(tt,""))&&Be(nt,""):Be(nt,Re(Ve,at)),nt.length>Qe?xe(nt,0,Qe):nt}:"0".split(void 0,0).length?qe=function(it,st){return it===void 0&&st===0?[]:ee(Ye,this,it,st)}:qe=Ye,[function(st,Ve){var Qe=re(this),nt=st==null?void 0:we(st,Ie);return nt?ee(nt,st,Qe,Ve):ee(qe,me(Qe),st,Ve)},function(it,st){var Ve=pe(this),Qe=me(it),nt=Ge(qe,Ve,Qe,st,qe!==Ye);if(nt.done)return nt.value;var dt=ae(Ve,RegExp),at=Ve.unicode,tt=(Ve.ignoreCase?"i":"")+(Ve.multiline?"m":"")+(Ve.unicode?"u":"")+(Ce?"g":"y"),et=new dt(Ce?"^(?:"+Ve.source+")":Ve,tt),ot=st===void 0?_e:st>>>0;if(ot===0)return[];if(Qe.length===0)return Ae(et,Qe)===null?[Qe]:[];for(var yt=0,pt=0,Pt=[];pt<Qe.length;){et.lastIndex=Ce?0:pt;var Mt=Ae(et,Ce?Re(Qe,pt):Qe),ct;if(Mt===null||(ct=Me(de(et.lastIndex+(Ce?pt:0)),Qe.length))===yt)pt=ce(Qe,pt,at);else{if(Be(Pt,Re(Qe,yt,pt)),Pt.length===ot)return Pt;for(var Je=1;Je<=Mt.length-1;Je++)if(Be(Pt,Mt[Je]),Pt.length===ot)return Pt;pt=yt=ct}}return Be(Pt,Re(Qe,yt)),Pt}]},!Xe,Ce)},{"../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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/string-trim").trim,ie=E("../internals/string-trim-forced");ne({target:"String",proto:!0,forced:ie("trim")},{trim:function(){return ee(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/global"),ie=E("../internals/function-call"),oe=E("../internals/function-uncurry-this"),le=E("../internals/is-pure"),pe=E("../internals/descriptors"),re=E("../internals/native-symbol"),ae=E("../internals/fails"),ce=E("../internals/has-own-property"),de=E("../internals/object-is-prototype-of"),me=E("../internals/an-object"),we=E("../internals/to-indexed-object"),xe=E("../internals/to-property-key"),Ae=E("../internals/to-string"),ye=E("../internals/create-property-descriptor"),Ee=E("../internals/object-create"),Le=E("../internals/object-keys"),Ce=E("../internals/object-get-own-property-names"),_e=E("../internals/object-get-own-property-names-external"),Me=E("../internals/object-get-own-property-symbols"),De=E("../internals/object-get-own-property-descriptor"),Se=E("../internals/object-define-property"),Be=E("../internals/object-define-properties"),Re=E("../internals/object-property-is-enumerable"),Xe=E("../internals/redefine"),Ie=E("../internals/shared"),Ye=E("../internals/shared-key"),Ge=E("../internals/hidden-keys"),qe=E("../internals/uid"),it=E("../internals/well-known-symbol"),st=E("../internals/well-known-symbol-wrapped"),Ve=E("../internals/define-well-known-symbol"),Qe=E("../internals/symbol-define-to-primitive"),nt=E("../internals/set-to-string-tag"),dt=E("../internals/internal-state"),at=E("../internals/array-iteration").forEach,tt=Ye("hidden"),et="Symbol",ot="prototype",yt=dt.set,pt=dt.getterFor(et),Pt=Object[ot],Mt=ee.Symbol,ct=Mt&&Mt[ot],Je=ee.TypeError,Ze=ee.QObject,ue=De.f,he=Se.f,He=_e.f,We=Re.f,fe=oe([].push),Pe=Ie("symbols"),Fe=Ie("op-symbols"),Ke=Ie("wks"),Ue=!Ze||!Ze[ot]||!Ze[ot].findChild,ut=pe&&ae(function(){return Ee(he({},"a",{get:function(){return he(this,"a",{value:7}).a}})).a!=7})?function(ft,Et,Ft){var Kt=ue(Pt,Et);Kt&&delete Pt[Et],he(ft,Et,Ft),Kt&&ft!==Pt&&he(Pt,Et,Kt)}:he,vt=function(ft,Et){var Ft=Pe[ft]=Ee(ct);return yt(Ft,{type:et,tag:ft,description:Et}),pe||(Ft.description=Et),Ft},lt=function(Et,Ft,Kt){Et===Pt&&lt(Fe,Ft,Kt),me(Et);var Zt=xe(Ft);return me(Kt),ce(Pe,Zt)?(Kt.enumerable?(ce(Et,tt)&&Et[tt][Zt]&&(Et[tt][Zt]=!1),Kt=Ee(Kt,{enumerable:ye(0,!1)})):(ce(Et,tt)||he(Et,tt,ye(1,{})),Et[tt][Zt]=!0),ut(Et,Zt,Kt)):he(Et,Zt,Kt)},Dt=function(Et,Ft){me(Et);var Kt=we(Ft),Zt=Le(Kt).concat(St(Kt));return at(Zt,function(rn){(!pe||ie(wt,Kt,rn))&&lt(Et,rn,Kt[rn])}),Et},Wt=function(Et,Ft){return Ft===void 0?Ee(Et):Dt(Ee(Et),Ft)},wt=function(Et){var Ft=xe(Et),Kt=ie(We,this,Ft);return this===Pt&&ce(Pe,Ft)&&!ce(Fe,Ft)?!1:Kt||!ce(this,Ft)||!ce(Pe,Ft)||ce(this,tt)&&this[tt][Ft]?Kt:!0},zt=function(Et,Ft){var Kt=we(Et),Zt=xe(Ft);if(!(Kt===Pt&&ce(Pe,Zt)&&!ce(Fe,Zt))){var rn=ue(Kt,Zt);return rn&&ce(Pe,Zt)&&!(ce(Kt,tt)&&Kt[tt][Zt])&&(rn.enumerable=!0),rn}},Nt=function(Et){var Ft=He(we(Et)),Kt=[];return at(Ft,function(Zt){!ce(Pe,Zt)&&!ce(Ge,Zt)&&fe(Kt,Zt)}),Kt},St=function(ft){var Et=ft===Pt,Ft=He(Et?Fe:we(ft)),Kt=[];return at(Ft,function(Zt){ce(Pe,Zt)&&(!Et||ce(Pt,Zt))&&fe(Kt,Pe[Zt])}),Kt};re||(Mt=function(){if(de(ct,this))throw Je("Symbol is not a constructor");var Et=!arguments.length||arguments[0]===void 0?void 0:Ae(arguments[0]),Ft=qe(Et),Kt=function(Zt){this===Pt&&ie(Kt,Fe,Zt),ce(this,tt)&&ce(this[tt],Ft)&&(this[tt][Ft]=!1),ut(this,Ft,ye(1,Zt))};return pe&&Ue&&ut(Pt,Ft,{configurable:!0,set:Kt}),vt(Ft,Et)},ct=Mt[ot],Xe(ct,"toString",function(){return pt(this).tag}),Xe(Mt,"withoutSetter",function(ft){return vt(qe(ft),ft)}),Re.f=wt,Se.f=lt,Be.f=Dt,De.f=zt,Ce.f=_e.f=Nt,Me.f=St,st.f=function(ft){return vt(it(ft),ft)},pe&&(he(ct,"description",{configurable:!0,get:function(){return pt(this).description}}),le||Xe(Pt,"propertyIsEnumerable",wt,{unsafe:!0}))),ne({global:!0,wrap:!0,forced:!re,sham:!re},{Symbol:Mt}),at(Le(Ke),function(ft){Ve(ft)}),ne({target:et,stat:!0,forced:!re},{useSetter:function(){Ue=!0},useSimple:function(){Ue=!1}}),ne({target:"Object",stat:!0,forced:!re,sham:!pe},{create:Wt,defineProperty:lt,defineProperties:Dt,getOwnPropertyDescriptor:zt}),ne({target:"Object",stat:!0,forced:!re},{getOwnPropertyNames:Nt}),Qe(),nt(Mt,et),Ge[tt]=!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(E,je,ve){"use strict";var ne=E("../internals/export"),ee=E("../internals/descriptors"),ie=E("../internals/global"),oe=E("../internals/function-uncurry-this"),le=E("../internals/has-own-property"),pe=E("../internals/is-callable"),re=E("../internals/object-is-prototype-of"),ae=E("../internals/to-string"),ce=E("../internals/object-define-property").f,de=E("../internals/copy-constructor-properties"),me=ie.Symbol,we=me&&me.prototype;if(ee&&pe(me)&&(!("description"in we)||me().description!==void 0)){var xe={},Ae=function(){var Se=arguments.length<1||arguments[0]===void 0?void 0:ae(arguments[0]),Be=re(we,this)?new me(Se):Se===void 0?me():me(Se);return Se===""&&(xe[Be]=!0),Be};de(Ae,me),Ae.prototype=we,we.constructor=Ae;var ye=String(me("test"))=="Symbol(test)",Ee=oe(we.toString),Le=oe(we.valueOf),Ce=/^Symbol\((.*)\)[^)]+$/,_e=oe("".replace),Me=oe("".slice);ce(we,"description",{configurable:!0,get:function(){var Se=Le(this),Be=Ee(Se);if(le(xe,Se))return"";var Re=ye?Me(Be,7,-1):_e(Be,Ce,"$1");return Re===""?void 0:Re}}),ne({global:!0,forced:!0},{Symbol:Ae})}},{"../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(E,je,ve){var ne=E("../internals/export"),ee=E("../internals/get-built-in"),ie=E("../internals/has-own-property"),oe=E("../internals/to-string"),le=E("../internals/shared"),pe=E("../internals/native-symbol-registry"),re=le("string-to-symbol-registry"),ae=le("symbol-to-string-registry");ne({target:"Symbol",stat:!0,forced:!pe},{for:function(ce){var de=oe(ce);if(ie(re,de))return re[de];var me=ee("Symbol")(de);return re[de]=me,ae[me]=de,me}})},{"../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(E,je,ve){var ne=E("../internals/define-well-known-symbol");ne("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(E,je,ve){E("../modules/es.symbol.constructor"),E("../modules/es.symbol.for"),E("../modules/es.symbol.key-for"),E("../modules/es.json.stringify"),E("../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(E,je,ve){var ne=E("../internals/export"),ee=E("../internals/has-own-property"),ie=E("../internals/is-symbol"),oe=E("../internals/try-to-string"),le=E("../internals/shared"),pe=E("../internals/native-symbol-registry"),re=le("symbol-to-string-registry");ne({target:"Symbol",stat:!0,forced:!pe},{keyFor:function(ce){if(!ie(ce))throw TypeError(oe(ce)+" is not a symbol");if(ee(re,ce))return re[ce]}})},{"../internals/export":149,"../internals/has-own-property":164,"../internals/is-symbol":183,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/try-to-string":257}],315:[function(E,je,ve){"use strict";var ne=E("../internals/function-uncurry-this"),ee=E("../internals/array-buffer-view-core"),ie=E("../internals/array-copy-within"),oe=ne(ie),le=ee.aTypedArray,pe=ee.exportTypedArrayMethod;pe("copyWithin",function(ae,ce){return oe(le(this),ae,ce,arguments.length>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-iteration").every,ie=ne.aTypedArray,oe=ne.exportTypedArrayMethod;oe("every",function(pe){return ee(ie(this),pe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/function-call"),ie=E("../internals/array-fill"),oe=ne.aTypedArray,le=ne.exportTypedArrayMethod;le("fill",function(re){var ae=arguments.length;return ee(ie,oe(this),re,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(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-iteration").filter,ie=E("../internals/typed-array-from-species-and-list"),oe=ne.aTypedArray,le=ne.exportTypedArrayMethod;le("filter",function(re){var ae=ee(oe(this),re,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(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-iteration").findIndex,ie=ne.aTypedArray,oe=ne.exportTypedArrayMethod;oe("findIndex",function(pe){return ee(ie(this),pe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-iteration").find,ie=ne.aTypedArray,oe=ne.exportTypedArrayMethod;oe("find",function(pe){return ee(ie(this),pe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-iteration").forEach,ie=ne.aTypedArray,oe=ne.exportTypedArrayMethod;oe("forEach",function(pe){ee(ie(this),pe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-includes").includes,ie=ne.aTypedArray,oe=ne.exportTypedArrayMethod;oe("includes",function(pe){return ee(ie(this),pe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-includes").indexOf,ie=ne.aTypedArray,oe=ne.exportTypedArrayMethod;oe("indexOf",function(pe){return ee(ie(this),pe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,je,ve){"use strict";var ne=E("../internals/global"),ee=E("../internals/fails"),ie=E("../internals/function-uncurry-this"),oe=E("../internals/array-buffer-view-core"),le=E("../modules/es.array.iterator"),pe=E("../internals/well-known-symbol"),re=pe("iterator"),ae=ne.Uint8Array,ce=ie(le.values),de=ie(le.keys),me=ie(le.entries),we=oe.aTypedArray,xe=oe.exportTypedArrayMethod,Ae=ae&&ae.prototype,ye=!ee(function(){Ae[re].call([1])}),Ee=!!Ae&&Ae.values&&Ae[re]===Ae.values&&Ae.values.name==="values",Le=function(){return ce(we(this))};xe("entries",function(){return me(we(this))},ye),xe("keys",function(){return de(we(this))},ye),xe("values",Le,ye||!Ee,{name:"values"}),xe(re,Le,ye||!Ee,{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(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/function-uncurry-this"),ie=ne.aTypedArray,oe=ne.exportTypedArrayMethod,le=ee([].join);oe("join",function(re){return le(ie(this),re)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/function-apply"),ie=E("../internals/array-last-index-of"),oe=ne.aTypedArray,le=ne.exportTypedArrayMethod;le("lastIndexOf",function(re){var ae=arguments.length;return ee(ie,oe(this),ae>1?[re,arguments[1]]:[re])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-iteration").map,ie=E("../internals/typed-array-species-constructor"),oe=ne.aTypedArray,le=ne.exportTypedArrayMethod;le("map",function(re){return ee(oe(this),re,arguments.length>1?arguments[1]:void 0,function(ae,ce){return new(ie(ae))(ce)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-reduce").right,ie=ne.aTypedArray,oe=ne.exportTypedArrayMethod;oe("reduceRight",function(pe){var re=arguments.length;return ee(ie(this),pe,re,re>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-reduce").left,ie=ne.aTypedArray,oe=ne.exportTypedArrayMethod;oe("reduce",function(pe){var re=arguments.length;return ee(ie(this),pe,re,re>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=ne.aTypedArray,ie=ne.exportTypedArrayMethod,oe=Math.floor;ie("reverse",function(){for(var pe=this,re=ee(pe).length,ae=oe(re/2),ce=0,de;ce<ae;)de=pe[ce],pe[ce++]=pe[--re],pe[re]=de;return pe})},{"../internals/array-buffer-view-core":103}],331:[function(E,je,ve){"use strict";var ne=E("../internals/global"),ee=E("../internals/function-call"),ie=E("../internals/array-buffer-view-core"),oe=E("../internals/length-of-array-like"),le=E("../internals/to-offset"),pe=E("../internals/to-object"),re=E("../internals/fails"),ae=ne.RangeError,ce=ne.Int8Array,de=ce&&ce.prototype,me=de&&de.set,we=ie.aTypedArray,xe=ie.exportTypedArrayMethod,Ae=!re(function(){var Ee=new Uint8ClampedArray(2);return ee(me,Ee,{length:1,0:3},1),Ee[1]!==3}),ye=Ae&&ie.NATIVE_ARRAY_BUFFER_VIEWS&&re(function(){var Ee=new ce(2);return Ee.set(1),Ee.set("2",1),Ee[0]!==0||Ee[1]!==2});xe("set",function(Le){we(this);var Ce=le(arguments.length>1?arguments[1]:void 0,1),_e=pe(Le);if(Ae)return ee(me,this,_e,Ce);var Me=this.length,De=oe(_e),Se=0;if(De+Ce>Me)throw ae("Wrong length");for(;Se<De;)this[Ce+Se]=_e[Se++]},!Ae||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(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/typed-array-species-constructor"),ie=E("../internals/fails"),oe=E("../internals/array-slice"),le=ne.aTypedArray,pe=ne.exportTypedArrayMethod,re=ie(function(){new Int8Array(1).slice()});pe("slice",function(ce,de){for(var me=oe(le(this),ce,de),we=ee(this),xe=0,Ae=me.length,ye=new we(Ae);Ae>xe;)ye[xe]=me[xe++];return ye},re)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/array-iteration").some,ie=ne.aTypedArray,oe=ne.exportTypedArrayMethod;oe("some",function(pe){return ee(ie(this),pe,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,je,ve){"use strict";var ne=E("../internals/global"),ee=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),oe=E("../internals/a-callable"),le=E("../internals/array-sort"),pe=E("../internals/array-buffer-view-core"),re=E("../internals/engine-ff-version"),ae=E("../internals/engine-is-ie-or-edge"),ce=E("../internals/engine-v8-version"),de=E("../internals/engine-webkit-version"),me=pe.aTypedArray,we=pe.exportTypedArrayMethod,xe=ne.Uint16Array,Ae=xe&&ee(xe.prototype.sort),ye=!!Ae&&!(ie(function(){Ae(new xe(2),null)})&&ie(function(){Ae(new xe(2),{})})),Ee=!!Ae&&!ie(function(){if(ce)return ce<74;if(re)return re<67;if(ae)return!0;if(de)return de<602;var Ce=new xe(516),_e=Array(516),Me,De;for(Me=0;Me<516;Me++)De=Me%4,Ce[Me]=515-Me,_e[Me]=Me-2*De+3;for(Ae(Ce,function(Se,Be){return(Se/4|0)-(Be/4|0)}),Me=0;Me<516;Me++)if(Ce[Me]!==_e[Me])return!0}),Le=function(Ce){return function(_e,Me){return Ce!==void 0?+Ce(_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),Ee?Ae(this,_e):le(me(this),Le(_e))},!Ee||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(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core"),ee=E("../internals/to-length"),ie=E("../internals/to-absolute-index"),oe=E("../internals/typed-array-species-constructor"),le=ne.aTypedArray,pe=ne.exportTypedArrayMethod;pe("subarray",function(ae,ce){var de=le(this),me=de.length,we=ie(ae,me),xe=oe(de);return new xe(de.buffer,de.byteOffset+we*de.BYTES_PER_ELEMENT,ee((ce===void 0?me:ie(ce,me))-we))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,je,ve){"use strict";var ne=E("../internals/global"),ee=E("../internals/function-apply"),ie=E("../internals/array-buffer-view-core"),oe=E("../internals/fails"),le=E("../internals/array-slice"),pe=ne.Int8Array,re=ie.aTypedArray,ae=ie.exportTypedArrayMethod,ce=[].toLocaleString,de=!!pe&&oe(function(){ce.call(new pe(1))}),me=oe(function(){return[1,2].toLocaleString()!=new pe([1,2]).toLocaleString()})||!oe(function(){pe.prototype.toLocaleString.call([1,2])});ae("toLocaleString",function(){return ee(ce,de?le(re(this)):re(this),le(arguments))},me)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,je,ve){"use strict";var ne=E("../internals/array-buffer-view-core").exportTypedArrayMethod,ee=E("../internals/fails"),ie=E("../internals/global"),oe=E("../internals/function-uncurry-this"),le=ie.Uint8Array,pe=le&&le.prototype||{},re=[].toString,ae=oe([].join);ee(function(){re.call({})})&&(re=function(){return ae(this)});var ce=pe.toString!=re;ne("toString",re,ce)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,je,ve){var ne=E("../internals/typed-array-constructor");ne("Uint8",function(ee){return function(oe,le,pe){return ee(this,oe,le,pe)}})},{"../internals/typed-array-constructor":258}],339:[function(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),oe=E("../internals/array-for-each"),le=E("../internals/create-non-enumerable-property"),pe=function(ae){if(ae&&ae.forEach!==oe)try{le(ae,"forEach",oe)}catch(ce){ae.forEach=oe}};for(var re in ee)ee[re]&&pe(ne[re]&&ne[re].prototype);pe(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(E,je,ve){var ne=E("../internals/global"),ee=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),oe=E("../modules/es.array.iterator"),le=E("../internals/create-non-enumerable-property"),pe=E("../internals/well-known-symbol"),re=pe("iterator"),ae=pe("toStringTag"),ce=oe.values,de=function(we,xe){if(we){if(we[re]!==ce)try{le(we,re,ce)}catch(ye){we[re]=ce}if(we[ae]||le(we,ae,xe),ee[xe]){for(var Ae in oe)if(we[Ae]!==oe[Ae])try{le(we,Ae,oe[Ae])}catch(ye){we[Ae]=oe[Ae]}}}};for(var me in ee)de(ne[me]&&ne[me].prototype,me);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(E,je,ve){function ne(Ee){return Array.isArray?Array.isArray(Ee):ye(Ee)==="[object Array]"}ve.isArray=ne;function ee(Ee){return typeof Ee=="boolean"}ve.isBoolean=ee;function ie(Ee){return Ee===null}ve.isNull=ie;function oe(Ee){return Ee==null}ve.isNullOrUndefined=oe;function le(Ee){return typeof Ee=="number"}ve.isNumber=le;function pe(Ee){return typeof Ee=="string"}ve.isString=pe;function re(Ee){return typeof Ee=="symbol"}ve.isSymbol=re;function ae(Ee){return Ee===void 0}ve.isUndefined=ae;function ce(Ee){return ye(Ee)==="[object RegExp]"}ve.isRegExp=ce;function de(Ee){return typeof Ee=="object"&&Ee!==null}ve.isObject=de;function me(Ee){return ye(Ee)==="[object Date]"}ve.isDate=me;function we(Ee){return ye(Ee)==="[object Error]"||Ee instanceof Error}ve.isError=we;function xe(Ee){return typeof Ee=="function"}ve.isFunction=xe;function Ae(Ee){return Ee===null||typeof Ee=="boolean"||typeof Ee=="number"||typeof Ee=="string"||typeof Ee=="symbol"||typeof Ee=="undefined"}ve.isPrimitive=Ae,ve.isBuffer=E("buffer").Buffer.isBuffer;function ye(Ee){return Object.prototype.toString.call(Ee)}},{buffer:90}],342:[function(E,je,ve){(function(ne){"use strict";var ee=function(){var re=/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,ce=/[^-+\dA-Z]/g;return function(de,me,we,xe){if(arguments.length===1&&pe(de)==="string"&&!/\d/.test(de)&&(me=de,de=void 0),de=de||new Date,de instanceof Date||(de=new Date(de)),isNaN(de))throw TypeError("Invalid date");me=String(ee.masks[me]||me||ee.masks.default);var Ae=me.slice(0,4);(Ae==="UTC:"||Ae==="GMT:")&&(me=me.slice(4),we=!0,Ae==="GMT:"&&(xe=!0));var ye=we?"getUTC":"get",Ee=de[ye+"Date"](),Le=de[ye+"Day"](),Ce=de[ye+"Month"](),_e=de[ye+"FullYear"](),Me=de[ye+"Hours"](),De=de[ye+"Minutes"](),Se=de[ye+"Seconds"](),Be=de[ye+"Milliseconds"](),Re=we?0:de.getTimezoneOffset(),Xe=oe(de),Ie=le(de),Ye={d:Ee,dd:ie(Ee),ddd:ee.i18n.dayNames[Le],dddd:ee.i18n.dayNames[Le+7],m:Ce+1,mm:ie(Ce+1),mmm:ee.i18n.monthNames[Ce],mmmm:ee.i18n.monthNames[Ce+12],yy:String(_e).slice(2),yyyy:_e,h:Me%12||12,hh:ie(Me%12||12),H:Me,HH:ie(Me),M:De,MM:ie(De),s:Se,ss:ie(Se),l:ie(Be,3),L:ie(Math.round(Be/10)),t:Me<12?"a":"p",tt:Me<12?"am":"pm",T:Me<12?"A":"P",TT:Me<12?"AM":"PM",Z:xe?"GMT":we?"UTC":(String(de).match(ae)||[""]).pop().replace(ce,""),o:(Re>0?"-":"+")+ie(Math.floor(Math.abs(Re)/60)*100+Math.abs(Re)%60,4),S:["th","st","nd","rd"][Ee%10>3?0:(Ee%100-Ee%10!=10)*Ee%10],W:Xe,N:Ie};return me.replace(re,function(Ge){return Ge in Ye?Ye[Ge]:Ge.slice(1,Ge.length-1)})}}();ee.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"},ee.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(re,ae){for(re=String(re),ae=ae||2;re.length<ae;)re="0"+re;return re}function oe(re){var ae=new Date(re.getFullYear(),re.getMonth(),re.getDate());ae.setDate(ae.getDate()-(ae.getDay()+6)%7+3);var ce=new Date(ae.getFullYear(),0,4);ce.setDate(ce.getDate()-(ce.getDay()+6)%7+3);var de=ae.getTimezoneOffset()-ce.getTimezoneOffset();ae.setHours(ae.getHours()-de);var me=(ae-ce)/(864e5*7);return 1+Math.floor(me)}function le(re){var ae=re.getDay();return ae===0&&(ae=7),ae}function pe(re){return re===null?"null":re===void 0?"undefined":typeof re!="object"?typeof re:Array.isArray(re)?"array":{}.toString.call(re).slice(8,-1).toLowerCase()}typeof Te=="function"&&Te.amd?Te(function(){return ee}):typeof ve=="object"?je.exports=ee:ne.dateFormat=ee})(this)},{}],343:[function(E,je,ve){"use strict";var ne=/["'&<>]/;je.exports=ee;function ee(ie){var oe=""+ie,le=ne.exec(oe);if(!le)return oe;var pe,re="",ae=0,ce=0;for(ae=le.index;ae<oe.length;ae++){switch(oe.charCodeAt(ae)){case 34:pe="&quot;";break;case 38:pe="&amp;";break;case 39:pe="&#39;";break;case 60:pe="&lt;";break;case 62:pe="&gt;";break;default:continue}ce!==ae&&(re+=oe.substring(ce,ae)),ce=ae+1,re+=pe}return ce!==ae?re+oe.substring(ce,ae):re}},{}],344:[function(E,je,ve){"use strict";var ne=typeof Reflect=="object"?Reflect:null,ee=ne&&typeof ne.apply=="function"?ne.apply:function(Se,Be,Re){return Function.prototype.apply.call(Se,Be,Re)},ie;ne&&typeof ne.ownKeys=="function"?ie=ne.ownKeys:Object.getOwnPropertySymbols?ie=function(Se){return Object.getOwnPropertyNames(Se).concat(Object.getOwnPropertySymbols(Se))}:ie=function(Se){return Object.getOwnPropertyNames(Se)};function oe(De){console&&console.warn&&console.warn(De)}var le=Number.isNaN||function(Se){return Se!==Se};function pe(){pe.init.call(this)}je.exports=pe,je.exports.once=Ce,pe.EventEmitter=pe,pe.prototype._events=void 0,pe.prototype._eventsCount=0,pe.prototype._maxListeners=void 0;var re=10;function ae(De){if(typeof De!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof De)}Object.defineProperty(pe,"defaultMaxListeners",{enumerable:!0,get:function(){return re},set:function(De){if(typeof De!="number"||De<0||le(De))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+De+".");re=De}}),pe.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},pe.prototype.setMaxListeners=function(Se){if(typeof Se!="number"||Se<0||le(Se))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Se+".");return this._maxListeners=Se,this};function ce(De){return De._maxListeners===void 0?pe.defaultMaxListeners:De._maxListeners}pe.prototype.getMaxListeners=function(){return ce(this)},pe.prototype.emit=function(Se){for(var Be=[],Re=1;Re<arguments.length;Re++)Be.push(arguments[Re]);var Xe=Se==="error",Ie=this._events;if(Ie!==void 0)Xe=Xe&&Ie.error===void 0;else if(!Xe)return!1;if(Xe){var Ye;if(Be.length>0&&(Ye=Be[0]),Ye instanceof Error)throw Ye;var Ge=new Error("Unhandled error."+(Ye?" ("+Ye.message+")":""));throw Ge.context=Ye,Ge}var qe=Ie[Se];if(qe===void 0)return!1;if(typeof qe=="function")ee(qe,this,Be);else for(var it=qe.length,st=ye(qe,it),Re=0;Re<it;++Re)ee(st[Re],this,Be);return!0};function de(De,Se,Be,Re){var Xe,Ie,Ye;if(ae(Be),Ie=De._events,Ie===void 0?(Ie=De._events=Object.create(null),De._eventsCount=0):(Ie.newListener!==void 0&&(De.emit("newListener",Se,Be.listener?Be.listener:Be),Ie=De._events),Ye=Ie[Se]),Ye===void 0)Ye=Ie[Se]=Be,++De._eventsCount;else if(typeof Ye=="function"?Ye=Ie[Se]=Re?[Be,Ye]:[Ye,Be]:Re?Ye.unshift(Be):Ye.push(Be),Xe=ce(De),Xe>0&&Ye.length>Xe&&!Ye.warned){Ye.warned=!0;var Ge=new Error("Possible EventEmitter memory leak detected. "+Ye.length+" "+String(Se)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ge.name="MaxListenersExceededWarning",Ge.emitter=De,Ge.type=Se,Ge.count=Ye.length,oe(Ge)}return De}pe.prototype.addListener=function(Se,Be){return de(this,Se,Be,!1)},pe.prototype.on=pe.prototype.addListener,pe.prototype.prependListener=function(Se,Be){return de(this,Se,Be,!0)};function me(){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(De,Se,Be){var Re={fired:!1,wrapFn:void 0,target:De,type:Se,listener:Be},Xe=me.bind(Re);return Xe.listener=Be,Re.wrapFn=Xe,Xe}pe.prototype.once=function(Se,Be){return ae(Be),this.on(Se,we(this,Se,Be)),this},pe.prototype.prependOnceListener=function(Se,Be){return ae(Be),this.prependListener(Se,we(this,Se,Be)),this},pe.prototype.removeListener=function(Se,Be){var Re,Xe,Ie,Ye,Ge;if(ae(Be),Xe=this._events,Xe===void 0)return this;if(Re=Xe[Se],Re===void 0)return this;if(Re===Be||Re.listener===Be)--this._eventsCount===0?this._events=Object.create(null):(delete Xe[Se],Xe.removeListener&&this.emit("removeListener",Se,Re.listener||Be));else if(typeof Re!="function"){for(Ie=-1,Ye=Re.length-1;Ye>=0;Ye--)if(Re[Ye]===Be||Re[Ye].listener===Be){Ge=Re[Ye].listener,Ie=Ye;break}if(Ie<0)return this;Ie===0?Re.shift():Ee(Re,Ie),Re.length===1&&(Xe[Se]=Re[0]),Xe.removeListener!==void 0&&this.emit("removeListener",Se,Ge||Be)}return this},pe.prototype.off=pe.prototype.removeListener,pe.prototype.removeAllListeners=function(Se){var Be,Re,Xe;if(Re=this._events,Re===void 0)return this;if(Re.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Re[Se]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Re[Se]),this;if(arguments.length===0){var Ie=Object.keys(Re),Ye;for(Xe=0;Xe<Ie.length;++Xe)Ye=Ie[Xe],Ye!=="removeListener"&&this.removeAllListeners(Ye);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Be=Re[Se],typeof Be=="function")this.removeListener(Se,Be);else if(Be!==void 0)for(Xe=Be.length-1;Xe>=0;Xe--)this.removeListener(Se,Be[Xe]);return this};function xe(De,Se,Be){var Re=De._events;if(Re===void 0)return[];var Xe=Re[Se];return Xe===void 0?[]:typeof Xe=="function"?Be?[Xe.listener||Xe]:[Xe]:Be?Le(Xe):ye(Xe,Xe.length)}pe.prototype.listeners=function(Se){return xe(this,Se,!0)},pe.prototype.rawListeners=function(Se){return xe(this,Se,!1)},pe.listenerCount=function(De,Se){return typeof De.listenerCount=="function"?De.listenerCount(Se):Ae.call(De,Se)},pe.prototype.listenerCount=Ae;function Ae(De){var Se=this._events;if(Se!==void 0){var Be=Se[De];if(typeof Be=="function")return 1;if(Be!==void 0)return Be.length}return 0}pe.prototype.eventNames=function(){return this._eventsCount>0?ie(this._events):[]};function ye(De,Se){for(var Be=new Array(Se),Re=0;Re<Se;++Re)Be[Re]=De[Re];return Be}function Ee(De,Se){for(;Se+1<De.length;Se++)De[Se]=De[Se+1];De.pop()}function Le(De){for(var Se=new Array(De.length),Be=0;Be<Se.length;++Be)Se[Be]=De[Be].listener||De[Be];return Se}function Ce(De,Se){return new Promise(function(Be,Re){function Xe(Ye){De.removeListener(Se,Ie),Re(Ye)}function Ie(){typeof De.removeListener=="function"&&De.removeListener("error",Xe),Be([].slice.call(arguments))}Me(De,Se,Ie,{once:!0}),Se!=="error"&&_e(De,Xe,{once:!0})})}function _e(De,Se,Be){typeof De.on=="function"&&Me(De,"error",Se,Be)}function Me(De,Se,Be,Re){if(typeof De.on=="function")Re.once?De.once(Se,Be):De.on(Se,Be);else if(typeof De.addEventListener=="function")De.addEventListener(Se,function Xe(Ie){Re.once&&De.removeEventListener(Se,Xe),Be(Ie)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof De)}},{}],345:[function(E,je,ve){"use strict";var ne=E("is-callable"),ee=Object.prototype.toString,ie=Object.prototype.hasOwnProperty,oe=function(ce,de,me){for(var we=0,xe=ce.length;we<xe;we++)ie.call(ce,we)&&(me==null?de(ce[we],we,ce):de.call(me,ce[we],we,ce))},le=function(ce,de,me){for(var we=0,xe=ce.length;we<xe;we++)me==null?de(ce.charAt(we),we,ce):de.call(me,ce.charAt(we),we,ce)},pe=function(ce,de,me){for(var we in ce)ie.call(ce,we)&&(me==null?de(ce[we],we,ce):de.call(me,ce[we],we,ce))},re=function(ce,de,me){if(!ne(de))throw new TypeError("iterator must be a function");var we;arguments.length>=3&&(we=me),ee.call(ce)==="[object Array]"?oe(ce,de,we):typeof ce=="string"?le(ce,de,we):pe(ce,de,we)};je.exports=re},{"is-callable":367}],346:[function(E,je,ve){"use strict";var ne="Function.prototype.bind called on incompatible ",ee=Array.prototype.slice,ie=Object.prototype.toString,oe="[object Function]";je.exports=function(pe){var re=this;if(typeof re!="function"||ie.call(re)!==oe)throw new TypeError(ne+re);for(var ae=ee.call(arguments,1),ce,de=function(){if(this instanceof ce){var ye=re.apply(this,ae.concat(ee.call(arguments)));return Object(ye)===ye?ye:this}else return re.apply(pe,ae.concat(ee.call(arguments)))},me=Math.max(0,re.length-ae.length),we=[],xe=0;xe<me;xe++)we.push("$"+xe);if(ce=Function("binder","return function ("+we.join(",")+"){ return binder.apply(this,arguments); }")(de),re.prototype){var Ae=function(){};Ae.prototype=re.prototype,ce.prototype=new Ae,Ae.prototype=null}return ce}},{}],347:[function(E,je,ve){"use strict";var ne=E("./implementation");je.exports=Function.prototype.bind||ne},{"./implementation":346}],348:[function(E,je,ve){"use strict";var ne,ee=SyntaxError,ie=Function,oe=TypeError,le=function(qe){try{return ie('"use strict"; return ('+qe+").constructor;")()}catch(it){}},pe=Object.getOwnPropertyDescriptor;if(pe)try{pe({},"")}catch(qe){pe=null}var re=function(){throw new oe},ae=pe?function(){try{return arguments.callee,re}catch(qe){try{return pe(arguments,"callee").get}catch(it){return re}}}():re,ce=E("has-symbols")(),de=E("has-proto")(),me=Object.getPrototypeOf||(de?function(qe){return qe.__proto__}:null),we={},xe=typeof Uint8Array=="undefined"||!me?ne:me(Uint8Array),Ae={"%AggregateError%":typeof AggregateError=="undefined"?ne:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?ne:ArrayBuffer,"%ArrayIteratorPrototype%":ce&&me?me([][Symbol.iterator]()):ne,"%AsyncFromSyncIteratorPrototype%":ne,"%AsyncFunction%":we,"%AsyncGenerator%":we,"%AsyncGeneratorFunction%":we,"%AsyncIteratorPrototype%":we,"%Atomics%":typeof Atomics=="undefined"?ne:Atomics,"%BigInt%":typeof BigInt=="undefined"?ne:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?ne:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?ne:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?ne:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?ne:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?ne:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?ne:FinalizationRegistry,"%Function%":ie,"%GeneratorFunction%":we,"%Int8Array%":typeof Int8Array=="undefined"?ne:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?ne:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?ne:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ce&&me?me(me([][Symbol.iterator]())):ne,"%JSON%":typeof JSON=="object"?JSON:ne,"%Map%":typeof Map=="undefined"?ne:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!ce||!me?ne:me(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?ne:Promise,"%Proxy%":typeof Proxy=="undefined"?ne:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?ne:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?ne:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!ce||!me?ne:me(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?ne:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ce&&me?me(""[Symbol.iterator]()):ne,"%Symbol%":ce?Symbol:ne,"%SyntaxError%":ee,"%ThrowTypeError%":ae,"%TypedArray%":xe,"%TypeError%":oe,"%Uint8Array%":typeof Uint8Array=="undefined"?ne:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?ne:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?ne:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?ne:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?ne:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?ne:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?ne:WeakSet};if(me)try{null.error}catch(qe){var ye=me(me(qe));Ae["%Error.prototype%"]=ye}var Ee=function qe(it){var st;if(it==="%AsyncFunction%")st=le("async function () {}");else if(it==="%GeneratorFunction%")st=le("function* () {}");else if(it==="%AsyncGeneratorFunction%")st=le("async function* () {}");else if(it==="%AsyncGenerator%"){var Ve=qe("%AsyncGeneratorFunction%");Ve&&(st=Ve.prototype)}else if(it==="%AsyncIteratorPrototype%"){var Qe=qe("%AsyncGenerator%");Qe&&me&&(st=me(Qe.prototype))}return Ae[it]=st,st},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"]},Ce=E("function-bind"),_e=E("has"),Me=Ce.call(Function.call,Array.prototype.concat),De=Ce.call(Function.apply,Array.prototype.splice),Se=Ce.call(Function.call,String.prototype.replace),Be=Ce.call(Function.call,String.prototype.slice),Re=Ce.call(Function.call,RegExp.prototype.exec),Xe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ie=/\\(\\)?/g,Ye=function(it){var st=Be(it,0,1),Ve=Be(it,-1);if(st==="%"&&Ve!=="%")throw new ee("invalid intrinsic syntax, expected closing `%`");if(Ve==="%"&&st!=="%")throw new ee("invalid intrinsic syntax, expected opening `%`");var Qe=[];return Se(it,Xe,function(nt,dt,at,tt){Qe[Qe.length]=at?Se(tt,Ie,"$1"):dt||nt}),Qe},Ge=function(it,st){var Ve=it,Qe;if(_e(Le,Ve)&&(Qe=Le[Ve],Ve="%"+Qe[0]+"%"),_e(Ae,Ve)){var nt=Ae[Ve];if(nt===we&&(nt=Ee(Ve)),typeof nt=="undefined"&&!st)throw new oe("intrinsic "+it+" exists, but is not available. Please file an issue!");return{alias:Qe,name:Ve,value:nt}}throw new ee("intrinsic "+it+" does not exist!")};je.exports=function(it,st){if(typeof it!="string"||it.length===0)throw new oe("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof st!="boolean")throw new oe('"allowMissing" argument must be a boolean');if(Re(/^%?[^%]*%?$/,it)===null)throw new ee("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ve=Ye(it),Qe=Ve.length>0?Ve[0]:"",nt=Ge("%"+Qe+"%",st),dt=nt.name,at=nt.value,tt=!1,et=nt.alias;et&&(Qe=et[0],De(Ve,Me([0,1],et)));for(var ot=1,yt=!0;ot<Ve.length;ot+=1){var pt=Ve[ot],Pt=Be(pt,0,1),Mt=Be(pt,-1);if((Pt==='"'||Pt==="'"||Pt==="`"||Mt==='"'||Mt==="'"||Mt==="`")&&Pt!==Mt)throw new ee("property names with quotes must have matching quotes");if((pt==="constructor"||!yt)&&(tt=!0),Qe+="."+pt,dt="%"+Qe+"%",_e(Ae,dt))at=Ae[dt];else if(at!=null){if(!(pt in at)){if(!st)throw new oe("base intrinsic for "+it+" exists, but the property is not available.");return}if(pe&&ot+1>=Ve.length){var ct=pe(at,pt);yt=!!ct,yt&&"get"in ct&&!("originalValue"in ct.get)?at=ct.get:at=at[pt]}else yt=_e(at,pt),at=at[pt];yt&&!tt&&(Ae[dt]=at)}}return at}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,je,ve){"use strict";var ne=E("get-intrinsic"),ee=ne("%Object.getOwnPropertyDescriptor%",!0);if(ee)try{ee([],"length")}catch(ie){ee=null}je.exports=ee},{"get-intrinsic":348}],350:[function(E,je,ve){"use strict";var ne={foo:{}},ee=Object;je.exports=function(){return{__proto__:ne}.foo===ne.foo&&!({__proto__:null}instanceof ee)}},{}],351:[function(E,je,ve){"use strict";var ne=typeof Symbol!="undefined"&&Symbol,ee=E("./shams");je.exports=function(){return typeof ne!="function"||typeof Symbol!="function"||typeof ne("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ee()}},{"./shams":352}],352:[function(E,je,ve){"use strict";je.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var ee={},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;ee[ie]=le;for(ie in ee)return!1;if(typeof Object.keys=="function"&&Object.keys(ee).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(ee).length!==0)return!1;var pe=Object.getOwnPropertySymbols(ee);if(pe.length!==1||pe[0]!==ie||!Object.prototype.propertyIsEnumerable.call(ee,ie))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var re=Object.getOwnPropertyDescriptor(ee,ie);if(re.value!==le||re.enumerable!==!0)return!1}return!0}},{}],353:[function(E,je,ve){"use strict";var ne=E("has-symbols/shams");je.exports=function(){return ne()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,je,ve){"use strict";var ne=E("function-bind");je.exports=ne.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,je,ve){var ne=E("http"),ee=E("url"),ie=je.exports;for(var oe in ne)ne.hasOwnProperty(oe)&&(ie[oe]=ne[oe]);ie.request=function(pe,re){return pe=le(pe),ne.request.call(this,pe,re)},ie.get=function(pe,re){return pe=le(pe),ne.get.call(this,pe,re)};function le(pe){if(typeof pe=="string"&&(pe=ee.parse(pe)),pe.protocol||(pe.protocol="https:"),pe.protocol!=="https:")throw new Error('Protocol "'+pe.protocol+'" not supported. Expected "https:"');return pe}},{http:468,url:472}],356:[function(E,je,ve){"use strict";var ne=E("util"),ee=E("ms");je.exports=function(ie){if(typeof ie=="number")return ie;var oe=ee(ie);if(oe===void 0){var le=new Error(ne.format("humanize-ms(%j) result undefined",ie));console.warn(le.stack)}return oe}},{ms:376,util:419}],357:[function(E,je,ve){ve.read=function(ne,ee,ie,oe,le){var pe,re,ae=le*8-oe-1,ce=(1<<ae)-1,de=ce>>1,me=-7,we=ie?le-1:0,xe=ie?-1:1,Ae=ne[ee+we];for(we+=xe,pe=Ae&(1<<-me)-1,Ae>>=-me,me+=ae;me>0;pe=pe*256+ne[ee+we],we+=xe,me-=8);for(re=pe&(1<<-me)-1,pe>>=-me,me+=oe;me>0;re=re*256+ne[ee+we],we+=xe,me-=8);if(pe===0)pe=1-de;else{if(pe===ce)return re?NaN:(Ae?-1:1)*(1/0);re=re+Math.pow(2,oe),pe=pe-de}return(Ae?-1:1)*re*Math.pow(2,pe-oe)},ve.write=function(ne,ee,ie,oe,le,pe){var re,ae,ce,de=pe*8-le-1,me=(1<<de)-1,we=me>>1,xe=le===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ae=oe?0:pe-1,ye=oe?1:-1,Ee=ee<0||ee===0&&1/ee<0?1:0;for(ee=Math.abs(ee),isNaN(ee)||ee===1/0?(ae=isNaN(ee)?1:0,re=me):(re=Math.floor(Math.log(ee)/Math.LN2),ee*(ce=Math.pow(2,-re))<1&&(re--,ce*=2),re+we>=1?ee+=xe/ce:ee+=xe*Math.pow(2,1-we),ee*ce>=2&&(re++,ce/=2),re+we>=me?(ae=0,re=me):re+we>=1?(ae=(ee*ce-1)*Math.pow(2,le),re=re+we):(ae=ee*Math.pow(2,we-1)*Math.pow(2,le),re=0));le>=8;ne[ie+Ae]=ae&255,Ae+=ye,ae/=256,le-=8);for(re=re<<le|ae,de+=le;de>0;ne[ie+Ae]=re&255,Ae+=ye,re/=256,de-=8);ne[ie+Ae-ye]|=Ee*128}},{}],358:[function(E,je,ve){"use strict";var ne=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],ee,ie,oe=-1,le=[],pe=!1;function re(){!ee||!ie||(ee=!1,ie.length?le=ie.concat(le):oe=-1,le.length&&ae())}function ae(){if(!ee){pe=!1,ee=!0;for(var Ae=le.length,ye=setTimeout(re);Ae;){for(ie=le,le=[];ie&&++oe<Ae;)ie[oe].run();oe=-1,Ae=le.length}ie=null,oe=-1,ee=!1,clearTimeout(ye)}}for(var ce,de=-1,me=ne.length;++de<me;)if(ne[de]&&ne[de].test&&ne[de].test()){ce=ne[de].install(ae);break}function we(Ae,ye){this.fun=Ae,this.array=ye}we.prototype.run=function(){var Ae=this.fun,ye=this.array;switch(ye.length){case 0:return Ae();case 1:return Ae(ye[0]);case 2:return Ae(ye[0],ye[1]);case 3:return Ae(ye[0],ye[1],ye[2]);default:return Ae.apply(null,ye)}},je.exports=xe;function xe(Ae){var ye=new Array(arguments.length-1);if(arguments.length>1)for(var Ee=1;Ee<arguments.length;Ee++)ye[Ee-1]=arguments[Ee];le.push(new we(Ae,ye)),!pe&&!ee&&(pe=!0,ce())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(E,je,ve){(function(ne){(function(){"use strict";ve.test=function(){return ne.setImmediate?!1:typeof ne.MessageChannel!="undefined"},ve.install=function(ee){var ie=new ne.MessageChannel;return ie.port1.onmessage=ee,function(){ie.port2.postMessage(0)}}}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(E,je,ve){(function(ne){(function(){"use strict";var ee=ne.MutationObserver||ne.WebKitMutationObserver;ve.test=function(){return ee},ve.install=function(ie){var oe=0,le=new ee(ie),pe=ne.document.createTextNode("");return le.observe(pe,{characterData:!0}),function(){pe.data=oe=++oe%2}}}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(E,je,ve){(function(ne){(function(){"use strict";ve.test=function(){return typeof ne.queueMicrotask=="function"},ve.install=function(ee){return function(){ne.queueMicrotask(ee)}}}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(E,je,ve){(function(ne){(function(){"use strict";ve.test=function(){return"document"in ne&&"onreadystatechange"in ne.document.createElement("script")},ve.install=function(ee){return function(){var ie=ne.document.createElement("script");return ie.onreadystatechange=function(){ee(),ie.onreadystatechange=null,ie.parentNode.removeChild(ie),ie=null},ne.document.documentElement.appendChild(ie),ee}}}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(E,je,ve){"use strict";ve.test=function(){return!0},ve.install=function(ne){return function(){setTimeout(ne,0)}}},{}],364:[function(E,je,ve){typeof Object.create=="function"?je.exports=function(ee,ie){ie&&(ee.super_=ie,ee.prototype=Object.create(ie.prototype,{constructor:{value:ee,enumerable:!1,writable:!0,configurable:!0}}))}:je.exports=function(ee,ie){if(ie){ee.super_=ie;var oe=function(){};oe.prototype=ie.prototype,ee.prototype=new oe,ee.prototype.constructor=ee}}},{}],365:[function(E,je,ve){"use strict";var ne=E("has-tostringtag/shams")(),ee=E("call-bind/callBound"),ie=ee("Object.prototype.toString"),oe=function(ae){return ne&&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]"},pe=function(){return oe(arguments)}();oe.isLegacyArguments=le,je.exports=pe?oe:le},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,je,ve){je.exports=function(ie){return ie!=null&&(ne(ie)||ee(ie)||!!ie._isBuffer)};function ne(ie){return!!ie.constructor&&typeof ie.constructor.isBuffer=="function"&&ie.constructor.isBuffer(ie)}function ee(ie){return typeof ie.readFloatLE=="function"&&typeof ie.slice=="function"&&ne(ie.slice(0,0))}},{}],367:[function(E,je,ve){"use strict";var ne=Function.prototype.toString,ee=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ie,oe;if(typeof ee=="function"&&typeof Object.defineProperty=="function")try{ie=Object.defineProperty({},"length",{get:function(){throw oe}}),oe={},ee(function(){throw 42},null,ie)}catch(_e){_e!==oe&&(ee=null)}else ee=null;var le=/^\s*class\b/,pe=function(Me){try{var De=ne.call(Me);return le.test(De)}catch(Se){return!1}},re=function(Me){try{return pe(Me)?!1:(ne.call(Me),!0)}catch(De){return!1}},ae=Object.prototype.toString,ce="[object Object]",de="[object Function]",me="[object GeneratorFunction]",we="[object HTMLAllCollection]",xe="[object HTML document.all class]",Ae="[object HTMLCollection]",ye=typeof Symbol=="function"&&!!Symbol.toStringTag,Ee=!(0 in[,]),Le=function(){return!1};if(typeof document=="object"){var Ce=document.all;ae.call(Ce)===ae.call(document.all)&&(Le=function(Me){if((Ee||!Me)&&(typeof Me=="undefined"||typeof Me=="object"))try{var De=ae.call(Me);return(De===we||De===xe||De===Ae||De===ce)&&Me("")==null}catch(Se){}return!1})}je.exports=ee?function(Me){if(Le(Me))return!0;if(!Me||typeof Me!="function"&&typeof Me!="object")return!1;try{ee(Me,null,ie)}catch(De){if(De!==oe)return!1}return!pe(Me)&&re(Me)}:function(Me){if(Le(Me))return!0;if(!Me||typeof Me!="function"&&typeof Me!="object")return!1;if(ye)return re(Me);if(pe(Me))return!1;var De=ae.call(Me);return De!==de&&De!==me&&!/^\[object HTML/.test(De)?!1:re(Me)}},{}],368:[function(E,je,ve){"use strict";var ne=Object.prototype.toString,ee=Function.prototype.toString,ie=/^\s*(?:function)?\*/,oe=E("has-tostringtag/shams")(),le=Object.getPrototypeOf,pe=function(){if(!oe)return!1;try{return Function("return function*() {}")()}catch(ae){}},re;je.exports=function(ce){if(typeof ce!="function")return!1;if(ie.test(ee.call(ce)))return!0;if(!oe){var de=ne.call(ce);return de==="[object GeneratorFunction]"}if(!le)return!1;if(typeof re=="undefined"){var me=pe();re=me?le(me):!1}return le(ce)===re}},{"has-tostringtag/shams":353}],369:[function(E,je,ve){"use strict";var ne=E("which-typed-array");je.exports=function(ie){return!!ne(ie)}},{"which-typed-array":420}],370:[function(E,je,ve){var ne={}.toString;je.exports=Array.isArray||function(ee){return ne.call(ee)=="[object Array]"}},{}],371:[function(E,je,ve){(function(ne){(function(){(function(ee,ie){typeof ve=="object"&&typeof je!="undefined"?je.exports=ie(ee):typeof Te=="function"&&Te.amd?Te(ie):ie(ee)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ne!="undefined"?ne:this,function(ee){"use strict";ee=ee||{};var ie=ee.Base64,oe="2.6.4",le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",pe=function(it){for(var st={},Ve=0,Qe=it.length;Ve<Qe;Ve++)st[it.charAt(Ve)]=Ve;return st}(le),re=String.fromCharCode,ae=function(it){if(it.length<2){var st=it.charCodeAt(0);return st<128?it:st<2048?re(192|st>>>6)+re(128|st&63):re(224|st>>>12&15)+re(128|st>>>6&63)+re(128|st&63)}else{var st=65536+(it.charCodeAt(0)-55296)*1024+(it.charCodeAt(1)-56320);return re(240|st>>>18&7)+re(128|st>>>12&63)+re(128|st>>>6&63)+re(128|st&63)}},ce=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,de=function(it){return it.replace(ce,ae)},me=function(it){var st=[0,2,1][it.length%3],Ve=it.charCodeAt(0)<<16|(it.length>1?it.charCodeAt(1):0)<<8|(it.length>2?it.charCodeAt(2):0),Qe=[le.charAt(Ve>>>18),le.charAt(Ve>>>12&63),st>=2?"=":le.charAt(Ve>>>6&63),st>=1?"=":le.charAt(Ve&63)];return Qe.join("")},we=ee.btoa&&typeof ee.btoa=="function"?function(it){return ee.btoa(it)}:function(it){if(it.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return it.replace(/[\s\S]{1,3}/g,me)},xe=function(it){return we(de(String(it)))},Ae=function(it){return it.replace(/[+\/]/g,function(st){return st=="+"?"-":"_"}).replace(/=/g,"")},ye=function(it,st){return st?Ae(xe(it)):xe(it)},Ee=function(it){return ye(it,!0)},Le;ee.Uint8Array&&(Le=function(it,st){for(var Ve="",Qe=0,nt=it.length;Qe<nt;Qe+=3){var dt=it[Qe],at=it[Qe+1],tt=it[Qe+2],et=dt<<16|at<<8|tt;Ve+=le.charAt(et>>>18)+le.charAt(et>>>12&63)+(typeof at!="undefined"?le.charAt(et>>>6&63):"=")+(typeof tt!="undefined"?le.charAt(et&63):"=")}return st?Ae(Ve):Ve});var Ce=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,_e=function(it){switch(it.length){case 4:var st=(7&it.charCodeAt(0))<<18|(63&it.charCodeAt(1))<<12|(63&it.charCodeAt(2))<<6|63&it.charCodeAt(3),Ve=st-65536;return re((Ve>>>10)+55296)+re((Ve&1023)+56320);case 3:return re((15&it.charCodeAt(0))<<12|(63&it.charCodeAt(1))<<6|63&it.charCodeAt(2));default:return re((31&it.charCodeAt(0))<<6|63&it.charCodeAt(1))}},Me=function(it){return it.replace(Ce,_e)},De=function(it){var st=it.length,Ve=st%4,Qe=(st>0?pe[it.charAt(0)]<<18:0)|(st>1?pe[it.charAt(1)]<<12:0)|(st>2?pe[it.charAt(2)]<<6:0)|(st>3?pe[it.charAt(3)]:0),nt=[re(Qe>>>16),re(Qe>>>8&255),re(Qe&255)];return nt.length-=[0,0,2,1][Ve],nt.join("")},Se=ee.atob&&typeof ee.atob=="function"?function(it){return ee.atob(it)}:function(it){return it.replace(/\S{1,4}/g,De)},Be=function(it){return Se(String(it).replace(/[^A-Za-z0-9\+\/]/g,""))},Re=function(it){return Me(Se(it))},Xe=function(it){return String(it).replace(/[-_]/g,function(st){return st=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ie=function(it){return Re(Xe(it))},Ye;ee.Uint8Array&&(Ye=function(it){return Uint8Array.from(Be(Xe(it)),function(st){return st.charCodeAt(0)})});var Ge=function(){var it=ee.Base64;return ee.Base64=ie,it};if(ee.Base64={VERSION:oe,atob:Be,btoa:we,fromBase64:Ie,toBase64:ye,utob:de,encode:ye,encodeURI:Ee,btou:Me,decode:Ie,noConflict:Ge,fromUint8Array:Le,toUint8Array:Ye},typeof Object.defineProperty=="function"){var qe=function(it){return{value:it,enumerable:!1,writable:!0,configurable:!0}};ee.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",qe(function(){return Ie(this)})),Object.defineProperty(String.prototype,"toBase64",qe(function(it){return ye(this,it)})),Object.defineProperty(String.prototype,"toBase64URI",qe(function(){return ye(this,!0)}))}}return ee.Meteor&&(Base64=ee.Base64),typeof je!="undefined"&&je.exports?je.exports.Base64=ee.Base64:typeof Te=="function"&&Te.amd&&Te([],function(){return ee.Base64}),{Base64:ee.Base64}})}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,je,ve){"use strict";je.exports=ee;var ne=Object.prototype.hasOwnProperty;function ee(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(re){if(!(!le&&ne.call(ie,re))){var ae=Object.getOwnPropertyDescriptor(oe,re);Object.defineProperty(ie,re,ae)}}),ie}},{}],373:[function(E,je,ve){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function ne(){this._types=Object.create(null),this._extensions=Object.create(null);for(var ee=0;ee<arguments.length;ee++)this.define(arguments[ee]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}ne.prototype.define=function(ee,ie){for(var oe in ee){var le=ee[oe].map(function(ce){return ce.toLowerCase()});oe=oe.toLowerCase();for(var pe=0;pe<le.length;pe++){var re=le[pe];if(re[0]!=="*"){if(!ie&&re in this._types)throw new Error('Attempt to change mapping for "'+re+'" extension from "'+this._types[re]+'" to "'+oe+'". Pass `force=true` to allow this, otherwise remove "'+re+'" from the list of extensions for "'+oe+'".');this._types[re]=oe}}if(ie||!this._extensions[oe]){var ae=le[0];this._extensions[oe]=ae[0]!=="*"?ae:ae.substr(1)}}},ne.prototype.getType=function(ee){ee=String(ee);var ie=ee.replace(/^.*[/\\]/,"").toLowerCase(),oe=ie.replace(/^.*\./,"").toLowerCase(),le=ie.length<ee.length,pe=oe.length<ie.length-1;return(pe||!le)&&this._types[oe]||null},ne.prototype.getExtension=function(ee){return ee=/^\s*([^;\s]*)/.test(ee)&&RegExp.$1,ee&&this._extensions[ee.toLowerCase()]||null},je.exports=ne},{"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(E,je,ve){"use strict";var ne=E("./Mime");je.exports=new ne(E("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(E,je,ve){"use strict";je.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(E,je,ve){var ne=1e3,ee=ne*60,ie=ee*60,oe=ie*24,le=oe*7,pe=oe*365.25;je.exports=function(me,we){we=we||{};var xe=typeof me;if(xe==="string"&&me.length>0)return re(me);if(xe==="number"&&isFinite(me))return we.long?ce(me):ae(me);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(me))};function re(me){if(me=String(me),!(me.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(me);if(we){var xe=parseFloat(we[1]),Ae=(we[2]||"ms").toLowerCase();switch(Ae){case"years":case"year":case"yrs":case"yr":case"y":return xe*pe;case"weeks":case"week":case"w":return xe*le;case"days":case"day":case"d":return xe*oe;case"hours":case"hour":case"hrs":case"hr":case"h":return xe*ie;case"minutes":case"minute":case"mins":case"min":case"m":return xe*ee;case"seconds":case"second":case"secs":case"sec":case"s":return xe*ne;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return xe;default:return}}}}function ae(me){var we=Math.abs(me);return we>=oe?Math.round(me/oe)+"d":we>=ie?Math.round(me/ie)+"h":we>=ee?Math.round(me/ee)+"m":we>=ne?Math.round(me/ne)+"s":me+"ms"}function ce(me){var we=Math.abs(me);return we>=oe?de(me,we,oe,"day"):we>=ie?de(me,we,ie,"hour"):we>=ee?de(me,we,ee,"minute"):we>=ne?de(me,we,ne,"second"):me+" ms"}function de(me,we,xe,Ae){var ye=we>=xe*1.5;return Math.round(me/xe)+" "+Ae+(ye?"s":"")}},{}],377:[function(E,je,ve){"use strict";var ne=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;function oe(pe){if(pe==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(pe)}function le(){try{if(!Object.assign)return!1;var pe=new String("abc");if(pe[5]="de",Object.getOwnPropertyNames(pe)[0]==="5")return!1;for(var re={},ae=0;ae<10;ae++)re["_"+String.fromCharCode(ae)]=ae;var ce=Object.getOwnPropertyNames(re).map(function(me){return re[me]});if(ce.join("")!=="0123456789")return!1;var de={};return"abcdefghijklmnopqrst".split("").forEach(function(me){de[me]=me}),Object.keys(Object.assign({},de)).join("")==="abcdefghijklmnopqrst"}catch(me){return!1}}je.exports=le()?Object.assign:function(pe,re){for(var ae,ce=oe(pe),de,me=1;me<arguments.length;me++){ae=Object(arguments[me]);for(var we in ae)ee.call(ae,we)&&(ce[we]=ae[we]);if(ne){de=ne(ae);for(var xe=0;xe<de.length;xe++)ie.call(ae,de[xe])&&(ce[de[xe]]=ae[de[xe]])}}return ce}},{}],378:[function(E,je,ve){(function(ne){(function(){"use strict";function ee(pe){if(typeof pe!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(pe))}function ie(pe,re){for(var ae="",ce=0,de=-1,me=0,we,xe=0;xe<=pe.length;++xe){if(xe<pe.length)we=pe.charCodeAt(xe);else{if(we===47)break;we=47}if(we===47){if(!(de===xe-1||me===1))if(de!==xe-1&&me===2){if(ae.length<2||ce!==2||ae.charCodeAt(ae.length-1)!==46||ae.charCodeAt(ae.length-2)!==46){if(ae.length>2){var Ae=ae.lastIndexOf("/");if(Ae!==ae.length-1){Ae===-1?(ae="",ce=0):(ae=ae.slice(0,Ae),ce=ae.length-1-ae.lastIndexOf("/")),de=xe,me=0;continue}}else if(ae.length===2||ae.length===1){ae="",ce=0,de=xe,me=0;continue}}re&&(ae.length>0?ae+="/..":ae="..",ce=2)}else ae.length>0?ae+="/"+pe.slice(de+1,xe):ae=pe.slice(de+1,xe),ce=xe-de-1;de=xe,me=0}else we===46&&me!==-1?++me:me=-1}return ae}function oe(pe,re){var ae=re.dir||re.root,ce=re.base||(re.name||"")+(re.ext||"");return ae?ae===re.root?ae+ce:ae+pe+ce:ce}var le={resolve:function(){for(var re="",ae=!1,ce,de=arguments.length-1;de>=-1&&!ae;de--){var me;de>=0?me=arguments[de]:(ce===void 0&&(ce=ne.cwd()),me=ce),ee(me),me.length!==0&&(re=me+"/"+re,ae=me.charCodeAt(0)===47)}return re=ie(re,!ae),ae?re.length>0?"/"+re:"/":re.length>0?re:"."},normalize:function(re){if(ee(re),re.length===0)return".";var ae=re.charCodeAt(0)===47,ce=re.charCodeAt(re.length-1)===47;return re=ie(re,!ae),re.length===0&&!ae&&(re="."),re.length>0&&ce&&(re+="/"),ae?"/"+re:re},isAbsolute:function(re){return ee(re),re.length>0&&re.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var re,ae=0;ae<arguments.length;++ae){var ce=arguments[ae];ee(ce),ce.length>0&&(re===void 0?re=ce:re+="/"+ce)}return re===void 0?".":le.normalize(re)},relative:function(re,ae){if(ee(re),ee(ae),re===ae||(re=le.resolve(re),ae=le.resolve(ae),re===ae))return"";for(var ce=1;ce<re.length&&re.charCodeAt(ce)===47;++ce);for(var de=re.length,me=de-ce,we=1;we<ae.length&&ae.charCodeAt(we)===47;++we);for(var xe=ae.length,Ae=xe-we,ye=me<Ae?me:Ae,Ee=-1,Le=0;Le<=ye;++Le){if(Le===ye){if(Ae>ye){if(ae.charCodeAt(we+Le)===47)return ae.slice(we+Le+1);if(Le===0)return ae.slice(we+Le)}else me>ye&&(re.charCodeAt(ce+Le)===47?Ee=Le:Le===0&&(Ee=0));break}var Ce=re.charCodeAt(ce+Le),_e=ae.charCodeAt(we+Le);if(Ce!==_e)break;Ce===47&&(Ee=Le)}var Me="";for(Le=ce+Ee+1;Le<=de;++Le)(Le===de||re.charCodeAt(Le)===47)&&(Me.length===0?Me+="..":Me+="/..");return Me.length>0?Me+ae.slice(we+Ee):(we+=Ee,ae.charCodeAt(we)===47&&++we,ae.slice(we))},_makeLong:function(re){return re},dirname:function(re){if(ee(re),re.length===0)return".";for(var ae=re.charCodeAt(0),ce=ae===47,de=-1,me=!0,we=re.length-1;we>=1;--we)if(ae=re.charCodeAt(we),ae===47){if(!me){de=we;break}}else me=!1;return de===-1?ce?"/":".":ce&&de===1?"//":re.slice(0,de)},basename:function(re,ae){if(ae!==void 0&&typeof ae!="string")throw new TypeError('"ext" argument must be a string');ee(re);var ce=0,de=-1,me=!0,we;if(ae!==void 0&&ae.length>0&&ae.length<=re.length){if(ae.length===re.length&&ae===re)return"";var xe=ae.length-1,Ae=-1;for(we=re.length-1;we>=0;--we){var ye=re.charCodeAt(we);if(ye===47){if(!me){ce=we+1;break}}else Ae===-1&&(me=!1,Ae=we+1),xe>=0&&(ye===ae.charCodeAt(xe)?--xe===-1&&(de=we):(xe=-1,de=Ae))}return ce===de?de=Ae:de===-1&&(de=re.length),re.slice(ce,de)}else{for(we=re.length-1;we>=0;--we)if(re.charCodeAt(we)===47){if(!me){ce=we+1;break}}else de===-1&&(me=!1,de=we+1);return de===-1?"":re.slice(ce,de)}},extname:function(re){ee(re);for(var ae=-1,ce=0,de=-1,me=!0,we=0,xe=re.length-1;xe>=0;--xe){var Ae=re.charCodeAt(xe);if(Ae===47){if(!me){ce=xe+1;break}continue}de===-1&&(me=!1,de=xe+1),Ae===46?ae===-1?ae=xe:we!==1&&(we=1):ae!==-1&&(we=-1)}return ae===-1||de===-1||we===0||we===1&&ae===de-1&&ae===ce+1?"":re.slice(ae,de)},format:function(re){if(re===null||typeof re!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof re);return oe("/",re)},parse:function(re){ee(re);var ae={root:"",dir:"",base:"",ext:"",name:""};if(re.length===0)return ae;var ce=re.charCodeAt(0),de=ce===47,me;de?(ae.root="/",me=1):me=0;for(var we=-1,xe=0,Ae=-1,ye=!0,Ee=re.length-1,Le=0;Ee>=me;--Ee){if(ce=re.charCodeAt(Ee),ce===47){if(!ye){xe=Ee+1;break}continue}Ae===-1&&(ye=!1,Ae=Ee+1),ce===46?we===-1?we=Ee:Le!==1&&(Le=1):we!==-1&&(Le=-1)}return we===-1||Ae===-1||Le===0||Le===1&&we===Ae-1&&we===xe+1?Ae!==-1&&(xe===0&&de?ae.base=ae.name=re.slice(1,Ae):ae.base=ae.name=re.slice(xe,Ae)):(xe===0&&de?(ae.name=re.slice(1,we),ae.base=re.slice(1,Ae)):(ae.name=re.slice(xe,we),ae.base=re.slice(xe,Ae)),ae.ext=re.slice(we,Ae)),xe>0?ae.dir=re.slice(0,xe-1):de&&(ae.dir="/"),ae},sep:"/",delimiter:":",win32:null,posix:null};le.posix=le,je.exports=le}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,je,ve){(function(ne){(function(){(function(){"use strict";var ee={function:!0,object:!0},ie=ee[typeof window]&&window||this,oe=ie,le=ee[typeof ve]&&ve,pe=ee[typeof je]&&je&&!je.nodeType&&je,re=le&&pe&&typeof ne=="object"&&ne;re&&(re.global===re||re.window===re||re.self===re)&&(ie=re);var ae=Math.pow(2,53)-1,ce=/\bOpera/,de=this,me=Object.prototype,we=me.hasOwnProperty,xe=me.toString;function Ae(Ie){return Ie=String(Ie),Ie.charAt(0).toUpperCase()+Ie.slice(1)}function ye(Ie,Ye,Ge){var qe={"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 Ye&&Ge&&/^Win/i.test(Ie)&&!/^Windows Phone /i.test(Ie)&&(qe=qe[/[\d.]+$/.exec(Ie)])&&(Ie="Windows "+qe),Ie=String(Ie),Ye&&Ge&&(Ie=Ie.replace(RegExp(Ye,"i"),Ge)),Ie=Le(Ie.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]),Ie}function Ee(Ie,Ye){var Ge=-1,qe=Ie?Ie.length:0;if(typeof qe=="number"&&qe>-1&&qe<=ae)for(;++Ge<qe;)Ye(Ie[Ge],Ge,Ie);else Ce(Ie,Ye)}function Le(Ie){return Ie=Be(Ie),/^(?:webOS|i(?:OS|P))/.test(Ie)?Ie:Ae(Ie)}function Ce(Ie,Ye){for(var Ge in Ie)we.call(Ie,Ge)&&Ye(Ie[Ge],Ge,Ie)}function _e(Ie){return Ie==null?Ae(Ie):xe.call(Ie).slice(8,-1)}function Me(Ie,Ye){var Ge=Ie!=null?typeof Ie[Ye]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Ge)&&(Ge=="object"?!!Ie[Ye]:!0)}function De(Ie){return String(Ie).replace(/([ -])(?!$)/g,"$1?")}function Se(Ie,Ye){var Ge=null;return Ee(Ie,function(qe,it){Ge=Ye(Ge,qe,it,Ie)}),Ge}function Be(Ie){return String(Ie).replace(/^ +| +$/g,"")}function Re(Ie){var Ye=ie,Ge=Ie&&typeof Ie=="object"&&_e(Ie)!="String";Ge&&(Ye=Ie,Ie=null);var qe=Ye.navigator||{},it=qe.userAgent||"";Ie||(Ie=it);var st=Ge||de==oe,Ve=Ge?!!qe.likeChrome:/\bChrome\b/.test(Ie)&&!/internal|\n/i.test(xe.toString()),Qe="Object",nt=Ge?Qe:"ScriptBridgingProxyObject",dt=Ge?Qe:"Environment",at=Ge&&Ye.java?"JavaPackage":_e(Ye.java),tt=Ge?Qe:"RuntimeObject",et=/\bJava/.test(at)&&Ye.java,ot=et&&_e(Ye.environment)==dt,yt=et?"a":"\u03B1",pt=et?"b":"\u03B2",Pt=Ye.document||{},Mt=Ye.operamini||Ye.opera,ct=ce.test(ct=Ge&&Mt?Mt["[[Class]]"]:_e(Mt))?ct:Mt=null,Je,Ze=Ie,ue=[],he=null,He=Ie==it,We=He&&Mt&&typeof Mt.version=="function"&&Mt.version(),fe,Pe=vt([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Fe=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"]),Ke=wt([{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"]),Ue=lt({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=Wt(["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 vt(ft){return Se(ft,function(Et,Ft){return Et||RegExp("\\b"+(Ft.pattern||De(Ft))+"\\b","i").exec(Ie)&&(Ft.label||Ft)})}function lt(ft){return Se(ft,function(Et,Ft,Kt){return Et||(Ft[Ke]||Ft[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ke)]||RegExp("\\b"+De(Kt)+"(?:\\b|\\w*\\d)","i").exec(Ie))&&Kt})}function Dt(ft){return Se(ft,function(Et,Ft){return Et||RegExp("\\b"+(Ft.pattern||De(Ft))+"\\b","i").exec(Ie)&&(Ft.label||Ft)})}function Wt(ft){return Se(ft,function(Et,Ft){var Kt=Ft.pattern||De(Ft);return!Et&&(Et=RegExp("\\b"+Kt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(Ie))&&(Et=ye(Et,Kt,Ft.label||Ft)),Et})}function wt(ft){return Se(ft,function(Et,Ft){var Kt=Ft.pattern||De(Ft);return!Et&&(Et=RegExp("\\b"+Kt+" *\\d+[.\\w_]*","i").exec(Ie)||RegExp("\\b"+Kt+" *\\w+-[\\w]*","i").exec(Ie)||RegExp("\\b"+Kt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(Ie))&&((Et=String(Ft.label&&!RegExp(Kt,"i").test(Ft.label)?Ft.label:Et).split("/"))[1]&&!/[\d.]+/.test(Et[0])&&(Et[0]+=" "+Et[1]),Ft=Ft.label||Ft,Et=Le(Et[0].replace(RegExp(Kt,"i"),Ft).replace(RegExp("; *(?:"+Ft+"[_-])?","i")," ").replace(RegExp("("+Ft+")[-_.]?(\\w)","i"),"$1 $2"))),Et})}function zt(ft){return Se(ft,function(Et,Ft){return Et||(RegExp(Ft+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(Ie)||0)[1]||null})}function Nt(){return this.description||""}if(Pe&&(Pe=[Pe]),/\bAndroid\b/.test(ut)&&!Ke&&(Je=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(Ie))&&(Ke=Be(Je[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Ue&&!Ke?Ke=wt([Ue]):Ue&&Ke&&(Ke=Ke.replace(RegExp("^("+De(Ue)+")[-_.\\s]","i"),Ue+" ").replace(RegExp("^("+De(Ue)+")[-_.]?(\\w)","i"),Ue+" $2")),(Je=/\bGoogle TV\b/.exec(Ke))&&(Ke=Je[0]),/\bSimulator\b/i.test(Ie)&&(Ke=(Ke?Ke+" ":"")+"Simulator"),Fe=="Opera Mini"&&/\bOPiOS\b/.test(Ie)&&ue.push("running in Turbo/Uncompressed mode"),Fe=="IE"&&/\blike iPhone OS\b/.test(Ie)?(Je=Re(Ie.replace(/like iPhone OS/,"")),Ue=Je.manufacturer,Ke=Je.product):/^iP/.test(Ke)?(Fe||(Fe="Safari"),ut="iOS"+((Je=/ OS ([\d_]+)/i.exec(Ie))?" "+Je[1].replace(/_/g,"."):"")):Fe=="Konqueror"&&/^Linux\b/i.test(ut)?ut="Kubuntu":Ue&&Ue!="Google"&&(/Chrome/.test(Fe)&&!/\bMobile Safari\b/i.test(Ie)||/\bVita\b/.test(Ke))||/\bAndroid\b/.test(ut)&&/^Chrome/.test(Fe)&&/\bVersion\//i.test(Ie)?(Fe="Android Browser",ut=/\bAndroid\b/.test(ut)?ut:"Android"):Fe=="Silk"?(/\bMobi/i.test(Ie)||(ut="Android",ue.unshift("desktop mode")),/Accelerated *= *true/i.test(Ie)&&ue.unshift("accelerated")):Fe=="UC Browser"&&/\bUCWEB\b/.test(Ie)?ue.push("speed mode"):Fe=="PaleMoon"&&(Je=/\bFirefox\/([\d.]+)\b/.exec(Ie))?ue.push("identifying as Firefox "+Je[1]):Fe=="Firefox"&&(Je=/\b(Mobile|Tablet|TV)\b/i.exec(Ie))?(ut||(ut="Firefox OS"),Ke||(Ke=Je[1])):!Fe||(Je=!/\bMinefield\b/i.test(Ie)&&/\b(?:Firefox|Safari)\b/.exec(Fe))?(Fe&&!Ke&&/[\/,]|^[^(]+?\)/.test(Ie.slice(Ie.indexOf(Je+"/")+8))&&(Fe=null),(Je=Ke||Ue||ut)&&(Ke||Ue||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ut))&&(Fe=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ut)?ut:Je)+" Browser")):Fe=="Electron"&&(Je=(/\bChrome\/([\d.]+)\b/.exec(Ie)||0)[1])&&ue.push("Chromium "+Je),We||(We=zt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",De(Fe),"(?:Firefox|Minefield|NetFront)"])),(Je=Pe=="iCab"&&parseFloat(We)>3&&"WebKit"||/\bOpera\b/.test(Fe)&&(/\bOPR\b/.test(Ie)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ie)&&!/^(?:Trident|EdgeHTML)$/.test(Pe)&&"WebKit"||!Pe&&/\bMSIE\b/i.test(Ie)&&(ut=="Mac OS"?"Tasman":"Trident")||Pe=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Fe)&&"NetFront")&&(Pe=[Je]),Fe=="IE"&&(Je=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ie)||0)[1])?(Fe+=" Mobile",ut="Windows Phone "+(/\+$/.test(Je)?Je:Je+".x"),ue.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ie)?(Fe="IE Mobile",ut="Windows Phone 8.x",ue.unshift("desktop mode"),We||(We=(/\brv:([\d.]+)/.exec(Ie)||0)[1])):Fe!="IE"&&Pe=="Trident"&&(Je=/\brv:([\d.]+)/.exec(Ie))&&(Fe&&ue.push("identifying as "+Fe+(We?" "+We:"")),Fe="IE",We=Je[1]),He){if(Me(Ye,"global"))if(et&&(Je=et.lang.System,Ze=Je.getProperty("os.arch"),ut=ut||Je.getProperty("os.name")+" "+Je.getProperty("os.version")),ot){try{We=Ye.require("ringo/engine").version.join("."),Fe="RingoJS"}catch(ft){(Je=Ye.system)&&Je.global.system==Ye.system&&(Fe="Narwhal",ut||(ut=Je[0].os||null))}Fe||(Fe="Rhino")}else typeof Ye.process=="object"&&!Ye.process.browser&&(Je=Ye.process)&&(typeof Je.versions=="object"&&(typeof Je.versions.electron=="string"?(ue.push("Node "+Je.versions.node),Fe="Electron",We=Je.versions.electron):typeof Je.versions.nw=="string"&&(ue.push("Chromium "+We,"Node "+Je.versions.node),Fe="NW.js",We=Je.versions.nw)),Fe||(Fe="Node.js",Ze=Je.arch,ut=Je.platform,We=/[\d.]+/.exec(Je.version),We=We?We[0]:null));else _e(Je=Ye.runtime)==nt?(Fe="Adobe AIR",ut=Je.flash.system.Capabilities.os):_e(Je=Ye.phantom)==tt?(Fe="PhantomJS",We=(Je=Je.version||null)&&Je.major+"."+Je.minor+"."+Je.patch):typeof Pt.documentMode=="number"&&(Je=/\bTrident\/(\d+)/i.exec(Ie))?(We=[We,Pt.documentMode],(Je=+Je[1]+4)!=We[1]&&(ue.push("IE "+We[1]+" mode"),Pe&&(Pe[1]=""),We[1]=Je),We=Fe=="IE"?String(We[1].toFixed(1)):We[0]):typeof Pt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Fe)&&(ue.push("masking as "+Fe+" "+We),Fe="IE",We="11.0",Pe=["Trident"],ut="Windows");ut=ut&&Le(ut)}if(We&&(Je=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(We)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ie+";"+(He&&qe.appMinorVersion))||/\bMinefield\b/i.test(Ie)&&"a")&&(he=/b/i.test(Je)?"beta":"alpha",We=We.replace(RegExp(Je+"\\+?$"),"")+(he=="beta"?pt:yt)+(/\d+\+?/.exec(Je)||"")),Fe=="Fennec"||Fe=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(ut))Fe="Firefox Mobile";else if(Fe=="Maxthon"&&We)We=We.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ke))Ke=="Xbox 360"&&(ut=null),Ke=="Xbox 360"&&/\bIEMobile\b/.test(Ie)&&ue.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Fe)||Fe&&!Ke&&!/Browser|Mobi/.test(Fe))&&(ut=="Windows CE"||/Mobi/i.test(Ie)))Fe+=" Mobile";else if(Fe=="IE"&&He)try{Ye.external===null&&ue.unshift("platform preview")}catch(ft){ue.unshift("embedded")}else(/\bBlackBerry\b/.test(Ke)||/\bBB10\b/.test(Ie))&&(Je=(RegExp(Ke.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ie)||0)[1]||We)?(Je=[Je,/BB10/.test(Ie)],ut=(Je[1]?(Ke=null,Ue="BlackBerry"):"Device Software")+" "+Je[0],We=null):this!=Ce&&Ke!="Wii"&&(He&&Mt||/Opera/.test(Fe)&&/\b(?:MSIE|Firefox)\b/i.test(Ie)||Fe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ut)||Fe=="IE"&&(ut&&!/^Win/.test(ut)&&We>5.5||/\bWindows XP\b/.test(ut)&&We>8||We==8&&!/\bTrident\b/.test(Ie)))&&!ce.test(Je=Re.call(Ce,Ie.replace(ce,"")+";"))&&Je.name&&(Je="ing as "+Je.name+((Je=Je.version)?" "+Je:""),ce.test(Fe)?(/\bIE\b/.test(Je)&&ut=="Mac OS"&&(ut=null),Je="identify"+Je):(Je="mask"+Je,ct?Fe=Le(ct.replace(/([a-z])([A-Z])/g,"$1 $2")):Fe="Opera",/\bIE\b/.test(Je)&&(ut=null),He||(We=null)),Pe=["Presto"],ue.push(Je));(Je=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ie)||0)[1])&&(Je=[parseFloat(Je.replace(/\.(\d)$/,".0$1")),Je],Fe=="Safari"&&Je[1].slice(-1)=="+"?(Fe="WebKit Nightly",he="alpha",We=Je[1].slice(0,-1)):(We==Je[1]||We==(Je[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ie)||0)[1]))&&(We=null),Je[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ie)||0)[1],Je[0]==537.36&&Je[2]==537.36&&parseFloat(Je[1])>=28&&Pe=="WebKit"&&(Pe=["Blink"]),!He||!Ve&&!Je[1]?(Pe&&(Pe[1]="like Safari"),Je=(Je=Je[0],Je<400?1:Je<500?2:Je<526?3:Je<533?4:Je<534?"4+":Je<535?5:Je<537?6:Je<538?7:Je<601?8:Je<602?9:Je<604?10:Je<606?11:Je<608?12:"12")):(Pe&&(Pe[1]="like Chrome"),Je=Je[1]||(Je=Je[0],Je<530?1:Je<532?2:Je<532.05?3:Je<533?4:Je<534.03?5:Je<534.07?6:Je<534.1?7:Je<534.13?8:Je<534.16?9:Je<534.24?10:Je<534.3?11:Je<535.01?12:Je<535.02?"13+":Je<535.07?15:Je<535.11?16:Je<535.19?17:Je<536.05?18:Je<536.1?19:Je<537.01?20:Je<537.11?"21+":Je<537.13?23:Je<537.18?24:Je<537.24?25:Je<537.36?26:Pe!="Blink"?"27":"28")),Pe&&(Pe[1]+=" "+(Je+=typeof Je=="number"?".x":/[.+]/.test(Je)?"":"+")),Fe=="Safari"&&(!We||parseInt(We)>45)?We=Je:Fe=="Chrome"&&/\bHeadlessChrome/i.test(Ie)&&ue.unshift("headless")),Fe=="Opera"&&(Je=/\bzbov|zvav$/.exec(ut))?(Fe+=" ",ue.unshift("desktop mode"),Je=="zvav"?(Fe+="Mini",We=null):Fe+="Mobile",ut=ut.replace(RegExp(" *"+Je+"$"),"")):Fe=="Safari"&&/\bChrome\b/.exec(Pe&&Pe[1])?(ue.unshift("desktop mode"),Fe="Chrome Mobile",We=null,/\bOS X\b/.test(ut)?(Ue="Apple",ut="iOS 4.3+"):ut=null):/\bSRWare Iron\b/.test(Fe)&&!We&&(We=zt("Chrome")),We&&We.indexOf(Je=/[\d.]+$/.exec(ut))==0&&Ie.indexOf("/"+Je+"-")>-1&&(ut=Be(ut.replace(Je,""))),ut&&ut.indexOf(Fe)!=-1&&!RegExp(Fe+" OS").test(ut)&&(ut=ut.replace(RegExp(" *"+De(Fe)+" *"),"")),Pe&&!/\b(?:Avant|Nook)\b/.test(Fe)&&(/Browser|Lunascape|Maxthon/.test(Fe)||Fe!="Safari"&&/^iOS/.test(ut)&&/\bSafari\b/.test(Pe[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Fe)&&Pe[1])&&(Je=Pe[Pe.length-1])&&ue.push(Je),ue.length&&(ue=["("+ue.join("; ")+")"]),Ue&&Ke&&Ke.indexOf(Ue)<0&&ue.push("on "+Ue),Ke&&ue.push((/^on /.test(ue[ue.length-1])?"":"on ")+Ke),ut&&(Je=/ ([\d.+]+)$/.exec(ut),fe=Je&&ut.charAt(ut.length-Je[0].length-1)=="/",ut={architecture:32,family:Je&&!fe?ut.replace(Je[0],""):ut,version:Je?Je[1]:null,toString:function(){var ft=this.version;return this.family+(ft&&!fe?" "+ft:"")+(this.architecture==64?" 64-bit":"")}}),(Je=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ze))&&!/\bi686\b/i.test(Ze)?(ut&&(ut.architecture=64,ut.family=ut.family.replace(RegExp(" *"+Je),"")),Fe&&(/\bWOW64\b/i.test(Ie)||He&&/\w(?:86|32)$/.test(qe.cpuClass||qe.platform)&&!/\bWin64; x64\b/i.test(Ie))&&ue.unshift("32-bit")):ut&&/^OS X/.test(ut.family)&&Fe=="Chrome"&&parseFloat(We)>=39&&(ut.architecture=64),Ie||(Ie=null);var St={};return St.description=Ie,St.layout=Pe&&Pe[0],St.manufacturer=Ue,St.name=Fe,St.prerelease=he,St.product=Ke,St.ua=Ie,St.version=Fe&&We,St.os=ut||{architecture:null,family:null,version:null,toString:function(){return"null"}},St.parse=Re,St.toString=Nt,St.version&&ue.unshift(We),St.name&&ue.unshift(Fe),ut&&Fe&&!(ut==String(ut).split(" ")[0]&&(ut==Fe.split(" ")[0]||Ke))&&ue.push(Ke?"("+ut+")":"on "+ut),ue.length&&(St.description=ue.join(" ")),St}var Xe=Re();typeof Te=="function"&&typeof Te.amd=="object"&&Te.amd?(ie.platform=Xe,Te(function(){return Xe})):le&&pe?Ce(Xe,function(Ie,Ye){le[Ye]=Ie}):ie.platform=Xe}).call(this)}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,je,ve){(function(ne){(function(){"use strict";typeof ne=="undefined"||!ne.version||ne.version.indexOf("v0.")===0||ne.version.indexOf("v1.")===0&&ne.version.indexOf("v1.8.")!==0?je.exports={nextTick:ee}:je.exports=ne;function ee(ie,oe,le,pe){if(typeof ie!="function")throw new TypeError('"callback" argument must be a function');var re=arguments.length,ae,ce;switch(re){case 0:case 1:return ne.nextTick(ie);case 2:return ne.nextTick(function(){ie.call(null,oe)});case 3:return ne.nextTick(function(){ie.call(null,oe,le)});case 4:return ne.nextTick(function(){ie.call(null,oe,le,pe)});default:for(ae=new Array(re-1),ce=0;ce<ae.length;)ae[ce++]=arguments[ce];return ne.nextTick(function(){ie.apply(null,ae)})}}}).call(this)}).call(this,E("_process"))},{_process:467}],381:[function(E,je,ve){var ne=je.exports={},ee,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"?ee=setTimeout:ee=oe}catch(Ee){ee=oe}try{typeof clearTimeout=="function"?ie=clearTimeout:ie=le}catch(Ee){ie=le}})();function pe(Ee){if(ee===setTimeout)return setTimeout(Ee,0);if((ee===oe||!ee)&&setTimeout)return ee=setTimeout,setTimeout(Ee,0);try{return ee(Ee,0)}catch(Le){try{return ee.call(null,Ee,0)}catch(Ce){return ee.call(this,Ee,0)}}}function re(Ee){if(ie===clearTimeout)return clearTimeout(Ee);if((ie===le||!ie)&&clearTimeout)return ie=clearTimeout,clearTimeout(Ee);try{return ie(Ee)}catch(Le){try{return ie.call(null,Ee)}catch(Ce){return ie.call(this,Ee)}}}var ae=[],ce=!1,de,me=-1;function we(){!ce||!de||(ce=!1,de.length?ae=de.concat(ae):me=-1,ae.length&&xe())}function xe(){if(!ce){var Ee=pe(we);ce=!0;for(var Le=ae.length;Le;){for(de=ae,ae=[];++me<Le;)de&&de[me].run();me=-1,Le=ae.length}de=null,ce=!1,re(Ee)}}ne.nextTick=function(Ee){var Le=new Array(arguments.length-1);if(arguments.length>1)for(var Ce=1;Ce<arguments.length;Ce++)Le[Ce-1]=arguments[Ce];ae.push(new Ae(Ee,Le)),ae.length===1&&!ce&&pe(xe)};function Ae(Ee,Le){this.fun=Ee,this.array=Le}Ae.prototype.run=function(){this.fun.apply(null,this.array)},ne.title="browser",ne.browser=!0,ne.env={},ne.argv=[],ne.version="",ne.versions={};function ye(){}ne.on=ye,ne.addListener=ye,ne.once=ye,ne.off=ye,ne.removeListener=ye,ne.removeAllListeners=ye,ne.emit=ye,ne.prependListener=ye,ne.prependOnceListener=ye,ne.listeners=function(Ee){return[]},ne.binding=function(Ee){throw new Error("process.binding is not supported")},ne.cwd=function(){return"/"},ne.chdir=function(Ee){throw new Error("process.chdir is not supported")},ne.umask=function(){return 0}},{}],382:[function(E,je,ve){(function(ne){(function(){(function(ee){var ie=typeof ve=="object"&&ve&&!ve.nodeType&&ve,oe=typeof je=="object"&&je&&!je.nodeType&&je,le=typeof ne=="object"&&ne;(le.global===le||le.window===le||le.self===le)&&(ee=le);var pe,re=2147483647,ae=36,ce=1,de=26,me=38,we=700,xe=72,Ae=128,ye="-",Ee=/^xn--/,Le=/[^\x20-\x7E]/,Ce=/[\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-ce,De=Math.floor,Se=String.fromCharCode,Be;function Re(at){throw new RangeError(_e[at])}function Xe(at,tt){for(var et=at.length,ot=[];et--;)ot[et]=tt(at[et]);return ot}function Ie(at,tt){var et=at.split("@"),ot="";et.length>1&&(ot=et[0]+"@",at=et[1]),at=at.replace(Ce,".");var yt=at.split("."),pt=Xe(yt,tt).join(".");return ot+pt}function Ye(at){for(var tt=[],et=0,ot=at.length,yt,pt;et<ot;)yt=at.charCodeAt(et++),yt>=55296&&yt<=56319&&et<ot?(pt=at.charCodeAt(et++),(pt&64512)==56320?tt.push(((yt&1023)<<10)+(pt&1023)+65536):(tt.push(yt),et--)):tt.push(yt);return tt}function Ge(at){return Xe(at,function(tt){var et="";return tt>65535&&(tt-=65536,et+=Se(tt>>>10&1023|55296),tt=56320|tt&1023),et+=Se(tt),et}).join("")}function qe(at){return at-48<10?at-22:at-65<26?at-65:at-97<26?at-97:ae}function it(at,tt){return at+22+75*(at<26)-((tt!=0)<<5)}function st(at,tt,et){var ot=0;for(at=et?De(at/we):at>>1,at+=De(at/tt);at>Me*de>>1;ot+=ae)at=De(at/Me);return De(ot+(Me+1)*at/(at+me))}function Ve(at){var tt=[],et=at.length,ot,yt=0,pt=Ae,Pt=xe,Mt,ct,Je,Ze,ue,he,He,We,fe;for(Mt=at.lastIndexOf(ye),Mt<0&&(Mt=0),ct=0;ct<Mt;++ct)at.charCodeAt(ct)>=128&&Re("not-basic"),tt.push(at.charCodeAt(ct));for(Je=Mt>0?Mt+1:0;Je<et;){for(Ze=yt,ue=1,he=ae;Je>=et&&Re("invalid-input"),He=qe(at.charCodeAt(Je++)),(He>=ae||He>De((re-yt)/ue))&&Re("overflow"),yt+=He*ue,We=he<=Pt?ce:he>=Pt+de?de:he-Pt,!(He<We);he+=ae)fe=ae-We,ue>De(re/fe)&&Re("overflow"),ue*=fe;ot=tt.length+1,Pt=st(yt-Ze,ot,Ze==0),De(yt/ot)>re-pt&&Re("overflow"),pt+=De(yt/ot),yt%=ot,tt.splice(yt++,0,pt)}return Ge(tt)}function Qe(at){var tt,et,ot,yt,pt,Pt,Mt,ct,Je,Ze,ue,he=[],He,We,fe,Pe;for(at=Ye(at),He=at.length,tt=Ae,et=0,pt=xe,Pt=0;Pt<He;++Pt)ue=at[Pt],ue<128&&he.push(Se(ue));for(ot=yt=he.length,yt&&he.push(ye);ot<He;){for(Mt=re,Pt=0;Pt<He;++Pt)ue=at[Pt],ue>=tt&&ue<Mt&&(Mt=ue);for(We=ot+1,Mt-tt>De((re-et)/We)&&Re("overflow"),et+=(Mt-tt)*We,tt=Mt,Pt=0;Pt<He;++Pt)if(ue=at[Pt],ue<tt&&++et>re&&Re("overflow"),ue==tt){for(ct=et,Je=ae;Ze=Je<=pt?ce:Je>=pt+de?de:Je-pt,!(ct<Ze);Je+=ae)Pe=ct-Ze,fe=ae-Ze,he.push(Se(it(Ze+Pe%fe,0))),ct=De(Pe/fe);he.push(Se(it(ct,0))),pt=st(et,We,ot==yt),et=0,++ot}++et,++tt}return he.join("")}function nt(at){return Ie(at,function(tt){return Ee.test(tt)?Ve(tt.slice(4).toLowerCase()):tt})}function dt(at){return Ie(at,function(tt){return Le.test(tt)?"xn--"+Qe(tt):tt})}if(pe={version:"1.4.1",ucs2:{decode:Ye,encode:Ge},decode:Ve,encode:Qe,toASCII:dt,toUnicode:nt},typeof Te=="function"&&typeof Te.amd=="object"&&Te.amd)Te("punycode",function(){return pe});else if(ie&&oe)if(je.exports==ie)oe.exports=pe;else for(Be in pe)pe.hasOwnProperty(Be)&&(ie[Be]=pe[Be]);else ee.punycode=pe})(this)}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(E,je,ve){"use strict";function ne(ie,oe){return Object.prototype.hasOwnProperty.call(ie,oe)}je.exports=function(ie,oe,le,pe){oe=oe||"&",le=le||"=";var re={};if(typeof ie!="string"||ie.length===0)return re;var ae=/\+/g;ie=ie.split(oe);var ce=1e3;pe&&typeof pe.maxKeys=="number"&&(ce=pe.maxKeys);var de=ie.length;ce>0&&de>ce&&(de=ce);for(var me=0;me<de;++me){var we=ie[me].replace(ae,"%20"),xe=we.indexOf(le),Ae,ye,Ee,Le;xe>=0?(Ae=we.substr(0,xe),ye=we.substr(xe+1)):(Ae=we,ye=""),Ee=decodeURIComponent(Ae),Le=decodeURIComponent(ye),ne(re,Ee)?ee(re[Ee])?re[Ee].push(Le):re[Ee]=[re[Ee],Le]:re[Ee]=Le}return re};var ee=Array.isArray||function(ie){return Object.prototype.toString.call(ie)==="[object Array]"}},{}],384:[function(E,je,ve){"use strict";var ne=function(le){switch(typeof le){case"string":return le;case"boolean":return le?"true":"false";case"number":return isFinite(le)?le:"";default:return""}};je.exports=function(le,pe,re,ae){return pe=pe||"&",re=re||"=",le===null&&(le=void 0),typeof le=="object"?ie(oe(le),function(ce){var de=encodeURIComponent(ne(ce))+re;return ee(le[ce])?ie(le[ce],function(me){return de+encodeURIComponent(ne(me))}).join(pe):de+encodeURIComponent(ne(le[ce]))}).join(pe):ae?encodeURIComponent(ne(ae))+re+encodeURIComponent(ne(le)):""};var ee=Array.isArray||function(le){return Object.prototype.toString.call(le)==="[object Array]"};function ie(le,pe){if(le.map)return le.map(pe);for(var re=[],ae=0;ae<le.length;ae++)re.push(pe(le[ae],ae));return re}var oe=Object.keys||function(le){var pe=[];for(var re in le)Object.prototype.hasOwnProperty.call(le,re)&&pe.push(re);return pe}},{}],385:[function(E,je,ve){"use strict";ve.decode=ve.parse=E("./decode"),ve.encode=ve.stringify=E("./encode")},{"./decode":383,"./encode":384}],386:[function(E,je,ve){"use strict";var ne=E("process-nextick-args"),ee=Object.keys||function(we){var xe=[];for(var Ae in we)xe.push(Ae);return xe};je.exports=ce;var ie=Object.create(E("core-util-is"));ie.inherits=E("inherits");var oe=E("./_stream_readable"),le=E("./_stream_writable");ie.inherits(ce,oe);for(var pe=ee(le.prototype),re=0;re<pe.length;re++){var ae=pe[re];ce.prototype[ae]||(ce.prototype[ae]=le.prototype[ae])}function ce(we){if(!(this instanceof ce))return new ce(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(ce.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function de(){this.allowHalfOpen||this._writableState.ended||ne.nextTick(me,this)}function me(we){we.end()}Object.defineProperty(ce.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(we){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=we,this._writableState.destroyed=we)}}),ce.prototype._destroy=function(we,xe){this.push(null),this.end(),ne.nextTick(xe,we)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(E,je,ve){"use strict";je.exports=ie;var ne=E("./_stream_transform"),ee=Object.create(E("core-util-is"));ee.inherits=E("inherits"),ee.inherits(ie,ne);function ie(oe){if(!(this instanceof ie))return new ie(oe);ne.call(this,oe)}ie.prototype._transform=function(oe,le,pe){pe(null,oe)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(E,je,ve){(function(ne,ee){(function(){"use strict";var ie=E("process-nextick-args");je.exports=Se;var oe=E("isarray"),le;Se.ReadableState=De;var pe=E("events").EventEmitter,re=function(ue,he){return ue.listeners(he).length},ae=E("./internal/streams/stream"),ce=E("safe-buffer").Buffer,de=ee.Uint8Array||function(){};function me(ue){return ce.from(ue)}function we(ue){return ce.isBuffer(ue)||ue instanceof de}var xe=Object.create(E("core-util-is"));xe.inherits=E("inherits");var Ae=E("util"),ye=void 0;Ae&&Ae.debuglog?ye=Ae.debuglog("stream"):ye=function(){};var Ee=E("./internal/streams/BufferList"),Le=E("./internal/streams/destroy"),Ce;xe.inherits(Se,ae);var _e=["error","close","destroy","pause","resume"];function Me(ue,he,He){if(typeof ue.prependListener=="function")return ue.prependListener(he,He);!ue._events||!ue._events[he]?ue.on(he,He):oe(ue._events[he])?ue._events[he].unshift(He):ue._events[he]=[He,ue._events[he]]}function De(ue,he){le=le||E("./_stream_duplex"),ue=ue||{};var He=he instanceof le;this.objectMode=!!ue.objectMode,He&&(this.objectMode=this.objectMode||!!ue.readableObjectMode);var We=ue.highWaterMark,fe=ue.readableHighWaterMark,Pe=this.objectMode?16:16*1024;We||We===0?this.highWaterMark=We:He&&(fe||fe===0)?this.highWaterMark=fe:this.highWaterMark=Pe,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Ee,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=ue.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ue.encoding&&(Ce||(Ce=E("string_decoder/").StringDecoder),this.decoder=new Ce(ue.encoding),this.encoding=ue.encoding)}function Se(ue){if(le=le||E("./_stream_duplex"),!(this instanceof Se))return new Se(ue);this._readableState=new De(ue,this),this.readable=!0,ue&&(typeof ue.read=="function"&&(this._read=ue.read),typeof ue.destroy=="function"&&(this._destroy=ue.destroy)),ae.call(this)}Object.defineProperty(Se.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(ue){this._readableState&&(this._readableState.destroyed=ue)}}),Se.prototype.destroy=Le.destroy,Se.prototype._undestroy=Le.undestroy,Se.prototype._destroy=function(ue,he){this.push(null),he(ue)},Se.prototype.push=function(ue,he){var He=this._readableState,We;return He.objectMode?We=!0:typeof ue=="string"&&(he=he||He.defaultEncoding,he!==He.encoding&&(ue=ce.from(ue,he),he=""),We=!0),Be(this,ue,he,!1,We)},Se.prototype.unshift=function(ue){return Be(this,ue,null,!0,!1)};function Be(ue,he,He,We,fe){var Pe=ue._readableState;if(he===null)Pe.reading=!1,it(ue,Pe);else{var Fe;fe||(Fe=Xe(Pe,he)),Fe?ue.emit("error",Fe):Pe.objectMode||he&&he.length>0?(typeof he!="string"&&!Pe.objectMode&&Object.getPrototypeOf(he)!==ce.prototype&&(he=me(he)),We?Pe.endEmitted?ue.emit("error",new Error("stream.unshift() after end event")):Re(ue,Pe,he,!0):Pe.ended?ue.emit("error",new Error("stream.push() after EOF")):(Pe.reading=!1,Pe.decoder&&!He?(he=Pe.decoder.write(he),Pe.objectMode||he.length!==0?Re(ue,Pe,he,!1):Qe(ue,Pe)):Re(ue,Pe,he,!1))):We||(Pe.reading=!1)}return Ie(Pe)}function Re(ue,he,He,We){he.flowing&&he.length===0&&!he.sync?(ue.emit("data",He),ue.read(0)):(he.length+=he.objectMode?1:He.length,We?he.buffer.unshift(He):he.buffer.push(He),he.needReadable&&st(ue)),Qe(ue,he)}function Xe(ue,he){var He;return!we(he)&&typeof he!="string"&&he!==void 0&&!ue.objectMode&&(He=new TypeError("Invalid non-string/buffer chunk")),He}function Ie(ue){return!ue.ended&&(ue.needReadable||ue.length<ue.highWaterMark||ue.length===0)}Se.prototype.isPaused=function(){return this._readableState.flowing===!1},Se.prototype.setEncoding=function(ue){return Ce||(Ce=E("string_decoder/").StringDecoder),this._readableState.decoder=new Ce(ue),this._readableState.encoding=ue,this};var Ye=8388608;function Ge(ue){return ue>=Ye?ue=Ye:(ue--,ue|=ue>>>1,ue|=ue>>>2,ue|=ue>>>4,ue|=ue>>>8,ue|=ue>>>16,ue++),ue}function qe(ue,he){return ue<=0||he.length===0&&he.ended?0:he.objectMode?1:ue!==ue?he.flowing&&he.length?he.buffer.head.data.length:he.length:(ue>he.highWaterMark&&(he.highWaterMark=Ge(ue)),ue<=he.length?ue:he.ended?he.length:(he.needReadable=!0,0))}Se.prototype.read=function(ue){ye("read",ue),ue=parseInt(ue,10);var he=this._readableState,He=ue;if(ue!==0&&(he.emittedReadable=!1),ue===0&&he.needReadable&&(he.length>=he.highWaterMark||he.ended))return ye("read: emitReadable",he.length,he.ended),he.length===0&&he.ended?ct(this):st(this),null;if(ue=qe(ue,he),ue===0&&he.ended)return he.length===0&&ct(this),null;var We=he.needReadable;ye("need readable",We),(he.length===0||he.length-ue<he.highWaterMark)&&(We=!0,ye("length less than watermark",We)),he.ended||he.reading?(We=!1,ye("reading or ended",We)):We&&(ye("do read"),he.reading=!0,he.sync=!0,he.length===0&&(he.needReadable=!0),this._read(he.highWaterMark),he.sync=!1,he.reading||(ue=qe(He,he)));var fe;return ue>0?fe=yt(ue,he):fe=null,fe===null?(he.needReadable=!0,ue=0):he.length-=ue,he.length===0&&(he.ended||(he.needReadable=!0),He!==ue&&he.ended&&ct(this)),fe!==null&&this.emit("data",fe),fe};function it(ue,he){if(!he.ended){if(he.decoder){var He=he.decoder.end();He&&He.length&&(he.buffer.push(He),he.length+=he.objectMode?1:He.length)}he.ended=!0,st(ue)}}function st(ue){var he=ue._readableState;he.needReadable=!1,he.emittedReadable||(ye("emitReadable",he.flowing),he.emittedReadable=!0,he.sync?ie.nextTick(Ve,ue):Ve(ue))}function Ve(ue){ye("emit readable"),ue.emit("readable"),ot(ue)}function Qe(ue,he){he.readingMore||(he.readingMore=!0,ie.nextTick(nt,ue,he))}function nt(ue,he){for(var He=he.length;!he.reading&&!he.flowing&&!he.ended&&he.length<he.highWaterMark&&(ye("maybeReadMore read 0"),ue.read(0),He!==he.length);)He=he.length;he.readingMore=!1}Se.prototype._read=function(ue){this.emit("error",new Error("_read() is not implemented"))},Se.prototype.pipe=function(ue,he){var He=this,We=this._readableState;switch(We.pipesCount){case 0:We.pipes=ue;break;case 1:We.pipes=[We.pipes,ue];break;default:We.pipes.push(ue);break}We.pipesCount+=1,ye("pipe count=%d opts=%j",We.pipesCount,he);var fe=(!he||he.end!==!1)&&ue!==ne.stdout&&ue!==ne.stderr,Pe=fe?Ke:Nt;We.endEmitted?ie.nextTick(Pe):He.once("end",Pe),ue.on("unpipe",Fe);function Fe(St,ft){ye("onunpipe"),St===He&&ft&&ft.hasUnpiped===!1&&(ft.hasUnpiped=!0,vt())}function Ke(){ye("onend"),ue.end()}var Ue=dt(He);ue.on("drain",Ue);var ut=!1;function vt(){ye("cleanup"),ue.removeListener("close",wt),ue.removeListener("finish",zt),ue.removeListener("drain",Ue),ue.removeListener("error",Wt),ue.removeListener("unpipe",Fe),He.removeListener("end",Ke),He.removeListener("end",Nt),He.removeListener("data",Dt),ut=!0,We.awaitDrain&&(!ue._writableState||ue._writableState.needDrain)&&Ue()}var lt=!1;He.on("data",Dt);function Dt(St){ye("ondata"),lt=!1;var ft=ue.write(St);ft===!1&&!lt&&((We.pipesCount===1&&We.pipes===ue||We.pipesCount>1&&Ze(We.pipes,ue)!==-1)&&!ut&&(ye("false write response, pause",He._readableState.awaitDrain),He._readableState.awaitDrain++,lt=!0),He.pause())}function Wt(St){ye("onerror",St),Nt(),ue.removeListener("error",Wt),re(ue,"error")===0&&ue.emit("error",St)}Me(ue,"error",Wt);function wt(){ue.removeListener("finish",zt),Nt()}ue.once("close",wt);function zt(){ye("onfinish"),ue.removeListener("close",wt),Nt()}ue.once("finish",zt);function Nt(){ye("unpipe"),He.unpipe(ue)}return ue.emit("pipe",He),We.flowing||(ye("pipe resume"),He.resume()),ue};function dt(ue){return function(){var he=ue._readableState;ye("pipeOnDrain",he.awaitDrain),he.awaitDrain&&he.awaitDrain--,he.awaitDrain===0&&re(ue,"data")&&(he.flowing=!0,ot(ue))}}Se.prototype.unpipe=function(ue){var he=this._readableState,He={hasUnpiped:!1};if(he.pipesCount===0)return this;if(he.pipesCount===1)return ue&&ue!==he.pipes?this:(ue||(ue=he.pipes),he.pipes=null,he.pipesCount=0,he.flowing=!1,ue&&ue.emit("unpipe",this,He),this);if(!ue){var We=he.pipes,fe=he.pipesCount;he.pipes=null,he.pipesCount=0,he.flowing=!1;for(var Pe=0;Pe<fe;Pe++)We[Pe].emit("unpipe",this,He);return this}var Fe=Ze(he.pipes,ue);return Fe===-1?this:(he.pipes.splice(Fe,1),he.pipesCount-=1,he.pipesCount===1&&(he.pipes=he.pipes[0]),ue.emit("unpipe",this,He),this)},Se.prototype.on=function(ue,he){var He=ae.prototype.on.call(this,ue,he);if(ue==="data")this._readableState.flowing!==!1&&this.resume();else if(ue==="readable"){var We=this._readableState;!We.endEmitted&&!We.readableListening&&(We.readableListening=We.needReadable=!0,We.emittedReadable=!1,We.reading?We.length&&st(this):ie.nextTick(at,this))}return He},Se.prototype.addListener=Se.prototype.on;function at(ue){ye("readable nexttick read 0"),ue.read(0)}Se.prototype.resume=function(){var ue=this._readableState;return ue.flowing||(ye("resume"),ue.flowing=!0,tt(this,ue)),this};function tt(ue,he){he.resumeScheduled||(he.resumeScheduled=!0,ie.nextTick(et,ue,he))}function et(ue,he){he.reading||(ye("resume read 0"),ue.read(0)),he.resumeScheduled=!1,he.awaitDrain=0,ue.emit("resume"),ot(ue),he.flowing&&!he.reading&&ue.read(0)}Se.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 ot(ue){var he=ue._readableState;for(ye("flow",he.flowing);he.flowing&&ue.read()!==null;);}Se.prototype.wrap=function(ue){var he=this,He=this._readableState,We=!1;ue.on("end",function(){if(ye("wrapped end"),He.decoder&&!He.ended){var Fe=He.decoder.end();Fe&&Fe.length&&he.push(Fe)}he.push(null)}),ue.on("data",function(Fe){if(ye("wrapped data"),He.decoder&&(Fe=He.decoder.write(Fe)),!(He.objectMode&&Fe==null)&&!(!He.objectMode&&(!Fe||!Fe.length))){var Ke=he.push(Fe);Ke||(We=!0,ue.pause())}});for(var fe in ue)this[fe]===void 0&&typeof ue[fe]=="function"&&(this[fe]=function(Fe){return function(){return ue[Fe].apply(ue,arguments)}}(fe));for(var Pe=0;Pe<_e.length;Pe++)ue.on(_e[Pe],this.emit.bind(this,_e[Pe]));return this._read=function(Fe){ye("wrapped _read",Fe),We&&(We=!1,ue.resume())},this},Object.defineProperty(Se.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Se._fromList=yt;function yt(ue,he){if(he.length===0)return null;var He;return he.objectMode?He=he.buffer.shift():!ue||ue>=he.length?(he.decoder?He=he.buffer.join(""):he.buffer.length===1?He=he.buffer.head.data:He=he.buffer.concat(he.length),he.buffer.clear()):He=pt(ue,he.buffer,he.decoder),He}function pt(ue,he,He){var We;return ue<he.head.data.length?(We=he.head.data.slice(0,ue),he.head.data=he.head.data.slice(ue)):ue===he.head.data.length?We=he.shift():We=He?Pt(ue,he):Mt(ue,he),We}function Pt(ue,he){var He=he.head,We=1,fe=He.data;for(ue-=fe.length;He=He.next;){var Pe=He.data,Fe=ue>Pe.length?Pe.length:ue;if(Fe===Pe.length?fe+=Pe:fe+=Pe.slice(0,ue),ue-=Fe,ue===0){Fe===Pe.length?(++We,He.next?he.head=He.next:he.head=he.tail=null):(he.head=He,He.data=Pe.slice(Fe));break}++We}return he.length-=We,fe}function Mt(ue,he){var He=ce.allocUnsafe(ue),We=he.head,fe=1;for(We.data.copy(He),ue-=We.data.length;We=We.next;){var Pe=We.data,Fe=ue>Pe.length?Pe.length:ue;if(Pe.copy(He,He.length-ue,0,Fe),ue-=Fe,ue===0){Fe===Pe.length?(++fe,We.next?he.head=We.next:he.head=he.tail=null):(he.head=We,We.data=Pe.slice(Fe));break}++fe}return he.length-=fe,He}function ct(ue){var he=ue._readableState;if(he.length>0)throw new Error('"endReadable()" called on non-empty stream');he.endEmitted||(he.ended=!0,ie.nextTick(Je,he,ue))}function Je(ue,he){!ue.endEmitted&&ue.length===0&&(ue.endEmitted=!0,he.readable=!1,he.emit("end"))}function Ze(ue,he){for(var He=0,We=ue.length;He<We;He++)if(ue[He]===he)return He;return-1}}).call(this)}).call(this,E("_process"),typeof Qt!="undefined"?Qt: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(E,je,ve){"use strict";je.exports=oe;var ne=E("./_stream_duplex"),ee=Object.create(E("core-util-is"));ee.inherits=E("inherits"),ee.inherits(oe,ne);function ie(re,ae){var ce=this._transformState;ce.transforming=!1;var de=ce.writecb;if(!de)return this.emit("error",new Error("write callback called multiple times"));ce.writechunk=null,ce.writecb=null,ae!=null&&this.push(ae),de(re);var me=this._readableState;me.reading=!1,(me.needReadable||me.length<me.highWaterMark)&&this._read(me.highWaterMark)}function oe(re){if(!(this instanceof oe))return new oe(re);ne.call(this,re),this._transformState={afterTransform:ie.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,re&&(typeof re.transform=="function"&&(this._transform=re.transform),typeof re.flush=="function"&&(this._flush=re.flush)),this.on("prefinish",le)}function le(){var re=this;typeof this._flush=="function"?this._flush(function(ae,ce){pe(re,ae,ce)}):pe(this,null,null)}oe.prototype.push=function(re,ae){return this._transformState.needTransform=!1,ne.prototype.push.call(this,re,ae)},oe.prototype._transform=function(re,ae,ce){throw new Error("_transform() is not implemented")},oe.prototype._write=function(re,ae,ce){var de=this._transformState;if(de.writecb=ce,de.writechunk=re,de.writeencoding=ae,!de.transforming){var me=this._readableState;(de.needTransform||me.needReadable||me.length<me.highWaterMark)&&this._read(me.highWaterMark)}},oe.prototype._read=function(re){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(re,ae){var ce=this;ne.prototype._destroy.call(this,re,function(de){ae(de),ce.emit("close")})};function pe(re,ae,ce){if(ae)return re.emit("error",ae);if(ce!=null&&re.push(ce),re._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(re._transformState.transforming)throw new Error("Calling transform done when still transforming");return re.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(E,je,ve){(function(ne,ee,ie){(function(){"use strict";var oe=E("process-nextick-args");je.exports=Me;function le(et,ot,yt){this.chunk=et,this.encoding=ot,this.callback=yt,this.next=null}function pe(et){var ot=this;this.next=null,this.entry=null,this.finish=function(){tt(ot,et)}}var re=!ne.browser&&["v0.10","v0.9."].indexOf(ne.version.slice(0,5))>-1?ie:oe.nextTick,ae;Me.WritableState=Ce;var ce=Object.create(E("core-util-is"));ce.inherits=E("inherits");var de={deprecate:E("util-deprecate")},me=E("./internal/streams/stream"),we=E("safe-buffer").Buffer,xe=ee.Uint8Array||function(){};function Ae(et){return we.from(et)}function ye(et){return we.isBuffer(et)||et instanceof xe}var Ee=E("./internal/streams/destroy");ce.inherits(Me,me);function Le(){}function Ce(et,ot){ae=ae||E("./_stream_duplex"),et=et||{};var yt=ot instanceof ae;this.objectMode=!!et.objectMode,yt&&(this.objectMode=this.objectMode||!!et.writableObjectMode);var pt=et.highWaterMark,Pt=et.writableHighWaterMark,Mt=this.objectMode?16:16*1024;pt||pt===0?this.highWaterMark=pt:yt&&(Pt||Pt===0)?this.highWaterMark=Pt:this.highWaterMark=Mt,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 ct=et.decodeStrings===!1;this.decodeStrings=!ct,this.defaultEncoding=et.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Je){Ge(ot,Je)},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 pe(this)}Ce.prototype.getBuffer=function(){for(var ot=this.bufferedRequest,yt=[];ot;)yt.push(ot),ot=ot.next;return yt},function(){try{Object.defineProperty(Ce.prototype,"buffer",{get:de.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(et){}}();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(et){return _e.call(this,et)?!0:this!==Me?!1:et&&et._writableState instanceof Ce}})):_e=function(et){return et instanceof this};function Me(et){if(ae=ae||E("./_stream_duplex"),!_e.call(Me,this)&&!(this instanceof ae))return new Me(et);this._writableState=new Ce(et,this),this.writable=!0,et&&(typeof et.write=="function"&&(this._write=et.write),typeof et.writev=="function"&&(this._writev=et.writev),typeof et.destroy=="function"&&(this._destroy=et.destroy),typeof et.final=="function"&&(this._final=et.final)),me.call(this)}Me.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function De(et,ot){var yt=new Error("write after end");et.emit("error",yt),oe.nextTick(ot,yt)}function Se(et,ot,yt,pt){var Pt=!0,Mt=!1;return yt===null?Mt=new TypeError("May not write null values to stream"):typeof yt!="string"&&yt!==void 0&&!ot.objectMode&&(Mt=new TypeError("Invalid non-string/buffer chunk")),Mt&&(et.emit("error",Mt),oe.nextTick(pt,Mt),Pt=!1),Pt}Me.prototype.write=function(et,ot,yt){var pt=this._writableState,Pt=!1,Mt=!pt.objectMode&&ye(et);return Mt&&!we.isBuffer(et)&&(et=Ae(et)),typeof ot=="function"&&(yt=ot,ot=null),Mt?ot="buffer":ot||(ot=pt.defaultEncoding),typeof yt!="function"&&(yt=Le),pt.ended?De(this,yt):(Mt||Se(this,pt,et,yt))&&(pt.pendingcb++,Pt=Re(this,pt,Mt,et,ot,yt)),Pt},Me.prototype.cork=function(){var et=this._writableState;et.corked++},Me.prototype.uncork=function(){var et=this._writableState;et.corked&&(et.corked--,!et.writing&&!et.corked&&!et.finished&&!et.bufferProcessing&&et.bufferedRequest&&st(this,et))},Me.prototype.setDefaultEncoding=function(ot){if(typeof ot=="string"&&(ot=ot.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ot+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+ot);return this._writableState.defaultEncoding=ot,this};function Be(et,ot,yt){return!et.objectMode&&et.decodeStrings!==!1&&typeof ot=="string"&&(ot=we.from(ot,yt)),ot}Object.defineProperty(Me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Re(et,ot,yt,pt,Pt,Mt){if(!yt){var ct=Be(ot,pt,Pt);pt!==ct&&(yt=!0,Pt="buffer",pt=ct)}var Je=ot.objectMode?1:pt.length;ot.length+=Je;var Ze=ot.length<ot.highWaterMark;if(Ze||(ot.needDrain=!0),ot.writing||ot.corked){var ue=ot.lastBufferedRequest;ot.lastBufferedRequest={chunk:pt,encoding:Pt,isBuf:yt,callback:Mt,next:null},ue?ue.next=ot.lastBufferedRequest:ot.bufferedRequest=ot.lastBufferedRequest,ot.bufferedRequestCount+=1}else Xe(et,ot,!1,Je,pt,Pt,Mt);return Ze}function Xe(et,ot,yt,pt,Pt,Mt,ct){ot.writelen=pt,ot.writecb=ct,ot.writing=!0,ot.sync=!0,yt?et._writev(Pt,ot.onwrite):et._write(Pt,Mt,ot.onwrite),ot.sync=!1}function Ie(et,ot,yt,pt,Pt){--ot.pendingcb,yt?(oe.nextTick(Pt,pt),oe.nextTick(dt,et,ot),et._writableState.errorEmitted=!0,et.emit("error",pt)):(Pt(pt),et._writableState.errorEmitted=!0,et.emit("error",pt),dt(et,ot))}function Ye(et){et.writing=!1,et.writecb=null,et.length-=et.writelen,et.writelen=0}function Ge(et,ot){var yt=et._writableState,pt=yt.sync,Pt=yt.writecb;if(Ye(yt),ot)Ie(et,yt,pt,ot,Pt);else{var Mt=Ve(yt);!Mt&&!yt.corked&&!yt.bufferProcessing&&yt.bufferedRequest&&st(et,yt),pt?re(qe,et,yt,Mt,Pt):qe(et,yt,Mt,Pt)}}function qe(et,ot,yt,pt){yt||it(et,ot),ot.pendingcb--,pt(),dt(et,ot)}function it(et,ot){ot.length===0&&ot.needDrain&&(ot.needDrain=!1,et.emit("drain"))}function st(et,ot){ot.bufferProcessing=!0;var yt=ot.bufferedRequest;if(et._writev&&yt&&yt.next){var pt=ot.bufferedRequestCount,Pt=new Array(pt),Mt=ot.corkedRequestsFree;Mt.entry=yt;for(var ct=0,Je=!0;yt;)Pt[ct]=yt,yt.isBuf||(Je=!1),yt=yt.next,ct+=1;Pt.allBuffers=Je,Xe(et,ot,!0,ot.length,Pt,"",Mt.finish),ot.pendingcb++,ot.lastBufferedRequest=null,Mt.next?(ot.corkedRequestsFree=Mt.next,Mt.next=null):ot.corkedRequestsFree=new pe(ot),ot.bufferedRequestCount=0}else{for(;yt;){var Ze=yt.chunk,ue=yt.encoding,he=yt.callback,He=ot.objectMode?1:Ze.length;if(Xe(et,ot,!1,He,Ze,ue,he),yt=yt.next,ot.bufferedRequestCount--,ot.writing)break}yt===null&&(ot.lastBufferedRequest=null)}ot.bufferedRequest=yt,ot.bufferProcessing=!1}Me.prototype._write=function(et,ot,yt){yt(new Error("_write() is not implemented"))},Me.prototype._writev=null,Me.prototype.end=function(et,ot,yt){var pt=this._writableState;typeof et=="function"?(yt=et,et=null,ot=null):typeof ot=="function"&&(yt=ot,ot=null),et!=null&&this.write(et,ot),pt.corked&&(pt.corked=1,this.uncork()),!pt.ending&&!pt.finished&&at(this,pt,yt)};function Ve(et){return et.ending&&et.length===0&&et.bufferedRequest===null&&!et.finished&&!et.writing}function Qe(et,ot){et._final(function(yt){ot.pendingcb--,yt&&et.emit("error",yt),ot.prefinished=!0,et.emit("prefinish"),dt(et,ot)})}function nt(et,ot){!ot.prefinished&&!ot.finalCalled&&(typeof et._final=="function"?(ot.pendingcb++,ot.finalCalled=!0,oe.nextTick(Qe,et,ot)):(ot.prefinished=!0,et.emit("prefinish")))}function dt(et,ot){var yt=Ve(ot);return yt&&(nt(et,ot),ot.pendingcb===0&&(ot.finished=!0,et.emit("finish"))),yt}function at(et,ot,yt){ot.ending=!0,dt(et,ot),yt&&(ot.finished?oe.nextTick(yt):et.once("finish",yt)),ot.ended=!0,et.writable=!1}function tt(et,ot,yt){var pt=et.entry;for(et.entry=null;pt;){var Pt=pt.callback;ot.pendingcb--,Pt(yt),pt=pt.next}ot.corkedRequestsFree?ot.corkedRequestsFree.next=et:ot.corkedRequestsFree=et}Object.defineProperty(Me.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(et){this._writableState&&(this._writableState.destroyed=et)}}),Me.prototype.destroy=Ee.destroy,Me.prototype._undestroy=Ee.undestroy,Me.prototype._destroy=function(et,ot){this.end(),ot(et)}}).call(this)}).call(this,E("_process"),typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("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(E,je,ve){"use strict";function ne(le,pe){if(!(le instanceof pe))throw new TypeError("Cannot call a class as a function")}var ee=E("safe-buffer").Buffer,ie=E("util");function oe(le,pe,re){le.copy(pe,re)}je.exports=function(){function le(){ne(this,le),this.head=null,this.tail=null,this.length=0}return le.prototype.push=function(re){var ae={data:re,next:null};this.length>0?this.tail.next=ae:this.head=ae,this.tail=ae,++this.length},le.prototype.unshift=function(re){var ae={data:re,next:this.head};this.length===0&&(this.tail=ae),this.head=ae,++this.length},le.prototype.shift=function(){if(this.length!==0){var re=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,re}},le.prototype.clear=function(){this.head=this.tail=null,this.length=0},le.prototype.join=function(re){if(this.length===0)return"";for(var ae=this.head,ce=""+ae.data;ae=ae.next;)ce+=re+ae.data;return ce},le.prototype.concat=function(re){if(this.length===0)return ee.alloc(0);if(this.length===1)return this.head.data;for(var ae=ee.allocUnsafe(re>>>0),ce=this.head,de=0;ce;)oe(ce.data,ae,de),de+=ce.data.length,ce=ce.next;return ae},le}(),ie&&ie.inspect&&ie.inspect.custom&&(je.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(E,je,ve){"use strict";var ne=E("process-nextick-args");function ee(le,pe){var re=this,ae=this._readableState&&this._readableState.destroyed,ce=this._writableState&&this._writableState.destroyed;return ae||ce?(pe?pe(le):le&&(!this._writableState||!this._writableState.errorEmitted)&&ne.nextTick(oe,this,le),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(le||null,function(de){!pe&&de?(ne.nextTick(oe,re,de),re._writableState&&(re._writableState.errorEmitted=!0)):pe&&pe(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,pe){le.emit("error",pe)}je.exports={destroy:ee,undestroy:ie}},{"process-nextick-args":380}],393:[function(E,je,ve){je.exports=E("events").EventEmitter},{events:344}],394:[function(E,je,ve){ve=je.exports=E("./lib/_stream_readable.js"),ve.Stream=ve,ve.Readable=ve,ve.Writable=E("./lib/_stream_writable.js"),ve.Duplex=E("./lib/_stream_duplex.js"),ve.Transform=E("./lib/_stream_transform.js"),ve.PassThrough=E("./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(E,je,ve){var ne=function(ee){"use strict";var ie=Object.prototype,oe=ie.hasOwnProperty,le,pe=typeof Symbol=="function"?Symbol:{},re=pe.iterator||"@@iterator",ae=pe.asyncIterator||"@@asyncIterator",ce=pe.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,tt){return dt[at]=tt}}function me(nt,dt,at,tt){var et=dt&&dt.prototype instanceof Ce?dt:Ce,ot=Object.create(et.prototype),yt=new st(tt||[]);return ot._invoke=Ye(nt,at,yt),ot}ee.wrap=me;function we(nt,dt,at){try{return{type:"normal",arg:nt.call(dt,at)}}catch(tt){return{type:"throw",arg:tt}}}var xe="suspendedStart",Ae="suspendedYield",ye="executing",Ee="completed",Le={};function Ce(){}function _e(){}function Me(){}var De={};de(De,re,function(){return this});var Se=Object.getPrototypeOf,Be=Se&&Se(Se(Ve([])));Be&&Be!==ie&&oe.call(Be,re)&&(De=Be);var Re=Me.prototype=Ce.prototype=Object.create(De);_e.prototype=Me,de(Re,"constructor",Me),de(Me,"constructor",_e),_e.displayName=de(Me,ce,"GeneratorFunction");function Xe(nt){["next","throw","return"].forEach(function(dt){de(nt,dt,function(at){return this._invoke(dt,at)})})}ee.isGeneratorFunction=function(nt){var dt=typeof nt=="function"&&nt.constructor;return dt?dt===_e||(dt.displayName||dt.name)==="GeneratorFunction":!1},ee.mark=function(nt){return Object.setPrototypeOf?Object.setPrototypeOf(nt,Me):(nt.__proto__=Me,de(nt,ce,"GeneratorFunction")),nt.prototype=Object.create(Re),nt},ee.awrap=function(nt){return{__await:nt}};function Ie(nt,dt){function at(ot,yt,pt,Pt){var Mt=we(nt[ot],nt,yt);if(Mt.type==="throw")Pt(Mt.arg);else{var ct=Mt.arg,Je=ct.value;return Je&&typeof Je=="object"&&oe.call(Je,"__await")?dt.resolve(Je.__await).then(function(Ze){at("next",Ze,pt,Pt)},function(Ze){at("throw",Ze,pt,Pt)}):dt.resolve(Je).then(function(Ze){ct.value=Ze,pt(ct)},function(Ze){return at("throw",Ze,pt,Pt)})}}var tt;function et(ot,yt){function pt(){return new dt(function(Pt,Mt){at(ot,yt,Pt,Mt)})}return tt=tt?tt.then(pt,pt):pt()}this._invoke=et}Xe(Ie.prototype),de(Ie.prototype,ae,function(){return this}),ee.AsyncIterator=Ie,ee.async=function(nt,dt,at,tt,et){et===void 0&&(et=Promise);var ot=new Ie(me(nt,dt,at,tt),et);return ee.isGeneratorFunction(dt)?ot:ot.next().then(function(yt){return yt.done?yt.value:ot.next()})};function Ye(nt,dt,at){var tt=xe;return function(ot,yt){if(tt===ye)throw new Error("Generator is already running");if(tt===Ee){if(ot==="throw")throw yt;return Qe()}for(at.method=ot,at.arg=yt;;){var pt=at.delegate;if(pt){var Pt=Ge(pt,at);if(Pt){if(Pt===Le)continue;return Pt}}if(at.method==="next")at.sent=at._sent=at.arg;else if(at.method==="throw"){if(tt===xe)throw tt=Ee,at.arg;at.dispatchException(at.arg)}else at.method==="return"&&at.abrupt("return",at.arg);tt=ye;var Mt=we(nt,dt,at);if(Mt.type==="normal"){if(tt=at.done?Ee:Ae,Mt.arg===Le)continue;return{value:Mt.arg,done:at.done}}else Mt.type==="throw"&&(tt=Ee,at.method="throw",at.arg=Mt.arg)}}}function Ge(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,Ge(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 tt=we(at,nt.iterator,dt.arg);if(tt.type==="throw")return dt.method="throw",dt.arg=tt.arg,dt.delegate=null,Le;var et=tt.arg;if(!et)return dt.method="throw",dt.arg=new TypeError("iterator result is not an object"),dt.delegate=null,Le;if(et.done)dt[nt.resultName]=et.value,dt.next=nt.nextLoc,dt.method!=="return"&&(dt.method="next",dt.arg=le);else return et;return dt.delegate=null,Le}Xe(Re),de(Re,ce,"Generator"),de(Re,re,function(){return this}),de(Re,"toString",function(){return"[object Generator]"});function qe(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 it(nt){var dt=nt.completion||{};dt.type="normal",delete dt.arg,nt.completion=dt}function st(nt){this.tryEntries=[{tryLoc:"root"}],nt.forEach(qe,this),this.reset(!0)}ee.keys=function(nt){var dt=[];for(var at in nt)dt.push(at);return dt.reverse(),function tt(){for(;dt.length;){var et=dt.pop();if(et in nt)return tt.value=et,tt.done=!1,tt}return tt.done=!0,tt}};function Ve(nt){if(nt){var dt=nt[re];if(dt)return dt.call(nt);if(typeof nt.next=="function")return nt;if(!isNaN(nt.length)){var at=-1,tt=function et(){for(;++at<nt.length;)if(oe.call(nt,at))return et.value=nt[at],et.done=!1,et;return et.value=le,et.done=!0,et};return tt.next=tt}}return{next:Qe}}ee.values=Ve;function Qe(){return{value:le,done:!0}}return st.prototype={constructor:st,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(it),!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(Pt,Mt){return ot.type="throw",ot.arg=nt,dt.next=Pt,Mt&&(dt.method="next",dt.arg=le),!!Mt}for(var tt=this.tryEntries.length-1;tt>=0;--tt){var et=this.tryEntries[tt],ot=et.completion;if(et.tryLoc==="root")return at("end");if(et.tryLoc<=this.prev){var yt=oe.call(et,"catchLoc"),pt=oe.call(et,"finallyLoc");if(yt&&pt){if(this.prev<et.catchLoc)return at(et.catchLoc,!0);if(this.prev<et.finallyLoc)return at(et.finallyLoc)}else if(yt){if(this.prev<et.catchLoc)return at(et.catchLoc,!0)}else if(pt){if(this.prev<et.finallyLoc)return at(et.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 tt=this.tryEntries[at];if(tt.tryLoc<=this.prev&&oe.call(tt,"finallyLoc")&&this.prev<tt.finallyLoc){var et=tt;break}}et&&(nt==="break"||nt==="continue")&&et.tryLoc<=dt&&dt<=et.finallyLoc&&(et=null);var ot=et?et.completion:{};return ot.type=nt,ot.arg=dt,et?(this.method="next",this.next=et.finallyLoc,Le):this.complete(ot)},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),it(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 tt=at.completion;if(tt.type==="throw"){var et=tt.arg;it(at)}return et}}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}},ee}(typeof je=="object"?je.exports:{});try{regeneratorRuntime=ne}catch(ee){typeof globalThis=="object"?globalThis.regeneratorRuntime=ne:Function("r","regeneratorRuntime = r")(ne)}},{}],396:[function(E,je,ve){var ne=E("buffer"),ee=ne.Buffer;function ie(le,pe){for(var re in le)pe[re]=le[re]}ee.from&&ee.alloc&&ee.allocUnsafe&&ee.allocUnsafeSlow?je.exports=ne:(ie(ne,ve),ve.Buffer=oe);function oe(le,pe,re){return ee(le,pe,re)}ie(ee,oe),oe.from=function(le,pe,re){if(typeof le=="number")throw new TypeError("Argument must not be a number");return ee(le,pe,re)},oe.alloc=function(le,pe,re){if(typeof le!="number")throw new TypeError("Argument must be a number");var ae=ee(le);return pe!==void 0?typeof re=="string"?ae.fill(pe,re):ae.fill(pe):ae.fill(0),ae},oe.allocUnsafe=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return ee(le)},oe.allocUnsafeSlow=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return ne.SlowBuffer(le)}},{buffer:90}],397:[function(E,je,ve){(function(ne){(function(){(function(ee){ee.parser=function(ct,Je){return new oe(ct,Je)},ee.SAXParser=oe,ee.SAXStream=me,ee.createStream=de,ee.MAX_BUFFER_LENGTH=64*1024;var ie=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];ee.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function oe(ct,Je){if(!(this instanceof oe))return new oe(ct,Je);var Ze=this;pe(Ze),Ze.q=Ze.c="",Ze.bufferCheckPosition=ee.MAX_BUFFER_LENGTH,Ze.opt=Je||{},Ze.opt.lowercase=Ze.opt.lowercase||Ze.opt.lowercasetags,Ze.looseCase=Ze.opt.lowercase?"toLowerCase":"toUpperCase",Ze.tags=[],Ze.closed=Ze.closedRoot=Ze.sawRoot=!1,Ze.tag=Ze.error=null,Ze.strict=!!ct,Ze.noscript=!!(ct||Ze.opt.noscript),Ze.state=Ie.BEGIN,Ze.strictEntities=Ze.opt.strictEntities,Ze.ENTITIES=Ze.strictEntities?Object.create(ee.XML_ENTITIES):Object.create(ee.ENTITIES),Ze.attribList=[],Ze.opt.xmlns&&(Ze.ns=Object.create(Ee)),Ze.trackPosition=Ze.opt.position!==!1,Ze.trackPosition&&(Ze.position=Ze.line=Ze.column=0),Ge(Ze,"onready")}Object.create||(Object.create=function(ct){function Je(){}Je.prototype=ct;var Ze=new Je;return Ze}),Object.keys||(Object.keys=function(ct){var Je=[];for(var Ze in ct)ct.hasOwnProperty(Ze)&&Je.push(Ze);return Je});function le(ct){for(var Je=Math.max(ee.MAX_BUFFER_LENGTH,10),Ze=0,ue=0,he=ie.length;ue<he;ue++){var He=ct[ie[ue]].length;if(He>Je)switch(ie[ue]){case"textNode":it(ct);break;case"cdata":qe(ct,"oncdata",ct.cdata),ct.cdata="";break;case"script":qe(ct,"onscript",ct.script),ct.script="";break;default:Ve(ct,"Max buffer length exceeded: "+ie[ue])}Ze=Math.max(Ze,He)}var We=ee.MAX_BUFFER_LENGTH-Ze;ct.bufferCheckPosition=We+ct.position}function pe(ct){for(var Je=0,Ze=ie.length;Je<Ze;Je++)ct[ie[Je]]=""}function re(ct){it(ct),ct.cdata!==""&&(qe(ct,"oncdata",ct.cdata),ct.cdata=""),ct.script!==""&&(qe(ct,"onscript",ct.script),ct.script="")}oe.prototype={end:function(){Qe(this)},write:Mt,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){re(this)}};var ae;try{ae=E("stream").Stream}catch(ct){ae=function(){}}var ce=ee.EVENTS.filter(function(ct){return ct!=="error"&&ct!=="end"});function de(ct,Je){return new me(ct,Je)}function me(ct,Je){if(!(this instanceof me))return new me(ct,Je);ae.apply(this),this._parser=new oe(ct,Je),this.writable=!0,this.readable=!0;var Ze=this;this._parser.onend=function(){Ze.emit("end")},this._parser.onerror=function(ue){Ze.emit("error",ue),Ze._parser.error=null},this._decoder=null,ce.forEach(function(ue){Object.defineProperty(Ze,"on"+ue,{get:function(){return Ze._parser["on"+ue]},set:function(he){if(!he)return Ze.removeAllListeners(ue),Ze._parser["on"+ue]=he,he;Ze.on(ue,he)},enumerable:!0,configurable:!1})})}me.prototype=Object.create(ae.prototype,{constructor:{value:me}}),me.prototype.write=function(ct){if(typeof ne=="function"&&typeof ne.isBuffer=="function"&&ne.isBuffer(ct)){if(!this._decoder){var Je=E("string_decoder").StringDecoder;this._decoder=new Je("utf8")}ct=this._decoder.write(ct)}return this._parser.write(ct.toString()),this.emit("data",ct),!0},me.prototype.end=function(ct){return ct&&ct.length&&this.write(ct),this._parser.end(),!0},me.prototype.on=function(ct,Je){var Ze=this;return!Ze._parser["on"+ct]&&ce.indexOf(ct)!==-1&&(Ze._parser["on"+ct]=function(){var ue=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);ue.splice(0,0,ct),Ze.emit.apply(Ze,ue)}),ae.prototype.on.call(Ze,ct,Je)};var we="[CDATA[",xe="DOCTYPE",Ae="http://www.w3.org/XML/1998/namespace",ye="http://www.w3.org/2000/xmlns/",Ee={xml:Ae,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]/,Ce=/[:_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 De(ct){return ct===" "||ct===`
`||ct==="\r"||ct===" "}function Se(ct){return ct==='"'||ct==="'"}function Be(ct){return ct===">"||De(ct)}function Re(ct,Je){return ct.test(Je)}function Xe(ct,Je){return!Re(ct,Je)}var Ie=0;ee.STATE={BEGIN:Ie++,BEGIN_WHITESPACE:Ie++,TEXT:Ie++,TEXT_ENTITY:Ie++,OPEN_WAKA:Ie++,SGML_DECL:Ie++,SGML_DECL_QUOTED:Ie++,DOCTYPE:Ie++,DOCTYPE_QUOTED:Ie++,DOCTYPE_DTD:Ie++,DOCTYPE_DTD_QUOTED:Ie++,COMMENT_STARTING:Ie++,COMMENT:Ie++,COMMENT_ENDING:Ie++,COMMENT_ENDED:Ie++,CDATA:Ie++,CDATA_ENDING:Ie++,CDATA_ENDING_2:Ie++,PROC_INST:Ie++,PROC_INST_BODY:Ie++,PROC_INST_ENDING:Ie++,OPEN_TAG:Ie++,OPEN_TAG_SLASH:Ie++,ATTRIB:Ie++,ATTRIB_NAME:Ie++,ATTRIB_NAME_SAW_WHITE:Ie++,ATTRIB_VALUE:Ie++,ATTRIB_VALUE_QUOTED:Ie++,ATTRIB_VALUE_CLOSED:Ie++,ATTRIB_VALUE_UNQUOTED:Ie++,ATTRIB_VALUE_ENTITY_Q:Ie++,ATTRIB_VALUE_ENTITY_U:Ie++,CLOSE_TAG:Ie++,CLOSE_TAG_SAW_WHITE:Ie++,SCRIPT:Ie++,SCRIPT_ENDING:Ie++},ee.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},ee.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(ee.ENTITIES).forEach(function(ct){var Je=ee.ENTITIES[ct],Ze=typeof Je=="number"?String.fromCharCode(Je):Je;ee.ENTITIES[ct]=Ze});for(var Ye in ee.STATE)ee.STATE[ee.STATE[Ye]]=Ye;Ie=ee.STATE;function Ge(ct,Je,Ze){ct[Je]&&ct[Je](Ze)}function qe(ct,Je,Ze){ct.textNode&&it(ct),Ge(ct,Je,Ze)}function it(ct){ct.textNode=st(ct.opt,ct.textNode),ct.textNode&&Ge(ct,"ontext",ct.textNode),ct.textNode=""}function st(ct,Je){return ct.trim&&(Je=Je.trim()),ct.normalize&&(Je=Je.replace(/\s+/g," ")),Je}function Ve(ct,Je){return it(ct),ct.trackPosition&&(Je+=`
Line: `+ct.line+`
Column: `+ct.column+`
Char: `+ct.c),Je=new Error(Je),ct.error=Je,Ge(ct,"onerror",Je),ct}function Qe(ct){return ct.sawRoot&&!ct.closedRoot&&nt(ct,"Unclosed root tag"),ct.state!==Ie.BEGIN&&ct.state!==Ie.BEGIN_WHITESPACE&&ct.state!==Ie.TEXT&&Ve(ct,"Unexpected end"),it(ct),ct.c="",ct.closed=!0,Ge(ct,"onend"),oe.call(ct,ct.strict,ct.opt),ct}function nt(ct,Je){if(typeof ct!="object"||!(ct instanceof oe))throw new Error("bad call to strictFail");ct.strict&&Ve(ct,Je)}function dt(ct){ct.strict||(ct.tagName=ct.tagName[ct.looseCase]());var Je=ct.tags[ct.tags.length-1]||ct,Ze=ct.tag={name:ct.tagName,attributes:{}};ct.opt.xmlns&&(Ze.ns=Je.ns),ct.attribList.length=0,qe(ct,"onopentagstart",Ze)}function at(ct,Je){var Ze=ct.indexOf(":"),ue=Ze<0?["",ct]:ct.split(":"),he=ue[0],He=ue[1];return Je&&ct==="xmlns"&&(he="xmlns",He=""),{prefix:he,local:He}}function tt(ct){if(ct.strict||(ct.attribName=ct.attribName[ct.looseCase]()),ct.attribList.indexOf(ct.attribName)!==-1||ct.tag.attributes.hasOwnProperty(ct.attribName)){ct.attribName=ct.attribValue="";return}if(ct.opt.xmlns){var Je=at(ct.attribName,!0),Ze=Je.prefix,ue=Je.local;if(Ze==="xmlns")if(ue==="xml"&&ct.attribValue!==Ae)nt(ct,"xml: prefix must be bound to "+Ae+`
Actual: `+ct.attribValue);else if(ue==="xmlns"&&ct.attribValue!==ye)nt(ct,"xmlns: prefix must be bound to "+ye+`
Actual: `+ct.attribValue);else{var he=ct.tag,He=ct.tags[ct.tags.length-1]||ct;he.ns===He.ns&&(he.ns=Object.create(He.ns)),he.ns[ue]=ct.attribValue}ct.attribList.push([ct.attribName,ct.attribValue])}else ct.tag.attributes[ct.attribName]=ct.attribValue,qe(ct,"onattribute",{name:ct.attribName,value:ct.attribValue});ct.attribName=ct.attribValue=""}function et(ct,Je){if(ct.opt.xmlns){var Ze=ct.tag,ue=at(ct.tagName);Ze.prefix=ue.prefix,Ze.local=ue.local,Ze.uri=Ze.ns[ue.prefix]||"",Ze.prefix&&!Ze.uri&&(nt(ct,"Unbound namespace prefix: "+JSON.stringify(ct.tagName)),Ze.uri=ue.prefix);var he=ct.tags[ct.tags.length-1]||ct;Ze.ns&&he.ns!==Ze.ns&&Object.keys(Ze.ns).forEach(function(Dt){qe(ct,"onopennamespace",{prefix:Dt,uri:Ze.ns[Dt]})});for(var He=0,We=ct.attribList.length;He<We;He++){var fe=ct.attribList[He],Pe=fe[0],Fe=fe[1],Ke=at(Pe,!0),Ue=Ke.prefix,ut=Ke.local,vt=Ue===""?"":Ze.ns[Ue]||"",lt={name:Pe,value:Fe,prefix:Ue,local:ut,uri:vt};Ue&&Ue!=="xmlns"&&!vt&&(nt(ct,"Unbound namespace prefix: "+JSON.stringify(Ue)),lt.uri=Ue),ct.tag.attributes[Pe]=lt,qe(ct,"onattribute",lt)}ct.attribList.length=0}ct.tag.isSelfClosing=!!Je,ct.sawRoot=!0,ct.tags.push(ct.tag),qe(ct,"onopentag",ct.tag),Je||(!ct.noscript&&ct.tagName.toLowerCase()==="script"?ct.state=Ie.SCRIPT:ct.state=Ie.TEXT,ct.tag=null,ct.tagName=""),ct.attribName=ct.attribValue="",ct.attribList.length=0}function ot(ct){if(!ct.tagName){nt(ct,"Weird empty close tag."),ct.textNode+="</>",ct.state=Ie.TEXT;return}if(ct.script){if(ct.tagName!=="script"){ct.script+="</"+ct.tagName+">",ct.tagName="",ct.state=Ie.SCRIPT;return}qe(ct,"onscript",ct.script),ct.script=""}var Je=ct.tags.length,Ze=ct.tagName;ct.strict||(Ze=Ze[ct.looseCase]());for(var ue=Ze;Je--;){var he=ct.tags[Je];if(he.name!==ue)nt(ct,"Unexpected close tag");else break}if(Je<0){nt(ct,"Unmatched closing tag: "+ct.tagName),ct.textNode+="</"+ct.tagName+">",ct.state=Ie.TEXT;return}ct.tagName=Ze;for(var He=ct.tags.length;He-- >Je;){var We=ct.tag=ct.tags.pop();ct.tagName=ct.tag.name,qe(ct,"onclosetag",ct.tagName);var fe={};for(var Pe in We.ns)fe[Pe]=We.ns[Pe];var Fe=ct.tags[ct.tags.length-1]||ct;ct.opt.xmlns&&We.ns!==Fe.ns&&Object.keys(We.ns).forEach(function(Ke){var Ue=We.ns[Ke];qe(ct,"onclosenamespace",{prefix:Ke,uri:Ue})})}Je===0&&(ct.closedRoot=!0),ct.tagName=ct.attribValue=ct.attribName="",ct.attribList.length=0,ct.state=Ie.TEXT}function yt(ct){var Je=ct.entity,Ze=Je.toLowerCase(),ue,he="";return ct.ENTITIES[Je]?ct.ENTITIES[Je]:ct.ENTITIES[Ze]?ct.ENTITIES[Ze]:(Je=Ze,Je.charAt(0)==="#"&&(Je.charAt(1)==="x"?(Je=Je.slice(2),ue=parseInt(Je,16),he=ue.toString(16)):(Je=Je.slice(1),ue=parseInt(Je,10),he=ue.toString(10))),Je=Je.replace(/^0+/,""),isNaN(ue)||he.toLowerCase()!==Je?(nt(ct,"Invalid character entity"),"&"+ct.entity+";"):String.fromCodePoint(ue))}function pt(ct,Je){Je==="<"?(ct.state=Ie.OPEN_WAKA,ct.startTagPosition=ct.position):De(Je)||(nt(ct,"Non-whitespace before first tag."),ct.textNode=Je,ct.state=Ie.TEXT)}function Pt(ct,Je){var Ze="";return Je<ct.length&&(Ze=ct.charAt(Je)),Ze}function Mt(ct){var Je=this;if(this.error)throw this.error;if(Je.closed)return Ve(Je,"Cannot write after close. Assign an onready handler.");if(ct===null)return Qe(Je);typeof ct=="object"&&(ct=ct.toString());for(var Ze=0,ue="";ue=Pt(ct,Ze++),Je.c=ue,!!ue;)switch(Je.trackPosition&&(Je.position++,ue===`
`?(Je.line++,Je.column=0):Je.column++),Je.state){case Ie.BEGIN:if(Je.state=Ie.BEGIN_WHITESPACE,ue==="\uFEFF")continue;pt(Je,ue);continue;case Ie.BEGIN_WHITESPACE:pt(Je,ue);continue;case Ie.TEXT:if(Je.sawRoot&&!Je.closedRoot){for(var he=Ze-1;ue&&ue!=="<"&&ue!=="&";)ue=Pt(ct,Ze++),ue&&Je.trackPosition&&(Je.position++,ue===`
`?(Je.line++,Je.column=0):Je.column++);Je.textNode+=ct.substring(he,Ze-1)}ue==="<"&&!(Je.sawRoot&&Je.closedRoot&&!Je.strict)?(Je.state=Ie.OPEN_WAKA,Je.startTagPosition=Je.position):(!De(ue)&&(!Je.sawRoot||Je.closedRoot)&&nt(Je,"Text data outside of root node."),ue==="&"?Je.state=Ie.TEXT_ENTITY:Je.textNode+=ue);continue;case Ie.SCRIPT:ue==="<"?Je.state=Ie.SCRIPT_ENDING:Je.script+=ue;continue;case Ie.SCRIPT_ENDING:ue==="/"?Je.state=Ie.CLOSE_TAG:(Je.script+="<"+ue,Je.state=Ie.SCRIPT);continue;case Ie.OPEN_WAKA:if(ue==="!")Je.state=Ie.SGML_DECL,Je.sgmlDecl="";else if(!De(ue))if(Re(Le,ue))Je.state=Ie.OPEN_TAG,Je.tagName=ue;else if(ue==="/")Je.state=Ie.CLOSE_TAG,Je.tagName="";else if(ue==="?")Je.state=Ie.PROC_INST,Je.procInstName=Je.procInstBody="";else{if(nt(Je,"Unencoded <"),Je.startTagPosition+1<Je.position){var He=Je.position-Je.startTagPosition;ue=new Array(He).join(" ")+ue}Je.textNode+="<"+ue,Je.state=Ie.TEXT}continue;case Ie.SGML_DECL:(Je.sgmlDecl+ue).toUpperCase()===we?(qe(Je,"onopencdata"),Je.state=Ie.CDATA,Je.sgmlDecl="",Je.cdata=""):Je.sgmlDecl+ue==="--"?(Je.state=Ie.COMMENT,Je.comment="",Je.sgmlDecl=""):(Je.sgmlDecl+ue).toUpperCase()===xe?(Je.state=Ie.DOCTYPE,(Je.doctype||Je.sawRoot)&&nt(Je,"Inappropriately located doctype declaration"),Je.doctype="",Je.sgmlDecl=""):ue===">"?(qe(Je,"onsgmldeclaration",Je.sgmlDecl),Je.sgmlDecl="",Je.state=Ie.TEXT):(Se(ue)&&(Je.state=Ie.SGML_DECL_QUOTED),Je.sgmlDecl+=ue);continue;case Ie.SGML_DECL_QUOTED:ue===Je.q&&(Je.state=Ie.SGML_DECL,Je.q=""),Je.sgmlDecl+=ue;continue;case Ie.DOCTYPE:ue===">"?(Je.state=Ie.TEXT,qe(Je,"ondoctype",Je.doctype),Je.doctype=!0):(Je.doctype+=ue,ue==="["?Je.state=Ie.DOCTYPE_DTD:Se(ue)&&(Je.state=Ie.DOCTYPE_QUOTED,Je.q=ue));continue;case Ie.DOCTYPE_QUOTED:Je.doctype+=ue,ue===Je.q&&(Je.q="",Je.state=Ie.DOCTYPE);continue;case Ie.DOCTYPE_DTD:Je.doctype+=ue,ue==="]"?Je.state=Ie.DOCTYPE:Se(ue)&&(Je.state=Ie.DOCTYPE_DTD_QUOTED,Je.q=ue);continue;case Ie.DOCTYPE_DTD_QUOTED:Je.doctype+=ue,ue===Je.q&&(Je.state=Ie.DOCTYPE_DTD,Je.q="");continue;case Ie.COMMENT:ue==="-"?Je.state=Ie.COMMENT_ENDING:Je.comment+=ue;continue;case Ie.COMMENT_ENDING:ue==="-"?(Je.state=Ie.COMMENT_ENDED,Je.comment=st(Je.opt,Je.comment),Je.comment&&qe(Je,"oncomment",Je.comment),Je.comment=""):(Je.comment+="-"+ue,Je.state=Ie.COMMENT);continue;case Ie.COMMENT_ENDED:ue!==">"?(nt(Je,"Malformed comment"),Je.comment+="--"+ue,Je.state=Ie.COMMENT):Je.state=Ie.TEXT;continue;case Ie.CDATA:ue==="]"?Je.state=Ie.CDATA_ENDING:Je.cdata+=ue;continue;case Ie.CDATA_ENDING:ue==="]"?Je.state=Ie.CDATA_ENDING_2:(Je.cdata+="]"+ue,Je.state=Ie.CDATA);continue;case Ie.CDATA_ENDING_2:ue===">"?(Je.cdata&&qe(Je,"oncdata",Je.cdata),qe(Je,"onclosecdata"),Je.cdata="",Je.state=Ie.TEXT):ue==="]"?Je.cdata+="]":(Je.cdata+="]]"+ue,Je.state=Ie.CDATA);continue;case Ie.PROC_INST:ue==="?"?Je.state=Ie.PROC_INST_ENDING:De(ue)?Je.state=Ie.PROC_INST_BODY:Je.procInstName+=ue;continue;case Ie.PROC_INST_BODY:if(!Je.procInstBody&&De(ue))continue;ue==="?"?Je.state=Ie.PROC_INST_ENDING:Je.procInstBody+=ue;continue;case Ie.PROC_INST_ENDING:ue===">"?(qe(Je,"onprocessinginstruction",{name:Je.procInstName,body:Je.procInstBody}),Je.procInstName=Je.procInstBody="",Je.state=Ie.TEXT):(Je.procInstBody+="?"+ue,Je.state=Ie.PROC_INST_BODY);continue;case Ie.OPEN_TAG:Re(Ce,ue)?Je.tagName+=ue:(dt(Je),ue===">"?et(Je):ue==="/"?Je.state=Ie.OPEN_TAG_SLASH:(De(ue)||nt(Je,"Invalid character in tag name"),Je.state=Ie.ATTRIB));continue;case Ie.OPEN_TAG_SLASH:ue===">"?(et(Je,!0),ot(Je)):(nt(Je,"Forward-slash in opening tag not followed by >"),Je.state=Ie.ATTRIB);continue;case Ie.ATTRIB:if(De(ue))continue;ue===">"?et(Je):ue==="/"?Je.state=Ie.OPEN_TAG_SLASH:Re(Le,ue)?(Je.attribName=ue,Je.attribValue="",Je.state=Ie.ATTRIB_NAME):nt(Je,"Invalid attribute name");continue;case Ie.ATTRIB_NAME:ue==="="?Je.state=Ie.ATTRIB_VALUE:ue===">"?(nt(Je,"Attribute without value"),Je.attribValue=Je.attribName,tt(Je),et(Je)):De(ue)?Je.state=Ie.ATTRIB_NAME_SAW_WHITE:Re(Ce,ue)?Je.attribName+=ue:nt(Je,"Invalid attribute name");continue;case Ie.ATTRIB_NAME_SAW_WHITE:if(ue==="=")Je.state=Ie.ATTRIB_VALUE;else{if(De(ue))continue;nt(Je,"Attribute without value"),Je.tag.attributes[Je.attribName]="",Je.attribValue="",qe(Je,"onattribute",{name:Je.attribName,value:""}),Je.attribName="",ue===">"?et(Je):Re(Le,ue)?(Je.attribName=ue,Je.state=Ie.ATTRIB_NAME):(nt(Je,"Invalid attribute name"),Je.state=Ie.ATTRIB)}continue;case Ie.ATTRIB_VALUE:if(De(ue))continue;Se(ue)?(Je.q=ue,Je.state=Ie.ATTRIB_VALUE_QUOTED):(nt(Je,"Unquoted attribute value"),Je.state=Ie.ATTRIB_VALUE_UNQUOTED,Je.attribValue=ue);continue;case Ie.ATTRIB_VALUE_QUOTED:if(ue!==Je.q){ue==="&"?Je.state=Ie.ATTRIB_VALUE_ENTITY_Q:Je.attribValue+=ue;continue}tt(Je),Je.q="",Je.state=Ie.ATTRIB_VALUE_CLOSED;continue;case Ie.ATTRIB_VALUE_CLOSED:De(ue)?Je.state=Ie.ATTRIB:ue===">"?et(Je):ue==="/"?Je.state=Ie.OPEN_TAG_SLASH:Re(Le,ue)?(nt(Je,"No whitespace between attributes"),Je.attribName=ue,Je.attribValue="",Je.state=Ie.ATTRIB_NAME):nt(Je,"Invalid attribute name");continue;case Ie.ATTRIB_VALUE_UNQUOTED:if(!Be(ue)){ue==="&"?Je.state=Ie.ATTRIB_VALUE_ENTITY_U:Je.attribValue+=ue;continue}tt(Je),ue===">"?et(Je):Je.state=Ie.ATTRIB;continue;case Ie.CLOSE_TAG:if(Je.tagName)ue===">"?ot(Je):Re(Ce,ue)?Je.tagName+=ue:Je.script?(Je.script+="</"+Je.tagName,Je.tagName="",Je.state=Ie.SCRIPT):(De(ue)||nt(Je,"Invalid tagname in closing tag"),Je.state=Ie.CLOSE_TAG_SAW_WHITE);else{if(De(ue))continue;Xe(Le,ue)?Je.script?(Je.script+="</"+ue,Je.state=Ie.SCRIPT):nt(Je,"Invalid tagname in closing tag."):Je.tagName=ue}continue;case Ie.CLOSE_TAG_SAW_WHITE:if(De(ue))continue;ue===">"?ot(Je):nt(Je,"Invalid characters in closing tag");continue;case Ie.TEXT_ENTITY:case Ie.ATTRIB_VALUE_ENTITY_Q:case Ie.ATTRIB_VALUE_ENTITY_U:var We,fe;switch(Je.state){case Ie.TEXT_ENTITY:We=Ie.TEXT,fe="textNode";break;case Ie.ATTRIB_VALUE_ENTITY_Q:We=Ie.ATTRIB_VALUE_QUOTED,fe="attribValue";break;case Ie.ATTRIB_VALUE_ENTITY_U:We=Ie.ATTRIB_VALUE_UNQUOTED,fe="attribValue";break}ue===";"?(Je[fe]+=yt(Je),Je.entity="",Je.state=We):Re(Je.entity.length?Me:_e,ue)?Je.entity+=ue:(nt(Je,"Invalid character in entity name"),Je[fe]+="&"+Je.entity+ue,Je.entity="",Je.state=We);continue;default:throw new Error(Je,"Unknown state: "+Je.state)}return Je.position>=Je.bufferCheckPosition&&le(Je),Je}String.fromCodePoint||function(){var ct=String.fromCharCode,Je=Math.floor,Ze=function(){var ue=16384,he=[],He,We,fe=-1,Pe=arguments.length;if(!Pe)return"";for(var Fe="";++fe<Pe;){var Ke=Number(arguments[fe]);if(!isFinite(Ke)||Ke<0||Ke>1114111||Je(Ke)!==Ke)throw RangeError("Invalid code point: "+Ke);Ke<=65535?he.push(Ke):(Ke-=65536,He=(Ke>>10)+55296,We=Ke%1024+56320,he.push(He,We)),(fe+1===Pe||he.length>ue)&&(Fe+=ct.apply(null,he),he.length=0)}return Fe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ze,configurable:!0,writable:!0}):String.fromCodePoint=Ze}()})(typeof ve=="undefined"?this.sax={}:ve)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,je,ve){je.exports=ie;var ne=E("events").EventEmitter,ee=E("inherits");ee(ie,ne),ie.Readable=E("readable-stream/lib/_stream_readable.js"),ie.Writable=E("readable-stream/lib/_stream_writable.js"),ie.Duplex=E("readable-stream/lib/_stream_duplex.js"),ie.Transform=E("readable-stream/lib/_stream_transform.js"),ie.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ie.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ie.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ie.Stream=ie;function ie(){ne.call(this)}ie.prototype.pipe=function(oe,le){var pe=this;function re(Ae){oe.writable&&oe.write(Ae)===!1&&pe.pause&&pe.pause()}pe.on("data",re);function ae(){pe.readable&&pe.resume&&pe.resume()}oe.on("drain",ae),!oe._isStdio&&(!le||le.end!==!1)&&(pe.on("end",de),pe.on("close",me));var ce=!1;function de(){ce||(ce=!0,oe.end())}function me(){ce||(ce=!0,typeof oe.destroy=="function"&&oe.destroy())}function we(Ae){if(xe(),ne.listenerCount(this,"error")===0)throw Ae}pe.on("error",we),oe.on("error",we);function xe(){pe.removeListener("data",re),oe.removeListener("drain",ae),pe.removeListener("end",de),pe.removeListener("close",me),pe.removeListener("error",we),oe.removeListener("error",we),pe.removeListener("end",xe),pe.removeListener("close",xe),oe.removeListener("close",xe)}return pe.on("end",xe),pe.on("close",xe),oe.on("close",xe),oe.emit("pipe",pe),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(E,je,ve){"use strict";function ne(ae,ce){ae.prototype=Object.create(ce.prototype),ae.prototype.constructor=ae,ae.__proto__=ce}var ee={};function ie(ae,ce,de){de||(de=Error);function me(xe,Ae,ye){return typeof ce=="string"?ce:ce(xe,Ae,ye)}var we=function(xe){ne(Ae,xe);function Ae(ye,Ee,Le){return xe.call(this,me(ye,Ee,Le))||this}return Ae}(de);we.prototype.name=de.name,we.prototype.code=ae,ee[ae]=we}function oe(ae,ce){if(Array.isArray(ae)){var de=ae.length;return ae=ae.map(function(me){return String(me)}),de>2?"one of ".concat(ce," ").concat(ae.slice(0,de-1).join(", "),", or ")+ae[de-1]:de===2?"one of ".concat(ce," ").concat(ae[0]," or ").concat(ae[1]):"of ".concat(ce," ").concat(ae[0])}else return"of ".concat(ce," ").concat(String(ae))}function le(ae,ce,de){return ae.substr(!de||de<0?0:+de,ce.length)===ce}function pe(ae,ce,de){return(de===void 0||de>ae.length)&&(de=ae.length),ae.substring(de-ce.length,de)===ce}function re(ae,ce,de){return typeof de!="number"&&(de=0),de+ce.length>ae.length?!1:ae.indexOf(ce,de)!==-1}ie("ERR_INVALID_OPT_VALUE",function(ae,ce){return'The value "'+ce+'" is invalid for option "'+ae+'"'},TypeError),ie("ERR_INVALID_ARG_TYPE",function(ae,ce,de){var me;typeof ce=="string"&&le(ce,"not ")?(me="must not be",ce=ce.replace(/^not /,"")):me="must be";var we;if(pe(ae," argument"))we="The ".concat(ae," ").concat(me," ").concat(oe(ce,"type"));else{var xe=re(ae,".")?"property":"argument";we='The "'.concat(ae,'" ').concat(xe," ").concat(me," ").concat(oe(ce,"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"),je.exports.codes=ee},{}],400:[function(E,je,ve){(function(ne){(function(){"use strict";var ee=Object.keys||function(me){var we=[];for(var xe in me)we.push(xe);return we};je.exports=ae;var ie=E("./_stream_readable"),oe=E("./_stream_writable");E("inherits")(ae,ie);for(var le=ee(oe.prototype),pe=0;pe<le.length;pe++){var re=le[pe];ae.prototype[re]||(ae.prototype[re]=oe.prototype[re])}function ae(me){if(!(this instanceof ae))return new ae(me);ie.call(this,me),oe.call(this,me),this.allowHalfOpen=!0,me&&(me.readable===!1&&(this.readable=!1),me.writable===!1&&(this.writable=!1),me.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",ce)))}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 ce(){this._writableState.ended||ne.nextTick(de,this)}function de(me){me.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,E("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(E,je,ve){"use strict";je.exports=ee;var ne=E("./_stream_transform");E("inherits")(ee,ne);function ee(ie){if(!(this instanceof ee))return new ee(ie);ne.call(this,ie)}ee.prototype._transform=function(ie,oe,le){le(null,ie)}},{"./_stream_transform":403,inherits:364}],402:[function(E,je,ve){(function(ne,ee){(function(){"use strict";je.exports=qe;var ie;qe.ReadableState=Ge;var oe=E("events").EventEmitter,le=function(Pe,Fe){return Pe.listeners(Fe).length},pe=E("./internal/streams/stream"),re=E("buffer").Buffer,ae=(typeof ee!="undefined"?ee:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function ce(fe){return re.from(fe)}function de(fe){return re.isBuffer(fe)||fe instanceof ae}var me=E("util"),we;me&&me.debuglog?we=me.debuglog("stream"):we=function(){};var xe=E("./internal/streams/buffer_list"),Ae=E("./internal/streams/destroy"),ye=E("./internal/streams/state"),Ee=ye.getHighWaterMark,Le=E("../errors").codes,Ce=Le.ERR_INVALID_ARG_TYPE,_e=Le.ERR_STREAM_PUSH_AFTER_EOF,Me=Le.ERR_METHOD_NOT_IMPLEMENTED,De=Le.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Se,Be,Re;E("inherits")(qe,pe);var Xe=Ae.errorOrDestroy,Ie=["error","close","destroy","pause","resume"];function Ye(fe,Pe,Fe){if(typeof fe.prependListener=="function")return fe.prependListener(Pe,Fe);!fe._events||!fe._events[Pe]?fe.on(Pe,Fe):Array.isArray(fe._events[Pe])?fe._events[Pe].unshift(Fe):fe._events[Pe]=[Fe,fe._events[Pe]]}function Ge(fe,Pe,Fe){ie=ie||E("./_stream_duplex"),fe=fe||{},typeof Fe!="boolean"&&(Fe=Pe instanceof ie),this.objectMode=!!fe.objectMode,Fe&&(this.objectMode=this.objectMode||!!fe.readableObjectMode),this.highWaterMark=Ee(this,fe,"readableHighWaterMark",Fe),this.buffer=new xe,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=fe.emitClose!==!1,this.autoDestroy=!!fe.autoDestroy,this.destroyed=!1,this.defaultEncoding=fe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,fe.encoding&&(Se||(Se=E("string_decoder/").StringDecoder),this.decoder=new Se(fe.encoding),this.encoding=fe.encoding)}function qe(fe){if(ie=ie||E("./_stream_duplex"),!(this instanceof qe))return new qe(fe);var Pe=this instanceof ie;this._readableState=new Ge(fe,this,Pe),this.readable=!0,fe&&(typeof fe.read=="function"&&(this._read=fe.read),typeof fe.destroy=="function"&&(this._destroy=fe.destroy)),pe.call(this)}Object.defineProperty(qe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Pe){this._readableState&&(this._readableState.destroyed=Pe)}}),qe.prototype.destroy=Ae.destroy,qe.prototype._undestroy=Ae.undestroy,qe.prototype._destroy=function(fe,Pe){Pe(fe)},qe.prototype.push=function(fe,Pe){var Fe=this._readableState,Ke;return Fe.objectMode?Ke=!0:typeof fe=="string"&&(Pe=Pe||Fe.defaultEncoding,Pe!==Fe.encoding&&(fe=re.from(fe,Pe),Pe=""),Ke=!0),it(this,fe,Pe,!1,Ke)},qe.prototype.unshift=function(fe){return it(this,fe,null,!0,!1)};function it(fe,Pe,Fe,Ke,Ue){we("readableAddChunk",Pe);var ut=fe._readableState;if(Pe===null)ut.reading=!1,at(fe,ut);else{var vt;if(Ue||(vt=Ve(ut,Pe)),vt)Xe(fe,vt);else if(ut.objectMode||Pe&&Pe.length>0)if(typeof Pe!="string"&&!ut.objectMode&&Object.getPrototypeOf(Pe)!==re.prototype&&(Pe=ce(Pe)),Ke)ut.endEmitted?Xe(fe,new De):st(fe,ut,Pe,!0);else if(ut.ended)Xe(fe,new _e);else{if(ut.destroyed)return!1;ut.reading=!1,ut.decoder&&!Fe?(Pe=ut.decoder.write(Pe),ut.objectMode||Pe.length!==0?st(fe,ut,Pe,!1):ot(fe,ut)):st(fe,ut,Pe,!1)}else Ke||(ut.reading=!1,ot(fe,ut))}return!ut.ended&&(ut.length<ut.highWaterMark||ut.length===0)}function st(fe,Pe,Fe,Ke){Pe.flowing&&Pe.length===0&&!Pe.sync?(Pe.awaitDrain=0,fe.emit("data",Fe)):(Pe.length+=Pe.objectMode?1:Fe.length,Ke?Pe.buffer.unshift(Fe):Pe.buffer.push(Fe),Pe.needReadable&&tt(fe)),ot(fe,Pe)}function Ve(fe,Pe){var Fe;return!de(Pe)&&typeof Pe!="string"&&Pe!==void 0&&!fe.objectMode&&(Fe=new Ce("chunk",["string","Buffer","Uint8Array"],Pe)),Fe}qe.prototype.isPaused=function(){return this._readableState.flowing===!1},qe.prototype.setEncoding=function(fe){Se||(Se=E("string_decoder/").StringDecoder);var Pe=new Se(fe);this._readableState.decoder=Pe,this._readableState.encoding=this._readableState.decoder.encoding;for(var Fe=this._readableState.buffer.head,Ke="";Fe!==null;)Ke+=Pe.write(Fe.data),Fe=Fe.next;return this._readableState.buffer.clear(),Ke!==""&&this._readableState.buffer.push(Ke),this._readableState.length=Ke.length,this};var Qe=1073741824;function nt(fe){return fe>=Qe?fe=Qe:(fe--,fe|=fe>>>1,fe|=fe>>>2,fe|=fe>>>4,fe|=fe>>>8,fe|=fe>>>16,fe++),fe}function dt(fe,Pe){return fe<=0||Pe.length===0&&Pe.ended?0:Pe.objectMode?1:fe!==fe?Pe.flowing&&Pe.length?Pe.buffer.head.data.length:Pe.length:(fe>Pe.highWaterMark&&(Pe.highWaterMark=nt(fe)),fe<=Pe.length?fe:Pe.ended?Pe.length:(Pe.needReadable=!0,0))}qe.prototype.read=function(fe){we("read",fe),fe=parseInt(fe,10);var Pe=this._readableState,Fe=fe;if(fe!==0&&(Pe.emittedReadable=!1),fe===0&&Pe.needReadable&&((Pe.highWaterMark!==0?Pe.length>=Pe.highWaterMark:Pe.length>0)||Pe.ended))return we("read: emitReadable",Pe.length,Pe.ended),Pe.length===0&&Pe.ended?he(this):tt(this),null;if(fe=dt(fe,Pe),fe===0&&Pe.ended)return Pe.length===0&&he(this),null;var Ke=Pe.needReadable;we("need readable",Ke),(Pe.length===0||Pe.length-fe<Pe.highWaterMark)&&(Ke=!0,we("length less than watermark",Ke)),Pe.ended||Pe.reading?(Ke=!1,we("reading or ended",Ke)):Ke&&(we("do read"),Pe.reading=!0,Pe.sync=!0,Pe.length===0&&(Pe.needReadable=!0),this._read(Pe.highWaterMark),Pe.sync=!1,Pe.reading||(fe=dt(Fe,Pe)));var Ue;return fe>0?Ue=ue(fe,Pe):Ue=null,Ue===null?(Pe.needReadable=Pe.length<=Pe.highWaterMark,fe=0):(Pe.length-=fe,Pe.awaitDrain=0),Pe.length===0&&(Pe.ended||(Pe.needReadable=!0),Fe!==fe&&Pe.ended&&he(this)),Ue!==null&&this.emit("data",Ue),Ue};function at(fe,Pe){if(we("onEofChunk"),!Pe.ended){if(Pe.decoder){var Fe=Pe.decoder.end();Fe&&Fe.length&&(Pe.buffer.push(Fe),Pe.length+=Pe.objectMode?1:Fe.length)}Pe.ended=!0,Pe.sync?tt(fe):(Pe.needReadable=!1,Pe.emittedReadable||(Pe.emittedReadable=!0,et(fe)))}}function tt(fe){var Pe=fe._readableState;we("emitReadable",Pe.needReadable,Pe.emittedReadable),Pe.needReadable=!1,Pe.emittedReadable||(we("emitReadable",Pe.flowing),Pe.emittedReadable=!0,ne.nextTick(et,fe))}function et(fe){var Pe=fe._readableState;we("emitReadable_",Pe.destroyed,Pe.length,Pe.ended),!Pe.destroyed&&(Pe.length||Pe.ended)&&(fe.emit("readable"),Pe.emittedReadable=!1),Pe.needReadable=!Pe.flowing&&!Pe.ended&&Pe.length<=Pe.highWaterMark,Ze(fe)}function ot(fe,Pe){Pe.readingMore||(Pe.readingMore=!0,ne.nextTick(yt,fe,Pe))}function yt(fe,Pe){for(;!Pe.reading&&!Pe.ended&&(Pe.length<Pe.highWaterMark||Pe.flowing&&Pe.length===0);){var Fe=Pe.length;if(we("maybeReadMore read 0"),fe.read(0),Fe===Pe.length)break}Pe.readingMore=!1}qe.prototype._read=function(fe){Xe(this,new Me("_read()"))},qe.prototype.pipe=function(fe,Pe){var Fe=this,Ke=this._readableState;switch(Ke.pipesCount){case 0:Ke.pipes=fe;break;case 1:Ke.pipes=[Ke.pipes,fe];break;default:Ke.pipes.push(fe);break}Ke.pipesCount+=1,we("pipe count=%d opts=%j",Ke.pipesCount,Pe);var Ue=(!Pe||Pe.end!==!1)&&fe!==ne.stdout&&fe!==ne.stderr,ut=Ue?lt:Et;Ke.endEmitted?ne.nextTick(ut):Fe.once("end",ut),fe.on("unpipe",vt);function vt(Ft,Kt){we("onunpipe"),Ft===Fe&&Kt&&Kt.hasUnpiped===!1&&(Kt.hasUnpiped=!0,wt())}function lt(){we("onend"),fe.end()}var Dt=pt(Fe);fe.on("drain",Dt);var Wt=!1;function wt(){we("cleanup"),fe.removeListener("close",St),fe.removeListener("finish",ft),fe.removeListener("drain",Dt),fe.removeListener("error",Nt),fe.removeListener("unpipe",vt),Fe.removeListener("end",lt),Fe.removeListener("end",Et),Fe.removeListener("data",zt),Wt=!0,Ke.awaitDrain&&(!fe._writableState||fe._writableState.needDrain)&&Dt()}Fe.on("data",zt);function zt(Ft){we("ondata");var Kt=fe.write(Ft);we("dest.write",Kt),Kt===!1&&((Ke.pipesCount===1&&Ke.pipes===fe||Ke.pipesCount>1&&We(Ke.pipes,fe)!==-1)&&!Wt&&(we("false write response, pause",Ke.awaitDrain),Ke.awaitDrain++),Fe.pause())}function Nt(Ft){we("onerror",Ft),Et(),fe.removeListener("error",Nt),le(fe,"error")===0&&Xe(fe,Ft)}Ye(fe,"error",Nt);function St(){fe.removeListener("finish",ft),Et()}fe.once("close",St);function ft(){we("onfinish"),fe.removeListener("close",St),Et()}fe.once("finish",ft);function Et(){we("unpipe"),Fe.unpipe(fe)}return fe.emit("pipe",Fe),Ke.flowing||(we("pipe resume"),Fe.resume()),fe};function pt(fe){return function(){var Fe=fe._readableState;we("pipeOnDrain",Fe.awaitDrain),Fe.awaitDrain&&Fe.awaitDrain--,Fe.awaitDrain===0&&le(fe,"data")&&(Fe.flowing=!0,Ze(fe))}}qe.prototype.unpipe=function(fe){var Pe=this._readableState,Fe={hasUnpiped:!1};if(Pe.pipesCount===0)return this;if(Pe.pipesCount===1)return fe&&fe!==Pe.pipes?this:(fe||(fe=Pe.pipes),Pe.pipes=null,Pe.pipesCount=0,Pe.flowing=!1,fe&&fe.emit("unpipe",this,Fe),this);if(!fe){var Ke=Pe.pipes,Ue=Pe.pipesCount;Pe.pipes=null,Pe.pipesCount=0,Pe.flowing=!1;for(var ut=0;ut<Ue;ut++)Ke[ut].emit("unpipe",this,{hasUnpiped:!1});return this}var vt=We(Pe.pipes,fe);return vt===-1?this:(Pe.pipes.splice(vt,1),Pe.pipesCount-=1,Pe.pipesCount===1&&(Pe.pipes=Pe.pipes[0]),fe.emit("unpipe",this,Fe),this)},qe.prototype.on=function(fe,Pe){var Fe=pe.prototype.on.call(this,fe,Pe),Ke=this._readableState;return fe==="data"?(Ke.readableListening=this.listenerCount("readable")>0,Ke.flowing!==!1&&this.resume()):fe==="readable"&&!Ke.endEmitted&&!Ke.readableListening&&(Ke.readableListening=Ke.needReadable=!0,Ke.flowing=!1,Ke.emittedReadable=!1,we("on readable",Ke.length,Ke.reading),Ke.length?tt(this):Ke.reading||ne.nextTick(Mt,this)),Fe},qe.prototype.addListener=qe.prototype.on,qe.prototype.removeListener=function(fe,Pe){var Fe=pe.prototype.removeListener.call(this,fe,Pe);return fe==="readable"&&ne.nextTick(Pt,this),Fe},qe.prototype.removeAllListeners=function(fe){var Pe=pe.prototype.removeAllListeners.apply(this,arguments);return(fe==="readable"||fe===void 0)&&ne.nextTick(Pt,this),Pe};function Pt(fe){var Pe=fe._readableState;Pe.readableListening=fe.listenerCount("readable")>0,Pe.resumeScheduled&&!Pe.paused?Pe.flowing=!0:fe.listenerCount("data")>0&&fe.resume()}function Mt(fe){we("readable nexttick read 0"),fe.read(0)}qe.prototype.resume=function(){var fe=this._readableState;return fe.flowing||(we("resume"),fe.flowing=!fe.readableListening,ct(this,fe)),fe.paused=!1,this};function ct(fe,Pe){Pe.resumeScheduled||(Pe.resumeScheduled=!0,ne.nextTick(Je,fe,Pe))}function Je(fe,Pe){we("resume",Pe.reading),Pe.reading||fe.read(0),Pe.resumeScheduled=!1,fe.emit("resume"),Ze(fe),Pe.flowing&&!Pe.reading&&fe.read(0)}qe.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 Ze(fe){var Pe=fe._readableState;for(we("flow",Pe.flowing);Pe.flowing&&fe.read()!==null;);}qe.prototype.wrap=function(fe){var Pe=this,Fe=this._readableState,Ke=!1;fe.on("end",function(){if(we("wrapped end"),Fe.decoder&&!Fe.ended){var vt=Fe.decoder.end();vt&&vt.length&&Pe.push(vt)}Pe.push(null)}),fe.on("data",function(vt){if(we("wrapped data"),Fe.decoder&&(vt=Fe.decoder.write(vt)),!(Fe.objectMode&&vt==null)&&!(!Fe.objectMode&&(!vt||!vt.length))){var lt=Pe.push(vt);lt||(Ke=!0,fe.pause())}});for(var Ue in fe)this[Ue]===void 0&&typeof fe[Ue]=="function"&&(this[Ue]=function(lt){return function(){return fe[lt].apply(fe,arguments)}}(Ue));for(var ut=0;ut<Ie.length;ut++)fe.on(Ie[ut],this.emit.bind(this,Ie[ut]));return this._read=function(vt){we("wrapped _read",vt),Ke&&(Ke=!1,fe.resume())},this},typeof Symbol=="function"&&(qe.prototype[Symbol.asyncIterator]=function(){return Be===void 0&&(Be=E("./internal/streams/async_iterator")),Be(this)}),Object.defineProperty(qe.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(qe.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(qe.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Pe){this._readableState&&(this._readableState.flowing=Pe)}}),qe._fromList=ue,Object.defineProperty(qe.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function ue(fe,Pe){if(Pe.length===0)return null;var Fe;return Pe.objectMode?Fe=Pe.buffer.shift():!fe||fe>=Pe.length?(Pe.decoder?Fe=Pe.buffer.join(""):Pe.buffer.length===1?Fe=Pe.buffer.first():Fe=Pe.buffer.concat(Pe.length),Pe.buffer.clear()):Fe=Pe.buffer.consume(fe,Pe.decoder),Fe}function he(fe){var Pe=fe._readableState;we("endReadable",Pe.endEmitted),Pe.endEmitted||(Pe.ended=!0,ne.nextTick(He,Pe,fe))}function He(fe,Pe){if(we("endReadableNT",fe.endEmitted,fe.length),!fe.endEmitted&&fe.length===0&&(fe.endEmitted=!0,Pe.readable=!1,Pe.emit("end"),fe.autoDestroy)){var Fe=Pe._writableState;(!Fe||Fe.autoDestroy&&Fe.finished)&&Pe.destroy()}}typeof Symbol=="function"&&(qe.from=function(fe,Pe){return Re===void 0&&(Re=E("./internal/streams/from")),Re(qe,fe,Pe)});function We(fe,Pe){for(var Fe=0,Ke=fe.length;Fe<Ke;Fe++)if(fe[Fe]===Pe)return Fe;return-1}}).call(this)}).call(this,E("_process"),typeof Qt!="undefined"?Qt: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(E,je,ve){"use strict";je.exports=ae;var ne=E("../errors").codes,ee=ne.ERR_METHOD_NOT_IMPLEMENTED,ie=ne.ERR_MULTIPLE_CALLBACK,oe=ne.ERR_TRANSFORM_ALREADY_TRANSFORMING,le=ne.ERR_TRANSFORM_WITH_LENGTH_0,pe=E("./_stream_duplex");E("inherits")(ae,pe);function re(me,we){var xe=this._transformState;xe.transforming=!1;var Ae=xe.writecb;if(Ae===null)return this.emit("error",new ie);xe.writechunk=null,xe.writecb=null,we!=null&&this.push(we),Ae(me);var ye=this._readableState;ye.reading=!1,(ye.needReadable||ye.length<ye.highWaterMark)&&this._read(ye.highWaterMark)}function ae(me){if(!(this instanceof ae))return new ae(me);pe.call(this,me),this._transformState={afterTransform:re.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,me&&(typeof me.transform=="function"&&(this._transform=me.transform),typeof me.flush=="function"&&(this._flush=me.flush)),this.on("prefinish",ce)}function ce(){var me=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(we,xe){de(me,we,xe)}):de(this,null,null)}ae.prototype.push=function(me,we){return this._transformState.needTransform=!1,pe.prototype.push.call(this,me,we)},ae.prototype._transform=function(me,we,xe){xe(new ee("_transform()"))},ae.prototype._write=function(me,we,xe){var Ae=this._transformState;if(Ae.writecb=xe,Ae.writechunk=me,Ae.writeencoding=we,!Ae.transforming){var ye=this._readableState;(Ae.needTransform||ye.needReadable||ye.length<ye.highWaterMark)&&this._read(ye.highWaterMark)}},ae.prototype._read=function(me){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(me,we){pe.prototype._destroy.call(this,me,function(xe){we(xe)})};function de(me,we,xe){if(we)return me.emit("error",we);if(xe!=null&&me.push(xe),me._writableState.length)throw new le;if(me._transformState.transforming)throw new oe;return me.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(E,je,ve){(function(ne,ee){(function(){"use strict";je.exports=Ge;function ie(Ze,ue,he){this.chunk=Ze,this.encoding=ue,this.callback=he,this.next=null}function oe(Ze){var ue=this;this.next=null,this.entry=null,this.finish=function(){Je(ue,Ze)}}var le;Ge.WritableState=Ie;var pe={deprecate:E("util-deprecate")},re=E("./internal/streams/stream"),ae=E("buffer").Buffer,ce=(typeof ee!="undefined"?ee:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function de(Ze){return ae.from(Ze)}function me(Ze){return ae.isBuffer(Ze)||Ze instanceof ce}var we=E("./internal/streams/destroy"),xe=E("./internal/streams/state"),Ae=xe.getHighWaterMark,ye=E("../errors").codes,Ee=ye.ERR_INVALID_ARG_TYPE,Le=ye.ERR_METHOD_NOT_IMPLEMENTED,Ce=ye.ERR_MULTIPLE_CALLBACK,_e=ye.ERR_STREAM_CANNOT_PIPE,Me=ye.ERR_STREAM_DESTROYED,De=ye.ERR_STREAM_NULL_VALUES,Se=ye.ERR_STREAM_WRITE_AFTER_END,Be=ye.ERR_UNKNOWN_ENCODING,Re=we.errorOrDestroy;E("inherits")(Ge,re);function Xe(){}function Ie(Ze,ue,he){le=le||E("./_stream_duplex"),Ze=Ze||{},typeof he!="boolean"&&(he=ue instanceof le),this.objectMode=!!Ze.objectMode,he&&(this.objectMode=this.objectMode||!!Ze.writableObjectMode),this.highWaterMark=Ae(this,Ze,"writableHighWaterMark",he),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var He=Ze.decodeStrings===!1;this.decodeStrings=!He,this.defaultEncoding=Ze.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(We){at(ue,We)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ze.emitClose!==!1,this.autoDestroy=!!Ze.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new oe(this)}Ie.prototype.getBuffer=function(){for(var ue=this.bufferedRequest,he=[];ue;)he.push(ue),ue=ue.next;return he},function(){try{Object.defineProperty(Ie.prototype,"buffer",{get:pe.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ze){}}();var Ye;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ye=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ge,Symbol.hasInstance,{value:function(ue){return Ye.call(this,ue)?!0:this!==Ge?!1:ue&&ue._writableState instanceof Ie}})):Ye=function(ue){return ue instanceof this};function Ge(Ze){le=le||E("./_stream_duplex");var ue=this instanceof le;if(!ue&&!Ye.call(Ge,this))return new Ge(Ze);this._writableState=new Ie(Ze,this,ue),this.writable=!0,Ze&&(typeof Ze.write=="function"&&(this._write=Ze.write),typeof Ze.writev=="function"&&(this._writev=Ze.writev),typeof Ze.destroy=="function"&&(this._destroy=Ze.destroy),typeof Ze.final=="function"&&(this._final=Ze.final)),re.call(this)}Ge.prototype.pipe=function(){Re(this,new _e)};function qe(Ze,ue){var he=new Se;Re(Ze,he),ne.nextTick(ue,he)}function it(Ze,ue,he,He){var We;return he===null?We=new De:typeof he!="string"&&!ue.objectMode&&(We=new Ee("chunk",["string","Buffer"],he)),We?(Re(Ze,We),ne.nextTick(He,We),!1):!0}Ge.prototype.write=function(Ze,ue,he){var He=this._writableState,We=!1,fe=!He.objectMode&&me(Ze);return fe&&!ae.isBuffer(Ze)&&(Ze=de(Ze)),typeof ue=="function"&&(he=ue,ue=null),fe?ue="buffer":ue||(ue=He.defaultEncoding),typeof he!="function"&&(he=Xe),He.ending?qe(this,he):(fe||it(this,He,Ze,he))&&(He.pendingcb++,We=Ve(this,He,fe,Ze,ue,he)),We},Ge.prototype.cork=function(){this._writableState.corked++},Ge.prototype.uncork=function(){var Ze=this._writableState;Ze.corked&&(Ze.corked--,!Ze.writing&&!Ze.corked&&!Ze.bufferProcessing&&Ze.bufferedRequest&&ot(this,Ze))},Ge.prototype.setDefaultEncoding=function(ue){if(typeof ue=="string"&&(ue=ue.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ue+"").toLowerCase())>-1))throw new Be(ue);return this._writableState.defaultEncoding=ue,this},Object.defineProperty(Ge.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function st(Ze,ue,he){return!Ze.objectMode&&Ze.decodeStrings!==!1&&typeof ue=="string"&&(ue=ae.from(ue,he)),ue}Object.defineProperty(Ge.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ve(Ze,ue,he,He,We,fe){if(!he){var Pe=st(ue,He,We);He!==Pe&&(he=!0,We="buffer",He=Pe)}var Fe=ue.objectMode?1:He.length;ue.length+=Fe;var Ke=ue.length<ue.highWaterMark;if(Ke||(ue.needDrain=!0),ue.writing||ue.corked){var Ue=ue.lastBufferedRequest;ue.lastBufferedRequest={chunk:He,encoding:We,isBuf:he,callback:fe,next:null},Ue?Ue.next=ue.lastBufferedRequest:ue.bufferedRequest=ue.lastBufferedRequest,ue.bufferedRequestCount+=1}else Qe(Ze,ue,!1,Fe,He,We,fe);return Ke}function Qe(Ze,ue,he,He,We,fe,Pe){ue.writelen=He,ue.writecb=Pe,ue.writing=!0,ue.sync=!0,ue.destroyed?ue.onwrite(new Me("write")):he?Ze._writev(We,ue.onwrite):Ze._write(We,fe,ue.onwrite),ue.sync=!1}function nt(Ze,ue,he,He,We){--ue.pendingcb,he?(ne.nextTick(We,He),ne.nextTick(Mt,Ze,ue),Ze._writableState.errorEmitted=!0,Re(Ze,He)):(We(He),Ze._writableState.errorEmitted=!0,Re(Ze,He),Mt(Ze,ue))}function dt(Ze){Ze.writing=!1,Ze.writecb=null,Ze.length-=Ze.writelen,Ze.writelen=0}function at(Ze,ue){var he=Ze._writableState,He=he.sync,We=he.writecb;if(typeof We!="function")throw new Ce;if(dt(he),ue)nt(Ze,he,He,ue,We);else{var fe=yt(he)||Ze.destroyed;!fe&&!he.corked&&!he.bufferProcessing&&he.bufferedRequest&&ot(Ze,he),He?ne.nextTick(tt,Ze,he,fe,We):tt(Ze,he,fe,We)}}function tt(Ze,ue,he,He){he||et(Ze,ue),ue.pendingcb--,He(),Mt(Ze,ue)}function et(Ze,ue){ue.length===0&&ue.needDrain&&(ue.needDrain=!1,Ze.emit("drain"))}function ot(Ze,ue){ue.bufferProcessing=!0;var he=ue.bufferedRequest;if(Ze._writev&&he&&he.next){var He=ue.bufferedRequestCount,We=new Array(He),fe=ue.corkedRequestsFree;fe.entry=he;for(var Pe=0,Fe=!0;he;)We[Pe]=he,he.isBuf||(Fe=!1),he=he.next,Pe+=1;We.allBuffers=Fe,Qe(Ze,ue,!0,ue.length,We,"",fe.finish),ue.pendingcb++,ue.lastBufferedRequest=null,fe.next?(ue.corkedRequestsFree=fe.next,fe.next=null):ue.corkedRequestsFree=new oe(ue),ue.bufferedRequestCount=0}else{for(;he;){var Ke=he.chunk,Ue=he.encoding,ut=he.callback,vt=ue.objectMode?1:Ke.length;if(Qe(Ze,ue,!1,vt,Ke,Ue,ut),he=he.next,ue.bufferedRequestCount--,ue.writing)break}he===null&&(ue.lastBufferedRequest=null)}ue.bufferedRequest=he,ue.bufferProcessing=!1}Ge.prototype._write=function(Ze,ue,he){he(new Le("_write()"))},Ge.prototype._writev=null,Ge.prototype.end=function(Ze,ue,he){var He=this._writableState;return typeof Ze=="function"?(he=Ze,Ze=null,ue=null):typeof ue=="function"&&(he=ue,ue=null),Ze!=null&&this.write(Ze,ue),He.corked&&(He.corked=1,this.uncork()),He.ending||ct(this,He,he),this},Object.defineProperty(Ge.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function yt(Ze){return Ze.ending&&Ze.length===0&&Ze.bufferedRequest===null&&!Ze.finished&&!Ze.writing}function pt(Ze,ue){Ze._final(function(he){ue.pendingcb--,he&&Re(Ze,he),ue.prefinished=!0,Ze.emit("prefinish"),Mt(Ze,ue)})}function Pt(Ze,ue){!ue.prefinished&&!ue.finalCalled&&(typeof Ze._final=="function"&&!ue.destroyed?(ue.pendingcb++,ue.finalCalled=!0,ne.nextTick(pt,Ze,ue)):(ue.prefinished=!0,Ze.emit("prefinish")))}function Mt(Ze,ue){var he=yt(ue);if(he&&(Pt(Ze,ue),ue.pendingcb===0&&(ue.finished=!0,Ze.emit("finish"),ue.autoDestroy))){var He=Ze._readableState;(!He||He.autoDestroy&&He.endEmitted)&&Ze.destroy()}return he}function ct(Ze,ue,he){ue.ending=!0,Mt(Ze,ue),he&&(ue.finished?ne.nextTick(he):Ze.once("finish",he)),ue.ended=!0,Ze.writable=!1}function Je(Ze,ue,he){var He=Ze.entry;for(Ze.entry=null;He;){var We=He.callback;ue.pendingcb--,We(he),He=He.next}ue.corkedRequestsFree.next=Ze}Object.defineProperty(Ge.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ue){this._writableState&&(this._writableState.destroyed=ue)}}),Ge.prototype.destroy=we.destroy,Ge.prototype._undestroy=we.undestroy,Ge.prototype._destroy=function(Ze,ue){ue(Ze)}}).call(this)}).call(this,E("_process"),typeof Qt!="undefined"?Qt: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(E,je,ve){(function(ne){(function(){"use strict";var ee;function ie(De,Se,Be){return Se=oe(Se),Se in De?Object.defineProperty(De,Se,{value:Be,enumerable:!0,configurable:!0,writable:!0}):De[Se]=Be,De}function oe(De){var Se=le(De,"string");return typeof Se=="symbol"?Se:String(Se)}function le(De,Se){if(typeof De!="object"||De===null)return De;var Be=De[Symbol.toPrimitive];if(Be!==void 0){var Re=Be.call(De,Se||"default");if(typeof Re!="object")return Re;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Se==="string"?String:Number)(De)}var pe=E("./end-of-stream"),re=Symbol("lastResolve"),ae=Symbol("lastReject"),ce=Symbol("error"),de=Symbol("ended"),me=Symbol("lastPromise"),we=Symbol("handlePromise"),xe=Symbol("stream");function Ae(De,Se){return{value:De,done:Se}}function ye(De){var Se=De[re];if(Se!==null){var Be=De[xe].read();Be!==null&&(De[me]=null,De[re]=null,De[ae]=null,Se(Ae(Be,!1)))}}function Ee(De){ne.nextTick(ye,De)}function Le(De,Se){return function(Be,Re){De.then(function(){if(Se[de]){Be(Ae(void 0,!0));return}Se[we](Be,Re)},Re)}}var Ce=Object.getPrototypeOf(function(){}),_e=Object.setPrototypeOf((ee={get stream(){return this[xe]},next:function(){var Se=this,Be=this[ce];if(Be!==null)return Promise.reject(Be);if(this[de])return Promise.resolve(Ae(void 0,!0));if(this[xe].destroyed)return new Promise(function(Ye,Ge){ne.nextTick(function(){Se[ce]?Ge(Se[ce]):Ye(Ae(void 0,!0))})});var Re=this[me],Xe;if(Re)Xe=new Promise(Le(Re,this));else{var Ie=this[xe].read();if(Ie!==null)return Promise.resolve(Ae(Ie,!1));Xe=new Promise(this[we])}return this[me]=Xe,Xe}},ie(ee,Symbol.asyncIterator,function(){return this}),ie(ee,"return",function(){var Se=this;return new Promise(function(Be,Re){Se[xe].destroy(null,function(Xe){if(Xe){Re(Xe);return}Be(Ae(void 0,!0))})})}),ee),Ce),Me=function(Se){var Be,Re=Object.create(_e,(Be={},ie(Be,xe,{value:Se,writable:!0}),ie(Be,re,{value:null,writable:!0}),ie(Be,ae,{value:null,writable:!0}),ie(Be,ce,{value:null,writable:!0}),ie(Be,de,{value:Se._readableState.endEmitted,writable:!0}),ie(Be,we,{value:function(Ie,Ye){var Ge=Re[xe].read();Ge?(Re[me]=null,Re[re]=null,Re[ae]=null,Ie(Ae(Ge,!1))):(Re[re]=Ie,Re[ae]=Ye)},writable:!0}),Be));return Re[me]=null,pe(Se,function(Xe){if(Xe&&Xe.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Ie=Re[ae];Ie!==null&&(Re[me]=null,Re[re]=null,Re[ae]=null,Ie(Xe)),Re[ce]=Xe;return}var Ye=Re[re];Ye!==null&&(Re[me]=null,Re[re]=null,Re[ae]=null,Ye(Ae(void 0,!0))),Re[de]=!0}),Se.on("readable",Ee.bind(null,Re)),Re};je.exports=Me}).call(this)}).call(this,E("_process"))},{"./end-of-stream":408,_process:467}],406:[function(E,je,ve){"use strict";function ne(ye,Ee){var Le=Object.keys(ye);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(ye);Ee&&(Ce=Ce.filter(function(_e){return Object.getOwnPropertyDescriptor(ye,_e).enumerable})),Le.push.apply(Le,Ce)}return Le}function ee(ye){for(var Ee=1;Ee<arguments.length;Ee++){var Le=arguments[Ee]!=null?arguments[Ee]:{};Ee%2?ne(Object(Le),!0).forEach(function(Ce){ie(ye,Ce,Le[Ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ye,Object.getOwnPropertyDescriptors(Le)):ne(Object(Le)).forEach(function(Ce){Object.defineProperty(ye,Ce,Object.getOwnPropertyDescriptor(Le,Ce))})}return ye}function ie(ye,Ee,Le){return Ee=re(Ee),Ee in ye?Object.defineProperty(ye,Ee,{value:Le,enumerable:!0,configurable:!0,writable:!0}):ye[Ee]=Le,ye}function oe(ye,Ee){if(!(ye instanceof Ee))throw new TypeError("Cannot call a class as a function")}function le(ye,Ee){for(var Le=0;Le<Ee.length;Le++){var Ce=Ee[Le];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(ye,re(Ce.key),Ce)}}function pe(ye,Ee,Le){return Ee&&le(ye.prototype,Ee),Le&&le(ye,Le),Object.defineProperty(ye,"prototype",{writable:!1}),ye}function re(ye){var Ee=ae(ye,"string");return typeof Ee=="symbol"?Ee:String(Ee)}function ae(ye,Ee){if(typeof ye!="object"||ye===null)return ye;var Le=ye[Symbol.toPrimitive];if(Le!==void 0){var Ce=Le.call(ye,Ee||"default");if(typeof Ce!="object")return Ce;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ee==="string"?String:Number)(ye)}var ce=E("buffer"),de=ce.Buffer,me=E("util"),we=me.inspect,xe=we&&we.custom||"inspect";function Ae(ye,Ee,Le){de.prototype.copy.call(ye,Ee,Le)}je.exports=function(){function ye(){oe(this,ye),this.head=null,this.tail=null,this.length=0}return pe(ye,[{key:"push",value:function(Le){var Ce={data:Le,next:null};this.length>0?this.tail.next=Ce:this.head=Ce,this.tail=Ce,++this.length}},{key:"unshift",value:function(Le){var Ce={data:Le,next:this.head};this.length===0&&(this.tail=Ce),this.head=Ce,++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 Ce=this.head,_e=""+Ce.data;Ce=Ce.next;)_e+=Le+Ce.data;return _e}},{key:"concat",value:function(Le){if(this.length===0)return de.alloc(0);for(var Ce=de.allocUnsafe(Le>>>0),_e=this.head,Me=0;_e;)Ae(_e.data,Ce,Me),Me+=_e.data.length,_e=_e.next;return Ce}},{key:"consume",value:function(Le,Ce){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=Ce?this._getString(Le):this._getBuffer(Le),_e}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(Le){var Ce=this.head,_e=1,Me=Ce.data;for(Le-=Me.length;Ce=Ce.next;){var De=Ce.data,Se=Le>De.length?De.length:Le;if(Se===De.length?Me+=De:Me+=De.slice(0,Le),Le-=Se,Le===0){Se===De.length?(++_e,Ce.next?this.head=Ce.next:this.head=this.tail=null):(this.head=Ce,Ce.data=De.slice(Se));break}++_e}return this.length-=_e,Me}},{key:"_getBuffer",value:function(Le){var Ce=de.allocUnsafe(Le),_e=this.head,Me=1;for(_e.data.copy(Ce),Le-=_e.data.length;_e=_e.next;){var De=_e.data,Se=Le>De.length?De.length:Le;if(De.copy(Ce,Ce.length-Le,0,Se),Le-=Se,Le===0){Se===De.length?(++Me,_e.next?this.head=_e.next:this.head=this.tail=null):(this.head=_e,_e.data=De.slice(Se));break}++Me}return this.length-=Me,Ce}},{key:xe,value:function(Le,Ce){return we(this,ee(ee({},Ce),{},{depth:0,customInspect:!1}))}}]),ye}()},{buffer:90,util:89}],407:[function(E,je,ve){(function(ne){(function(){"use strict";function ee(ae,ce){var de=this,me=this._readableState&&this._readableState.destroyed,we=this._writableState&&this._writableState.destroyed;return me||we?(ce?ce(ae):ae&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ne.nextTick(pe,this,ae)):ne.nextTick(pe,this,ae)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ae||null,function(xe){!ce&&xe?de._writableState?de._writableState.errorEmitted?ne.nextTick(oe,de):(de._writableState.errorEmitted=!0,ne.nextTick(ie,de,xe)):ne.nextTick(ie,de,xe):ce?(ne.nextTick(oe,de),ce(xe)):ne.nextTick(oe,de)}),this)}function ie(ae,ce){pe(ae,ce),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 pe(ae,ce){ae.emit("error",ce)}function re(ae,ce){var de=ae._readableState,me=ae._writableState;de&&de.autoDestroy||me&&me.autoDestroy?ae.destroy(ce):ae.emit("error",ce)}je.exports={destroy:ee,undestroy:le,errorOrDestroy:re}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,je,ve){"use strict";var ne=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function ee(pe){var re=!1;return function(){if(!re){re=!0;for(var ae=arguments.length,ce=new Array(ae),de=0;de<ae;de++)ce[de]=arguments[de];pe.apply(this,ce)}}}function ie(){}function oe(pe){return pe.setHeader&&typeof pe.abort=="function"}function le(pe,re,ae){if(typeof re=="function")return le(pe,null,re);re||(re={}),ae=ee(ae||ie);var ce=re.readable||re.readable!==!1&&pe.readable,de=re.writable||re.writable!==!1&&pe.writable,me=function(){pe.writable||xe()},we=pe._writableState&&pe._writableState.finished,xe=function(){de=!1,we=!0,ce||ae.call(pe)},Ae=pe._readableState&&pe._readableState.endEmitted,ye=function(){ce=!1,Ae=!0,de||ae.call(pe)},Ee=function(Me){ae.call(pe,Me)},Le=function(){var Me;if(ce&&!Ae)return(!pe._readableState||!pe._readableState.ended)&&(Me=new ne),ae.call(pe,Me);if(de&&!we)return(!pe._writableState||!pe._writableState.ended)&&(Me=new ne),ae.call(pe,Me)},Ce=function(){pe.req.on("finish",xe)};return oe(pe)?(pe.on("complete",xe),pe.on("abort",Le),pe.req?Ce():pe.on("request",Ce)):de&&!pe._writableState&&(pe.on("end",me),pe.on("close",me)),pe.on("end",ye),pe.on("finish",xe),re.error!==!1&&pe.on("error",Ee),pe.on("close",Le),function(){pe.removeListener("complete",xe),pe.removeListener("abort",Le),pe.removeListener("request",Ce),pe.req&&pe.req.removeListener("finish",xe),pe.removeListener("end",me),pe.removeListener("close",me),pe.removeListener("finish",xe),pe.removeListener("end",ye),pe.removeListener("error",Ee),pe.removeListener("close",Le)}}je.exports=le},{"../../../errors":399}],409:[function(E,je,ve){je.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(E,je,ve){"use strict";var ne;function ee(xe){var Ae=!1;return function(){Ae||(Ae=!0,xe.apply(void 0,arguments))}}var ie=E("../../../errors").codes,oe=ie.ERR_MISSING_ARGS,le=ie.ERR_STREAM_DESTROYED;function pe(xe){if(xe)throw xe}function re(xe){return xe.setHeader&&typeof xe.abort=="function"}function ae(xe,Ae,ye,Ee){Ee=ee(Ee);var Le=!1;xe.on("close",function(){Le=!0}),ne===void 0&&(ne=E("./end-of-stream")),ne(xe,{readable:Ae,writable:ye},function(_e){if(_e)return Ee(_e);Le=!0,Ee()});var Ce=!1;return function(_e){if(!Le&&!Ce){if(Ce=!0,re(xe))return xe.abort();if(typeof xe.destroy=="function")return xe.destroy();Ee(_e||new le("pipe"))}}}function ce(xe){xe()}function de(xe,Ae){return xe.pipe(Ae)}function me(xe){return!xe.length||typeof xe[xe.length-1]!="function"?pe:xe.pop()}function we(){for(var xe=arguments.length,Ae=new Array(xe),ye=0;ye<xe;ye++)Ae[ye]=arguments[ye];var Ee=me(Ae);if(Array.isArray(Ae[0])&&(Ae=Ae[0]),Ae.length<2)throw new oe("streams");var Le,Ce=Ae.map(function(_e,Me){var De=Me<Ae.length-1,Se=Me>0;return ae(_e,De,Se,function(Be){Le||(Le=Be),Be&&Ce.forEach(ce),!De&&(Ce.forEach(ce),Ee(Le))})});return Ae.reduce(de)}je.exports=we},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,je,ve){"use strict";var ne=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function ee(oe,le,pe){return oe.highWaterMark!=null?oe.highWaterMark:le?oe[pe]:null}function ie(oe,le,pe,re){var ae=ee(le,re,pe);if(ae!=null){if(!(isFinite(ae)&&Math.floor(ae)===ae)||ae<0){var ce=re?pe:"highWaterMark";throw new ne(ce,ae)}return Math.floor(ae)}return oe.objectMode?16:16*1024}je.exports={getHighWaterMark:ie}},{"../../../errors":399}],412:[function(E,je,ve){arguments[4][393][0].apply(ve,arguments)},{dup:393,events:344}],413:[function(E,je,ve){"use strict";var ne=E("safe-buffer").Buffer,ee=ne.isEncoding||function(Ce){switch(Ce=""+Ce,Ce&&Ce.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(Ce){if(!Ce)return"utf8";for(var _e;;)switch(Ce){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 Ce;default:if(_e)return;Ce=(""+Ce).toLowerCase(),_e=!0}}function oe(Ce){var _e=ie(Ce);if(typeof _e!="string"&&(ne.isEncoding===ee||!ee(Ce)))throw new Error("Unknown encoding: "+Ce);return _e||Ce}ve.StringDecoder=le;function le(Ce){this.encoding=oe(Ce);var _e;switch(this.encoding){case"utf16le":this.text=we,this.end=xe,_e=4;break;case"utf8":this.fillLast=ce,_e=4;break;case"base64":this.text=Ae,this.end=ye,_e=3;break;default:this.write=Ee,this.end=Le;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ne.allocUnsafe(_e)}le.prototype.write=function(Ce){if(Ce.length===0)return"";var _e,Me;if(this.lastNeed){if(_e=this.fillLast(Ce),_e===void 0)return"";Me=this.lastNeed,this.lastNeed=0}else Me=0;return Me<Ce.length?_e?_e+this.text(Ce,Me):this.text(Ce,Me):_e||""},le.prototype.end=me,le.prototype.text=de,le.prototype.fillLast=function(Ce){if(this.lastNeed<=Ce.length)return Ce.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Ce.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Ce.length),this.lastNeed-=Ce.length};function pe(Ce){return Ce<=127?0:Ce>>5===6?2:Ce>>4===14?3:Ce>>3===30?4:Ce>>6===2?-1:-2}function re(Ce,_e,Me){var De=_e.length-1;if(De<Me)return 0;var Se=pe(_e[De]);return Se>=0?(Se>0&&(Ce.lastNeed=Se-1),Se):--De<Me||Se===-2?0:(Se=pe(_e[De]),Se>=0?(Se>0&&(Ce.lastNeed=Se-2),Se):--De<Me||Se===-2?0:(Se=pe(_e[De]),Se>=0?(Se>0&&(Se===2?Se=0:Ce.lastNeed=Se-3),Se):0))}function ae(Ce,_e,Me){if((_e[0]&192)!==128)return Ce.lastNeed=0,"\uFFFD";if(Ce.lastNeed>1&&_e.length>1){if((_e[1]&192)!==128)return Ce.lastNeed=1,"\uFFFD";if(Ce.lastNeed>2&&_e.length>2&&(_e[2]&192)!==128)return Ce.lastNeed=2,"\uFFFD"}}function ce(Ce){var _e=this.lastTotal-this.lastNeed,Me=ae(this,Ce,_e);if(Me!==void 0)return Me;if(this.lastNeed<=Ce.length)return Ce.copy(this.lastChar,_e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Ce.copy(this.lastChar,_e,0,Ce.length),this.lastNeed-=Ce.length}function de(Ce,_e){var Me=re(this,Ce,_e);if(!this.lastNeed)return Ce.toString("utf8",_e);this.lastTotal=Me;var De=Ce.length-(Me-this.lastNeed);return Ce.copy(this.lastChar,0,De),Ce.toString("utf8",_e,De)}function me(Ce){var _e=Ce&&Ce.length?this.write(Ce):"";return this.lastNeed?_e+"\uFFFD":_e}function we(Ce,_e){if((Ce.length-_e)%2===0){var Me=Ce.toString("utf16le",_e);if(Me){var De=Me.charCodeAt(Me.length-1);if(De>=55296&&De<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Ce[Ce.length-2],this.lastChar[1]=Ce[Ce.length-1],Me.slice(0,-1)}return Me}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Ce[Ce.length-1],Ce.toString("utf16le",_e,Ce.length-1)}function xe(Ce){var _e=Ce&&Ce.length?this.write(Ce):"";if(this.lastNeed){var Me=this.lastTotal-this.lastNeed;return _e+this.lastChar.toString("utf16le",0,Me)}return _e}function Ae(Ce,_e){var Me=(Ce.length-_e)%3;return Me===0?Ce.toString("base64",_e):(this.lastNeed=3-Me,this.lastTotal=3,Me===1?this.lastChar[0]=Ce[Ce.length-1]:(this.lastChar[0]=Ce[Ce.length-2],this.lastChar[1]=Ce[Ce.length-1]),Ce.toString("base64",_e,Ce.length-Me))}function ye(Ce){var _e=Ce&&Ce.length?this.write(Ce):"";return this.lastNeed?_e+this.lastChar.toString("base64",0,3-this.lastNeed):_e}function Ee(Ce){return Ce.toString(this.encoding)}function Le(Ce){return Ce&&Ce.length?this.write(Ce):""}},{"safe-buffer":396}],414:[function(E,je,ve){(function(ne,ee){(function(){var ie=E("process/browser.js").nextTick,oe=Function.prototype.apply,le=Array.prototype.slice,pe={},re=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(ce){ce.close()};function ae(ce,de){this._id=ce,this._clearFn=de}ae.prototype.unref=ae.prototype.ref=function(){},ae.prototype.close=function(){this._clearFn.call(window,this._id)},ve.enroll=function(ce,de){clearTimeout(ce._idleTimeoutId),ce._idleTimeout=de},ve.unenroll=function(ce){clearTimeout(ce._idleTimeoutId),ce._idleTimeout=-1},ve._unrefActive=ve.active=function(ce){clearTimeout(ce._idleTimeoutId);var de=ce._idleTimeout;de>=0&&(ce._idleTimeoutId=setTimeout(function(){ce._onTimeout&&ce._onTimeout()},de))},ve.setImmediate=typeof ne=="function"?ne:function(ce){var de=re++,me=arguments.length<2?!1:le.call(arguments,1);return pe[de]=!0,ie(function(){pe[de]&&(me?ce.apply(null,me):ce.call(null),ve.clearImmediate(de))}),de},ve.clearImmediate=typeof ee=="function"?ee:function(ce){delete pe[ce]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,je,ve){var ne=E("buffer").Buffer;je.exports=function(ee){if(ee instanceof Uint8Array){if(ee.byteOffset===0&&ee.byteLength===ee.buffer.byteLength)return ee.buffer;if(typeof ee.buffer.slice=="function")return ee.buffer.slice(ee.byteOffset,ee.byteOffset+ee.byteLength)}if(ne.isBuffer(ee)){for(var ie=new Uint8Array(ee.length),oe=ee.length,le=0;le<oe;le++)ie[le]=ee[le];return ie.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,je,ve){(function(ne){(function(){je.exports=ee;function ee(oe,le){if(ie("noDeprecation"))return oe;var pe=!1;function re(){if(!pe){if(ie("throwDeprecation"))throw new Error(le);ie("traceDeprecation")?console.trace(le):console.warn(le),pe=!0}return oe.apply(this,arguments)}return re}function ie(oe){try{if(!ne.localStorage)return!1}catch(pe){return!1}var le=ne.localStorage[oe];return le==null?!1:String(le).toLowerCase()==="true"}}).call(this)}).call(this,typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(E,je,ve){arguments[4][84][0].apply(ve,arguments)},{dup:84}],418:[function(E,je,ve){"use strict";var ne=E("is-arguments"),ee=E("is-generator-function"),ie=E("which-typed-array"),oe=E("is-typed-array");function le(Ue){return Ue.call.bind(Ue)}var pe=typeof BigInt!="undefined",re=typeof Symbol!="undefined",ae=le(Object.prototype.toString),ce=le(Number.prototype.valueOf),de=le(String.prototype.valueOf),me=le(Boolean.prototype.valueOf);if(pe)var we=le(BigInt.prototype.valueOf);if(re)var xe=le(Symbol.prototype.valueOf);function Ae(Ue,ut){if(typeof Ue!="object")return!1;try{return ut(Ue),!0}catch(vt){return!1}}ve.isArgumentsObject=ne,ve.isGeneratorFunction=ee,ve.isTypedArray=oe;function ye(Ue){return typeof Promise!="undefined"&&Ue instanceof Promise||Ue!==null&&typeof Ue=="object"&&typeof Ue.then=="function"&&typeof Ue.catch=="function"}ve.isPromise=ye;function Ee(Ue){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(Ue):oe(Ue)||ot(Ue)}ve.isArrayBufferView=Ee;function Le(Ue){return ie(Ue)==="Uint8Array"}ve.isUint8Array=Le;function Ce(Ue){return ie(Ue)==="Uint8ClampedArray"}ve.isUint8ClampedArray=Ce;function _e(Ue){return ie(Ue)==="Uint16Array"}ve.isUint16Array=_e;function Me(Ue){return ie(Ue)==="Uint32Array"}ve.isUint32Array=Me;function De(Ue){return ie(Ue)==="Int8Array"}ve.isInt8Array=De;function Se(Ue){return ie(Ue)==="Int16Array"}ve.isInt16Array=Se;function Be(Ue){return ie(Ue)==="Int32Array"}ve.isInt32Array=Be;function Re(Ue){return ie(Ue)==="Float32Array"}ve.isFloat32Array=Re;function Xe(Ue){return ie(Ue)==="Float64Array"}ve.isFloat64Array=Xe;function Ie(Ue){return ie(Ue)==="BigInt64Array"}ve.isBigInt64Array=Ie;function Ye(Ue){return ie(Ue)==="BigUint64Array"}ve.isBigUint64Array=Ye;function Ge(Ue){return ae(Ue)==="[object Map]"}Ge.working=typeof Map!="undefined"&&Ge(new Map);function qe(Ue){return typeof Map=="undefined"?!1:Ge.working?Ge(Ue):Ue instanceof Map}ve.isMap=qe;function it(Ue){return ae(Ue)==="[object Set]"}it.working=typeof Set!="undefined"&&it(new Set);function st(Ue){return typeof Set=="undefined"?!1:it.working?it(Ue):Ue instanceof Set}ve.isSet=st;function Ve(Ue){return ae(Ue)==="[object WeakMap]"}Ve.working=typeof WeakMap!="undefined"&&Ve(new WeakMap);function Qe(Ue){return typeof WeakMap=="undefined"?!1:Ve.working?Ve(Ue):Ue instanceof WeakMap}ve.isWeakMap=Qe;function nt(Ue){return ae(Ue)==="[object WeakSet]"}nt.working=typeof WeakSet!="undefined"&&nt(new WeakSet);function dt(Ue){return nt(Ue)}ve.isWeakSet=dt;function at(Ue){return ae(Ue)==="[object ArrayBuffer]"}at.working=typeof ArrayBuffer!="undefined"&&at(new ArrayBuffer);function tt(Ue){return typeof ArrayBuffer=="undefined"?!1:at.working?at(Ue):Ue instanceof ArrayBuffer}ve.isArrayBuffer=tt;function et(Ue){return ae(Ue)==="[object DataView]"}et.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&et(new DataView(new ArrayBuffer(1),0,1));function ot(Ue){return typeof DataView=="undefined"?!1:et.working?et(Ue):Ue instanceof DataView}ve.isDataView=ot;var yt=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function pt(Ue){return ae(Ue)==="[object SharedArrayBuffer]"}function Pt(Ue){return typeof yt=="undefined"?!1:(typeof pt.working=="undefined"&&(pt.working=pt(new yt)),pt.working?pt(Ue):Ue instanceof yt)}ve.isSharedArrayBuffer=Pt;function Mt(Ue){return ae(Ue)==="[object AsyncFunction]"}ve.isAsyncFunction=Mt;function ct(Ue){return ae(Ue)==="[object Map Iterator]"}ve.isMapIterator=ct;function Je(Ue){return ae(Ue)==="[object Set Iterator]"}ve.isSetIterator=Je;function Ze(Ue){return ae(Ue)==="[object Generator]"}ve.isGeneratorObject=Ze;function ue(Ue){return ae(Ue)==="[object WebAssembly.Module]"}ve.isWebAssemblyCompiledModule=ue;function he(Ue){return Ae(Ue,ce)}ve.isNumberObject=he;function He(Ue){return Ae(Ue,de)}ve.isStringObject=He;function We(Ue){return Ae(Ue,me)}ve.isBooleanObject=We;function fe(Ue){return pe&&Ae(Ue,we)}ve.isBigIntObject=fe;function Pe(Ue){return re&&Ae(Ue,xe)}ve.isSymbolObject=Pe;function Fe(Ue){return he(Ue)||He(Ue)||We(Ue)||fe(Ue)||Pe(Ue)}ve.isBoxedPrimitive=Fe;function Ke(Ue){return typeof Uint8Array!="undefined"&&(tt(Ue)||Pt(Ue))}ve.isAnyArrayBuffer=Ke,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Ue){Object.defineProperty(ve,Ue,{enumerable:!1,value:function(){throw new Error(Ue+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,je,ve){(function(ne){(function(){var ee=Object.getOwnPropertyDescriptors||function(yt){for(var pt=Object.keys(yt),Pt={},Mt=0;Mt<pt.length;Mt++)Pt[pt[Mt]]=Object.getOwnPropertyDescriptor(yt,pt[Mt]);return Pt},ie=/%[sdj%]/g;ve.format=function(ot){if(!Se(ot)){for(var yt=[],pt=0;pt<arguments.length;pt++)yt.push(re(arguments[pt]));return yt.join(" ")}for(var pt=1,Pt=arguments,Mt=Pt.length,ct=String(ot).replace(ie,function(Ze){if(Ze==="%%")return"%";if(pt>=Mt)return Ze;switch(Ze){case"%s":return String(Pt[pt++]);case"%d":return Number(Pt[pt++]);case"%j":try{return JSON.stringify(Pt[pt++])}catch(ue){return"[Circular]"}default:return Ze}}),Je=Pt[pt];pt<Mt;Je=Pt[++pt])_e(Je)||!Ie(Je)?ct+=" "+Je:ct+=" "+re(Je);return ct},ve.deprecate=function(ot,yt){if(typeof ne!="undefined"&&ne.noDeprecation===!0)return ot;if(typeof ne=="undefined")return function(){return ve.deprecate(ot,yt).apply(this,arguments)};var pt=!1;function Pt(){if(!pt){if(ne.throwDeprecation)throw new Error(yt);ne.traceDeprecation?console.trace(yt):console.error(yt),pt=!0}return ot.apply(this,arguments)}return Pt};var oe={},le=/^$/;if(ne.env.NODE_DEBUG){var pe=ne.env.NODE_DEBUG;pe=pe.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),le=new RegExp("^"+pe+"$","i")}ve.debuglog=function(ot){if(ot=ot.toUpperCase(),!oe[ot])if(le.test(ot)){var yt=ne.pid;oe[ot]=function(){var pt=ve.format.apply(ve,arguments);console.error("%s %d: %s",ot,yt,pt)}}else oe[ot]=function(){};return oe[ot]};function re(ot,yt){var pt={seen:[],stylize:ce};return arguments.length>=3&&(pt.depth=arguments[2]),arguments.length>=4&&(pt.colors=arguments[3]),Ce(yt)?pt.showHidden=yt:yt&&ve._extend(pt,yt),Re(pt.showHidden)&&(pt.showHidden=!1),Re(pt.depth)&&(pt.depth=2),Re(pt.colors)&&(pt.colors=!1),Re(pt.customInspect)&&(pt.customInspect=!0),pt.colors&&(pt.stylize=ae),me(pt,ot,pt.depth)}ve.inspect=re,re.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},re.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ae(ot,yt){var pt=re.styles[yt];return pt?"\x1B["+re.colors[pt][0]+"m"+ot+"\x1B["+re.colors[pt][1]+"m":ot}function ce(ot,yt){return ot}function de(ot){var yt={};return ot.forEach(function(pt,Pt){yt[pt]=!0}),yt}function me(ot,yt,pt){if(ot.customInspect&&yt&&qe(yt.inspect)&&yt.inspect!==ve.inspect&&!(yt.constructor&&yt.constructor.prototype===yt)){var Pt=yt.inspect(pt,ot);return Se(Pt)||(Pt=me(ot,Pt,pt)),Pt}var Mt=we(ot,yt);if(Mt)return Mt;var ct=Object.keys(yt),Je=de(ct);if(ot.showHidden&&(ct=Object.getOwnPropertyNames(yt)),Ge(yt)&&(ct.indexOf("message")>=0||ct.indexOf("description")>=0))return xe(yt);if(ct.length===0){if(qe(yt)){var Ze=yt.name?": "+yt.name:"";return ot.stylize("[Function"+Ze+"]","special")}if(Xe(yt))return ot.stylize(RegExp.prototype.toString.call(yt),"regexp");if(Ye(yt))return ot.stylize(Date.prototype.toString.call(yt),"date");if(Ge(yt))return xe(yt)}var ue="",he=!1,He=["{","}"];if(Le(yt)&&(he=!0,He=["[","]"]),qe(yt)){var We=yt.name?": "+yt.name:"";ue=" [Function"+We+"]"}if(Xe(yt)&&(ue=" "+RegExp.prototype.toString.call(yt)),Ye(yt)&&(ue=" "+Date.prototype.toUTCString.call(yt)),Ge(yt)&&(ue=" "+xe(yt)),ct.length===0&&(!he||yt.length==0))return He[0]+ue+He[1];if(pt<0)return Xe(yt)?ot.stylize(RegExp.prototype.toString.call(yt),"regexp"):ot.stylize("[Object]","special");ot.seen.push(yt);var fe;return he?fe=Ae(ot,yt,pt,Je,ct):fe=ct.map(function(Pe){return ye(ot,yt,pt,Je,Pe,he)}),ot.seen.pop(),Ee(fe,ue,He)}function we(ot,yt){if(Re(yt))return ot.stylize("undefined","undefined");if(Se(yt)){var pt="'"+JSON.stringify(yt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ot.stylize(pt,"string")}if(De(yt))return ot.stylize(""+yt,"number");if(Ce(yt))return ot.stylize(""+yt,"boolean");if(_e(yt))return ot.stylize("null","null")}function xe(ot){return"["+Error.prototype.toString.call(ot)+"]"}function Ae(ot,yt,pt,Pt,Mt){for(var ct=[],Je=0,Ze=yt.length;Je<Ze;++Je)dt(yt,String(Je))?ct.push(ye(ot,yt,pt,Pt,String(Je),!0)):ct.push("");return Mt.forEach(function(ue){ue.match(/^\d+$/)||ct.push(ye(ot,yt,pt,Pt,ue,!0))}),ct}function ye(ot,yt,pt,Pt,Mt,ct){var Je,Ze,ue;if(ue=Object.getOwnPropertyDescriptor(yt,Mt)||{value:yt[Mt]},ue.get?ue.set?Ze=ot.stylize("[Getter/Setter]","special"):Ze=ot.stylize("[Getter]","special"):ue.set&&(Ze=ot.stylize("[Setter]","special")),dt(Pt,Mt)||(Je="["+Mt+"]"),Ze||(ot.seen.indexOf(ue.value)<0?(_e(pt)?Ze=me(ot,ue.value,null):Ze=me(ot,ue.value,pt-1),Ze.indexOf(`
`)>-1&&(ct?Ze=Ze.split(`
`).map(function(he){return" "+he}).join(`
`).slice(2):Ze=`
`+Ze.split(`
`).map(function(he){return" "+he}).join(`
`))):Ze=ot.stylize("[Circular]","special")),Re(Je)){if(ct&&Mt.match(/^\d+$/))return Ze;Je=JSON.stringify(""+Mt),Je.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Je=Je.slice(1,-1),Je=ot.stylize(Je,"name")):(Je=Je.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Je=ot.stylize(Je,"string"))}return Je+": "+Ze}function Ee(ot,yt,pt){var Pt=0,Mt=ot.reduce(function(ct,Je){return Pt++,Je.indexOf(`
`)>=0&&Pt++,ct+Je.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Mt>60?pt[0]+(yt===""?"":yt+`
`)+" "+ot.join(`,
`)+" "+pt[1]:pt[0]+yt+" "+ot.join(", ")+" "+pt[1]}ve.types=E("./support/types");function Le(ot){return Array.isArray(ot)}ve.isArray=Le;function Ce(ot){return typeof ot=="boolean"}ve.isBoolean=Ce;function _e(ot){return ot===null}ve.isNull=_e;function Me(ot){return ot==null}ve.isNullOrUndefined=Me;function De(ot){return typeof ot=="number"}ve.isNumber=De;function Se(ot){return typeof ot=="string"}ve.isString=Se;function Be(ot){return typeof ot=="symbol"}ve.isSymbol=Be;function Re(ot){return ot===void 0}ve.isUndefined=Re;function Xe(ot){return Ie(ot)&&st(ot)==="[object RegExp]"}ve.isRegExp=Xe,ve.types.isRegExp=Xe;function Ie(ot){return typeof ot=="object"&&ot!==null}ve.isObject=Ie;function Ye(ot){return Ie(ot)&&st(ot)==="[object Date]"}ve.isDate=Ye,ve.types.isDate=Ye;function Ge(ot){return Ie(ot)&&(st(ot)==="[object Error]"||ot instanceof Error)}ve.isError=Ge,ve.types.isNativeError=Ge;function qe(ot){return typeof ot=="function"}ve.isFunction=qe;function it(ot){return ot===null||typeof ot=="boolean"||typeof ot=="number"||typeof ot=="string"||typeof ot=="symbol"||typeof ot=="undefined"}ve.isPrimitive=it,ve.isBuffer=E("./support/isBuffer");function st(ot){return Object.prototype.toString.call(ot)}function Ve(ot){return ot<10?"0"+ot.toString(10):ot.toString(10)}var Qe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nt(){var ot=new Date,yt=[Ve(ot.getHours()),Ve(ot.getMinutes()),Ve(ot.getSeconds())].join(":");return[ot.getDate(),Qe[ot.getMonth()],yt].join(" ")}ve.log=function(){console.log("%s - %s",nt(),ve.format.apply(ve,arguments))},ve.inherits=E("inherits"),ve._extend=function(ot,yt){if(!yt||!Ie(yt))return ot;for(var pt=Object.keys(yt),Pt=pt.length;Pt--;)ot[pt[Pt]]=yt[pt[Pt]];return ot};function dt(ot,yt){return Object.prototype.hasOwnProperty.call(ot,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 pt=yt[at];if(typeof pt!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(pt,at,{value:pt,enumerable:!1,writable:!1,configurable:!0}),pt}function pt(){for(var Pt,Mt,ct=new Promise(function(ue,he){Pt=ue,Mt=he}),Je=[],Ze=0;Ze<arguments.length;Ze++)Je.push(arguments[Ze]);Je.push(function(ue,he){ue?Mt(ue):Pt(he)});try{yt.apply(this,Je)}catch(ue){Mt(ue)}return ct}return Object.setPrototypeOf(pt,Object.getPrototypeOf(yt)),at&&Object.defineProperty(pt,at,{value:pt,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(pt,ee(yt))},ve.promisify.custom=at;function tt(ot,yt){if(!ot){var pt=new Error("Promise was rejected with a falsy value");pt.reason=ot,ot=pt}return yt(ot)}function et(ot){if(typeof ot!="function")throw new TypeError('The "original" argument must be of type Function');function yt(){for(var pt=[],Pt=0;Pt<arguments.length;Pt++)pt.push(arguments[Pt]);var Mt=pt.pop();if(typeof Mt!="function")throw new TypeError("The last argument must be of type Function");var ct=this,Je=function(){return Mt.apply(ct,arguments)};ot.apply(this,pt).then(function(Ze){ne.nextTick(Je.bind(null,null,Ze))},function(Ze){ne.nextTick(tt.bind(null,Ze,Je))})}return Object.setPrototypeOf(yt,Object.getPrototypeOf(ot)),Object.defineProperties(yt,ee(ot)),yt}ve.callbackify=et}).call(this)}).call(this,E("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(E,je,ve){(function(ne){(function(){"use strict";var ee=E("for-each"),ie=E("available-typed-arrays"),oe=E("call-bind"),le=E("call-bind/callBound"),pe=E("gopd"),re=le("Object.prototype.toString"),ae=E("has-tostringtag/shams")(),ce=typeof globalThis=="undefined"?ne:globalThis,de=ie(),me=le("String.prototype.slice"),we=Object.getPrototypeOf,xe=le("Array.prototype.indexOf",!0)||function(Ce,_e){for(var Me=0;Me<Ce.length;Me+=1)if(Ce[Me]===_e)return Me;return-1},Ae={__proto__:null};ae&&pe&&we?ee(de,function(Le){var Ce=new ce[Le];if(Symbol.toStringTag in Ce){var _e=we(Ce),Me=pe(_e,Symbol.toStringTag);if(!Me){var De=we(_e);Me=pe(De,Symbol.toStringTag)}Ae["$"+Le]=oe(Me.get)}}):ee(de,function(Le){var Ce=new ce[Le];Ae["$"+Le]=oe(Ce.slice)});var ye=function(Ce){var _e=!1;return ee(Ae,function(Me,De){if(!_e)try{"$"+Me(Ce)===De&&(_e=me(De,1))}catch(Se){}}),_e},Ee=function(Ce){var _e=!1;return ee(Ae,function(Me,De){if(!_e)try{Me(Ce),_e=me(De,1)}catch(Se){}}),_e};je.exports=function(Ce){if(!Ce||typeof Ce!="object")return!1;if(!ae){var _e=me(re(Ce),8,-1);return xe(de,_e)>-1?_e:_e!=="Object"?!1:Ee(Ce)}return pe?ye(Ce):null}}).call(this)}).call(this,typeof Qt!="undefined"?Qt: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(E,je,ve){(function(){"use strict";ve.stripBOM=function(ne){return ne[0]==="\uFEFF"?ne.substring(1):ne}}).call(this)},{}],422:[function(E,je,ve){(function(){"use strict";var ne,ee,ie,oe,le,pe={}.hasOwnProperty;ne=E("xmlbuilder"),ee=E("./defaults").defaults,oe=function(re){return typeof re=="string"&&(re.indexOf("&")>=0||re.indexOf(">")>=0||re.indexOf("<")>=0)},le=function(re){return"<![CDATA["+ie(re)+"]]>"},ie=function(re){return re.replace("]]>","]]]]><![CDATA[>")},ve.Builder=function(){function re(ae){var ce,de,me;this.options={},de=ee["0.2"];for(ce in de)pe.call(de,ce)&&(me=de[ce],this.options[ce]=me);for(ce in ae)pe.call(ae,ce)&&(me=ae[ce],this.options[ce]=me)}return re.prototype.buildObject=function(ae){var ce,de,me,we,xe;return ce=this.options.attrkey,de=this.options.charkey,Object.keys(ae).length===1&&this.options.rootName===ee["0.2"].rootName?(xe=Object.keys(ae)[0],ae=ae[xe]):xe=this.options.rootName,me=function(Ae){return function(ye,Ee){var Le,Ce,_e,Me,De,Se;if(typeof Ee!="object")Ae.options.cdata&&oe(Ee)?ye.raw(le(Ee)):ye.txt(Ee);else if(Array.isArray(Ee)){for(Me in Ee)if(pe.call(Ee,Me)){Ce=Ee[Me];for(De in Ce)_e=Ce[De],ye=me(ye.ele(De),_e).up()}}else for(De in Ee)if(pe.call(Ee,De))if(Ce=Ee[De],De===ce){if(typeof Ce=="object")for(Le in Ce)Se=Ce[Le],ye=ye.att(Le,Se)}else if(De===de)Ae.options.cdata&&oe(Ce)?ye=ye.raw(le(Ce)):ye=ye.txt(Ce);else if(Array.isArray(Ce))for(Me in Ce)pe.call(Ce,Me)&&(_e=Ce[Me],typeof _e=="string"?Ae.options.cdata&&oe(_e)?ye=ye.ele(De).raw(le(_e)).up():ye=ye.ele(De,_e).up():ye=me(ye.ele(De),_e).up());else typeof Ce=="object"?ye=me(ye.ele(De),Ce).up():typeof Ce=="string"&&Ae.options.cdata&&oe(Ce)?ye=ye.ele(De).raw(le(Ce)).up():(Ce==null&&(Ce=""),ye=ye.ele(De,Ce.toString()).up());return ye}}(this),we=ne.create(xe,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),me(we,ae).end(this.options.renderOpts)},re}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,je,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(E,je,ve){(function(){"use strict";var ne,ee,ie,oe,le,pe,re,ae,ce,de=function(xe,Ae){return function(){return xe.apply(Ae,arguments)}},me=function(xe,Ae){for(var ye in Ae)we.call(Ae,ye)&&(xe[ye]=Ae[ye]);function Ee(){this.constructor=xe}return Ee.prototype=Ae.prototype,xe.prototype=new Ee,xe.__super__=Ae.prototype,xe},we={}.hasOwnProperty;ae=E("sax"),oe=E("events"),ne=E("./bom"),re=E("./processors"),ce=E("timers").setImmediate,ee=E("./defaults").defaults,le=function(xe){return typeof xe=="object"&&xe!=null&&Object.keys(xe).length===0},pe=function(xe,Ae,ye){var Ee,Le,Ce;for(Ee=0,Le=xe.length;Ee<Le;Ee++)Ce=xe[Ee],Ae=Ce(Ae,ye);return Ae},ie=function(xe,Ae,ye){var Ee;return Ee=Object.create(null),Ee.value=ye,Ee.writable=!0,Ee.enumerable=!0,Ee.configurable=!0,Object.defineProperty(xe,Ae,Ee)},ve.Parser=function(xe){me(Ae,xe);function Ae(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 Ee,Le,Ce;if(!(this instanceof ve.Parser))return new ve.Parser(ye);this.options={},Le=ee["0.2"];for(Ee in Le)we.call(Le,Ee)&&(Ce=Le[Ee],this.options[Ee]=Ce);for(Ee in ye)we.call(ye,Ee)&&(Ce=ye[Ee],this.options[Ee]=Ce);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(re.normalize)),this.reset()}return Ae.prototype.processAsync=function(){var ye,Ee;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),ce(this.processAsync))}catch(Le){if(Ee=Le,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(Ee)}},Ae.prototype.assignOrPush=function(ye,Ee,Le){return Ee in ye?(ye[Ee]instanceof Array||ie(ye,Ee,[ye[Ee]]),ye[Ee].push(Le)):this.options.explicitArray?ie(ye,Ee,[Le]):ie(ye,Ee,Le)},Ae.prototype.reset=function(){var ye,Ee,Le,Ce;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,Ce=[],ye=this.options.attrkey,Ee=this.options.charkey,this.saxParser.onopentag=function(_e){return function(Me){var De,Se,Be,Re,Xe;if(Be={},Be[Ee]="",!_e.options.ignoreAttrs){Xe=Me.attributes;for(De in Xe)we.call(Xe,De)&&(!(ye in Be)&&!_e.options.mergeAttrs&&(Be[ye]={}),Se=_e.options.attrValueProcessors?pe(_e.options.attrValueProcessors,Me.attributes[De],De):Me.attributes[De],Re=_e.options.attrNameProcessors?pe(_e.options.attrNameProcessors,De):De,_e.options.mergeAttrs?_e.assignOrPush(Be,Re,Se):ie(Be[ye],Re,Se))}return Be["#name"]=_e.options.tagNameProcessors?pe(_e.options.tagNameProcessors,Me.name):Me.name,_e.options.xmlns&&(Be[_e.options.xmlnskey]={uri:Me.uri,local:Me.local}),Ce.push(Be)}}(this),this.saxParser.onclosetag=function(_e){return function(){var Me,De,Se,Be,Re,Xe,Ie,Ye,Ge,qe;if(Xe=Ce.pop(),Re=Xe["#name"],(!_e.options.explicitChildren||!_e.options.preserveChildrenOrder)&&delete Xe["#name"],Xe.cdata===!0&&(Me=Xe.cdata,delete Xe.cdata),Ge=Ce[Ce.length-1],Xe[Ee].match(/^\s*$/)&&!Me?(De=Xe[Ee],delete Xe[Ee]):(_e.options.trim&&(Xe[Ee]=Xe[Ee].trim()),_e.options.normalize&&(Xe[Ee]=Xe[Ee].replace(/\s{2,}/g," ").trim()),Xe[Ee]=_e.options.valueProcessors?pe(_e.options.valueProcessors,Xe[Ee],Re):Xe[Ee],Object.keys(Xe).length===1&&Ee in Xe&&!_e.EXPLICIT_CHARKEY&&(Xe=Xe[Ee])),le(Xe)&&(typeof _e.options.emptyTag=="function"?Xe=_e.options.emptyTag():Xe=_e.options.emptyTag!==""?_e.options.emptyTag:De),_e.options.validator!=null&&(qe="/"+function(){var it,st,Ve;for(Ve=[],it=0,st=Ce.length;it<st;it++)Be=Ce[it],Ve.push(Be["#name"]);return Ve}().concat(Re).join("/"),function(){var it;try{return Xe=_e.options.validator(qe,Ge&&Ge[Re],Xe)}catch(st){return it=st,_e.emit("error",it)}}()),_e.options.explicitChildren&&!_e.options.mergeAttrs&&typeof Xe=="object"){if(!_e.options.preserveChildrenOrder)Be={},_e.options.attrkey in Xe&&(Be[_e.options.attrkey]=Xe[_e.options.attrkey],delete Xe[_e.options.attrkey]),!_e.options.charsAsChildren&&_e.options.charkey in Xe&&(Be[_e.options.charkey]=Xe[_e.options.charkey],delete Xe[_e.options.charkey]),Object.getOwnPropertyNames(Xe).length>0&&(Be[_e.options.childkey]=Xe),Xe=Be;else if(Ge){Ge[_e.options.childkey]=Ge[_e.options.childkey]||[],Ie={};for(Se in Xe)we.call(Xe,Se)&&ie(Ie,Se,Xe[Se]);Ge[_e.options.childkey].push(Ie),delete Xe["#name"],Object.keys(Xe).length===1&&Ee in Xe&&!_e.EXPLICIT_CHARKEY&&(Xe=Xe[Ee])}}return Ce.length>0?_e.assignOrPush(Ge,Re,Xe):(_e.options.explicitRoot&&(Ye=Xe,Xe={},ie(Xe,Re,Ye)),_e.resultObject=Xe,_e.saxParser.ended=!0,_e.emit("end",_e.resultObject))}}(this),Le=function(_e){return function(Me){var De,Se;if(Se=Ce[Ce.length-1],Se)return Se[Ee]+=Me,_e.options.explicitChildren&&_e.options.preserveChildrenOrder&&_e.options.charsAsChildren&&(_e.options.includeWhiteChars||Me.replace(/\\n/g,"").trim()!=="")&&(Se[_e.options.childkey]=Se[_e.options.childkey]||[],De={"#name":"__text__"},De[Ee]=Me,_e.options.normalize&&(De[Ee]=De[Ee].replace(/\s{2,}/g," ").trim()),Se[_e.options.childkey].push(De)),Se}}(this),this.saxParser.ontext=Le,this.saxParser.oncdata=function(_e){return function(Me){var De;if(De=Le(Me),De)return De.cdata=!0}}(this)},Ae.prototype.parseString=function(ye,Ee){var Le;Ee!=null&&typeof Ee=="function"&&(this.on("end",function(Ce){return this.reset(),Ee(null,Ce)}),this.on("error",function(Ce){return this.reset(),Ee(Ce)}));try{return ye=ye.toString(),ye.trim()===""?(this.emit("end",null),!0):(ye=ne.stripBOM(ye),this.options.async?(this.remaining=ye,ce(this.processAsync),this.saxParser):this.saxParser.write(ye).close())}catch(Ce){if(Le=Ce,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw Le}else return this.emit("error",Le),this.saxParser.errThrown=!0}},Ae.prototype.parseStringPromise=function(ye){return new Promise(function(Ee){return function(Le,Ce){return Ee.parseString(ye,function(_e,Me){return _e?Ce(_e):Le(Me)})}}(this))},Ae}(oe),ve.parseString=function(xe,Ae,ye){var Ee,Le,Ce;return ye!=null?(typeof ye=="function"&&(Ee=ye),typeof Ae=="object"&&(Le=Ae)):(typeof Ae=="function"&&(Ee=Ae),Le={}),Ce=new ve.Parser(Le),Ce.parseString(xe,Ee)},ve.parseStringPromise=function(xe,Ae){var ye,Ee;return typeof Ae=="object"&&(ye=Ae),Ee=new ve.Parser(ye),Ee.parseStringPromise(xe)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,je,ve){(function(){"use strict";var ne;ne=new RegExp(/(?!xmlns)^.*:/),ve.normalize=function(ee){return ee.toLowerCase()},ve.firstCharLowerCase=function(ee){return ee.charAt(0).toLowerCase()+ee.slice(1)},ve.stripPrefix=function(ee){return ee.replace(ne,"")},ve.parseNumbers=function(ee){return isNaN(ee)||(ee=ee%1===0?parseInt(ee,10):parseFloat(ee)),ee},ve.parseBooleans=function(ee){return/^(?:true|false)$/i.test(ee)&&(ee=ee.toLowerCase()==="true"),ee}}).call(this)},{}],426:[function(E,je,ve){(function(){"use strict";var ne,ee,ie,oe,le=function(re,ae){for(var ce in ae)pe.call(ae,ce)&&(re[ce]=ae[ce]);function de(){this.constructor=re}return de.prototype=ae.prototype,re.prototype=new de,re.__super__=ae.prototype,re},pe={}.hasOwnProperty;ee=E("./defaults"),ne=E("./builder"),ie=E("./parser"),oe=E("./processors"),ve.defaults=ee.defaults,ve.processors=oe,ve.ValidationError=function(re){le(ae,re);function ae(ce){this.message=ce}return ae}(Error),ve.Builder=ne.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(E,je,ve){(function(){je.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,je,ve){(function(){je.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(E,je,ve){(function(){var ne,ee,ie,oe,le,pe,re,ae=[].slice,ce={}.hasOwnProperty;ne=function(){var de,me,we,xe,Ae,ye;if(ye=arguments[0],Ae=2<=arguments.length?ae.call(arguments,1):[],le(Object.assign))Object.assign.apply(null,arguments);else for(de=0,we=Ae.length;de<we;de++)if(xe=Ae[de],xe!=null)for(me in xe)ce.call(xe,me)&&(ye[me]=xe[me]);return ye},le=function(de){return!!de&&Object.prototype.toString.call(de)==="[object Function]"},pe=function(de){var me;return!!de&&((me=typeof de)=="function"||me==="object")},ie=function(de){return le(Array.isArray)?Array.isArray(de):Object.prototype.toString.call(de)==="[object Array]"},oe=function(de){var me;if(ie(de))return!de.length;for(me in de)if(ce.call(de,me))return!1;return!0},re=function(de){var me,we;return pe(de)&&(we=Object.getPrototypeOf(de))&&(me=we.constructor)&&typeof me=="function"&&me instanceof me&&Function.prototype.toString.call(me)===Function.prototype.toString.call(Object)},ee=function(de){return le(de.valueOf)?de.valueOf():de},je.exports.assign=ne,je.exports.isFunction=le,je.exports.isObject=pe,je.exports.isArray=ie,je.exports.isEmpty=oe,je.exports.isPlainObject=re,je.exports.getValue=ee}).call(this)},{}],430:[function(E,je,ve){(function(){je.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(E,je,ve){(function(){var ne,ee,ie;ne=E("./NodeType"),ie=E("./XMLNode"),je.exports=ee=function(){function oe(le,pe,re){if(this.parent=le,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),pe==null)throw new Error("Missing attribute name. "+this.debugInfo(pe));this.name=this.stringify.name(pe),this.value=this.stringify.attValue(re),this.type=ne.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(E,je,ve){(function(){var ne,ee,ie,oe=function(pe,re){for(var ae in re)le.call(re,ae)&&(pe[ae]=re[ae]);function ce(){this.constructor=pe}return ce.prototype=re.prototype,pe.prototype=new ce,pe.__super__=re.prototype,pe},le={}.hasOwnProperty;ne=E("./NodeType"),ie=E("./XMLCharacterData"),je.exports=ee=function(pe){oe(re,pe);function re(ae,ce){if(re.__super__.constructor.call(this,ae),ce==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=ne.CData,this.value=this.stringify.cdata(ce)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ae){return this.options.writer.cdata(this,this.options.writer.filterOptions(ae))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,je,ve){(function(){var ne,ee,ie=function(le,pe){for(var re in pe)oe.call(pe,re)&&(le[re]=pe[re]);function ae(){this.constructor=le}return ae.prototype=pe.prototype,le.prototype=new ae,le.__super__=pe.prototype,le},oe={}.hasOwnProperty;ee=E("./XMLNode"),je.exports=ne=function(le){ie(pe,le);function pe(re){pe.__super__.constructor.call(this,re),this.value=""}return Object.defineProperty(pe.prototype,"data",{get:function(){return this.value},set:function(re){return this.value=re||""}}),Object.defineProperty(pe.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(pe.prototype,"textContent",{get:function(){return this.value},set:function(re){return this.value=re||""}}),pe.prototype.clone=function(){return Object.create(this)},pe.prototype.substringData=function(re,ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.appendData=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.insertData=function(re,ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.deleteData=function(re,ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.replaceData=function(re,ae,ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isEqualNode=function(re){return!(!pe.__super__.isEqualNode.apply(this,arguments).isEqualNode(re)||re.data!==this.data)},pe}(ee)}).call(this)},{"./XMLNode":450}],434:[function(E,je,ve){(function(){var ne,ee,ie,oe=function(pe,re){for(var ae in re)le.call(re,ae)&&(pe[ae]=re[ae]);function ce(){this.constructor=pe}return ce.prototype=re.prototype,pe.prototype=new ce,pe.__super__=re.prototype,pe},le={}.hasOwnProperty;ne=E("./NodeType"),ee=E("./XMLCharacterData"),je.exports=ie=function(pe){oe(re,pe);function re(ae,ce){if(re.__super__.constructor.call(this,ae),ce==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=ne.Comment,this.value=this.stringify.comment(ce)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ae){return this.options.writer.comment(this,this.options.writer.filterOptions(ae))},re}(ee)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,je,ve){(function(){var ne,ee,ie;ee=E("./XMLDOMErrorHandler"),ie=E("./XMLDOMStringList"),je.exports=ne=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 ee,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,pe){return!0},oe.prototype.setParameter=function(le,pe){return pe!=null?this.params[le]=pe:delete this.params[le]},oe}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,je,ve){(function(){var ne;je.exports=ne=function(){function ee(){}return ee.prototype.handleError=function(ie){throw new Error(ie)},ee}()}).call(this)},{}],437:[function(E,je,ve){(function(){var ne;je.exports=ne=function(){function ee(){}return ee.prototype.hasFeature=function(ie,oe){return!0},ee.prototype.createDocumentType=function(ie,oe,le){throw new Error("This DOM method is not implemented.")},ee.prototype.createDocument=function(ie,oe,le){throw new Error("This DOM method is not implemented.")},ee.prototype.createHTMLDocument=function(ie){throw new Error("This DOM method is not implemented.")},ee.prototype.getFeature=function(ie,oe){throw new Error("This DOM method is not implemented.")},ee}()}).call(this)},{}],438:[function(E,je,ve){(function(){var ne;je.exports=ne=function(){function ee(ie){this.arr=ie||[]}return Object.defineProperty(ee.prototype,"length",{get:function(){return this.arr.length}}),ee.prototype.item=function(ie){return this.arr[ie]||null},ee.prototype.contains=function(ie){return this.arr.indexOf(ie)!==-1},ee}()}).call(this)},{}],439:[function(E,je,ve){(function(){var ne,ee,ie,oe=function(pe,re){for(var ae in re)le.call(re,ae)&&(pe[ae]=re[ae]);function ce(){this.constructor=pe}return ce.prototype=re.prototype,pe.prototype=new ce,pe.__super__=re.prototype,pe},le={}.hasOwnProperty;ie=E("./XMLNode"),ne=E("./NodeType"),je.exports=ee=function(pe){oe(re,pe);function re(ae,ce,de,me,we,xe){if(re.__super__.constructor.call(this,ae),ce==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(de==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ce));if(!me)throw new Error("Missing DTD attribute type. "+this.debugInfo(ce));if(!we)throw new Error("Missing DTD attribute default. "+this.debugInfo(ce));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(ce));if(xe&&!we.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ce));this.elementName=this.stringify.name(ce),this.type=ne.AttributeDeclaration,this.attributeName=this.stringify.name(de),this.attributeType=this.stringify.dtdAttType(me),xe&&(this.defaultValue=this.stringify.dtdAttDefault(xe)),this.defaultValueType=we}return re.prototype.toString=function(ae){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ae))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,je,ve){(function(){var ne,ee,ie,oe=function(pe,re){for(var ae in re)le.call(re,ae)&&(pe[ae]=re[ae]);function ce(){this.constructor=pe}return ce.prototype=re.prototype,pe.prototype=new ce,pe.__super__=re.prototype,pe},le={}.hasOwnProperty;ie=E("./XMLNode"),ne=E("./NodeType"),je.exports=ee=function(pe){oe(re,pe);function re(ae,ce,de){if(re.__super__.constructor.call(this,ae),ce==null)throw new Error("Missing DTD element name. "+this.debugInfo());de||(de="(#PCDATA)"),Array.isArray(de)&&(de="("+de.join(",")+")"),this.name=this.stringify.name(ce),this.type=ne.ElementDeclaration,this.value=this.stringify.dtdElementValue(de)}return re.prototype.toString=function(ae){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ae))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,je,ve){(function(){var ne,ee,ie,oe,le=function(re,ae){for(var ce in ae)pe.call(ae,ce)&&(re[ce]=ae[ce]);function de(){this.constructor=re}return de.prototype=ae.prototype,re.prototype=new de,re.__super__=ae.prototype,re},pe={}.hasOwnProperty;oe=E("./Utility").isObject,ie=E("./XMLNode"),ne=E("./NodeType"),je.exports=ee=function(re){le(ae,re);function ae(ce,de,me,we){if(ae.__super__.constructor.call(this,ce),me==null)throw new Error("Missing DTD entity name. "+this.debugInfo(me));if(we==null)throw new Error("Missing DTD entity value. "+this.debugInfo(me));if(this.pe=!!de,this.name=this.stringify.name(me),this.type=ne.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(me));if(we.pubID&&!we.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(me));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(me))}}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(ce){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ce))},ae}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,je,ve){(function(){var ne,ee,ie,oe=function(pe,re){for(var ae in re)le.call(re,ae)&&(pe[ae]=re[ae]);function ce(){this.constructor=pe}return ce.prototype=re.prototype,pe.prototype=new ce,pe.__super__=re.prototype,pe},le={}.hasOwnProperty;ie=E("./XMLNode"),ne=E("./NodeType"),je.exports=ee=function(pe){oe(re,pe);function re(ae,ce,de){if(re.__super__.constructor.call(this,ae),ce==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ce));if(!de.pubID&&!de.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ce));this.name=this.stringify.name(ce),this.type=ne.NotationDeclaration,de.pubID!=null&&(this.pubID=this.stringify.dtdPubID(de.pubID)),de.sysID!=null&&(this.sysID=this.stringify.dtdSysID(de.sysID))}return Object.defineProperty(re.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(re.prototype,"systemId",{get:function(){return this.sysID}}),re.prototype.toString=function(ae){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ae))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,je,ve){(function(){var ne,ee,ie,oe,le=function(re,ae){for(var ce in ae)pe.call(ae,ce)&&(re[ce]=ae[ce]);function de(){this.constructor=re}return de.prototype=ae.prototype,re.prototype=new de,re.__super__=ae.prototype,re},pe={}.hasOwnProperty;oe=E("./Utility").isObject,ie=E("./XMLNode"),ne=E("./NodeType"),je.exports=ee=function(re){le(ae,re);function ae(ce,de,me,we){var xe;ae.__super__.constructor.call(this,ce),oe(de)&&(xe=de,de=xe.version,me=xe.encoding,we=xe.standalone),de||(de="1.0"),this.type=ne.Declaration,this.version=this.stringify.xmlVersion(de),me!=null&&(this.encoding=this.stringify.xmlEncoding(me)),we!=null&&(this.standalone=this.stringify.xmlStandalone(we))}return ae.prototype.toString=function(ce){return this.options.writer.declaration(this,this.options.writer.filterOptions(ce))},ae}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,je,ve){(function(){var ne,ee,ie,oe,le,pe,re,ae,ce,de=function(we,xe){for(var Ae in xe)me.call(xe,Ae)&&(we[Ae]=xe[Ae]);function ye(){this.constructor=we}return ye.prototype=xe.prototype,we.prototype=new ye,we.__super__=xe.prototype,we},me={}.hasOwnProperty;ce=E("./Utility").isObject,ae=E("./XMLNode"),ne=E("./NodeType"),ee=E("./XMLDTDAttList"),oe=E("./XMLDTDEntity"),ie=E("./XMLDTDElement"),le=E("./XMLDTDNotation"),re=E("./XMLNamedNodeMap"),je.exports=pe=function(we){de(xe,we);function xe(Ae,ye,Ee){var Le,Ce,_e,Me,De,Se;if(xe.__super__.constructor.call(this,Ae),this.type=ne.DocType,Ae.children){for(Me=Ae.children,Ce=0,_e=Me.length;Ce<_e;Ce++)if(Le=Me[Ce],Le.type===ne.Element){this.name=Le.name;break}}this.documentObject=Ae,ce(ye)&&(De=ye,ye=De.pubID,Ee=De.sysID),Ee==null&&(Se=[ye,Ee],Ee=Se[0],ye=Se[1]),ye!=null&&(this.pubID=this.stringify.dtdPubID(ye)),Ee!=null&&(this.sysID=this.stringify.dtdSysID(Ee))}return Object.defineProperty(xe.prototype,"entities",{get:function(){var Ae,ye,Ee,Le,Ce;for(Le={},Ce=this.children,ye=0,Ee=Ce.length;ye<Ee;ye++)Ae=Ce[ye],Ae.type===ne.EntityDeclaration&&!Ae.pe&&(Le[Ae.name]=Ae);return new re(Le)}}),Object.defineProperty(xe.prototype,"notations",{get:function(){var Ae,ye,Ee,Le,Ce;for(Le={},Ce=this.children,ye=0,Ee=Ce.length;ye<Ee;ye++)Ae=Ce[ye],Ae.type===ne.NotationDeclaration&&(Le[Ae.name]=Ae);return new re(Le)}}),Object.defineProperty(xe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(xe.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(xe.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),xe.prototype.element=function(Ae,ye){var Ee;return Ee=new ie(this,Ae,ye),this.children.push(Ee),this},xe.prototype.attList=function(Ae,ye,Ee,Le,Ce){var _e;return _e=new ee(this,Ae,ye,Ee,Le,Ce),this.children.push(_e),this},xe.prototype.entity=function(Ae,ye){var Ee;return Ee=new oe(this,!1,Ae,ye),this.children.push(Ee),this},xe.prototype.pEntity=function(Ae,ye){var Ee;return Ee=new oe(this,!0,Ae,ye),this.children.push(Ee),this},xe.prototype.notation=function(Ae,ye){var Ee;return Ee=new le(this,Ae,ye),this.children.push(Ee),this},xe.prototype.toString=function(Ae){return this.options.writer.docType(this,this.options.writer.filterOptions(Ae))},xe.prototype.ele=function(Ae,ye){return this.element(Ae,ye)},xe.prototype.att=function(Ae,ye,Ee,Le,Ce){return this.attList(Ae,ye,Ee,Le,Ce)},xe.prototype.ent=function(Ae,ye){return this.entity(Ae,ye)},xe.prototype.pent=function(Ae,ye){return this.pEntity(Ae,ye)},xe.prototype.not=function(Ae,ye){return this.notation(Ae,ye)},xe.prototype.up=function(){return this.root()||this.documentObject},xe.prototype.isEqualNode=function(Ae){return!(!xe.__super__.isEqualNode.apply(this,arguments).isEqualNode(Ae)||Ae.name!==this.name||Ae.publicId!==this.publicId||Ae.systemId!==this.systemId)},xe}(ae)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(E,je,ve){(function(){var ne,ee,ie,oe,le,pe,re,ae,ce=function(me,we){for(var xe in we)de.call(we,xe)&&(me[xe]=we[xe]);function Ae(){this.constructor=me}return Ae.prototype=we.prototype,me.prototype=new Ae,me.__super__=we.prototype,me},de={}.hasOwnProperty;ae=E("./Utility").isPlainObject,ie=E("./XMLDOMImplementation"),ee=E("./XMLDOMConfiguration"),le=E("./XMLNode"),ne=E("./NodeType"),re=E("./XMLStringifier"),pe=E("./XMLStringWriter"),je.exports=oe=function(me){ce(we,me);function we(xe){we.__super__.constructor.call(this,null),this.name="#document",this.type=ne.Document,this.documentURI=null,this.domConfig=new ee,xe||(xe={}),xe.writer||(xe.writer=new pe),this.options=xe,this.stringify=new re(xe)}return Object.defineProperty(we.prototype,"implementation",{value:new ie}),Object.defineProperty(we.prototype,"doctype",{get:function(){var xe,Ae,ye,Ee;for(Ee=this.children,Ae=0,ye=Ee.length;Ae<ye;Ae++)if(xe=Ee[Ae],xe.type===ne.DocType)return xe;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===ne.Declaration?this.children[0].encoding:null}}),Object.defineProperty(we.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===ne.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(we.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===ne.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(xe){var Ae;return Ae={},xe?ae(xe)&&(Ae=xe,xe=this.options.writer):xe=this.options.writer,xe.document(this,xe.filterOptions(Ae))},we.prototype.toString=function(xe){return this.options.writer.document(this,this.options.writer.filterOptions(xe))},we.prototype.createElement=function(xe){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(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createComment=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createCDATASection=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createProcessingInstruction=function(xe,Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createAttribute=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createEntityReference=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.getElementsByTagName=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.importNode=function(xe,Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createElementNS=function(xe,Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createAttributeNS=function(xe,Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.getElementsByTagNameNS=function(xe,Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.getElementById=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.adoptNode=function(xe){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(xe,Ae,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.getElementsByClassName=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createEvent=function(xe){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(xe,Ae,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createTreeWalker=function(xe,Ae,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(E,je,ve){(function(){var ne,ee,ie,oe,le,pe,re,ae,ce,de,me,we,xe,Ae,ye,Ee,Le,Ce,_e,Me,De,Se,Be,Re,Xe={}.hasOwnProperty;Re=E("./Utility"),Se=Re.isObject,De=Re.isFunction,Be=Re.isPlainObject,Me=Re.getValue,ne=E("./NodeType"),we=E("./XMLDocument"),Ae=E("./XMLElement"),oe=E("./XMLCData"),le=E("./XMLComment"),Ee=E("./XMLRaw"),_e=E("./XMLText"),ye=E("./XMLProcessingInstruction"),de=E("./XMLDeclaration"),me=E("./XMLDocType"),pe=E("./XMLDTDAttList"),ae=E("./XMLDTDEntity"),re=E("./XMLDTDElement"),ce=E("./XMLDTDNotation"),ie=E("./XMLAttribute"),Ce=E("./XMLStringifier"),Le=E("./XMLStringWriter"),ee=E("./WriterState"),je.exports=xe=function(){function Ie(Ye,Ge,qe){var it;this.name="?xml",this.type=ne.Document,Ye||(Ye={}),it={},Ye.writer?Be(Ye.writer)&&(it=Ye.writer,Ye.writer=new Le):Ye.writer=new Le,this.options=Ye,this.writer=Ye.writer,this.writerOptions=this.writer.filterOptions(it),this.stringify=new Ce(Ye),this.onDataCallback=Ge||function(){},this.onEndCallback=qe||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return Ie.prototype.createChildNode=function(Ye){var Ge,qe,it,st,Ve,Qe,nt,dt;switch(Ye.type){case ne.CData:this.cdata(Ye.value);break;case ne.Comment:this.comment(Ye.value);break;case ne.Element:it={},nt=Ye.attribs;for(qe in nt)Xe.call(nt,qe)&&(Ge=nt[qe],it[qe]=Ge.value);this.node(Ye.name,it);break;case ne.Dummy:this.dummy();break;case ne.Raw:this.raw(Ye.value);break;case ne.Text:this.text(Ye.value);break;case ne.ProcessingInstruction:this.instruction(Ye.target,Ye.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Ye.constructor.name)}for(dt=Ye.children,Ve=0,Qe=dt.length;Ve<Qe;Ve++)st=dt[Ve],this.createChildNode(st),st.type===ne.Element&&this.up();return this},Ie.prototype.dummy=function(){return this},Ie.prototype.node=function(Ye,Ge,qe){var it;if(Ye==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(Ye));return this.openCurrent(),Ye=Me(Ye),Ge==null&&(Ge={}),Ge=Me(Ge),Se(Ge)||(it=[Ge,qe],qe=it[0],Ge=it[1]),this.currentNode=new Ae(this,Ye,Ge),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,qe!=null&&this.text(qe),this},Ie.prototype.element=function(Ye,Ge,qe){var it,st,Ve,Qe,nt,dt;if(this.currentNode&&this.currentNode.type===ne.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Ye)||Se(Ye)||De(Ye))for(Qe=this.options.noValidation,this.options.noValidation=!0,dt=new we(this.options).element("TEMP_ROOT"),dt.element(Ye),this.options.noValidation=Qe,nt=dt.children,st=0,Ve=nt.length;st<Ve;st++)it=nt[st],this.createChildNode(it),it.type===ne.Element&&this.up();else this.node(Ye,Ge,qe);return this},Ie.prototype.attribute=function(Ye,Ge){var qe,it;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Ye));if(Ye!=null&&(Ye=Me(Ye)),Se(Ye))for(qe in Ye)Xe.call(Ye,qe)&&(it=Ye[qe],this.attribute(qe,it));else De(Ge)&&(Ge=Ge.apply()),this.options.keepNullAttributes&&Ge==null?this.currentNode.attribs[Ye]=new ie(this,Ye,""):Ge!=null&&(this.currentNode.attribs[Ye]=new ie(this,Ye,Ge));return this},Ie.prototype.text=function(Ye){var Ge;return this.openCurrent(),Ge=new _e(this,Ye),this.onData(this.writer.text(Ge,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ie.prototype.cdata=function(Ye){var Ge;return this.openCurrent(),Ge=new oe(this,Ye),this.onData(this.writer.cdata(Ge,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ie.prototype.comment=function(Ye){var Ge;return this.openCurrent(),Ge=new le(this,Ye),this.onData(this.writer.comment(Ge,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ie.prototype.raw=function(Ye){var Ge;return this.openCurrent(),Ge=new Ee(this,Ye),this.onData(this.writer.raw(Ge,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ie.prototype.instruction=function(Ye,Ge){var qe,it,st,Ve,Qe;if(this.openCurrent(),Ye!=null&&(Ye=Me(Ye)),Ge!=null&&(Ge=Me(Ge)),Array.isArray(Ye))for(qe=0,Ve=Ye.length;qe<Ve;qe++)it=Ye[qe],this.instruction(it);else if(Se(Ye))for(it in Ye)Xe.call(Ye,it)&&(st=Ye[it],this.instruction(it,st));else De(Ge)&&(Ge=Ge.apply()),Qe=new ye(this,Ye,Ge),this.onData(this.writer.processingInstruction(Qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},Ie.prototype.declaration=function(Ye,Ge,qe){var it;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return it=new de(this,Ye,Ge,qe),this.onData(this.writer.declaration(it,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ie.prototype.doctype=function(Ye,Ge,qe){if(this.openCurrent(),Ye==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 me(this,Ge,qe),this.currentNode.rootNodeName=Ye,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},Ie.prototype.dtdElement=function(Ye,Ge){var qe;return this.openCurrent(),qe=new re(this,Ye,Ge),this.onData(this.writer.dtdElement(qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ie.prototype.attList=function(Ye,Ge,qe,it,st){var Ve;return this.openCurrent(),Ve=new pe(this,Ye,Ge,qe,it,st),this.onData(this.writer.dtdAttList(Ve,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ie.prototype.entity=function(Ye,Ge){var qe;return this.openCurrent(),qe=new ae(this,!1,Ye,Ge),this.onData(this.writer.dtdEntity(qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ie.prototype.pEntity=function(Ye,Ge){var qe;return this.openCurrent(),qe=new ae(this,!0,Ye,Ge),this.onData(this.writer.dtdEntity(qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ie.prototype.notation=function(Ye,Ge){var qe;return this.openCurrent(),qe=new ce(this,Ye,Ge),this.onData(this.writer.dtdNotation(qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ie.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},Ie.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},Ie.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ie.prototype.openNode=function(Ye){var Ge,qe,it,st;if(!Ye.isOpen){if(!this.root&&this.currentLevel===0&&Ye.type===ne.Element&&(this.root=Ye),qe="",Ye.type===ne.Element){this.writerOptions.state=ee.OpenTag,qe=this.writer.indent(Ye,this.writerOptions,this.currentLevel)+"<"+Ye.name,st=Ye.attribs;for(it in st)Xe.call(st,it)&&(Ge=st[it],qe+=this.writer.attribute(Ge,this.writerOptions,this.currentLevel));qe+=(Ye.children?">":"/>")+this.writer.endline(Ye,this.writerOptions,this.currentLevel),this.writerOptions.state=ee.InsideTag}else this.writerOptions.state=ee.OpenTag,qe=this.writer.indent(Ye,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Ye.rootNodeName,Ye.pubID&&Ye.sysID?qe+=' PUBLIC "'+Ye.pubID+'" "'+Ye.sysID+'"':Ye.sysID&&(qe+=' SYSTEM "'+Ye.sysID+'"'),Ye.children?(qe+=" [",this.writerOptions.state=ee.InsideTag):(this.writerOptions.state=ee.CloseTag,qe+=">"),qe+=this.writer.endline(Ye,this.writerOptions,this.currentLevel);return this.onData(qe,this.currentLevel),Ye.isOpen=!0}},Ie.prototype.closeNode=function(Ye){var Ge;if(!Ye.isClosed)return Ge="",this.writerOptions.state=ee.CloseTag,Ye.type===ne.Element?Ge=this.writer.indent(Ye,this.writerOptions,this.currentLevel)+"</"+Ye.name+">"+this.writer.endline(Ye,this.writerOptions,this.currentLevel):Ge=this.writer.indent(Ye,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Ye,this.writerOptions,this.currentLevel),this.writerOptions.state=ee.None,this.onData(Ge,this.currentLevel),Ye.isClosed=!0},Ie.prototype.onData=function(Ye,Ge){return this.documentStarted=!0,this.onDataCallback(Ye,Ge+1)},Ie.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ie.prototype.debugInfo=function(Ye){return Ye==null?"":"node: <"+Ye+">"},Ie.prototype.ele=function(){return this.element.apply(this,arguments)},Ie.prototype.nod=function(Ye,Ge,qe){return this.node(Ye,Ge,qe)},Ie.prototype.txt=function(Ye){return this.text(Ye)},Ie.prototype.dat=function(Ye){return this.cdata(Ye)},Ie.prototype.com=function(Ye){return this.comment(Ye)},Ie.prototype.ins=function(Ye,Ge){return this.instruction(Ye,Ge)},Ie.prototype.dec=function(Ye,Ge,qe){return this.declaration(Ye,Ge,qe)},Ie.prototype.dtd=function(Ye,Ge,qe){return this.doctype(Ye,Ge,qe)},Ie.prototype.e=function(Ye,Ge,qe){return this.element(Ye,Ge,qe)},Ie.prototype.n=function(Ye,Ge,qe){return this.node(Ye,Ge,qe)},Ie.prototype.t=function(Ye){return this.text(Ye)},Ie.prototype.d=function(Ye){return this.cdata(Ye)},Ie.prototype.c=function(Ye){return this.comment(Ye)},Ie.prototype.r=function(Ye){return this.raw(Ye)},Ie.prototype.i=function(Ye,Ge){return this.instruction(Ye,Ge)},Ie.prototype.att=function(){return this.currentNode&&this.currentNode.type===ne.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ie.prototype.a=function(){return this.currentNode&&this.currentNode.type===ne.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ie.prototype.ent=function(Ye,Ge){return this.entity(Ye,Ge)},Ie.prototype.pent=function(Ye,Ge){return this.pEntity(Ye,Ge)},Ie.prototype.not=function(Ye,Ge){return this.notation(Ye,Ge)},Ie}()}).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(E,je,ve){(function(){var ne,ee,ie,oe=function(pe,re){for(var ae in re)le.call(re,ae)&&(pe[ae]=re[ae]);function ce(){this.constructor=pe}return ce.prototype=re.prototype,pe.prototype=new ce,pe.__super__=re.prototype,pe},le={}.hasOwnProperty;ie=E("./XMLNode"),ne=E("./NodeType"),je.exports=ee=function(pe){oe(re,pe);function re(ae){re.__super__.constructor.call(this,ae),this.type=ne.Dummy}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ae){return""},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,je,ve){(function(){var ne,ee,ie,oe,le,pe,re,ae,ce,de=function(we,xe){for(var Ae in xe)me.call(xe,Ae)&&(we[Ae]=xe[Ae]);function ye(){this.constructor=we}return ye.prototype=xe.prototype,we.prototype=new ye,we.__super__=xe.prototype,we},me={}.hasOwnProperty;ce=E("./Utility"),ae=ce.isObject,re=ce.isFunction,pe=ce.getValue,le=E("./XMLNode"),ne=E("./NodeType"),ee=E("./XMLAttribute"),oe=E("./XMLNamedNodeMap"),je.exports=ie=function(we){de(xe,we);function xe(Ae,ye,Ee){var Le,Ce,_e,Me;if(xe.__super__.constructor.call(this,Ae),ye==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(ye),this.type=ne.Element,this.attribs={},this.schemaTypeInfo=null,Ee!=null&&this.attribute(Ee),Ae.type===ne.Document&&(this.isRoot=!0,this.documentObject=Ae,Ae.rootObject=this,Ae.children)){for(Me=Ae.children,Ce=0,_e=Me.length;Ce<_e;Ce++)if(Le=Me[Ce],Le.type===ne.DocType){Le.name=this.name;break}}}return Object.defineProperty(xe.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(xe.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(xe.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(xe.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(xe.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(xe.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(xe.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(xe.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new oe(this.attribs)),this.attributeMap}}),xe.prototype.clone=function(){var Ae,ye,Ee,Le;Ee=Object.create(this),Ee.isRoot&&(Ee.documentObject=null),Ee.attribs={},Le=this.attribs;for(ye in Le)me.call(Le,ye)&&(Ae=Le[ye],Ee.attribs[ye]=Ae.clone());return Ee.children=[],this.children.forEach(function(Ce){var _e;return _e=Ce.clone(),_e.parent=Ee,Ee.children.push(_e)}),Ee},xe.prototype.attribute=function(Ae,ye){var Ee,Le;if(Ae!=null&&(Ae=pe(Ae)),ae(Ae))for(Ee in Ae)me.call(Ae,Ee)&&(Le=Ae[Ee],this.attribute(Ee,Le));else re(ye)&&(ye=ye.apply()),this.options.keepNullAttributes&&ye==null?this.attribs[Ae]=new ee(this,Ae,""):ye!=null&&(this.attribs[Ae]=new ee(this,Ae,ye));return this},xe.prototype.removeAttribute=function(Ae){var ye,Ee,Le;if(Ae==null)throw new Error("Missing attribute name. "+this.debugInfo());if(Ae=pe(Ae),Array.isArray(Ae))for(Ee=0,Le=Ae.length;Ee<Le;Ee++)ye=Ae[Ee],delete this.attribs[ye];else delete this.attribs[Ae];return this},xe.prototype.toString=function(Ae){return this.options.writer.element(this,this.options.writer.filterOptions(Ae))},xe.prototype.att=function(Ae,ye){return this.attribute(Ae,ye)},xe.prototype.a=function(Ae,ye){return this.attribute(Ae,ye)},xe.prototype.getAttribute=function(Ae){return this.attribs.hasOwnProperty(Ae)?this.attribs[Ae].value:null},xe.prototype.setAttribute=function(Ae,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.getAttributeNode=function(Ae){return this.attribs.hasOwnProperty(Ae)?this.attribs[Ae]:null},xe.prototype.setAttributeNode=function(Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.removeAttributeNode=function(Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.getElementsByTagName=function(Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.getAttributeNS=function(Ae,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.setAttributeNS=function(Ae,ye,Ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.removeAttributeNS=function(Ae,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.getAttributeNodeNS=function(Ae,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.setAttributeNodeNS=function(Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.getElementsByTagNameNS=function(Ae,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.hasAttribute=function(Ae){return this.attribs.hasOwnProperty(Ae)},xe.prototype.hasAttributeNS=function(Ae,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.setIdAttribute=function(Ae,ye){return this.attribs.hasOwnProperty(Ae)?this.attribs[Ae].isId:ye},xe.prototype.setIdAttributeNS=function(Ae,ye,Ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.setIdAttributeNode=function(Ae,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.getElementsByTagName=function(Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.getElementsByTagNameNS=function(Ae,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.getElementsByClassName=function(Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},xe.prototype.isEqualNode=function(Ae){var ye,Ee,Le;if(!xe.__super__.isEqualNode.apply(this,arguments).isEqualNode(Ae)||Ae.namespaceURI!==this.namespaceURI||Ae.prefix!==this.prefix||Ae.localName!==this.localName||Ae.attribs.length!==this.attribs.length)return!1;for(ye=Ee=0,Le=this.attribs.length-1;0<=Le?Ee<=Le:Ee>=Le;ye=0<=Le?++Ee:--Ee)if(!this.attribs[ye].isEqualNode(Ae.attribs[ye]))return!1;return!0},xe}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,je,ve){(function(){var ne;je.exports=ne=function(){function ee(ie){this.nodes=ie}return Object.defineProperty(ee.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),ee.prototype.clone=function(){return this.nodes=null},ee.prototype.getNamedItem=function(ie){return this.nodes[ie]},ee.prototype.setNamedItem=function(ie){var oe;return oe=this.nodes[ie.nodeName],this.nodes[ie.nodeName]=ie,oe||null},ee.prototype.removeNamedItem=function(ie){var oe;return oe=this.nodes[ie],delete this.nodes[ie],oe||null},ee.prototype.item=function(ie){return this.nodes[Object.keys(this.nodes)[ie]]||null},ee.prototype.getNamedItemNS=function(ie,oe){throw new Error("This DOM method is not implemented.")},ee.prototype.setNamedItemNS=function(ie){throw new Error("This DOM method is not implemented.")},ee.prototype.removeNamedItemNS=function(ie,oe){throw new Error("This DOM method is not implemented.")},ee}()}).call(this)},{}],450:[function(E,je,ve){(function(){var ne,ee,ie,oe,le,pe,re,ae,ce,de,me,we,xe,Ae,ye,Ee,Le,Ce,_e,Me={}.hasOwnProperty;_e=E("./Utility"),Ce=_e.isObject,Le=_e.isFunction,Ee=_e.isEmpty,ye=_e.getValue,ae=null,ie=null,oe=null,le=null,pe=null,xe=null,Ae=null,we=null,re=null,ee=null,me=null,ce=null,ne=null,je.exports=de=function(){function De(Se){this.parent=Se,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ae||(ae=E("./XMLElement"),ie=E("./XMLCData"),oe=E("./XMLComment"),le=E("./XMLDeclaration"),pe=E("./XMLDocType"),xe=E("./XMLRaw"),Ae=E("./XMLText"),we=E("./XMLProcessingInstruction"),re=E("./XMLDummy"),ee=E("./NodeType"),me=E("./XMLNodeList"),ce=E("./XMLNamedNodeMap"),ne=E("./DocumentPosition"))}return Object.defineProperty(De.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(De.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(De.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(De.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(De.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new me(this.children)),this.childNodeList}}),Object.defineProperty(De.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(De.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(De.prototype,"previousSibling",{get:function(){var Se;return Se=this.parent.children.indexOf(this),this.parent.children[Se-1]||null}}),Object.defineProperty(De.prototype,"nextSibling",{get:function(){var Se;return Se=this.parent.children.indexOf(this),this.parent.children[Se+1]||null}}),Object.defineProperty(De.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(De.prototype,"textContent",{get:function(){var Se,Be,Re,Xe,Ie;if(this.nodeType===ee.Element||this.nodeType===ee.DocumentFragment){for(Ie="",Xe=this.children,Be=0,Re=Xe.length;Be<Re;Be++)Se=Xe[Be],Se.textContent&&(Ie+=Se.textContent);return Ie}else return null},set:function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),De.prototype.setParent=function(Se){var Be,Re,Xe,Ie,Ye;for(this.parent=Se,Se&&(this.options=Se.options,this.stringify=Se.stringify),Ie=this.children,Ye=[],Re=0,Xe=Ie.length;Re<Xe;Re++)Be=Ie[Re],Ye.push(Be.setParent(this));return Ye},De.prototype.element=function(Se,Be,Re){var Xe,Ie,Ye,Ge,qe,it,st,Ve,Qe,nt,dt;if(it=null,Be===null&&Re==null&&(Qe=[{},null],Be=Qe[0],Re=Qe[1]),Be==null&&(Be={}),Be=ye(Be),Ce(Be)||(nt=[Be,Re],Re=nt[0],Be=nt[1]),Se!=null&&(Se=ye(Se)),Array.isArray(Se))for(Ye=0,st=Se.length;Ye<st;Ye++)Ie=Se[Ye],it=this.element(Ie);else if(Le(Se))it=this.element(Se.apply());else if(Ce(Se)){for(qe in Se)if(Me.call(Se,qe))if(dt=Se[qe],Le(dt)&&(dt=dt.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&qe.indexOf(this.stringify.convertAttKey)===0)it=this.attribute(qe.substr(this.stringify.convertAttKey.length),dt);else if(!this.options.separateArrayItems&&Array.isArray(dt)&&Ee(dt))it=this.dummy();else if(Ce(dt)&&Ee(dt))it=this.element(qe);else if(!this.options.keepNullNodes&&dt==null)it=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(dt))for(Ge=0,Ve=dt.length;Ge<Ve;Ge++)Ie=dt[Ge],Xe={},Xe[qe]=Ie,it=this.element(Xe);else Ce(dt)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&qe.indexOf(this.stringify.convertTextKey)===0?it=this.element(dt):(it=this.element(qe),it.element(dt)):it=this.element(qe,dt)}else!this.options.keepNullNodes&&Re===null?it=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Se.indexOf(this.stringify.convertTextKey)===0?it=this.text(Re):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&Se.indexOf(this.stringify.convertCDataKey)===0?it=this.cdata(Re):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&Se.indexOf(this.stringify.convertCommentKey)===0?it=this.comment(Re):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&Se.indexOf(this.stringify.convertRawKey)===0?it=this.raw(Re):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&Se.indexOf(this.stringify.convertPIKey)===0?it=this.instruction(Se.substr(this.stringify.convertPIKey.length),Re):it=this.node(Se,Be,Re);if(it==null)throw new Error("Could not create any elements with: "+Se+". "+this.debugInfo());return it},De.prototype.insertBefore=function(Se,Be,Re){var Xe,Ie,Ye,Ge,qe;if(Se!=null&&Se.type)return Ye=Se,Ge=Be,Ye.setParent(this),Ge?(Ie=children.indexOf(Ge),qe=children.splice(Ie),children.push(Ye),Array.prototype.push.apply(children,qe)):children.push(Ye),Ye;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Se));return Ie=this.parent.children.indexOf(this),qe=this.parent.children.splice(Ie),Xe=this.parent.element(Se,Be,Re),Array.prototype.push.apply(this.parent.children,qe),Xe},De.prototype.insertAfter=function(Se,Be,Re){var Xe,Ie,Ye;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Se));return Ie=this.parent.children.indexOf(this),Ye=this.parent.children.splice(Ie+1),Xe=this.parent.element(Se,Be,Re),Array.prototype.push.apply(this.parent.children,Ye),Xe},De.prototype.remove=function(){var Se,Be;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return Se=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[Se,Se-Se+1].concat(Be=[])),this.parent},De.prototype.node=function(Se,Be,Re){var Xe,Ie;return Se!=null&&(Se=ye(Se)),Be||(Be={}),Be=ye(Be),Ce(Be)||(Ie=[Be,Re],Re=Ie[0],Be=Ie[1]),Xe=new ae(this,Se,Be),Re!=null&&Xe.text(Re),this.children.push(Xe),Xe},De.prototype.text=function(Se){var Be;return Ce(Se)&&this.element(Se),Be=new Ae(this,Se),this.children.push(Be),this},De.prototype.cdata=function(Se){var Be;return Be=new ie(this,Se),this.children.push(Be),this},De.prototype.comment=function(Se){var Be;return Be=new oe(this,Se),this.children.push(Be),this},De.prototype.commentBefore=function(Se){var Be,Re,Xe;return Re=this.parent.children.indexOf(this),Xe=this.parent.children.splice(Re),Be=this.parent.comment(Se),Array.prototype.push.apply(this.parent.children,Xe),this},De.prototype.commentAfter=function(Se){var Be,Re,Xe;return Re=this.parent.children.indexOf(this),Xe=this.parent.children.splice(Re+1),Be=this.parent.comment(Se),Array.prototype.push.apply(this.parent.children,Xe),this},De.prototype.raw=function(Se){var Be;return Be=new xe(this,Se),this.children.push(Be),this},De.prototype.dummy=function(){var Se;return Se=new re(this),Se},De.prototype.instruction=function(Se,Be){var Re,Xe,Ie,Ye,Ge;if(Se!=null&&(Se=ye(Se)),Be!=null&&(Be=ye(Be)),Array.isArray(Se))for(Ye=0,Ge=Se.length;Ye<Ge;Ye++)Re=Se[Ye],this.instruction(Re);else if(Ce(Se))for(Re in Se)Me.call(Se,Re)&&(Xe=Se[Re],this.instruction(Re,Xe));else Le(Be)&&(Be=Be.apply()),Ie=new we(this,Se,Be),this.children.push(Ie);return this},De.prototype.instructionBefore=function(Se,Be){var Re,Xe,Ie;return Xe=this.parent.children.indexOf(this),Ie=this.parent.children.splice(Xe),Re=this.parent.instruction(Se,Be),Array.prototype.push.apply(this.parent.children,Ie),this},De.prototype.instructionAfter=function(Se,Be){var Re,Xe,Ie;return Xe=this.parent.children.indexOf(this),Ie=this.parent.children.splice(Xe+1),Re=this.parent.instruction(Se,Be),Array.prototype.push.apply(this.parent.children,Ie),this},De.prototype.declaration=function(Se,Be,Re){var Xe,Ie;return Xe=this.document(),Ie=new le(Xe,Se,Be,Re),Xe.children.length===0?Xe.children.unshift(Ie):Xe.children[0].type===ee.Declaration?Xe.children[0]=Ie:Xe.children.unshift(Ie),Xe.root()||Xe},De.prototype.dtd=function(Se,Be){var Re,Xe,Ie,Ye,Ge,qe,it,st,Ve,Qe;for(Xe=this.document(),Ie=new pe(Xe,Se,Be),Ve=Xe.children,Ye=Ge=0,it=Ve.length;Ge<it;Ye=++Ge)if(Re=Ve[Ye],Re.type===ee.DocType)return Xe.children[Ye]=Ie,Ie;for(Qe=Xe.children,Ye=qe=0,st=Qe.length;qe<st;Ye=++qe)if(Re=Qe[Ye],Re.isRoot)return Xe.children.splice(Ye,0,Ie),Ie;return Xe.children.push(Ie),Ie},De.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},De.prototype.root=function(){var Se;for(Se=this;Se;){if(Se.type===ee.Document)return Se.rootObject;if(Se.isRoot)return Se;Se=Se.parent}},De.prototype.document=function(){var Se;for(Se=this;Se;){if(Se.type===ee.Document)return Se;Se=Se.parent}},De.prototype.end=function(Se){return this.document().end(Se)},De.prototype.prev=function(){var Se;if(Se=this.parent.children.indexOf(this),Se<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[Se-1]},De.prototype.next=function(){var Se;if(Se=this.parent.children.indexOf(this),Se===-1||Se===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[Se+1]},De.prototype.importDocument=function(Se){var Be;return Be=Se.root().clone(),Be.parent=this,Be.isRoot=!1,this.children.push(Be),this},De.prototype.debugInfo=function(Se){var Be,Re;return Se=Se||this.name,Se==null&&!((Be=this.parent)!=null&&Be.name)?"":Se==null?"parent: <"+this.parent.name+">":(Re=this.parent)!=null&&Re.name?"node: <"+Se+">, parent: <"+this.parent.name+">":"node: <"+Se+">"},De.prototype.ele=function(Se,Be,Re){return this.element(Se,Be,Re)},De.prototype.nod=function(Se,Be,Re){return this.node(Se,Be,Re)},De.prototype.txt=function(Se){return this.text(Se)},De.prototype.dat=function(Se){return this.cdata(Se)},De.prototype.com=function(Se){return this.comment(Se)},De.prototype.ins=function(Se,Be){return this.instruction(Se,Be)},De.prototype.doc=function(){return this.document()},De.prototype.dec=function(Se,Be,Re){return this.declaration(Se,Be,Re)},De.prototype.e=function(Se,Be,Re){return this.element(Se,Be,Re)},De.prototype.n=function(Se,Be,Re){return this.node(Se,Be,Re)},De.prototype.t=function(Se){return this.text(Se)},De.prototype.d=function(Se){return this.cdata(Se)},De.prototype.c=function(Se){return this.comment(Se)},De.prototype.r=function(Se){return this.raw(Se)},De.prototype.i=function(Se,Be){return this.instruction(Se,Be)},De.prototype.u=function(){return this.up()},De.prototype.importXMLBuilder=function(Se){return this.importDocument(Se)},De.prototype.replaceChild=function(Se,Be){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.removeChild=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.appendChild=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.hasChildNodes=function(){return this.children.length!==0},De.prototype.cloneNode=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.isSupported=function(Se,Be){return!0},De.prototype.hasAttributes=function(){return this.attribs.length!==0},De.prototype.compareDocumentPosition=function(Se){var Be,Re;return Be=this,Be===Se?0:this.document()!==Se.document()?(Re=ne.Disconnected|ne.ImplementationSpecific,Math.random()<.5?Re|=ne.Preceding:Re|=ne.Following,Re):Be.isAncestor(Se)?ne.Contains|ne.Preceding:Be.isDescendant(Se)?ne.Contains|ne.Following:Be.isPreceding(Se)?ne.Preceding:ne.Following},De.prototype.isSameNode=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.lookupPrefix=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.isDefaultNamespace=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.lookupNamespaceURI=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.isEqualNode=function(Se){var Be,Re,Xe;if(Se.nodeType!==this.nodeType||Se.children.length!==this.children.length)return!1;for(Be=Re=0,Xe=this.children.length-1;0<=Xe?Re<=Xe:Re>=Xe;Be=0<=Xe?++Re:--Re)if(!this.children[Be].isEqualNode(Se.children[Be]))return!1;return!0},De.prototype.getFeature=function(Se,Be){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.setUserData=function(Se,Be,Re){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.getUserData=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},De.prototype.contains=function(Se){return Se?Se===this||this.isDescendant(Se):!1},De.prototype.isDescendant=function(Se){var Be,Re,Xe,Ie,Ye;for(Ye=this.children,Xe=0,Ie=Ye.length;Xe<Ie;Xe++)if(Be=Ye[Xe],Se===Be||(Re=Be.isDescendant(Se),Re))return!0;return!1},De.prototype.isAncestor=function(Se){return Se.isDescendant(this)},De.prototype.isPreceding=function(Se){var Be,Re;return Be=this.treePosition(Se),Re=this.treePosition(this),Be===-1||Re===-1?!1:Be<Re},De.prototype.isFollowing=function(Se){var Be,Re;return Be=this.treePosition(Se),Re=this.treePosition(this),Be===-1||Re===-1?!1:Be>Re},De.prototype.treePosition=function(Se){var Be,Re;return Re=0,Be=!1,this.foreachTreeNode(this.document(),function(Xe){if(Re++,!Be&&Xe===Se)return Be=!0}),Be?Re:-1},De.prototype.foreachTreeNode=function(Se,Be){var Re,Xe,Ie,Ye,Ge;for(Se||(Se=this.document()),Ye=Se.children,Xe=0,Ie=Ye.length;Xe<Ie;Xe++){if(Re=Ye[Xe],Ge=Be(Re))return Ge;if(Ge=this.foreachTreeNode(Re,Be),Ge)return Ge}},De}()}).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(E,je,ve){(function(){var ne;je.exports=ne=function(){function ee(ie){this.nodes=ie}return Object.defineProperty(ee.prototype,"length",{get:function(){return this.nodes.length||0}}),ee.prototype.clone=function(){return this.nodes=null},ee.prototype.item=function(ie){return this.nodes[ie]||null},ee}()}).call(this)},{}],452:[function(E,je,ve){(function(){var ne,ee,ie,oe=function(pe,re){for(var ae in re)le.call(re,ae)&&(pe[ae]=re[ae]);function ce(){this.constructor=pe}return ce.prototype=re.prototype,pe.prototype=new ce,pe.__super__=re.prototype,pe},le={}.hasOwnProperty;ne=E("./NodeType"),ee=E("./XMLCharacterData"),je.exports=ie=function(pe){oe(re,pe);function re(ae,ce,de){if(re.__super__.constructor.call(this,ae),ce==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=ne.ProcessingInstruction,this.target=this.stringify.insTarget(ce),this.name=this.target,de&&(this.value=this.stringify.insValue(de))}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ae){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(ae))},re.prototype.isEqualNode=function(ae){return!(!re.__super__.isEqualNode.apply(this,arguments).isEqualNode(ae)||ae.target!==this.target)},re}(ee)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(E,je,ve){(function(){var ne,ee,ie,oe=function(pe,re){for(var ae in re)le.call(re,ae)&&(pe[ae]=re[ae]);function ce(){this.constructor=pe}return ce.prototype=re.prototype,pe.prototype=new ce,pe.__super__=re.prototype,pe},le={}.hasOwnProperty;ne=E("./NodeType"),ee=E("./XMLNode"),je.exports=ie=function(pe){oe(re,pe);function re(ae,ce){if(re.__super__.constructor.call(this,ae),ce==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=ne.Raw,this.value=this.stringify.raw(ce)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ae){return this.options.writer.raw(this,this.options.writer.filterOptions(ae))},re}(ee)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(E,je,ve){(function(){var ne,ee,ie,oe,le=function(re,ae){for(var ce in ae)pe.call(ae,ce)&&(re[ce]=ae[ce]);function de(){this.constructor=re}return de.prototype=ae.prototype,re.prototype=new de,re.__super__=ae.prototype,re},pe={}.hasOwnProperty;ne=E("./NodeType"),oe=E("./XMLWriterBase"),ee=E("./WriterState"),je.exports=ie=function(re){le(ae,re);function ae(ce,de){this.stream=ce,ae.__super__.constructor.call(this,de)}return ae.prototype.endline=function(ce,de,me){return ce.isLastRootNode&&de.state===ee.CloseTag?"":ae.__super__.endline.call(this,ce,de,me)},ae.prototype.document=function(ce,de){var me,we,xe,Ae,ye,Ee,Le,Ce,_e;for(Le=ce.children,we=xe=0,ye=Le.length;xe<ye;we=++xe)me=Le[we],me.isLastRootNode=we===ce.children.length-1;for(de=this.filterOptions(de),Ce=ce.children,_e=[],Ae=0,Ee=Ce.length;Ae<Ee;Ae++)me=Ce[Ae],_e.push(this.writeChildNode(me,de,0));return _e},ae.prototype.attribute=function(ce,de,me){return this.stream.write(ae.__super__.attribute.call(this,ce,de,me))},ae.prototype.cdata=function(ce,de,me){return this.stream.write(ae.__super__.cdata.call(this,ce,de,me))},ae.prototype.comment=function(ce,de,me){return this.stream.write(ae.__super__.comment.call(this,ce,de,me))},ae.prototype.declaration=function(ce,de,me){return this.stream.write(ae.__super__.declaration.call(this,ce,de,me))},ae.prototype.docType=function(ce,de,me){var we,xe,Ae,ye;if(me||(me=0),this.openNode(ce,de,me),de.state=ee.OpenTag,this.stream.write(this.indent(ce,de,me)),this.stream.write("<!DOCTYPE "+ce.root().name),ce.pubID&&ce.sysID?this.stream.write(' PUBLIC "'+ce.pubID+'" "'+ce.sysID+'"'):ce.sysID&&this.stream.write(' SYSTEM "'+ce.sysID+'"'),ce.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(ce,de,me)),de.state=ee.InsideTag,ye=ce.children,xe=0,Ae=ye.length;xe<Ae;xe++)we=ye[xe],this.writeChildNode(we,de,me+1);de.state=ee.CloseTag,this.stream.write("]")}return de.state=ee.CloseTag,this.stream.write(de.spaceBeforeSlash+">"),this.stream.write(this.endline(ce,de,me)),de.state=ee.None,this.closeNode(ce,de,me)},ae.prototype.element=function(ce,de,me){var we,xe,Ae,ye,Ee,Le,Ce,_e,Me,De;me||(me=0),this.openNode(ce,de,me),de.state=ee.OpenTag,this.stream.write(this.indent(ce,de,me)+"<"+ce.name),Me=ce.attribs;for(Ce in Me)pe.call(Me,Ce)&&(we=Me[Ce],this.attribute(we,de,me));if(Ae=ce.children.length,ye=Ae===0?null:ce.children[0],Ae===0||ce.children.every(function(Se){return(Se.type===ne.Text||Se.type===ne.Raw)&&Se.value===""}))de.allowEmpty?(this.stream.write(">"),de.state=ee.CloseTag,this.stream.write("</"+ce.name+">")):(de.state=ee.CloseTag,this.stream.write(de.spaceBeforeSlash+"/>"));else if(de.pretty&&Ae===1&&(ye.type===ne.Text||ye.type===ne.Raw)&&ye.value!=null)this.stream.write(">"),de.state=ee.InsideTag,de.suppressPrettyCount++,_e=!0,this.writeChildNode(ye,de,me+1),de.suppressPrettyCount--,_e=!1,de.state=ee.CloseTag,this.stream.write("</"+ce.name+">");else{for(this.stream.write(">"+this.endline(ce,de,me)),de.state=ee.InsideTag,De=ce.children,Ee=0,Le=De.length;Ee<Le;Ee++)xe=De[Ee],this.writeChildNode(xe,de,me+1);de.state=ee.CloseTag,this.stream.write(this.indent(ce,de,me)+"</"+ce.name+">")}return this.stream.write(this.endline(ce,de,me)),de.state=ee.None,this.closeNode(ce,de,me)},ae.prototype.processingInstruction=function(ce,de,me){return this.stream.write(ae.__super__.processingInstruction.call(this,ce,de,me))},ae.prototype.raw=function(ce,de,me){return this.stream.write(ae.__super__.raw.call(this,ce,de,me))},ae.prototype.text=function(ce,de,me){return this.stream.write(ae.__super__.text.call(this,ce,de,me))},ae.prototype.dtdAttList=function(ce,de,me){return this.stream.write(ae.__super__.dtdAttList.call(this,ce,de,me))},ae.prototype.dtdElement=function(ce,de,me){return this.stream.write(ae.__super__.dtdElement.call(this,ce,de,me))},ae.prototype.dtdEntity=function(ce,de,me){return this.stream.write(ae.__super__.dtdEntity.call(this,ce,de,me))},ae.prototype.dtdNotation=function(ce,de,me){return this.stream.write(ae.__super__.dtdNotation.call(this,ce,de,me))},ae}(oe)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,je,ve){(function(){var ne,ee,ie=function(le,pe){for(var re in pe)oe.call(pe,re)&&(le[re]=pe[re]);function ae(){this.constructor=le}return ae.prototype=pe.prototype,le.prototype=new ae,le.__super__=pe.prototype,le},oe={}.hasOwnProperty;ee=E("./XMLWriterBase"),je.exports=ne=function(le){ie(pe,le);function pe(re){pe.__super__.constructor.call(this,re)}return pe.prototype.document=function(re,ae){var ce,de,me,we,xe;for(ae=this.filterOptions(ae),we="",xe=re.children,de=0,me=xe.length;de<me;de++)ce=xe[de],we+=this.writeChildNode(ce,ae,0);return ae.pretty&&we.slice(-ae.newline.length)===ae.newline&&(we=we.slice(0,-ae.newline.length)),we},pe}(ee)}).call(this)},{"./XMLWriterBase":458}],456:[function(E,je,ve){(function(){var ne,ee=function(oe,le){return function(){return oe.apply(le,arguments)}},ie={}.hasOwnProperty;je.exports=ne=function(){function oe(le){this.assertLegalName=ee(this.assertLegalName,this),this.assertLegalChar=ee(this.assertLegalChar,this);var pe,re,ae;le||(le={}),this.options=le,this.options.version||(this.options.version="1.0"),re=le.stringify||{};for(pe in re)ie.call(re,pe)&&(ae=re[pe],this[pe]=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 pe,re;if(this.options.noValidation)return le;if(pe="",this.options.version==="1.0"){if(pe=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=le.match(pe))throw new Error("Invalid character in string: "+le+" at index "+re.index)}else if(this.options.version==="1.1"&&(pe=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=le.match(pe)))throw new Error("Invalid character in string: "+le+" at index "+re.index);return le},oe.prototype.assertLegalName=function(le){var pe;if(this.options.noValidation)return le;if(this.assertLegalChar(le),pe=/^([: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(pe))throw new Error("Invalid character in name");return le},oe.prototype.textEscape=function(le){var pe;return this.options.noValidation?le:(pe=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(pe,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},oe.prototype.attEscape=function(le){var pe;return this.options.noValidation?le:(pe=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(pe,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},oe}()}).call(this)},{}],457:[function(E,je,ve){(function(){var ne,ee,ie,oe=function(pe,re){for(var ae in re)le.call(re,ae)&&(pe[ae]=re[ae]);function ce(){this.constructor=pe}return ce.prototype=re.prototype,pe.prototype=new ce,pe.__super__=re.prototype,pe},le={}.hasOwnProperty;ne=E("./NodeType"),ee=E("./XMLCharacterData"),je.exports=ie=function(pe){oe(re,pe);function re(ae,ce){if(re.__super__.constructor.call(this,ae),ce==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=ne.Text,this.value=this.stringify.text(ce)}return Object.defineProperty(re.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(re.prototype,"wholeText",{get:function(){var ae,ce,de;for(de="",ce=this.previousSibling;ce;)de=ce.data+de,ce=ce.previousSibling;for(de+=this.data,ae=this.nextSibling;ae;)de=de+ae.data,ae=ae.nextSibling;return de}}),re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ae){return this.options.writer.text(this,this.options.writer.filterOptions(ae))},re.prototype.splitText=function(ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.replaceWholeText=function(ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},re}(ee)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(E,je,ve){(function(){var ne,ee,ie,oe,le,pe,re,ae,ce,de,me,we,xe,Ae,ye,Ee,Le,Ce={}.hasOwnProperty;Le=E("./Utility").assign,ne=E("./NodeType"),ce=E("./XMLDeclaration"),de=E("./XMLDocType"),ie=E("./XMLCData"),oe=E("./XMLComment"),we=E("./XMLElement"),Ae=E("./XMLRaw"),ye=E("./XMLText"),xe=E("./XMLProcessingInstruction"),me=E("./XMLDummy"),le=E("./XMLDTDAttList"),pe=E("./XMLDTDElement"),re=E("./XMLDTDEntity"),ae=E("./XMLDTDNotation"),ee=E("./WriterState"),je.exports=Ee=function(){function _e(Me){var De,Se,Be;Me||(Me={}),this.options=Me,Se=Me.writer||{};for(De in Se)Ce.call(Se,De)&&(Be=Se[De],this["_"+De]=this[De],this[De]=Be)}return _e.prototype.filterOptions=function(Me){var De,Se,Be,Re,Xe,Ie,Ye,Ge;return Me||(Me={}),Me=Le({},this.options,Me),De={writer:this},De.pretty=Me.pretty||!1,De.allowEmpty=Me.allowEmpty||!1,De.indent=(Se=Me.indent)!=null?Se:" ",De.newline=(Be=Me.newline)!=null?Be:`
`,De.offset=(Re=Me.offset)!=null?Re:0,De.dontPrettyTextNodes=(Xe=(Ie=Me.dontPrettyTextNodes)!=null?Ie:Me.dontprettytextnodes)!=null?Xe:0,De.spaceBeforeSlash=(Ye=(Ge=Me.spaceBeforeSlash)!=null?Ge:Me.spacebeforeslash)!=null?Ye:"",De.spaceBeforeSlash===!0&&(De.spaceBeforeSlash=" "),De.suppressPrettyCount=0,De.user={},De.state=ee.None,De},_e.prototype.indent=function(Me,De,Se){var Be;return!De.pretty||De.suppressPrettyCount?"":De.pretty&&(Be=(Se||0)+De.offset+1,Be>0)?new Array(Be).join(De.indent):""},_e.prototype.endline=function(Me,De,Se){return!De.pretty||De.suppressPrettyCount?"":De.newline},_e.prototype.attribute=function(Me,De,Se){var Be;return this.openAttribute(Me,De,Se),Be=" "+Me.name+'="'+Me.value+'"',this.closeAttribute(Me,De,Se),Be},_e.prototype.cdata=function(Me,De,Se){var Be;return this.openNode(Me,De,Se),De.state=ee.OpenTag,Be=this.indent(Me,De,Se)+"<![CDATA[",De.state=ee.InsideTag,Be+=Me.value,De.state=ee.CloseTag,Be+="]]>"+this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Be},_e.prototype.comment=function(Me,De,Se){var Be;return this.openNode(Me,De,Se),De.state=ee.OpenTag,Be=this.indent(Me,De,Se)+"<!-- ",De.state=ee.InsideTag,Be+=Me.value,De.state=ee.CloseTag,Be+=" -->"+this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Be},_e.prototype.declaration=function(Me,De,Se){var Be;return this.openNode(Me,De,Se),De.state=ee.OpenTag,Be=this.indent(Me,De,Se)+"<?xml",De.state=ee.InsideTag,Be+=' version="'+Me.version+'"',Me.encoding!=null&&(Be+=' encoding="'+Me.encoding+'"'),Me.standalone!=null&&(Be+=' standalone="'+Me.standalone+'"'),De.state=ee.CloseTag,Be+=De.spaceBeforeSlash+"?>",Be+=this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Be},_e.prototype.docType=function(Me,De,Se){var Be,Re,Xe,Ie,Ye;if(Se||(Se=0),this.openNode(Me,De,Se),De.state=ee.OpenTag,Ie=this.indent(Me,De,Se),Ie+="<!DOCTYPE "+Me.root().name,Me.pubID&&Me.sysID?Ie+=' PUBLIC "'+Me.pubID+'" "'+Me.sysID+'"':Me.sysID&&(Ie+=' SYSTEM "'+Me.sysID+'"'),Me.children.length>0){for(Ie+=" [",Ie+=this.endline(Me,De,Se),De.state=ee.InsideTag,Ye=Me.children,Re=0,Xe=Ye.length;Re<Xe;Re++)Be=Ye[Re],Ie+=this.writeChildNode(Be,De,Se+1);De.state=ee.CloseTag,Ie+="]"}return De.state=ee.CloseTag,Ie+=De.spaceBeforeSlash+">",Ie+=this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Ie},_e.prototype.element=function(Me,De,Se){var Be,Re,Xe,Ie,Ye,Ge,qe,it,st,Ve,Qe,nt,dt,at;Se||(Se=0),Ve=!1,Qe="",this.openNode(Me,De,Se),De.state=ee.OpenTag,Qe+=this.indent(Me,De,Se)+"<"+Me.name,nt=Me.attribs;for(st in nt)Ce.call(nt,st)&&(Be=nt[st],Qe+=this.attribute(Be,De,Se));if(Xe=Me.children.length,Ie=Xe===0?null:Me.children[0],Xe===0||Me.children.every(function(tt){return(tt.type===ne.Text||tt.type===ne.Raw)&&tt.value===""}))De.allowEmpty?(Qe+=">",De.state=ee.CloseTag,Qe+="</"+Me.name+">"+this.endline(Me,De,Se)):(De.state=ee.CloseTag,Qe+=De.spaceBeforeSlash+"/>"+this.endline(Me,De,Se));else if(De.pretty&&Xe===1&&(Ie.type===ne.Text||Ie.type===ne.Raw)&&Ie.value!=null)Qe+=">",De.state=ee.InsideTag,De.suppressPrettyCount++,Ve=!0,Qe+=this.writeChildNode(Ie,De,Se+1),De.suppressPrettyCount--,Ve=!1,De.state=ee.CloseTag,Qe+="</"+Me.name+">"+this.endline(Me,De,Se);else{if(De.dontPrettyTextNodes){for(dt=Me.children,Ye=0,qe=dt.length;Ye<qe;Ye++)if(Re=dt[Ye],(Re.type===ne.Text||Re.type===ne.Raw)&&Re.value!=null){De.suppressPrettyCount++,Ve=!0;break}}for(Qe+=">"+this.endline(Me,De,Se),De.state=ee.InsideTag,at=Me.children,Ge=0,it=at.length;Ge<it;Ge++)Re=at[Ge],Qe+=this.writeChildNode(Re,De,Se+1);De.state=ee.CloseTag,Qe+=this.indent(Me,De,Se)+"</"+Me.name+">",Ve&&De.suppressPrettyCount--,Qe+=this.endline(Me,De,Se),De.state=ee.None}return this.closeNode(Me,De,Se),Qe},_e.prototype.writeChildNode=function(Me,De,Se){switch(Me.type){case ne.CData:return this.cdata(Me,De,Se);case ne.Comment:return this.comment(Me,De,Se);case ne.Element:return this.element(Me,De,Se);case ne.Raw:return this.raw(Me,De,Se);case ne.Text:return this.text(Me,De,Se);case ne.ProcessingInstruction:return this.processingInstruction(Me,De,Se);case ne.Dummy:return"";case ne.Declaration:return this.declaration(Me,De,Se);case ne.DocType:return this.docType(Me,De,Se);case ne.AttributeDeclaration:return this.dtdAttList(Me,De,Se);case ne.ElementDeclaration:return this.dtdElement(Me,De,Se);case ne.EntityDeclaration:return this.dtdEntity(Me,De,Se);case ne.NotationDeclaration:return this.dtdNotation(Me,De,Se);default:throw new Error("Unknown XML node type: "+Me.constructor.name)}},_e.prototype.processingInstruction=function(Me,De,Se){var Be;return this.openNode(Me,De,Se),De.state=ee.OpenTag,Be=this.indent(Me,De,Se)+"<?",De.state=ee.InsideTag,Be+=Me.target,Me.value&&(Be+=" "+Me.value),De.state=ee.CloseTag,Be+=De.spaceBeforeSlash+"?>",Be+=this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Be},_e.prototype.raw=function(Me,De,Se){var Be;return this.openNode(Me,De,Se),De.state=ee.OpenTag,Be=this.indent(Me,De,Se),De.state=ee.InsideTag,Be+=Me.value,De.state=ee.CloseTag,Be+=this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Be},_e.prototype.text=function(Me,De,Se){var Be;return this.openNode(Me,De,Se),De.state=ee.OpenTag,Be=this.indent(Me,De,Se),De.state=ee.InsideTag,Be+=Me.value,De.state=ee.CloseTag,Be+=this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Be},_e.prototype.dtdAttList=function(Me,De,Se){var Be;return this.openNode(Me,De,Se),De.state=ee.OpenTag,Be=this.indent(Me,De,Se)+"<!ATTLIST",De.state=ee.InsideTag,Be+=" "+Me.elementName+" "+Me.attributeName+" "+Me.attributeType,Me.defaultValueType!=="#DEFAULT"&&(Be+=" "+Me.defaultValueType),Me.defaultValue&&(Be+=' "'+Me.defaultValue+'"'),De.state=ee.CloseTag,Be+=De.spaceBeforeSlash+">"+this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Be},_e.prototype.dtdElement=function(Me,De,Se){var Be;return this.openNode(Me,De,Se),De.state=ee.OpenTag,Be=this.indent(Me,De,Se)+"<!ELEMENT",De.state=ee.InsideTag,Be+=" "+Me.name+" "+Me.value,De.state=ee.CloseTag,Be+=De.spaceBeforeSlash+">"+this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Be},_e.prototype.dtdEntity=function(Me,De,Se){var Be;return this.openNode(Me,De,Se),De.state=ee.OpenTag,Be=this.indent(Me,De,Se)+"<!ENTITY",De.state=ee.InsideTag,Me.pe&&(Be+=" %"),Be+=" "+Me.name,Me.value?Be+=' "'+Me.value+'"':(Me.pubID&&Me.sysID?Be+=' PUBLIC "'+Me.pubID+'" "'+Me.sysID+'"':Me.sysID&&(Be+=' SYSTEM "'+Me.sysID+'"'),Me.nData&&(Be+=" NDATA "+Me.nData)),De.state=ee.CloseTag,Be+=De.spaceBeforeSlash+">"+this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Be},_e.prototype.dtdNotation=function(Me,De,Se){var Be;return this.openNode(Me,De,Se),De.state=ee.OpenTag,Be=this.indent(Me,De,Se)+"<!NOTATION",De.state=ee.InsideTag,Be+=" "+Me.name,Me.pubID&&Me.sysID?Be+=' PUBLIC "'+Me.pubID+'" "'+Me.sysID+'"':Me.pubID?Be+=' PUBLIC "'+Me.pubID+'"':Me.sysID&&(Be+=' SYSTEM "'+Me.sysID+'"'),De.state=ee.CloseTag,Be+=De.spaceBeforeSlash+">"+this.endline(Me,De,Se),De.state=ee.None,this.closeNode(Me,De,Se),Be},_e.prototype.openNode=function(Me,De,Se){},_e.prototype.closeNode=function(Me,De,Se){},_e.prototype.openAttribute=function(Me,De,Se){},_e.prototype.closeAttribute=function(Me,De,Se){},_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(E,je,ve){(function(){var ne,ee,ie,oe,le,pe,re,ae,ce,de;de=E("./Utility"),ae=de.assign,ce=de.isFunction,ie=E("./XMLDOMImplementation"),oe=E("./XMLDocument"),le=E("./XMLDocumentCB"),re=E("./XMLStringWriter"),pe=E("./XMLStreamWriter"),ne=E("./NodeType"),ee=E("./WriterState"),je.exports.create=function(me,we,xe,Ae){var ye,Ee;if(me==null)throw new Error("Root element needs a name.");return Ae=ae({},we,xe,Ae),ye=new oe(Ae),Ee=ye.element(me),Ae.headless||(ye.declaration(Ae),(Ae.pubID!=null||Ae.sysID!=null)&&ye.dtd(Ae)),Ee},je.exports.begin=function(me,we,xe){var Ae;return ce(me)&&(Ae=[me,we],we=Ae[0],xe=Ae[1],me={}),we?new le(me,we,xe):new oe(me)},je.exports.stringWriter=function(me){return new re(me)},je.exports.streamWriter=function(me,we){return new pe(me,we)},je.exports.implementation=new ie,je.exports.nodeType=ne,je.exports.writerState=ee}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,je,ve){je.exports=ee;var ne=Object.prototype.hasOwnProperty;function ee(){for(var ie={},oe=0;oe<arguments.length;oe++){var le=arguments[oe];for(var pe in le)ne.call(le,pe)&&(ie[pe]=le[pe])}return ie}},{}],461:[function(E,je,ve){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.array.slice.js");var ne=E("buffer").Buffer,ee=E("./sha"),ie=E("./md5"),oe={sha1:ee,md5:ie},le=64,pe=ne.alloc(le);pe.fill(0);function re(de,me,we){ne.isBuffer(me)||(me=ne.from(me)),ne.isBuffer(we)||(we=ne.from(we)),me.length>le?me=de(me):me.length<le&&(me=ne.concat([me,pe],le));for(var xe=ne.alloc(le),Ae=ne.alloc(le),ye=0;ye<le;ye++)xe[ye]=me[ye]^54,Ae[ye]=me[ye]^92;var Ee=de(ne.concat([xe,we]));return de(ne.concat([Ae,Ee]))}function ae(de,me){de=de||"sha1";var we=oe[de],xe=[],Ae=0;return we||ce("algorithm:",de,"is not yet supported"),{update:function(Ee){return ne.isBuffer(Ee)||(Ee=ne.from(Ee)),xe.push(Ee),Ae+=Ee.length,this},digest:function(Ee){var Le=ne.concat(xe),Ce=me?re(we,me,Le):we(Le);return xe=null,Ee?Ce.toString(Ee):Ce}}}function ce(){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,me){return ae(de,me)},ve.createCredentials=function(){ce("sorry,createCredentials is not implemented yet")},ve.createCipher=function(){ce("sorry,createCipher is not implemented yet")},ve.createCipheriv=function(){ce("sorry,createCipheriv is not implemented yet")},ve.createDecipher=function(){ce("sorry,createDecipher is not implemented yet")},ve.createDecipheriv=function(){ce("sorry,createDecipheriv is not implemented yet")},ve.createSign=function(){ce("sorry,createSign is not implemented yet")},ve.createVerify=function(){ce("sorry,createVerify is not implemented yet")},ve.createDiffieHellman=function(){ce("sorry,createDiffieHellman is not implemented yet")},ve.pbkdf2=function(){ce("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(E,je,ve){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js");var ne=E("buffer").Buffer,ee=4,ie=ne.alloc(ee);ie.fill(0);var oe=8;function le(ae,ce){if(ae.length%ee!==0){var de=ae.length+(ee-ae.length%ee);ae=ne.concat([ae,ie],de)}for(var me=[],we=ce?ae.readInt32BE:ae.readInt32LE,xe=0;xe<ae.length;xe+=ee)me.push(we.call(ae,xe));return me}function pe(ae,ce,de){for(var me=ne.alloc(ce),we=de?me.writeInt32BE:me.writeInt32LE,xe=0;xe<ae.length;xe++)we.call(me,ae[xe],xe*4,!0);return me}function re(ae,ce,de,me){ne.isBuffer(ae)||(ae=ne.from(ae));var we=ce(le(ae,me),ae.length*oe);return pe(we,de,me)}je.exports={hash:re}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(E,je,ve){"use strict";var ne=E("./helpers");function ee(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ie(me,we){me[we>>5]|=128<<we%32,me[(we+64>>>9<<4)+14]=we;for(var xe=1732584193,Ae=-271733879,ye=-1732584194,Ee=271733878,Le=0;Le<me.length;Le+=16){var Ce=xe,_e=Ae,Me=ye,De=Ee;xe=le(xe,Ae,ye,Ee,me[Le+0],7,-680876936),Ee=le(Ee,xe,Ae,ye,me[Le+1],12,-389564586),ye=le(ye,Ee,xe,Ae,me[Le+2],17,606105819),Ae=le(Ae,ye,Ee,xe,me[Le+3],22,-1044525330),xe=le(xe,Ae,ye,Ee,me[Le+4],7,-176418897),Ee=le(Ee,xe,Ae,ye,me[Le+5],12,1200080426),ye=le(ye,Ee,xe,Ae,me[Le+6],17,-1473231341),Ae=le(Ae,ye,Ee,xe,me[Le+7],22,-45705983),xe=le(xe,Ae,ye,Ee,me[Le+8],7,1770035416),Ee=le(Ee,xe,Ae,ye,me[Le+9],12,-1958414417),ye=le(ye,Ee,xe,Ae,me[Le+10],17,-42063),Ae=le(Ae,ye,Ee,xe,me[Le+11],22,-1990404162),xe=le(xe,Ae,ye,Ee,me[Le+12],7,1804603682),Ee=le(Ee,xe,Ae,ye,me[Le+13],12,-40341101),ye=le(ye,Ee,xe,Ae,me[Le+14],17,-1502002290),Ae=le(Ae,ye,Ee,xe,me[Le+15],22,1236535329),xe=pe(xe,Ae,ye,Ee,me[Le+1],5,-165796510),Ee=pe(Ee,xe,Ae,ye,me[Le+6],9,-1069501632),ye=pe(ye,Ee,xe,Ae,me[Le+11],14,643717713),Ae=pe(Ae,ye,Ee,xe,me[Le+0],20,-373897302),xe=pe(xe,Ae,ye,Ee,me[Le+5],5,-701558691),Ee=pe(Ee,xe,Ae,ye,me[Le+10],9,38016083),ye=pe(ye,Ee,xe,Ae,me[Le+15],14,-660478335),Ae=pe(Ae,ye,Ee,xe,me[Le+4],20,-405537848),xe=pe(xe,Ae,ye,Ee,me[Le+9],5,568446438),Ee=pe(Ee,xe,Ae,ye,me[Le+14],9,-1019803690),ye=pe(ye,Ee,xe,Ae,me[Le+3],14,-187363961),Ae=pe(Ae,ye,Ee,xe,me[Le+8],20,1163531501),xe=pe(xe,Ae,ye,Ee,me[Le+13],5,-1444681467),Ee=pe(Ee,xe,Ae,ye,me[Le+2],9,-51403784),ye=pe(ye,Ee,xe,Ae,me[Le+7],14,1735328473),Ae=pe(Ae,ye,Ee,xe,me[Le+12],20,-1926607734),xe=re(xe,Ae,ye,Ee,me[Le+5],4,-378558),Ee=re(Ee,xe,Ae,ye,me[Le+8],11,-2022574463),ye=re(ye,Ee,xe,Ae,me[Le+11],16,1839030562),Ae=re(Ae,ye,Ee,xe,me[Le+14],23,-35309556),xe=re(xe,Ae,ye,Ee,me[Le+1],4,-1530992060),Ee=re(Ee,xe,Ae,ye,me[Le+4],11,1272893353),ye=re(ye,Ee,xe,Ae,me[Le+7],16,-155497632),Ae=re(Ae,ye,Ee,xe,me[Le+10],23,-1094730640),xe=re(xe,Ae,ye,Ee,me[Le+13],4,681279174),Ee=re(Ee,xe,Ae,ye,me[Le+0],11,-358537222),ye=re(ye,Ee,xe,Ae,me[Le+3],16,-722521979),Ae=re(Ae,ye,Ee,xe,me[Le+6],23,76029189),xe=re(xe,Ae,ye,Ee,me[Le+9],4,-640364487),Ee=re(Ee,xe,Ae,ye,me[Le+12],11,-421815835),ye=re(ye,Ee,xe,Ae,me[Le+15],16,530742520),Ae=re(Ae,ye,Ee,xe,me[Le+2],23,-995338651),xe=ae(xe,Ae,ye,Ee,me[Le+0],6,-198630844),Ee=ae(Ee,xe,Ae,ye,me[Le+7],10,1126891415),ye=ae(ye,Ee,xe,Ae,me[Le+14],15,-1416354905),Ae=ae(Ae,ye,Ee,xe,me[Le+5],21,-57434055),xe=ae(xe,Ae,ye,Ee,me[Le+12],6,1700485571),Ee=ae(Ee,xe,Ae,ye,me[Le+3],10,-1894986606),ye=ae(ye,Ee,xe,Ae,me[Le+10],15,-1051523),Ae=ae(Ae,ye,Ee,xe,me[Le+1],21,-2054922799),xe=ae(xe,Ae,ye,Ee,me[Le+8],6,1873313359),Ee=ae(Ee,xe,Ae,ye,me[Le+15],10,-30611744),ye=ae(ye,Ee,xe,Ae,me[Le+6],15,-1560198380),Ae=ae(Ae,ye,Ee,xe,me[Le+13],21,1309151649),xe=ae(xe,Ae,ye,Ee,me[Le+4],6,-145523070),Ee=ae(Ee,xe,Ae,ye,me[Le+11],10,-1120210379),ye=ae(ye,Ee,xe,Ae,me[Le+2],15,718787259),Ae=ae(Ae,ye,Ee,xe,me[Le+9],21,-343485551),xe=ce(xe,Ce),Ae=ce(Ae,_e),ye=ce(ye,Me),Ee=ce(Ee,De)}return Array(xe,Ae,ye,Ee)}function oe(me,we,xe,Ae,ye,Ee){return ce(de(ce(ce(we,me),ce(Ae,Ee)),ye),xe)}function le(me,we,xe,Ae,ye,Ee,Le){return oe(we&xe|~we&Ae,me,we,ye,Ee,Le)}function pe(me,we,xe,Ae,ye,Ee,Le){return oe(we&Ae|xe&~Ae,me,we,ye,Ee,Le)}function re(me,we,xe,Ae,ye,Ee,Le){return oe(we^xe^Ae,me,we,ye,Ee,Le)}function ae(me,we,xe,Ae,ye,Ee,Le){return oe(xe^(we|~Ae),me,we,ye,Ee,Le)}function ce(me,we){var xe=(me&65535)+(we&65535),Ae=(me>>16)+(we>>16)+(xe>>16);return Ae<<16|xe&65535}function de(me,we){return me<<we|me>>>32-we}je.exports=function(we){return ne.hash(we,ie,16)}},{"./helpers":462}],464:[function(E,je,ve){"use strict";var ne=E("./helpers");function ee(re,ae){re[ae>>5]|=128<<24-ae%32,re[(ae+64>>9<<4)+15]=ae;for(var ce=Array(80),de=1732584193,me=-271733879,we=-1732584194,xe=271733878,Ae=-1009589776,ye=0;ye<re.length;ye+=16){for(var Ee=de,Le=me,Ce=we,_e=xe,Me=Ae,De=0;De<80;De++){De<16?ce[De]=re[ye+De]:ce[De]=pe(ce[De-3]^ce[De-8]^ce[De-14]^ce[De-16],1);var Se=le(le(pe(de,5),ie(De,me,we,xe)),le(le(Ae,ce[De]),oe(De)));Ae=xe,xe=we,we=pe(me,30),me=de,de=Se}de=le(de,Ee),me=le(me,Le),we=le(we,Ce),xe=le(xe,_e),Ae=le(Ae,Me)}return Array(de,me,we,xe,Ae)}function ie(re,ae,ce,de){return re<20?ae&ce|~ae&de:re<40?ae^ce^de:re<60?ae&ce|ae&de|ce&de:ae^ce^de}function oe(re){return re<20?1518500249:re<40?1859775393:re<60?-1894007588:-899497514}function le(re,ae){var ce=(re&65535)+(ae&65535),de=(re>>16)+(ae>>16)+(ce>>16);return de<<16|ce&65535}function pe(re,ae){return re<<ae|re>>>32-ae}je.exports=function(ae){return ne.hash(ae,ee,20,!0)}},{"./helpers":462}],465:[function(E,je,ve){"use strict";je.exports=function(){return function(){}}},{}],466:[function(E,je,ve){(function(ne){(function(){"use strict";var ee=E("@babel/runtime/helpers/interopRequireDefault"),ie=ee(E("@babel/runtime/helpers/typeof")),oe=E("stream"),le=oe.Stream,pe=E("../lib/common/utils/isArray"),re=pe.isArray;je.exports.string=function(de){return typeof de=="string"},je.exports.array=re,je.exports.buffer=ne.isBuffer;function ae(ce){return ce instanceof le}je.exports.writableStream=function(de){return ae(de)&&typeof de._write=="function"&&(0,ie.default)(de._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../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(E,je,ve){"use strict";var ne=E("immediate"),ee=je.exports={};ee.nextTick=ne,ee.title="browser",ee.browser=!0,ee.env={},ee.argv=[],ee.version="",ee.versions={};function ie(){}ee.on=ie,ee.addListener=ie,ee.once=ie,ee.off=ie,ee.removeListener=ie,ee.removeAllListeners=ie,ee.emit=ie,ee.prependListener=ie,ee.prependOnceListener=ie,ee.listeners=function(oe){return[]},ee.binding=function(oe){throw new Error("process.binding is not supported")},ee.cwd=function(){return"/"},ee.chdir=function(oe){throw new Error("process.chdir is not supported")},ee.umask=function(){return 0}},{immediate:358}],468:[function(E,je,ve){(function(ne){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var ee=E("./lib/request"),ie=E("./lib/response"),oe=E("xtend"),le=E("builtin-status-codes"),pe=E("url"),re=ve;re.request=function(ae,ce){typeof ae=="string"?ae=pe.parse(ae):ae=oe(ae);var de=ne.location.protocol.search(/^https?:$/)===-1?"http:":"",me=ae.protocol||de,we=ae.hostname||ae.host,xe=ae.port,Ae=ae.path||"/";we&&we.indexOf(":")!==-1&&(we="["+we+"]"),ae.url=(we?me+"//"+we:"")+(xe?":"+xe:"")+Ae,ae.method=(ae.method||"GET").toUpperCase(),ae.headers=ae.headers||{};var ye=new ee(ae);return ce&&ye.on("response",ce),ye},re.get=function(ce,de){var me=re.request(ce,de);return me.end(),me},re.ClientRequest=ee,re.IncomingMessage=ie.IncomingMessage,re.Agent=function(){},re.Agent.defaultMaxSockets=4,re.globalAgent=new re.Agent,re.STATUS_CODES=le,re.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof Qt!="undefined"?Qt: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(E,je,ve){(function(ne){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),ve.fetch=re(ne.fetch)&&re(ne.ReadableStream),ve.writableStream=re(ne.WritableStream),ve.abortController=re(ne.AbortController),ve.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),ve.blobConstructor=!0}catch(ae){}var ee;function ie(){if(ee!==void 0)return ee;if(ne.XMLHttpRequest){ee=new ne.XMLHttpRequest;try{ee.open("GET",ne.XDomainRequest?"/":"https://example.com")}catch(ae){ee=null}}else ee=null;return ee}function oe(ae){var ce=ie();if(!ce)return!1;try{return ce.responseType=ae,ce.responseType===ae}catch(de){}return!1}var le=typeof ne.ArrayBuffer!="undefined",pe=le&&re(ne.ArrayBuffer.prototype.slice);ve.arraybuffer=ve.fetch||le&&oe("arraybuffer"),ve.msstream=!ve.fetch&&pe&&oe("ms-stream"),ve.mozchunkedarraybuffer=!ve.fetch&&le&&oe("moz-chunked-arraybuffer"),ve.overrideMimeType=ve.fetch||(ie()?re(ie().overrideMimeType):!1),ve.vbArray=re(ne.VBArray);function re(ae){return typeof ae=="function"}ee=null}).call(this)}).call(this,typeof Qt!="undefined"?Qt: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(E,je,ve){(function(ne,ee,ie){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var oe=E("./capability"),le=E("inherits"),pe=E("./response"),re=E("readable-stream"),ae=E("to-arraybuffer"),ce=pe.IncomingMessage,de=pe.readyStates;function me(ye,Ee){return oe.fetch&&Ee?"fetch":oe.mozchunkedarraybuffer?"moz-chunked-arraybuffer":oe.msstream?"ms-stream":oe.arraybuffer&&ye?"arraybuffer":oe.vbArray&&ye?"text:vbarray":"text"}var we=je.exports=function(ye){var Ee=this;re.Writable.call(Ee),Ee._opts=ye,Ee._body=[],Ee._headers={},ye.auth&&Ee.setHeader("Authorization","Basic "+new ie(ye.auth).toString("base64")),Object.keys(ye.headers).forEach(function(_e){Ee.setHeader(_e,ye.headers[_e])});var Le,Ce=!0;if(ye.mode==="disable-fetch"||"requestTimeout"in ye&&!oe.abortController)Ce=!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");Ee._mode=me(Le,Ce),Ee._fetchTimer=null,Ee.on("finish",function(){Ee._onFinish()})};le(we,re.Writable),we.prototype.setHeader=function(ye,Ee){var Le=this,Ce=ye.toLowerCase();Ae.indexOf(Ce)===-1&&(Le._headers[Ce]={name:ye,value:Ee})},we.prototype.getHeader=function(ye){var Ee=this._headers[ye.toLowerCase()];return Ee?Ee.value:null},we.prototype.removeHeader=function(ye){var Ee=this;delete Ee._headers[ye.toLowerCase()]},we.prototype._onFinish=function(){var ye=this;if(!ye._destroyed){var Ee=ye._opts,Le=ye._headers,Ce=null;Ee.method!=="GET"&&Ee.method!=="HEAD"&&(oe.arraybuffer?Ce=ae(ie.concat(ye._body)):oe.blobConstructor?Ce=new ee.Blob(ye._body.map(function(Re){return ae(Re)}),{type:(Le["content-type"]||{}).value||""}):Ce=ie.concat(ye._body).toString());var _e=[];if(Object.keys(Le).forEach(function(Re){var Xe=Le[Re].name,Ie=Le[Re].value;Array.isArray(Ie)?Ie.forEach(function(Ye){_e.push([Xe,Ye])}):_e.push([Xe,Ie])}),ye._mode==="fetch"){var Me=null,De=null;if(oe.abortController){var Se=new AbortController;Me=Se.signal,ye._fetchAbortController=Se,"requestTimeout"in Ee&&Ee.requestTimeout!==0&&(ye._fetchTimer=ee.setTimeout(function(){ye.emit("requestTimeout"),ye._fetchAbortController&&ye._fetchAbortController.abort()},Ee.requestTimeout))}ee.fetch(ye._opts.url,{method:ye._opts.method,headers:_e,body:Ce||void 0,mode:"cors",credentials:Ee.withCredentials?"include":"same-origin",signal:Me}).then(function(Re){ye._fetchResponse=Re,ye._connect()},function(Re){ee.clearTimeout(ye._fetchTimer),ye._destroyed||ye.emit("error",Re)})}else{var Be=ye._xhr=new ee.XMLHttpRequest;try{Be.open(ye._opts.method,ye._opts.url,!0)}catch(Re){ne.nextTick(function(){ye.emit("error",Re)});return}"responseType"in Be&&(Be.responseType=ye._mode.split(":")[0]),"withCredentials"in Be&&(Be.withCredentials=!!Ee.withCredentials),ye._mode==="text"&&"overrideMimeType"in Be&&Be.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in Ee&&(Be.timeout=Ee.requestTimeout,Be.ontimeout=function(){ye.emit("requestTimeout")}),_e.forEach(function(Re){Be.setRequestHeader(Re[0],Re[1])}),ye._response=null,Be.onreadystatechange=function(){switch(Be.readyState){case de.LOADING:case de.DONE:ye._onXHRProgress();break}},ye._mode==="moz-chunked-arraybuffer"&&(Be.onprogress=function(){ye._onXHRProgress()}),Be.onerror=function(){ye._destroyed||ye.emit("error",new Error("XHR error"))};try{Be.send(Ce)}catch(Re){ne.nextTick(function(){ye.emit("error",Re)});return}}}};function xe(ye){try{var Ee=ye.status;return Ee!==null&&Ee!==0}catch(Le){return!1}}we.prototype._onXHRProgress=function(){var ye=this;!xe(ye._xhr)||ye._destroyed||(ye._response||ye._connect(),ye._response._onXHRProgress())},we.prototype._connect=function(){var ye=this;ye._destroyed||(ye._response=new ce(ye._xhr,ye._fetchResponse,ye._mode,ye._fetchTimer),ye._response.on("error",function(Ee){ye.emit("error",Ee)}),ye.emit("response",ye._response))},we.prototype._write=function(ye,Ee,Le){var Ce=this;Ce._body.push(ye),Le()},we.prototype.abort=we.prototype.destroy=function(){var ye=this;ye._destroyed=!0,ee.clearTimeout(ye._fetchTimer),ye._response&&(ye._response._destroyed=!0),ye._xhr?ye._xhr.abort():ye._fetchAbortController&&ye._fetchAbortController.abort()},we.prototype.end=function(ye,Ee,Le){var Ce=this;typeof ye=="function"&&(Le=ye,ye=void 0),re.Writable.prototype.end.call(Ce,ye,Ee,Le)},we.prototype.flushHeaders=function(){},we.prototype.setTimeout=function(){},we.prototype.setNoDelay=function(){},we.prototype.setSocketKeepAlive=function(){};var Ae=["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,E("_process"),typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("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(E,je,ve){(function(ne,ee,ie){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var oe=E("./capability"),le=E("inherits"),pe=E("readable-stream"),re=ve.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ae=ve.IncomingMessage=function(ce,de,me,we){var xe=this;if(pe.Readable.call(xe),xe._mode=me,xe.headers={},xe.rawHeaders=[],xe.trailers={},xe.rawTrailers=[],xe.on("end",function(){ne.nextTick(function(){xe.emit("close")})}),me==="fetch"){var Ae=function Me(){Ee.read().then(function(De){if(!xe._destroyed){if(De.done){ee.clearTimeout(we),xe.push(null);return}xe.push(new ie(De.value)),Me()}}).catch(function(De){ee.clearTimeout(we),xe._destroyed||xe.emit("error",De)})};if(xe._fetchResponse=de,xe.url=de.url,xe.statusCode=de.status,xe.statusMessage=de.statusText,de.headers.forEach(function(Me,De){xe.headers[De.toLowerCase()]=Me,xe.rawHeaders.push(De,Me)}),oe.writableStream){var ye=new WritableStream({write:function(De){return new Promise(function(Se,Be){xe._destroyed?Be():xe.push(new ie(De))?Se():xe._resumeFetch=Se})},close:function(){ee.clearTimeout(we),xe._destroyed||xe.push(null)},abort:function(De){xe._destroyed||xe.emit("error",De)}});try{de.body.pipeTo(ye).catch(function(Me){ee.clearTimeout(we),xe._destroyed||xe.emit("error",Me)});return}catch(Me){}}var Ee=de.body.getReader();Ae()}else{xe._xhr=ce,xe._pos=0,xe.url=ce.responseURL,xe.statusCode=ce.status,xe.statusMessage=ce.statusText;var Le=ce.getAllResponseHeaders().split(/\r?\n/);if(Le.forEach(function(Me){var De=Me.match(/^([^:]+):\s*(.*)/);if(De){var Se=De[1].toLowerCase();Se==="set-cookie"?(xe.headers[Se]===void 0&&(xe.headers[Se]=[]),xe.headers[Se].push(De[2])):xe.headers[Se]!==void 0?xe.headers[Se]+=", "+De[2]:xe.headers[Se]=De[2],xe.rawHeaders.push(De[1],De[2])}}),xe._charset="x-user-defined",!oe.overrideMimeType){var Ce=xe.rawHeaders["mime-type"];if(Ce){var _e=Ce.match(/;\s*charset=([^;])(;|$)/);_e&&(xe._charset=_e[1].toLowerCase())}xe._charset||(xe._charset="utf-8")}}};le(ae,pe.Readable),ae.prototype._read=function(){var ce=this,de=ce._resumeFetch;de&&(ce._resumeFetch=null,de())},ae.prototype._onXHRProgress=function(){var ce=this,de=ce._xhr,me=null;switch(ce._mode){case"text:vbarray":if(de.readyState!==re.DONE)break;try{me=new ee.VBArray(de.responseBody).toArray()}catch(Ee){}if(me!==null){ce.push(new ie(me));break}case"text":try{me=de.responseText}catch(Ee){ce._mode="text:vbarray";break}if(me.length>ce._pos){var we=me.substr(ce._pos);if(ce._charset==="x-user-defined"){for(var xe=new ie(we.length),Ae=0;Ae<we.length;Ae++)xe[Ae]=we.charCodeAt(Ae)&255;ce.push(xe)}else ce.push(we,ce._charset);ce._pos=me.length}break;case"arraybuffer":if(de.readyState!==re.DONE||!de.response)break;me=de.response,ce.push(new ie(new Uint8Array(me)));break;case"moz-chunked-arraybuffer":if(me=de.response,de.readyState!==re.LOADING||!me)break;ce.push(new ie(new Uint8Array(me)));break;case"ms-stream":if(me=de.response,de.readyState!==re.LOADING)break;var ye=new ee.MSStreamReader;ye.onprogress=function(){ye.result.byteLength>ce._pos&&(ce.push(new ie(new Uint8Array(ye.result.slice(ce._pos)))),ce._pos=ye.result.byteLength)},ye.onload=function(){ce.push(null)},ye.readAsArrayBuffer(me);break}ce._xhr.readyState===re.DONE&&ce._mode!=="ms-stream"&&ce.push(null)}}).call(this)}).call(this,E("_process"),typeof Qt!="undefined"?Qt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var ie=E("punycode"),oe=E("./util");ve.parse=De,ve.resolve=Be,ve.resolveObject=Re,ve.format=Se,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 pe=/^([a-z0-9.+-]+:)/i,re=/:[0-9]*$/,ae=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ce=["<",">",'"',"`"," ","\r",`
`," "],de=["{","}","|","\\","^","`"].concat(ce),me=["'"].concat(de),we=["%","/","?",";","#"].concat(me),xe=["/","?","#"],Ae=255,ye=/^[+a-z0-9A-Z_-]{0,63}$/,Ee=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Le={javascript:!0,"javascript:":!0},Ce={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=E("querystring");function De(Xe,Ie,Ye){if(Xe&&oe.isObject(Xe)&&Xe instanceof le)return Xe;var Ge=new le;return Ge.parse(Xe,Ie,Ye),Ge}le.prototype.parse=function(Xe,Ie,Ye){if(!oe.isString(Xe))throw new TypeError("Parameter 'url' must be a string, not "+(0,ee.default)(Xe));var Ge=Xe.indexOf("?"),qe=Ge!==-1&&Ge<Xe.indexOf("#")?"?":"#",it=Xe.split(qe),st=/\\/g;it[0]=it[0].replace(st,"/"),Xe=it.join(qe);var Ve=Xe;if(Ve=Ve.trim(),!Ye&&Xe.split("#").length===1){var Qe=ae.exec(Ve);if(Qe)return this.path=Ve,this.href=Ve,this.pathname=Qe[1],Qe[2]?(this.search=Qe[2],Ie?this.query=Me.parse(this.search.substr(1)):this.query=this.search.substr(1)):Ie&&(this.search="",this.query={}),this}var nt=pe.exec(Ve);if(nt){nt=nt[0];var dt=nt.toLowerCase();this.protocol=dt,Ve=Ve.substr(nt.length)}if(Ye||nt||Ve.match(/^\/\/[^@\/]+@[^@\/]+/)){var at=Ve.substr(0,2)==="//";at&&!(nt&&Ce[nt])&&(Ve=Ve.substr(2),this.slashes=!0)}if(!Ce[nt]&&(at||nt&&!_e[nt])){for(var tt=-1,et=0;et<xe.length;et++){var ot=Ve.indexOf(xe[et]);ot!==-1&&(tt===-1||ot<tt)&&(tt=ot)}var yt,pt;tt===-1?pt=Ve.lastIndexOf("@"):pt=Ve.lastIndexOf("@",tt),pt!==-1&&(yt=Ve.slice(0,pt),Ve=Ve.slice(pt+1),this.auth=decodeURIComponent(yt)),tt=-1;for(var et=0;et<we.length;et++){var ot=Ve.indexOf(we[et]);ot!==-1&&(tt===-1||ot<tt)&&(tt=ot)}tt===-1&&(tt=Ve.length),this.host=Ve.slice(0,tt),Ve=Ve.slice(tt),this.parseHost(),this.hostname=this.hostname||"";var Pt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Pt)for(var Mt=this.hostname.split("."),et=0,ct=Mt.length;et<ct;et++){var Je=Mt[et];if(Je&&!Je.match(ye)){for(var Ze="",ue=0,he=Je.length;ue<he;ue++)Je.charCodeAt(ue)>127?Ze+="x":Ze+=Je[ue];if(!Ze.match(ye)){var He=Mt.slice(0,et),We=Mt.slice(et+1),fe=Je.match(Ee);fe&&(He.push(fe[1]),We.unshift(fe[2])),We.length&&(Ve="/"+We.join(".")+Ve),this.hostname=He.join(".");break}}}this.hostname.length>Ae?this.hostname="":this.hostname=this.hostname.toLowerCase(),Pt||(this.hostname=ie.toASCII(this.hostname));var Pe=this.port?":"+this.port:"",Fe=this.hostname||"";this.host=Fe+Pe,this.href+=this.host,Pt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Ve[0]!=="/"&&(Ve="/"+Ve))}if(!Le[dt])for(var et=0,ct=me.length;et<ct;et++){var Ke=me[et];if(Ve.indexOf(Ke)!==-1){var Ue=encodeURIComponent(Ke);Ue===Ke&&(Ue=escape(Ke)),Ve=Ve.split(Ke).join(Ue)}}var ut=Ve.indexOf("#");ut!==-1&&(this.hash=Ve.substr(ut),Ve=Ve.slice(0,ut));var vt=Ve.indexOf("?");if(vt!==-1?(this.search=Ve.substr(vt),this.query=Ve.substr(vt+1),Ie&&(this.query=Me.parse(this.query)),Ve=Ve.slice(0,vt)):Ie&&(this.search="",this.query={}),Ve&&(this.pathname=Ve),_e[dt]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Pe=this.pathname||"",lt=this.search||"";this.path=Pe+lt}return this.href=this.format(),this};function Se(Xe){return oe.isString(Xe)&&(Xe=De(Xe)),Xe instanceof le?Xe.format():le.prototype.format.call(Xe)}le.prototype.format=function(){var Xe=this.auth||"";Xe&&(Xe=encodeURIComponent(Xe),Xe=Xe.replace(/%3A/i,":"),Xe+="@");var Ie=this.protocol||"",Ye=this.pathname||"",Ge=this.hash||"",qe=!1,it="";this.host?qe=Xe+this.host:this.hostname&&(qe=Xe+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(qe+=":"+this.port)),this.query&&oe.isObject(this.query)&&Object.keys(this.query).length&&(it=Me.stringify(this.query));var st=this.search||it&&"?"+it||"";return Ie&&Ie.substr(-1)!==":"&&(Ie+=":"),this.slashes||(!Ie||_e[Ie])&&qe!==!1?(qe="//"+(qe||""),Ye&&Ye.charAt(0)!=="/"&&(Ye="/"+Ye)):qe||(qe=""),Ge&&Ge.charAt(0)!=="#"&&(Ge="#"+Ge),st&&st.charAt(0)!=="?"&&(st="?"+st),Ye=Ye.replace(/[?#]/g,function(Ve){return encodeURIComponent(Ve)}),st=st.replace("#","%23"),Ie+qe+Ye+st+Ge};function Be(Xe,Ie){return De(Xe,!1,!0).resolve(Ie)}le.prototype.resolve=function(Xe){return this.resolveObject(De(Xe,!1,!0)).format()};function Re(Xe,Ie){return Xe?De(Xe,!1,!0).resolveObject(Ie):Ie}le.prototype.resolveObject=function(Xe){if(oe.isString(Xe)){var Ie=new le;Ie.parse(Xe,!1,!0),Xe=Ie}for(var Ye=new le,Ge=Object.keys(this),qe=0;qe<Ge.length;qe++){var it=Ge[qe];Ye[it]=this[it]}if(Ye.hash=Xe.hash,Xe.href==="")return Ye.href=Ye.format(),Ye;if(Xe.slashes&&!Xe.protocol){for(var st=Object.keys(Xe),Ve=0;Ve<st.length;Ve++){var Qe=st[Ve];Qe!=="protocol"&&(Ye[Qe]=Xe[Qe])}return _e[Ye.protocol]&&Ye.hostname&&!Ye.pathname&&(Ye.path=Ye.pathname="/"),Ye.href=Ye.format(),Ye}if(Xe.protocol&&Xe.protocol!==Ye.protocol){if(!_e[Xe.protocol]){for(var nt=Object.keys(Xe),dt=0;dt<nt.length;dt++){var at=nt[dt];Ye[at]=Xe[at]}return Ye.href=Ye.format(),Ye}if(Ye.protocol=Xe.protocol,!Xe.host&&!Ce[Xe.protocol]){for(var ct=(Xe.pathname||"").split("/");ct.length&&!(Xe.host=ct.shift()););Xe.host||(Xe.host=""),Xe.hostname||(Xe.hostname=""),ct[0]!==""&&ct.unshift(""),ct.length<2&&ct.unshift(""),Ye.pathname=ct.join("/")}else Ye.pathname=Xe.pathname;if(Ye.search=Xe.search,Ye.query=Xe.query,Ye.host=Xe.host||"",Ye.auth=Xe.auth,Ye.hostname=Xe.hostname||Xe.host,Ye.port=Xe.port,Ye.pathname||Ye.search){var tt=Ye.pathname||"",et=Ye.search||"";Ye.path=tt+et}return Ye.slashes=Ye.slashes||Xe.slashes,Ye.href=Ye.format(),Ye}var ot=Ye.pathname&&Ye.pathname.charAt(0)==="/",yt=Xe.host||Xe.pathname&&Xe.pathname.charAt(0)==="/",pt=yt||ot||Ye.host&&Xe.pathname,Pt=pt,Mt=Ye.pathname&&Ye.pathname.split("/")||[],ct=Xe.pathname&&Xe.pathname.split("/")||[],Je=Ye.protocol&&!_e[Ye.protocol];if(Je&&(Ye.hostname="",Ye.port=null,Ye.host&&(Mt[0]===""?Mt[0]=Ye.host:Mt.unshift(Ye.host)),Ye.host="",Xe.protocol&&(Xe.hostname=null,Xe.port=null,Xe.host&&(ct[0]===""?ct[0]=Xe.host:ct.unshift(Xe.host)),Xe.host=null),pt=pt&&(ct[0]===""||Mt[0]==="")),yt)Ye.host=Xe.host||Xe.host===""?Xe.host:Ye.host,Ye.hostname=Xe.hostname||Xe.hostname===""?Xe.hostname:Ye.hostname,Ye.search=Xe.search,Ye.query=Xe.query,Mt=ct;else if(ct.length)Mt||(Mt=[]),Mt.pop(),Mt=Mt.concat(ct),Ye.search=Xe.search,Ye.query=Xe.query;else if(!oe.isNullOrUndefined(Xe.search)){if(Je){Ye.hostname=Ye.host=Mt.shift();var Ze=Ye.host&&Ye.host.indexOf("@")>0?Ye.host.split("@"):!1;Ze&&(Ye.auth=Ze.shift(),Ye.host=Ye.hostname=Ze.shift())}return Ye.search=Xe.search,Ye.query=Xe.query,(!oe.isNull(Ye.pathname)||!oe.isNull(Ye.search))&&(Ye.path=(Ye.pathname?Ye.pathname:"")+(Ye.search?Ye.search:"")),Ye.href=Ye.format(),Ye}if(!Mt.length)return Ye.pathname=null,Ye.search?Ye.path="/"+Ye.search:Ye.path=null,Ye.href=Ye.format(),Ye;for(var ue=Mt.slice(-1)[0],he=(Ye.host||Xe.host||Mt.length>1)&&(ue==="."||ue==="..")||ue==="",He=0,We=Mt.length;We>=0;We--)ue=Mt[We],ue==="."?Mt.splice(We,1):ue===".."?(Mt.splice(We,1),He++):He&&(Mt.splice(We,1),He--);if(!pt&&!Pt)for(;He--;He)Mt.unshift("..");pt&&Mt[0]!==""&&(!Mt[0]||Mt[0].charAt(0)!=="/")&&Mt.unshift(""),he&&Mt.join("/").substr(-1)!=="/"&&Mt.push("");var fe=Mt[0]===""||Mt[0]&&Mt[0].charAt(0)==="/";if(Je){Ye.hostname=Ye.host=fe?"":Mt.length?Mt.shift():"";var Ze=Ye.host&&Ye.host.indexOf("@")>0?Ye.host.split("@"):!1;Ze&&(Ye.auth=Ze.shift(),Ye.host=Ye.hostname=Ze.shift())}return pt=pt||Ye.host&&Mt.length,pt&&!fe&&Mt.unshift(""),Mt.length?Ye.pathname=Mt.join("/"):(Ye.pathname=null,Ye.path=null),(!oe.isNull(Ye.pathname)||!oe.isNull(Ye.search))&&(Ye.path=(Ye.pathname?Ye.pathname:"")+(Ye.search?Ye.search:"")),Ye.auth=Xe.auth||Ye.auth,Ye.slashes=Ye.slashes||Xe.slashes,Ye.href=Ye.format(),Ye},le.prototype.parseHost=function(){var Xe=this.host,Ie=re.exec(Xe);Ie&&(Ie=Ie[0],Ie!==":"&&(this.port=Ie.substr(1)),Xe=Xe.substr(0,Xe.length-Ie.length)),Xe&&(this.hostname=Xe)}},{"./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(E,je,ve){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ee=ne(E("@babel/runtime/helpers/typeof"));je.exports={isString:function(oe){return typeof oe=="string"},isObject:function(oe){return(0,ee.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(E,je,ve){"use strict";E("core-js/modules/es.number.constructor.js"),ve.encodeURIComponent=function(ne){try{return encodeURIComponent(ne)}catch(ee){return ne}},ve.escape=E("escape-html"),ve.timestamp=function(ee){if(ee){var ie=ee;return typeof ie=="string"&&(ie=Number(ie)),String(ee).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(E,je,ve){(function(ne,ee){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),oe=ie(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var le=E("util"),pe=E("url"),re=E("http"),ae=E("https"),ce=E("debug")("urllib"),de=E("humanize-ms"),me=0,we=Math.pow(2,31)-10,xe=/^https?:\/\//i;function Ae(Ce,_e){return Ce===void 0?_e:Ce}function ye(Ce){return Ce?Ce.split(";")[0].trim().toLowerCase():""}function Ee(Ce,_e){return function(Me,De,Se){if(Me)return _e(Me);Ce({data:De,status:Se.statusCode,headers:Se.headers,res:Se})}}ve.TIMEOUTS=[de("300s"),de("300s")];var Le=["json","text"];ve.request=function(_e,Me,De){return arguments.length===2&&typeof Me=="function"&&(De=Me,Me=null),typeof De=="function"?ve.requestWithCallback(_e,Me,De):new Promise(function(Se,Be){ve.requestWithCallback(_e,Me,Ee(Se,Be))})},ve.requestWithCallback=function(_e,Me,De){if(!_e||typeof _e!="string"&&(0,oe.default)(_e)!=="object"){var Se=le.format("expect request url to be a string or a http request options, but got %j",_e);throw new Error(Se)}arguments.length===2&&typeof Me=="function"&&(De=Me,Me=null),Me=Me||{},me>=we&&(me=0);var Be=++me;Me.requestUrls=Me.requestUrls||[];var Re={requestId:Be,url:_e,args:Me,ctx:Me.ctx};Me.emitter&&Me.emitter.emit("request",Re),Me.timeout=Me.timeout||ve.TIMEOUTS,Me.maxRedirects=Me.maxRedirects||10,Me.streaming=Me.streaming||Me.customResponse;var Xe=Date.now(),Ie;typeof _e=="string"?(xe.test(_e)||(_e="https://"+_e),Ie=pe.parse(_e)):Ie=_e;var Ye=(Me.type||Me.method||Ie.method||"GET").toUpperCase(),Ge=Ie.port||80,qe=re,it=Ae(Me.agent,ve.agent),st=Me.fixJSONCtlChars;Ie.protocol==="https:"&&(qe=ae,it=Ae(Me.httpsAgent,ve.httpsAgent),Ie.port||(Ge=443));var Ve={host:Ie.hostname||Ie.host||"localhost",path:Ie.path||"/",method:Ye,port:Ge,agent:it,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 Qe=Me.auth||Ie.auth;Qe&&(Ve.auth=Qe);var nt=Me.content||Me.data,dt=Ye==="GET"||Ye==="HEAD"||Me.dataAsQueryString;if(!Me.content&&nt&&!(typeof nt=="string"||ee.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+=(Ie.query?"&":"?")+nt,nt=null);var tt=0;if(nt){var et=nt.length;ee.isBuffer(nt)||(et=ee.byteLength(nt)),tt=Ve.headers["Content-Length"]=et}Me.dataType==="json"&&(Ve.headers.Accept="application/json"),typeof Me.beforeRequest=="function"&&Me.beforeRequest(Ve);var ot=null,yt=null,pt=null,Pt=!1,Mt=!1,ct=0,Je=-1,Ze=!1,ue="",he="",He=null;Me.timing&&(He={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function We(){ot&&(clearTimeout(ot),ot=null)}function fe(){yt&&(clearTimeout(yt),yt=null)}function Pe(Nt,St,ft){if(fe(),!De){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Be,ne.pid,Ve.method,_e),Nt&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),Be,ne.pid,Nt.name,Nt.message,Nt.stack);return}var Et=De;De=null;var Ft={};ft&&(Je=ft.statusCode,Ft=ft.headers);var Kt=Date.now()-Xe;He&&(He.contentDownload=Kt),ce("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Kt,ct,Je,Ve.method,Ve.host,Ve.path,Mt,He);var Zt={status:Je,statusCode:Je,headers:Ft,size:ct,aborted:Ze,rt:Kt,keepAliveSocket:Mt,data:St,requestUrls:Me.requestUrls,timing:He,remoteAddress:ue,remotePort:he};if(Nt){var rn="";it&&typeof it.getCurrentStatus=="function"&&(rn=", agent status: "+JSON.stringify(it.getCurrentStatus())),Nt.message+=", "+Ve.method+" "+_e+" "+Je+" (connected: "+Pt+", keepalive socket: "+Mt+rn+`)
headers: `+JSON.stringify(Ft),Nt.data=St,Nt.path=Ve.path,Nt.status=Je,Nt.headers=Ft,Nt.res=Zt}Et(Nt,St,Me.streaming?ft:Zt),Me.emitter&&(Re.url=_e,Re.socket=wt&&wt.connection,Re.options=Ve,Re.size=tt,Me.emitter.emit("response",{requestId:Be,error:Nt,ctx:Me.ctx,req:Re,res:Zt}))}function Fe(Nt){var St=null;if(Me.followRedirect&&statuses.redirect[Nt.statusCode]){Me._followRedirectCount=(Me._followRedirectCount||0)+1;var ft=Nt.headers.location;if(!ft)St=new Error("Got statusCode "+Nt.statusCode+" but cannot resolve next location from headers"),St.name="FollowRedirectError";else if(Me._followRedirectCount>Me.maxRedirects)St=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+_e),St.name="MaxRedirectError";else{var Et=Me.formatRedirectUrl?Me.formatRedirectUrl(_e,ft):pe.resolve(_e,ft);ce("Request#%d %s: `redirected` from %s to %s",Be,Ve.path,_e,Et),fe(),Me.headers&&Me.headers.Host&&xe.test(ft)&&(Me.headers.Host=null);var Ft=De;return De=null,ve.requestWithCallback(Et,Me,Ft),{redirect:!0,error:null}}}return{redirect:!1,error:St}}Me.gzip&&!Ve.headers["Accept-Encoding"]&&!Ve.headers["accept-encoding"]&&(Ve.headers["Accept-Encoding"]="gzip");function Ke(Nt,St,ft){var Et=Nt.headers["content-encoding"];return ft(null,St,Et)}var Ue=Me.writeStream;ce("Request#%d %s %s with headers %j, options.path: %s",Be,Ye,_e,Ve.headers,Ve.path),Me.requestUrls.push(_e);function ut(Nt){if(He&&(He.waiting=Date.now()-Xe),ce("Request#%d %s `req response` event emit: status %d, headers: %j",Be,_e,Nt.statusCode,Nt.headers),Me.streaming){var St=Fe(Nt);if(St.redirect){Nt.resume();return}return St.error?(Nt.resume(),Pe(St.error,null,Nt)):Pe(null,null,Nt)}if(Nt.on("close",function(){ce("Request#%d %s: `res close` event emit, total size %d",Be,_e,ct)}),Nt.on("error",function(){ce("Request#%d %s: `res error` event emit, total size %d",Be,_e,ct)}),Nt.on("aborted",function(){Ze=!0,ce("Request#%d %s: `res aborted` event emit, total size %d",Be,_e,ct)}),Ue){var ft=Fe(Nt);if(ft.redirect){Nt.resume();return}return ft.error?(Nt.resume(),Ue.end(),Pe(ft.error,null,Nt)):(Me.consumeWriteStream===!1?Nt.on("end",Pe.bind(null,null,null,Nt)):Ue.on("close",function(){ce("Request#%d %s: writeStream close event emitted",Be,_e),Pe(pt||null,null,Nt)}),Nt.pipe(Ue))}var Et=[];Nt.on("data",function(Ft){ce("Request#%d %s: `res data` event emit, size %d",Be,_e,Ft.length),ct+=Ft.length,Et.push(Ft)}),Nt.on("end",function(){var Ft=ee.concat(Et,ct);if(ce("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Be,_e,ct,Nt._dumped),pt)return Pe(pt,Ft,Nt);var Kt=Fe(Nt);if(Kt.error)return Pe(Kt.error,Ft,Nt);Kt.redirect||Ke(Nt,Ft,function(Zt,rn,En){if(Zt)return Pe(Zt,Ft,Nt);if(!En&&Le.indexOf(Me.dataType)>=0){try{rn=decodeBodyByCharset(rn,Nt)}catch(Hn){return ce("decodeBodyByCharset error: %s",Hn),Pe(null,rn,Nt)}if(Me.dataType==="json")if(ct===0)rn=null;else{var On=parseJSON(rn,st);On.error?Zt=On.error:rn=On.data}}Ze&&ce("Request#%d %s: Remote socket was terminated before `response.end()` was called",Be,_e),Pe(Zt,rn,Nt)})})}var vt,lt;Array.isArray(Me.timeout)?(vt=de(Me.timeout[0]),lt=de(Me.timeout[1])):vt=lt=de(Me.timeout),ce("ConnectTimeout: %d, ResponseTimeout: %d",vt,lt);function Dt(){ce("Connect timer ticking, timeout: %d",vt),ot=setTimeout(function(){ot=null,Je===-1&&(Je=-2);var Nt="Connect timeout for "+vt+"ms",St="ConnectionTimeoutError";wt.socket||(St="SocketAssignTimeoutError",Nt+=", working sockets is full"),pt=new Error(Nt),pt.name=St,pt.requestId=Be,ce("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Be,_e,pt.name,Nt,Pt),zt()},vt)}function Wt(){ce("Response timer ticking, timeout: %d",lt),yt=setTimeout(function(){yt=null;var Nt="Response timeout for "+lt+"ms",St="ResponseTimeoutError";pt=new Error(Nt),pt.name=St,pt.requestId=Be,ce("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Be,_e,pt.name,Nt,Pt),zt()},lt)}var wt;Ve.mode=Me.mode?Me.mode:"";try{wt=qe.request(Ve,ut)}catch(Nt){return Pe(Nt)}typeof window=="undefined"?Dt():wt.on("requestTimeout",function(){Je===-1&&(Je=-2);var Nt="Connect timeout for "+vt+"ms",St="ConnectionTimeoutError";pt=new Error(Nt),pt.name=St,pt.requestId=Be,zt()});function zt(){ce("Request#%d %s abort, connected: %s",Be,_e,Pt),wt.socket||(pt.noSocket=!0,Pe(pt)),wt.abort()}return He&&wt.on("finish",function(){He.requestSent=Date.now()-Xe}),wt.once("socket",function(Nt){He&&(He.queuing=Date.now()-Xe);var St=Nt.readyState;if(St==="opening"){Nt.once("lookup",function(ft,Et,Ft){ce("Request#%d %s lookup: %s, %s, %s",Be,_e,ft,Et,Ft),He&&(He.dnslookup=Date.now()-Xe),Et&&(ue=Et)}),Nt.once("connect",function(){He&&(He.connected=Date.now()-Xe),We(),Wt(),ce("Request#%d %s new socket connected",Be,_e),Pt=!0,ue||(ue=Nt.remoteAddress),he=Nt.remotePort});return}ce("Request#%d %s reuse socket connected, readyState: %s",Be,_e,St),Pt=!0,Mt=!0,ue||(ue=Nt.remoteAddress),he=Nt.remotePort,We(),Wt()}),wt.on("error",function(Nt){(Nt.name==="Error"||Nt.name==="TypeError")&&(Nt.name=Pt?"ResponseError":"RequestError"),Nt.message+=' (req "error")',ce("Request#%d %s `req error` event emit, %s: %s",Be,_e,Nt.name,Nt.message),Pe(pt||Nt)}),Ue&&Ue.once("error",function(Nt){Nt.message+=' (writeStream "error")',pt=Nt,ce("Request#%d %s `writeStream error` event emit, %s: %s",Be,_e,Nt.name,Nt.message),zt()}),Me.stream?(Me.stream.pipe(wt),Me.stream.once("error",function(Nt){Nt.message+=' (stream "error")',pt=Nt,ce("Request#%d %s `readStream error` event emit, %s: %s",Be,_e,Nt.name,Nt.message),zt()})):wt.end(nt),wt.requestId=Be,wt}}).call(this)}).call(this,E("_process"),E("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)},50371:function(kn,Qt){"use strict";function Te(){const Ne=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let bt=1;bt<arguments.length;bt++){const E=bt<0||arguments.length<=bt?void 0:arguments[bt];E&&Object.keys(E).forEach(je=>{const ve=E[je];ve!==void 0&&(Ne[je]=ve)})}return Ne}Qt.Z=Te},13845:function(kn,Qt,Te){"use strict";Te.d(Qt,{F:function(){return Ne},Z:function(){return bt}});function Ne(E){return E!=null&&E===E.window}function bt(E,je){var ve,ne;if(typeof window=="undefined")return 0;const ee=je?"scrollTop":"scrollLeft";let ie=0;return Ne(E)?ie=E[je?"pageYOffset":"pageXOffset"]:E instanceof Document?ie=E.documentElement[ee]:(E instanceof HTMLElement||E)&&(ie=E[ee]),E&&!Ne(E)&&typeof ie!="number"&&(ie=(ne=((ve=E.ownerDocument)!==null&&ve!==void 0?ve:E).documentElement)===null||ne===void 0?void 0:ne[ee]),ie}},56762:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return bt}});var Ne=Te(59301);function bt(){const[,E]=Ne.useReducer(je=>je+1,0);return E}},68031:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return je}});var Ne=Te(16089);function bt(ve,ne,ee,ie){const oe=ee-ne;return ve/=ie/2,ve<1?oe/2*ve*ve*ve+ne:oe/2*((ve-=2)*ve*ve+2)+ne}var E=Te(13845);function je(ve){let ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ee=()=>window,callback:ie,duration:oe=450}=ne,le=ee(),pe=(0,E.Z)(le,!0),re=Date.now(),ae=()=>{const de=Date.now()-re,me=bt(de>oe?oe:de,pe,ve,oe);(0,E.F)(le)?le.scrollTo(window.pageXOffset,me):le instanceof Document||le.constructor.name==="HTMLDocument"?le.documentElement.scrollTop=me:le.scrollTop=me,de<oe?(0,Ne.Z)(ae):typeof ie=="function"&&ie()};(0,Ne.Z)(ae)}},19080:function(kn,Qt,Te){"use strict";Te.d(Qt,{F:function(){return ve},Z:function(){return je}});var Ne=Te(92310),bt=Te.n(Ne);const E=null;function je(ne,ee,ie){return bt()({[`${ne}-status-success`]:ee==="success",[`${ne}-status-warning`]:ee==="warning",[`${ne}-status-error`]:ee==="error",[`${ne}-status-validating`]:ee==="validating",[`${ne}-has-feedback`]:ie})}const ve=(ne,ee)=>ee||ne},66104:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Ye}});var Ne=Te(92310),bt=Te.n(Ne),E=Te(11592),je=Te(26112),ve=Te(59301),ne=Te(92343),ee=Te(36355),ie=Te(84105),oe=Te(91857);const le=Ge=>{let{children:qe}=Ge;const{getPrefixCls:it}=ve.useContext(ee.E_),st=it("breadcrumb");return ve.createElement("li",{className:`${st}-separator`,"aria-hidden":"true"},qe===""?qe:qe||"/")};le.__ANT_BREADCRUMB_SEPARATOR=!0;var pe=le,re=function(Ge,qe){var it={};for(var st in Ge)Object.prototype.hasOwnProperty.call(Ge,st)&&qe.indexOf(st)<0&&(it[st]=Ge[st]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,st=Object.getOwnPropertySymbols(Ge);Ve<st.length;Ve++)qe.indexOf(st[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Ge,st[Ve])&&(it[st[Ve]]=Ge[st[Ve]]);return it};function ae(Ge,qe){if(Ge.title===void 0||Ge.title===null)return null;const it=Object.keys(qe).join("|");return typeof Ge.title=="object"?Ge.title:String(Ge.title).replace(new RegExp(`:(${it})`,"g"),(st,Ve)=>qe[Ve]||st)}function ce(Ge,qe,it,st){if(it==null)return null;const{className:Ve,onClick:Qe}=qe,nt=re(qe,["className","onClick"]),dt=Object.assign(Object.assign({},(0,je.Z)(nt,{data:!0,aria:!0})),{onClick:Qe});return st!==void 0?ve.createElement("a",Object.assign({},dt,{className:bt()(`${Ge}-link`,Ve),href:st}),it):ve.createElement("span",Object.assign({},dt,{className:bt()(`${Ge}-link`,Ve)}),it)}function de(Ge,qe){return(st,Ve,Qe,nt,dt)=>{if(qe)return qe(st,Ve,Qe,nt);const at=ae(st,Ve);return ce(Ge,st,at,dt)}}var me=function(Ge,qe){var it={};for(var st in Ge)Object.prototype.hasOwnProperty.call(Ge,st)&&qe.indexOf(st)<0&&(it[st]=Ge[st]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,st=Object.getOwnPropertySymbols(Ge);Ve<st.length;Ve++)qe.indexOf(st[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Ge,st[Ve])&&(it[st[Ve]]=Ge[st[Ve]]);return it};const we=Ge=>{const{prefixCls:qe,separator:it="/",children:st,menu:Ve,overlay:Qe,dropdownProps:nt,href:dt}=Ge,tt=(et=>{if(Ve||Qe){const ot=Object.assign({},nt);if(Ve){const yt=Ve||{},{items:pt}=yt,Pt=me(yt,["items"]);ot.menu=Object.assign(Object.assign({},Pt),{items:pt==null?void 0:pt.map((Mt,ct)=>{var{key:Je,title:Ze,label:ue,path:he}=Mt,He=me(Mt,["key","title","label","path"]);let We=ue!=null?ue:Ze;return he&&(We=ve.createElement("a",{href:`${dt}${he}`},We)),Object.assign(Object.assign({},He),{key:Je!=null?Je:ct,label:We})})})}else Qe&&(ot.overlay=Qe);return ve.createElement(oe.Z,Object.assign({placement:"bottom"},ot),ve.createElement("span",{className:`${qe}-overlay-link`},et,ve.createElement(ie.Z,null)))}return et})(st);return tt!=null?ve.createElement(ve.Fragment,null,ve.createElement("li",null,tt),it&&ve.createElement(pe,null,it)):null},xe=Ge=>{const{prefixCls:qe,children:it,href:st}=Ge,Ve=me(Ge,["prefixCls","children","href"]),{getPrefixCls:Qe}=ve.useContext(ee.E_),nt=Qe("breadcrumb",qe);return ve.createElement(we,Object.assign({},Ve,{prefixCls:nt}),ce(nt,Ve,it,st))};xe.__ANT_BREADCRUMB_ITEM=!0;var Ae=xe,ye=Te(17313),Ee=Te(83116),Le=Te(37613);const Ce=Ge=>{const{componentCls:qe,iconCls:it}=Ge;return{[qe]:Object.assign(Object.assign({},(0,ye.Wf)(Ge)),{color:Ge.itemColor,fontSize:Ge.fontSize,[it]:{fontSize:Ge.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ge.linkColor,transition:`color ${Ge.motionDurationMid}`,padding:`0 ${Ge.paddingXXS}px`,borderRadius:Ge.borderRadiusSM,height:Ge.lineHeight*Ge.fontSize,display:"inline-block",marginInline:-Ge.marginXXS,"&:hover":{color:Ge.linkHoverColor,backgroundColor:Ge.colorBgTextHover}},(0,ye.Qy)(Ge)),"li:last-child":{color:Ge.lastItemColor},[`${qe}-separator`]:{marginInline:Ge.separatorMargin,color:Ge.separatorColor},[`${qe}-link`]:{[`
> ${it} + span,
> ${it} + a
`]:{marginInlineStart:Ge.marginXXS}},[`${qe}-overlay-link`]:{borderRadius:Ge.borderRadiusSM,height:Ge.lineHeight*Ge.fontSize,display:"inline-block",padding:`0 ${Ge.paddingXXS}px`,marginInline:-Ge.marginXXS,[`> ${it}`]:{marginInlineStart:Ge.marginXXS,fontSize:Ge.fontSizeIcon},"&:hover":{color:Ge.linkHoverColor,backgroundColor:Ge.colorBgTextHover,a:{color:Ge.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ge.componentCls}-rtl`]:{direction:"rtl"}})}};var _e=(0,Ee.Z)("Breadcrumb",Ge=>{const qe=(0,Le.TS)(Ge,{});return[Ce(qe)]},Ge=>({itemColor:Ge.colorTextDescription,lastItemColor:Ge.colorText,iconFontSize:Ge.fontSize,linkColor:Ge.colorTextDescription,linkHoverColor:Ge.colorText,separatorColor:Ge.colorTextDescription,separatorMargin:Ge.marginXS})),Me=function(Ge,qe){var it={};for(var st in Ge)Object.prototype.hasOwnProperty.call(Ge,st)&&qe.indexOf(st)<0&&(it[st]=Ge[st]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,st=Object.getOwnPropertySymbols(Ge);Ve<st.length;Ve++)qe.indexOf(st[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Ge,st[Ve])&&(it[st[Ve]]=Ge[st[Ve]]);return it};function De(Ge){const{breadcrumbName:qe,children:it}=Ge,st=Me(Ge,["breadcrumbName","children"]),Ve=Object.assign({title:qe},st);return it&&(Ve.menu={items:it.map(Qe=>{var{breadcrumbName:nt}=Qe,dt=Me(Qe,["breadcrumbName"]);return Object.assign(Object.assign({},dt),{title:nt})})}),Ve}function Se(Ge,qe){return(0,ve.useMemo)(()=>Ge||(qe?qe.map(De):null),[Ge,qe])}var Be=function(Ge,qe){var it={};for(var st in Ge)Object.prototype.hasOwnProperty.call(Ge,st)&&qe.indexOf(st)<0&&(it[st]=Ge[st]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,st=Object.getOwnPropertySymbols(Ge);Ve<st.length;Ve++)qe.indexOf(st[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Ge,st[Ve])&&(it[st[Ve]]=Ge[st[Ve]]);return it};const Re=(Ge,qe)=>{if(qe===void 0)return qe;let it=(qe||"").replace(/^\//,"");return Object.keys(Ge).forEach(st=>{it=it.replace(`:${st}`,Ge[st])}),it},Xe=Ge=>{const{prefixCls:qe,separator:it="/",style:st,className:Ve,rootClassName:Qe,routes:nt,items:dt,children:at,itemRender:tt,params:et={}}=Ge,ot=Be(Ge,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:yt,direction:pt,breadcrumb:Pt}=ve.useContext(ee.E_);let Mt;const ct=yt("breadcrumb",qe),[Je,Ze]=_e(ct),ue=Se(dt,nt),he=de(ct,tt);if(ue&&ue.length>0){const fe=[],Pe=dt||nt;Mt=ue.map((Fe,Ke)=>{const{path:Ue,key:ut,type:vt,menu:lt,overlay:Dt,onClick:Wt,className:wt,separator:zt,dropdownProps:Nt}=Fe,St=Re(et,Ue);St!==void 0&&fe.push(St);const ft=ut!=null?ut:Ke;if(vt==="separator")return ve.createElement(pe,{key:ft},zt);const Et={},Ft=Ke===ue.length-1;lt?Et.menu=lt:Dt&&(Et.overlay=Dt);let{href:Kt}=Fe;return fe.length&&St!==void 0&&(Kt=`#/${fe.join("/")}`),ve.createElement(we,Object.assign({key:ft},Et,(0,je.Z)(Fe,{data:!0,aria:!0}),{className:wt,dropdownProps:Nt,href:Kt,separator:Ft?"":it,onClick:Wt,prefixCls:ct}),he(Fe,et,Pe,fe,Kt))})}else if(at){const fe=(0,E.Z)(at).length;Mt=(0,E.Z)(at).map((Pe,Fe)=>{if(!Pe)return Pe;const Ke=Fe===fe-1;return(0,ne.Tm)(Pe,{separator:Ke?"":it,key:Fe})})}const He=bt()(ct,Pt==null?void 0:Pt.className,{[`${ct}-rtl`]:pt==="rtl"},Ve,Qe,Ze),We=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),st);return Je(ve.createElement("nav",Object.assign({className:He,style:We},ot),ve.createElement("ol",null,Mt)))};Xe.Item=Ae,Xe.Separator=pe;var Ie=Xe,Ye=Ie},24905:function(kn,Qt,Te){"use strict";Te.d(Qt,{default:function(){return _e}});var Ne=Te(92310),bt=Te.n(Ne),E=Te(5630),je=Te(59301),ve=Te(36355),ne=Te(1684),ee=Te(32441),oe=je.createContext(null),le=Te(98447),pe=Te(14088),re=Te(4572),ae=function(Me,De){var Se={};for(var Be in Me)Object.prototype.hasOwnProperty.call(Me,Be)&&De.indexOf(Be)<0&&(Se[Be]=Me[Be]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Be=Object.getOwnPropertySymbols(Me);Re<Be.length;Re++)De.indexOf(Be[Re])<0&&Object.prototype.propertyIsEnumerable.call(Me,Be[Re])&&(Se[Be[Re]]=Me[Be[Re]]);return Se};const ce=(Me,De)=>{var Se;const{prefixCls:Be,className:Re,rootClassName:Xe,children:Ie,indeterminate:Ye=!1,style:Ge,onMouseEnter:qe,onMouseLeave:it,skipGroup:st=!1,disabled:Ve}=Me,Qe=ae(Me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:nt,direction:dt,checkbox:at}=je.useContext(ve.E_),tt=je.useContext(oe),{isFormItemInput:et}=je.useContext(ee.aM),ot=je.useContext(ne.Z),yt=(Se=(tt==null?void 0:tt.disabled)||Ve)!==null&&Se!==void 0?Se:ot,pt=je.useRef(Qe.value);je.useEffect(()=>{tt==null||tt.registerValue(Qe.value)},[]),je.useEffect(()=>{if(!st)return Qe.value!==pt.current&&(tt==null||tt.cancelValue(pt.current),tt==null||tt.registerValue(Qe.value),pt.current=Qe.value),()=>tt==null?void 0:tt.cancelValue(Qe.value)},[Qe.value]);const Pt=nt("checkbox",Be),[Mt,ct]=(0,le.ZP)(Pt),Je=Object.assign({},Qe);tt&&!st&&(Je.onChange=function(){Qe.onChange&&Qe.onChange.apply(Qe,arguments),tt.toggleOption&&tt.toggleOption({label:Ie,value:Qe.value})},Je.name=tt.name,Je.checked=tt.value.includes(Qe.value));const Ze=bt()(`${Pt}-wrapper`,{[`${Pt}-rtl`]:dt==="rtl",[`${Pt}-wrapper-checked`]:Je.checked,[`${Pt}-wrapper-disabled`]:yt,[`${Pt}-wrapper-in-form-item`]:et},at==null?void 0:at.className,Re,Xe,ct),ue=bt()({[`${Pt}-indeterminate`]:Ye},re.A,ct),he=Ye?"mixed":void 0;return Mt(je.createElement(pe.Z,{component:"Checkbox",disabled:yt},je.createElement("label",{className:Ze,style:Object.assign(Object.assign({},at==null?void 0:at.style),Ge),onMouseEnter:qe,onMouseLeave:it},je.createElement(E.Z,Object.assign({"aria-checked":he},Je,{prefixCls:Pt,className:ue,disabled:yt,ref:De})),Ie!==void 0&&je.createElement("span",null,Ie))))};var me=je.forwardRef(ce),we=Te(77654),xe=Te(2738),Ae=function(Me,De){var Se={};for(var Be in Me)Object.prototype.hasOwnProperty.call(Me,Be)&&De.indexOf(Be)<0&&(Se[Be]=Me[Be]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Be=Object.getOwnPropertySymbols(Me);Re<Be.length;Re++)De.indexOf(Be[Re])<0&&Object.prototype.propertyIsEnumerable.call(Me,Be[Re])&&(Se[Be[Re]]=Me[Be[Re]]);return Se};const ye=(Me,De)=>{const{defaultValue:Se,children:Be,options:Re=[],prefixCls:Xe,className:Ie,rootClassName:Ye,style:Ge,onChange:qe}=Me,it=Ae(Me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:st,direction:Ve}=je.useContext(ve.E_),[Qe,nt]=je.useState(it.value||Se||[]),[dt,at]=je.useState([]);je.useEffect(()=>{"value"in it&&nt(it.value||[])},[it.value]);const tt=je.useMemo(()=>Re.map(He=>typeof He=="string"||typeof He=="number"?{label:He,value:He}:He),[Re]),et=He=>{at(We=>We.filter(fe=>fe!==He))},ot=He=>{at(We=>[].concat((0,we.Z)(We),[He]))},yt=He=>{const We=Qe.indexOf(He.value),fe=(0,we.Z)(Qe);We===-1?fe.push(He.value):fe.splice(We,1),"value"in it||nt(fe),qe==null||qe(fe.filter(Pe=>dt.includes(Pe)).sort((Pe,Fe)=>{const Ke=tt.findIndex(ut=>ut.value===Pe),Ue=tt.findIndex(ut=>ut.value===Fe);return Ke-Ue}))},pt=st("checkbox",Xe),Pt=`${pt}-group`,[Mt,ct]=(0,le.ZP)(pt),Je=(0,xe.Z)(it,["value","disabled"]),Ze=Re.length?tt.map(He=>je.createElement(me,{prefixCls:pt,key:He.value.toString(),disabled:"disabled"in He?He.disabled:it.disabled,value:He.value,checked:Qe.includes(He.value),onChange:He.onChange,className:`${Pt}-item`,style:He.style,title:He.title},He.label)):Be,ue={toggleOption:yt,value:Qe,disabled:it.disabled,name:it.name,registerValue:ot,cancelValue:et},he=bt()(Pt,{[`${Pt}-rtl`]:Ve==="rtl"},Ie,Ye,ct);return Mt(je.createElement("div",Object.assign({className:he,style:Ge},Je,{ref:De}),je.createElement(oe.Provider,{value:ue},Ze)))},Ee=je.forwardRef(ye);var Le=je.memo(Ee);const Ce=me;Ce.Group=Le,Ce.__ANT_CHECKBOX=!0;var _e=Ce},98447:function(kn,Qt,Te){"use strict";Te.d(Qt,{C2:function(){return ve}});var Ne=Te(17313),bt=Te(37613),E=Te(83116);const je=ne=>{const{checkboxCls:ee}=ne,ie=`${ee}-wrapper`;return[{[`${ee}-group`]:Object.assign(Object.assign({},(0,Ne.Wf)(ne)),{display:"inline-flex",flexWrap:"wrap",columnGap:ne.marginXS,[`> ${ne.antCls}-row`]:{flex:1}}),[ie]:Object.assign(Object.assign({},(0,Ne.Wf)(ne)),{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}}}),[ee]:Object.assign(Object.assign({},(0,Ne.Wf)(ne)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ne.borderRadiusSM,alignSelf:"center",[`${ee}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ee}-inner`]:Object.assign({},(0,Ne.oN)(ne))},[`${ee}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ne.checkboxSize,height:ne.checkboxSize,direction:"ltr",backgroundColor:ne.colorBgContainer,border:`${ne.lineWidth}px ${ne.lineType} ${ne.colorBorder}`,borderRadius:ne.borderRadiusSM,borderCollapse:"separate",transition:`all ${ne.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ne.checkboxSize/14*5,height:ne.checkboxSize/14*8,border:`${ne.lineWidthBold}px solid ${ne.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ne.motionDurationFast} ${ne.motionEaseInBack}, opacity ${ne.motionDurationFast}`}},"& + span":{paddingInlineStart:ne.paddingXS,paddingInlineEnd:ne.paddingXS}})},{[`
${ie}:not(${ie}-disabled),
${ee}:not(${ee}-disabled)
`]:{[`&:hover ${ee}-inner`]:{borderColor:ne.colorPrimary}},[`${ie}:not(${ie}-disabled)`]:{[`&:hover ${ee}-checked:not(${ee}-disabled) ${ee}-inner`]:{backgroundColor:ne.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ee}-checked:not(${ee}-disabled):after`]:{borderColor:ne.colorPrimaryHover}}},{[`${ee}-checked`]:{[`${ee}-inner`]:{backgroundColor:ne.colorPrimary,borderColor:ne.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ne.motionDurationMid} ${ne.motionEaseOutBack} ${ne.motionDurationFast}`}}},[`
${ie}-checked:not(${ie}-disabled),
${ee}-checked:not(${ee}-disabled)
`]:{[`&:hover ${ee}-inner`]:{backgroundColor:ne.colorPrimaryHover,borderColor:"transparent"}}},{[ee]:{"&-indeterminate":{[`${ee}-inner`]:{backgroundColor:ne.colorBgContainer,borderColor:ne.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ne.fontSizeLG/2,height:ne.fontSizeLG/2,backgroundColor:ne.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ie}-disabled`]:{cursor:"not-allowed"},[`${ee}-disabled`]:{[`&, ${ee}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ee}-inner`]:{background:ne.colorBgContainerDisabled,borderColor:ne.colorBorder,"&:after":{borderColor:ne.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ne.colorTextDisabled},[`&${ee}-indeterminate ${ee}-inner::after`]:{background:ne.colorTextDisabled}}}]};function ve(ne,ee){const ie=(0,bt.TS)(ee,{checkboxCls:`.${ne}`,checkboxSize:ee.controlInteractiveSize});return[je(ie)]}Qt.ZP=(0,E.Z)("Checkbox",(ne,ee)=>{let{prefixCls:ie}=ee;return[ve(ie,ne)]})},93891:function(kn,Qt,Te){"use strict";var Ne=Te(59301),bt=Te(36355),E=Te(64165);const je=ve=>{const{componentName:ne}=ve,{getPrefixCls:ee}=(0,Ne.useContext)(bt.E_),ie=ee("empty");switch(ne){case"Table":case"List":return Ne.createElement(E.Z,{image:E.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return Ne.createElement(E.Z,{image:E.Z.PRESENTED_IMAGE_SIMPLE,className:`${ie}-small`});default:return Ne.createElement(E.Z,null)}};Qt.Z=je},43428:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Mt}});var Ne=Te(92310),bt=Te.n(Ne),E=Te(85899),je=Te(72190),ve=Te(43403),ne=Te(34280),ee=Te(59301),ie=ee.createContext(null),oe=ee.createContext({}),le=ie,pe=Te(18642),re=Te(60499),ae=Te(77900),ce=Te(10228),de=Te(26112),me=Te(70425),we=function(Je){var Ze=Je.prefixCls,ue=Je.className,he=Je.style,He=Je.children,We=Je.containerRef,fe=Je.id,Pe=Je.onMouseEnter,Fe=Je.onMouseOver,Ke=Je.onMouseLeave,Ue=Je.onClick,ut=Je.onKeyDown,vt=Je.onKeyUp,lt={onMouseEnter:Pe,onMouseOver:Fe,onMouseLeave:Ke,onClick:Ue,onKeyDown:ut,onKeyUp:vt},Dt=ee.useContext(oe),Wt=Dt.panel,wt=(0,me.useComposeRef)(Wt,We);return ee.createElement(ee.Fragment,null,ee.createElement("div",(0,re.Z)({id:fe,className:bt()("".concat(Ze,"-content"),ue),style:(0,E.Z)({},he),"aria-modal":"true",role:"dialog",ref:wt},lt),He))},xe=we,Ae=Te(48736);function ye(ct){return typeof ct=="string"&&String(Number(ct))===ct?((0,Ae.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ct)):ct}function Ee(ct){warning(!("wrapperClassName"in ct),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ct.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 Ce(ct,Je){var Ze,ue,he,He,We=ct.prefixCls,fe=ct.open,Pe=ct.placement,Fe=ct.inline,Ke=ct.push,Ue=ct.forceRender,ut=ct.autoFocus,vt=ct.keyboard,lt=ct.rootClassName,Dt=ct.rootStyle,Wt=ct.zIndex,wt=ct.className,zt=ct.id,Nt=ct.style,St=ct.motion,ft=ct.width,Et=ct.height,Ft=ct.children,Kt=ct.contentWrapperStyle,Zt=ct.mask,rn=ct.maskClosable,En=ct.maskMotion,On=ct.maskClassName,Hn=ct.maskStyle,Dn=ct.afterOpenChange,jn=ct.onClose,Jn=ct.onMouseEnter,br=ct.onMouseOver,sr=ct.onMouseLeave,Rn=ct.onClick,Fn=ct.onKeyDown,Gn=ct.onKeyUp,er=ee.useRef(),xr=ee.useRef(),cr=ee.useRef();ee.useImperativeHandle(Je,function(){return er.current});var Tr=function(fn){var wn=fn.keyCode,Ln=fn.shiftKey;switch(wn){case ce.Z.TAB:{if(wn===ce.Z.TAB){if(!Ln&&document.activeElement===cr.current){var Tn;(Tn=xr.current)===null||Tn===void 0||Tn.focus({preventScroll:!0})}else if(Ln&&document.activeElement===xr.current){var zn;(zn=cr.current)===null||zn===void 0||zn.focus({preventScroll:!0})}}break}case ce.Z.ESC:{jn&&vt&&(fn.stopPropagation(),jn(fn));break}}};ee.useEffect(function(){if(fe&&ut){var hn;(hn=er.current)===null||hn===void 0||hn.focus({preventScroll:!0})}},[fe]);var Dr=ee.useState(!1),Xn=(0,je.Z)(Dr,2),$n=Xn[0],wr=Xn[1],nr=ee.useContext(le),Zn;Ke===!1?Zn={distance:0}:Ke===!0?Zn={}:Zn=Ke||{};var Pr=(Ze=(ue=(he=Zn)===null||he===void 0?void 0:he.distance)!==null&&ue!==void 0?ue:nr==null?void 0:nr.pushDistance)!==null&&Ze!==void 0?Ze:180,Ht=ee.useMemo(function(){return{pushDistance:Pr,push:function(){wr(!0)},pull:function(){wr(!1)}}},[Pr]);ee.useEffect(function(){if(fe){var hn;nr==null||(hn=nr.push)===null||hn===void 0||hn.call(nr)}else{var fn;nr==null||(fn=nr.pull)===null||fn===void 0||fn.call(nr)}},[fe]),ee.useEffect(function(){return function(){var hn;nr==null||(hn=nr.pull)===null||hn===void 0||hn.call(nr)}},[]);var kt=Zt&&ee.createElement(ae.default,(0,re.Z)({key:"mask"},En,{visible:fe}),function(hn,fn){var wn=hn.className,Ln=hn.style;return ee.createElement("div",{className:bt()("".concat(We,"-mask"),wn,On),style:(0,E.Z)((0,E.Z)({},Ln),Hn),onClick:rn&&fe?jn:void 0,ref:fn})}),Rt=typeof St=="function"?St(Pe):St,Lt={};if($n&&Pr)switch(Pe){case"top":Lt.transform="translateY(".concat(Pr,"px)");break;case"bottom":Lt.transform="translateY(".concat(-Pr,"px)");break;case"left":Lt.transform="translateX(".concat(Pr,"px)");break;default:Lt.transform="translateX(".concat(-Pr,"px)");break}Pe==="left"||Pe==="right"?Lt.width=ye(ft):Lt.height=ye(Et);var Bt={onMouseEnter:Jn,onMouseOver:br,onMouseLeave:sr,onClick:Rn,onKeyDown:Fn,onKeyUp:Gn},Ut=ee.createElement(ae.default,(0,re.Z)({key:"panel"},Rt,{visible:fe,forceRender:Ue,onVisibleChanged:function(fn){Dn==null||Dn(fn)},removeOnLeave:!1,leavedClassName:"".concat(We,"-content-wrapper-hidden")}),function(hn,fn){var wn=hn.className,Ln=hn.style;return ee.createElement("div",(0,re.Z)({className:bt()("".concat(We,"-content-wrapper"),wn),style:(0,E.Z)((0,E.Z)((0,E.Z)({},Lt),Ln),Kt)},(0,de.Z)(ct,{data:!0})),ee.createElement(xe,(0,re.Z)({id:zt,containerRef:fn,prefixCls:We,className:wt,style:Nt},Bt),Ft))}),Yt=(0,E.Z)({},Dt);return Wt&&(Yt.zIndex=Wt),ee.createElement(le.Provider,{value:Ht},ee.createElement("div",{className:bt()(We,"".concat(We,"-").concat(Pe),lt,(He={},(0,pe.Z)(He,"".concat(We,"-open"),fe),(0,pe.Z)(He,"".concat(We,"-inline"),Fe),He)),style:Yt,tabIndex:-1,ref:er,onKeyDown:Tr},kt,ee.createElement("div",{tabIndex:0,ref:xr,style:Le,"aria-hidden":"true","data-sentinel":"start"}),Ut,ee.createElement("div",{tabIndex:0,ref:cr,style:Le,"aria-hidden":"true","data-sentinel":"end"})))}var _e=ee.forwardRef(Ce),Me=_e,De=function(Je){var Ze=Je.open,ue=Ze===void 0?!1:Ze,he=Je.prefixCls,He=he===void 0?"rc-drawer":he,We=Je.placement,fe=We===void 0?"right":We,Pe=Je.autoFocus,Fe=Pe===void 0?!0:Pe,Ke=Je.keyboard,Ue=Ke===void 0?!0:Ke,ut=Je.width,vt=ut===void 0?378:ut,lt=Je.mask,Dt=lt===void 0?!0:lt,Wt=Je.maskClosable,wt=Wt===void 0?!0:Wt,zt=Je.getContainer,Nt=Je.forceRender,St=Je.afterOpenChange,ft=Je.destroyOnClose,Et=Je.onMouseEnter,Ft=Je.onMouseOver,Kt=Je.onMouseLeave,Zt=Je.onClick,rn=Je.onKeyDown,En=Je.onKeyUp,On=Je.panelRef,Hn=ee.useState(!1),Dn=(0,je.Z)(Hn,2),jn=Dn[0],Jn=Dn[1],br=ee.useState(!1),sr=(0,je.Z)(br,2),Rn=sr[0],Fn=sr[1];(0,ne.Z)(function(){Fn(!0)},[]);var Gn=Rn?ue:!1,er=ee.useRef(),xr=ee.useRef();(0,ne.Z)(function(){Gn&&(xr.current=document.activeElement)},[Gn]);var cr=function(wr){var nr;if(Jn(wr),St==null||St(wr),!wr&&xr.current&&!((nr=er.current)!==null&&nr!==void 0&&nr.contains(xr.current))){var Zn;(Zn=xr.current)===null||Zn===void 0||Zn.focus({preventScroll:!0})}},Tr=ee.useMemo(function(){return{panel:On}},[On]);if(!Nt&&!jn&&!Gn&&ft)return null;var Dr={onMouseEnter:Et,onMouseOver:Ft,onMouseLeave:Kt,onClick:Zt,onKeyDown:rn,onKeyUp:En},Xn=(0,E.Z)((0,E.Z)({},Je),{},{open:Gn,prefixCls:He,placement:fe,autoFocus:Fe,keyboard:Ue,width:vt,mask:Dt,maskClosable:wt,inline:zt===!1,afterOpenChange:cr,ref:er},Dr);return ee.createElement(oe.Provider,{value:Tr},ee.createElement(ve.Z,{open:Gn||Nt||jn,autoDestroy:!1,getContainer:zt,autoLock:Dt&&(Gn||jn)},ee.createElement(Me,Xn)))},Se=De,Be=Se,Re=Te(62892),Xe=Te(36355),Ie=Te(32441),Ye=Te(47729),qe=ct=>{const{prefixCls:Je,title:Ze,footer:ue,extra:he,closeIcon:He,closable:We,onClose:fe,headerStyle:Pe,drawerStyle:Fe,bodyStyle:Ke,footerStyle:Ue,children:ut}=ct,vt=ee.useCallback(zt=>ee.createElement("button",{type:"button",onClick:fe,"aria-label":"Close",className:`${Je}-close`},zt),[fe]),[lt,Dt]=(0,Ye.Z)(We,He,vt,void 0,!0),Wt=ee.useMemo(()=>!Ze&&!lt?null:ee.createElement("div",{style:Pe,className:bt()(`${Je}-header`,{[`${Je}-header-close-only`]:lt&&!Ze&&!he})},ee.createElement("div",{className:`${Je}-header-title`},Dt,Ze&&ee.createElement("div",{className:`${Je}-title`},Ze)),he&&ee.createElement("div",{className:`${Je}-extra`},he)),[lt,Dt,he,Pe,Je,Ze]),wt=ee.useMemo(()=>{if(!ue)return null;const zt=`${Je}-footer`;return ee.createElement("div",{className:zt,style:Ue},ue)},[ue,Ue,Je]);return ee.createElement("div",{className:`${Je}-wrapper-body`,style:Fe},Wt,ee.createElement("div",{className:`${Je}-body`,style:Ke},ut),wt)},it=Te(33234),st=Te(83116),Ve=Te(37613),nt=ct=>{const{componentCls:Je,motionDurationSlow:Ze}=ct,ue={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ze}`}}};return{[Je]:{[`${Je}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Ze}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Je}-panel-motion`]:{"&-left":[ue,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[ue,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[ue,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[ue,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const dt=ct=>{const{componentCls:Je,zIndexPopup:Ze,colorBgMask:ue,colorBgElevated:he,motionDurationSlow:He,motionDurationMid:We,padding:fe,paddingLG:Pe,fontSizeLG:Fe,lineHeightLG:Ke,lineWidth:Ue,lineType:ut,colorSplit:vt,marginSM:lt,colorIcon:Dt,colorIconHover:Wt,colorText:wt,fontWeightStrong:zt,footerPaddingBlock:Nt,footerPaddingInline:St}=ct,ft=`${Je}-content-wrapper`;return{[Je]:{position:"fixed",inset:0,zIndex:Ze,pointerEvents:"none","&-pure":{position:"relative",background:he,[`&${Je}-left`]:{boxShadow:ct.boxShadowDrawerLeft},[`&${Je}-right`]:{boxShadow:ct.boxShadowDrawerRight},[`&${Je}-top`]:{boxShadow:ct.boxShadowDrawerUp},[`&${Je}-bottom`]:{boxShadow:ct.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Je}-mask`]:{position:"absolute",inset:0,zIndex:Ze,background:ue,pointerEvents:"auto"},[ft]:{position:"absolute",zIndex:Ze,maxWidth:"100vw",transition:`all ${He}`,"&-hidden":{display:"none"}},[`&-left > ${ft}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ct.boxShadowDrawerLeft},[`&-right > ${ft}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ct.boxShadowDrawerRight},[`&-top > ${ft}`]:{top:0,insetInline:0,boxShadow:ct.boxShadowDrawerUp},[`&-bottom > ${ft}`]:{bottom:0,insetInline:0,boxShadow:ct.boxShadowDrawerDown},[`${Je}-content`]:{width:"100%",height:"100%",overflow:"auto",background:he,pointerEvents:"auto"},[`${Je}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Je}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${fe}px ${Pe}px`,fontSize:Fe,lineHeight:Ke,borderBottom:`${Ue}px ${ut} ${vt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Je}-extra`]:{flex:"none"},[`${Je}-close`]:{display:"inline-block",marginInlineEnd:lt,color:Dt,fontWeight:zt,fontSize:Fe,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${We}`,textRendering:"auto","&:focus, &:hover":{color:Wt,textDecoration:"none"}},[`${Je}-title`]:{flex:1,margin:0,color:wt,fontWeight:ct.fontWeightStrong,fontSize:Fe,lineHeight:Ke},[`${Je}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Pe,overflow:"auto"},[`${Je}-footer`]:{flexShrink:0,padding:`${Nt}px ${St}px`,borderTop:`${Ue}px ${ut} ${vt}`},"&-rtl":{direction:"rtl"}}}};var at=(0,st.Z)("Drawer",ct=>{const Je=(0,Ve.TS)(ct,{});return[dt(Je),nt(Je)]},ct=>({zIndexPopup:ct.zIndexPopupBase,footerPaddingBlock:ct.paddingXS,footerPaddingInline:ct.padding})),tt=Te(11575),et=function(ct,Je){var Ze={};for(var ue in ct)Object.prototype.hasOwnProperty.call(ct,ue)&&Je.indexOf(ue)<0&&(Ze[ue]=ct[ue]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ue=Object.getOwnPropertySymbols(ct);he<ue.length;he++)Je.indexOf(ue[he])<0&&Object.prototype.propertyIsEnumerable.call(ct,ue[he])&&(Ze[ue[he]]=ct[ue[he]]);return Ze};const ot=null,yt={distance:180},pt=ct=>{var Je;const{rootClassName:Ze,width:ue,height:he,size:He="default",mask:We=!0,push:fe=yt,open:Pe,afterOpenChange:Fe,onClose:Ke,prefixCls:Ue,getContainer:ut,style:vt,className:lt,visible:Dt,afterVisibleChange:Wt}=ct,wt=et(ct,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:zt,getPrefixCls:Nt,direction:St,drawer:ft}=ee.useContext(Xe.E_),Et=Nt("drawer",Ue),[Ft,Kt]=at(Et),Zt=ut===void 0&&zt?()=>zt(document.body):ut,rn=bt()({"no-mask":!We,[`${Et}-rtl`]:St==="rtl"},Ze,Kt),En=ee.useMemo(()=>ue!=null?ue:He==="large"?736:378,[ue,He]),On=ee.useMemo(()=>he!=null?he:He==="large"?736:378,[he,He]),Hn={motionName:(0,Re.m)(Et,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Dn=Jn=>({motionName:(0,Re.m)(Et,`panel-motion-${Jn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),jn=(0,tt.H)();return Ft(ee.createElement(it.BR,null,ee.createElement(Ie.Ux,{status:!0,override:!0},ee.createElement(Be,Object.assign({prefixCls:Et,onClose:Ke,maskMotion:Hn,motion:Dn},wt,{open:Pe!=null?Pe:Dt,mask:We,push:fe,width:En,height:On,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),vt),className:bt()(ft==null?void 0:ft.className,lt),rootClassName:rn,getContainer:Zt,afterOpenChange:Fe!=null?Fe:Wt,panelRef:jn}),ee.createElement(qe,Object.assign({prefixCls:Et},wt,{onClose:Ke}))))))},Pt=ct=>{const{prefixCls:Je,style:Ze,className:ue,placement:he="right"}=ct,He=et(ct,["prefixCls","style","className","placement"]),{getPrefixCls:We}=ee.useContext(Xe.E_),fe=We("drawer",Je),[Pe,Fe]=at(fe),Ke=bt()(fe,`${fe}-pure`,`${fe}-${he}`,Fe,ue);return Pe(ee.createElement("div",{className:Ke,style:Ze},ee.createElement(qe,Object.assign({prefixCls:fe},He))))};pt._InternalPanelDoNotUseOrYouWillBeFired=Pt;var Mt=pt},91857:function(kn,Qt,Te){"use strict";var Ne=Te(59301),bt=Te(38819),E=Te(92310),je=Te.n(E),ve=Te(31561),ne=Te(70425),ee=Te(18929),ie=Te(2738),oe=Te(79676),le=Te(53487),pe=Te(92343),re=Te(36355),ae=Te(20834),ce=Te(40875),de=Te(88088),me=Te(47211);const we=null,xe=Le=>{const{menu:Ce,arrow:_e,prefixCls:Me,children:De,trigger:Se,disabled:Be,dropdownRender:Re,getPopupContainer:Xe,overlayClassName:Ie,rootClassName:Ye,open:Ge,onOpenChange:qe,visible:it,onVisibleChange:st,mouseEnterDelay:Ve=.15,mouseLeaveDelay:Qe=.1,autoAdjustOverflow:nt=!0,placement:dt="",overlay:at,transitionName:tt}=Le,{getPopupContainer:et,getPrefixCls:ot,direction:yt}=Ne.useContext(re.E_),pt=Ne.useMemo(()=>{const lt=ot();return tt!==void 0?tt:dt.includes("top")?`${lt}-slide-down`:`${lt}-slide-up`},[ot,dt,tt]),Pt=Ne.useMemo(()=>dt?dt.includes("Center")?dt.slice(0,dt.indexOf("Center")):dt:yt==="rtl"?"bottomRight":"bottomLeft",[dt,yt]),Mt=ot("dropdown",Me),[ct,Je]=(0,me.Z)(Mt),[,Ze]=(0,de.Z)(),ue=Ne.Children.only(De),he=(0,pe.Tm)(ue,{className:je()(`${Mt}-trigger`,{[`${Mt}-rtl`]:yt==="rtl"},ue.props.className),disabled:Be}),He=Be?[]:Se;let We;He&&He.includes("contextMenu")&&(We=!0);const[fe,Pe]=(0,ee.Z)(!1,{value:Ge!=null?Ge:it}),Fe=(0,ne.useEvent)(lt=>{qe==null||qe(lt),st==null||st(lt),Pe(lt)}),Ke=je()(Ie,Ye,Je,{[`${Mt}-rtl`]:yt==="rtl"}),Ue=(0,oe.Z)({arrowPointAtCenter:typeof _e=="object"&&_e.pointAtCenter,autoAdjustOverflow:nt,offset:Ze.marginXXS,arrowWidth:_e?Ze.sizePopupArrow:0,borderRadius:Ze.borderRadius}),ut=Ne.useCallback(()=>{Pe(!1)},[]),vt=()=>{let lt;return Ce!=null&&Ce.items?lt=Ne.createElement(ae.default,Object.assign({},Ce)):typeof at=="function"?lt=at():lt=at,Re&&(lt=Re(lt)),lt=Ne.Children.only(typeof lt=="string"?Ne.createElement("span",null,lt):lt),Ne.createElement(ce.J,{prefixCls:`${Mt}-menu`,expandIcon:Ne.createElement("span",{className:`${Mt}-menu-submenu-arrow`},Ne.createElement(bt.Z,{className:`${Mt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ut,validator:Dt=>{let{mode:Wt}=Dt}},lt)};return ct(Ne.createElement(ve.Z,Object.assign({alignPoint:We},(0,ie.Z)(Le,["rootClassName"]),{mouseEnterDelay:Ve,mouseLeaveDelay:Qe,visible:fe,builtinPlacements:Ue,arrow:!!_e,overlayClassName:Ke,prefixCls:Mt,getPopupContainer:Xe||et,transitionName:pt,trigger:He,overlay:vt,placement:Pt,onVisibleChange:Fe}),he))};function Ae(Le){return Object.assign(Object.assign({},Le),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ye=(0,le.Z)(xe,"dropdown",Le=>Le,Ae),Ee=Le=>Ne.createElement(ye,Object.assign({},Le),Ne.createElement("span",null));xe._InternalPanelDoNotUseOrYouWillBeFired=Ee,Qt.Z=xe},38854:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return de}});var Ne=Te(91857),bt=Te(92310),E=Te.n(bt),je=Te(59301),ve=Te(18785),ne=Te(3113),ee=Te(36355),ie=Te(81327),oe=Te(33234),le=Te(47211),pe=function(me,we){var xe={};for(var Ae in me)Object.prototype.hasOwnProperty.call(me,Ae)&&we.indexOf(Ae)<0&&(xe[Ae]=me[Ae]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Ae=Object.getOwnPropertySymbols(me);ye<Ae.length;ye++)we.indexOf(Ae[ye])<0&&Object.prototype.propertyIsEnumerable.call(me,Ae[ye])&&(xe[Ae[ye]]=me[Ae[ye]]);return xe};const re=me=>{const{getPopupContainer:we,getPrefixCls:xe,direction:Ae}=je.useContext(ee.E_),{prefixCls:ye,type:Ee="default",danger:Le,disabled:Ce,loading:_e,onClick:Me,htmlType:De,children:Se,className:Be,menu:Re,arrow:Xe,autoFocus:Ie,overlay:Ye,trigger:Ge,align:qe,open:it,onOpenChange:st,placement:Ve,getPopupContainer:Qe,href:nt,icon:dt=je.createElement(ve.Z,null),title:at,buttonsRender:tt=vt=>vt,mouseEnterDelay:et,mouseLeaveDelay:ot,overlayClassName:yt,overlayStyle:pt,destroyPopupOnHide:Pt,dropdownRender:Mt}=me,ct=pe(me,["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"]),Je=xe("dropdown",ye),Ze=`${Je}-button`,[ue,he]=(0,le.Z)(Je),He={menu:Re,arrow:Xe,autoFocus:Ie,align:qe,disabled:Ce,trigger:Ce?[]:Ge,onOpenChange:st,getPopupContainer:Qe||we,mouseEnterDelay:et,mouseLeaveDelay:ot,overlayClassName:yt,overlayStyle:pt,destroyPopupOnHide:Pt,dropdownRender:Mt},{compactSize:We,compactItemClassnames:fe}=(0,oe.ri)(Je,Ae),Pe=E()(Ze,fe,Be,he);"overlay"in me&&(He.overlay=Ye),"open"in me&&(He.open=it),"placement"in me?He.placement=Ve:He.placement=Ae==="rtl"?"bottomLeft":"bottomRight";const Fe=je.createElement(ne.ZP,{type:Ee,danger:Le,disabled:Ce,loading:_e,onClick:Me,htmlType:De,href:nt,title:at},Se),Ke=je.createElement(ne.ZP,{type:Ee,danger:Le,icon:dt}),[Ue,ut]=tt([Fe,Ke]);return ue(je.createElement(ie.Z.Compact,Object.assign({className:Pe,size:We,block:!0},ct),Ue,je.createElement(Ne.Z,Object.assign({},He),ut)))};re.__ANT_BUTTON=!0;var ae=re;const ce=Ne.Z;ce.Button=ae;var de=ce},47211:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return pe}});var Ne=Te(17313),bt=Te(13826),E=Te(92899),je=Te(29878),ve=Te(19447),ne=Te(83116),ee=Te(37613),oe=re=>{const{componentCls:ae,menuCls:ce,colorError:de,colorTextLightSolid:me}=re,we=`${ce}-item`;return{[`${ae}, ${ae}-menu-submenu`]:{[`${ce} ${we}`]:{[`&${we}-danger:not(${we}-disabled)`]:{color:de,"&:hover":{color:me,backgroundColor:de}}}}}};const le=re=>{const{componentCls:ae,menuCls:ce,zIndexPopup:de,dropdownArrowDistance:me,sizePopupArrow:we,antCls:xe,iconCls:Ae,motionDurationMid:ye,dropdownPaddingVertical:Ee,fontSize:Le,dropdownEdgeChildPadding:Ce,colorTextDisabled:_e,fontSizeIcon:Me,controlPaddingHorizontal:De,colorBgElevated:Se}=re;return[{[ae]:Object.assign(Object.assign({},(0,Ne.Wf)(re)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:de,display:"block","&::before":{position:"absolute",insetBlock:-me+we/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${xe}-btn`]:{[`& > ${Ae}-down, & > ${xe}-btn-icon > ${Ae}-down`]:{fontSize:Me}},[`${ae}-wrap`]:{position:"relative",[`${xe}-btn > ${Ae}-down`]:{fontSize:Me},[`${Ae}-down::before`]:{transition:`transform ${ye}`}},[`${ae}-wrap-open`]:{[`${Ae}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${xe}-slide-down-enter${xe}-slide-down-enter-active${ae}-placement-bottomLeft,
&${xe}-slide-down-appear${xe}-slide-down-appear-active${ae}-placement-bottomLeft,
&${xe}-slide-down-enter${xe}-slide-down-enter-active${ae}-placement-bottom,
&${xe}-slide-down-appear${xe}-slide-down-appear-active${ae}-placement-bottom,
&${xe}-slide-down-enter${xe}-slide-down-enter-active${ae}-placement-bottomRight,
&${xe}-slide-down-appear${xe}-slide-down-appear-active${ae}-placement-bottomRight`]:{animationName:bt.fJ},[`&${xe}-slide-up-enter${xe}-slide-up-enter-active${ae}-placement-topLeft,
&${xe}-slide-up-appear${xe}-slide-up-appear-active${ae}-placement-topLeft,
&${xe}-slide-up-enter${xe}-slide-up-enter-active${ae}-placement-top,
&${xe}-slide-up-appear${xe}-slide-up-appear-active${ae}-placement-top,
&${xe}-slide-up-enter${xe}-slide-up-enter-active${ae}-placement-topRight,
&${xe}-slide-up-appear${xe}-slide-up-appear-active${ae}-placement-topRight`]:{animationName:bt.Qt},[`&${xe}-slide-down-leave${xe}-slide-down-leave-active${ae}-placement-bottomLeft,
&${xe}-slide-down-leave${xe}-slide-down-leave-active${ae}-placement-bottom,
&${xe}-slide-down-leave${xe}-slide-down-leave-active${ae}-placement-bottomRight`]:{animationName:bt.Uw},[`&${xe}-slide-up-leave${xe}-slide-up-leave-active${ae}-placement-topLeft,
&${xe}-slide-up-leave${xe}-slide-up-leave-active${ae}-placement-top,
&${xe}-slide-up-leave${xe}-slide-up-leave-active${ae}-placement-topRight`]:{animationName:bt.ly}})},(0,ve.ZP)(re,{colorBg:Se,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ae} ${ce}`]:{position:"relative",margin:0},[`${ce}-submenu-popup`]:{position:"absolute",zIndex:de,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ae}, ${ae}-menu-submenu`]:{[ce]:Object.assign(Object.assign({padding:Ce,listStyleType:"none",backgroundColor:Se,backgroundClip:"padding-box",borderRadius:re.borderRadiusLG,outline:"none",boxShadow:re.boxShadowSecondary},(0,Ne.Qy)(re)),{[`${ce}-item-group-title`]:{padding:`${Ee}px ${De}px`,color:re.colorTextDescription,transition:`all ${ye}`},[`${ce}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ce}-item-icon`]:{minWidth:Le,marginInlineEnd:re.marginXS,fontSize:re.fontSizeSM},[`${ce}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ye}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ce}-item, ${ce}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${Ee}px ${De}px`,color:re.colorText,fontWeight:"normal",fontSize:Le,lineHeight:re.lineHeight,cursor:"pointer",transition:`all ${ye}`,borderRadius:re.borderRadiusSM,"&:hover, &-active":{backgroundColor:re.controlItemBgHover}},(0,Ne.Qy)(re)),{"&-selected":{color:re.colorPrimary,backgroundColor:re.controlItemBgActive,"&:hover, &-active":{backgroundColor:re.controlItemBgActiveHover}},"&-disabled":{color:_e,cursor:"not-allowed","&:hover":{color:_e,backgroundColor:Se,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${re.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:re.colorSplit},[`${ae}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:re.paddingXS,[`${ae}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:re.colorTextDescription,fontSize:Me,fontStyle:"normal"}}}),[`${ce}-item-group-list`]:{margin:`0 ${re.marginXS}px`,padding:0,listStyle:"none"},[`${ce}-submenu-title`]:{paddingInlineEnd:De+re.fontSizeSM},[`${ce}-submenu-vertical`]:{position:"relative"},[`${ce}-submenu${ce}-submenu-disabled ${ae}-menu-submenu-title`]:{[`&, ${ae}-menu-submenu-arrow-icon`]:{color:_e,backgroundColor:Se,cursor:"not-allowed"}},[`${ce}-submenu-selected ${ae}-menu-submenu-title`]:{color:re.colorPrimary}})}},[(0,bt.oN)(re,"slide-up"),(0,bt.oN)(re,"slide-down"),(0,E.Fm)(re,"move-up"),(0,E.Fm)(re,"move-down"),(0,je._y)(re,"zoom-big")]]};var pe=(0,ne.Z)("Dropdown",(re,ae)=>{let{rootPrefixCls:ce}=ae;const{marginXXS:de,sizePopupArrow:me,controlHeight:we,fontSize:xe,lineHeight:Ae,paddingXXS:ye,componentCls:Ee,borderRadiusLG:Le}=re,Ce=(we-xe*Ae)/2,{dropdownArrowOffset:_e}=(0,ve.fS)({contentRadius:Le}),Me=(0,ee.TS)(re,{menuCls:`${Ee}-menu`,rootPrefixCls:ce,dropdownArrowDistance:me/2+de,dropdownArrowOffset:_e,dropdownPaddingVertical:Ce,dropdownEdgeChildPadding:ye});return[le(Me),oe(Me)]},re=>({zIndexPopup:re.zIndexPopupBase+50}))},64165:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ye}});var Ne=Te(92310),bt=Te.n(Ne),E=Te(59301),je=Te(36355),ve=Te(9763),ne=Te(64993),ee=Te(88088),oe=()=>{const[,Ee]=(0,ee.Z)(),Ce=new ne.C(Ee.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return E.createElement("svg",{style:Ce,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},E.createElement("g",{fill:"none",fillRule:"evenodd"},E.createElement("g",{transform:"translate(24 31.67)"},E.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),E.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"}),E.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)"}),E.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"}),E.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"})),E.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"}),E.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},E.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),E.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},pe=()=>{const[,Ee]=(0,ee.Z)(),{colorFill:Le,colorFillTertiary:Ce,colorFillQuaternary:_e,colorBgContainer:Me}=Ee,{borderColor:De,shadowColor:Se,contentColor:Be}=(0,E.useMemo)(()=>({borderColor:new ne.C(Le).onBackground(Me).toHexShortString(),shadowColor:new ne.C(Ce).onBackground(Me).toHexShortString(),contentColor:new ne.C(_e).onBackground(Me).toHexShortString()}),[Le,Ce,_e,Me]);return E.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},E.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},E.createElement("ellipse",{fill:Se,cx:"32",cy:"33",rx:"32",ry:"7"}),E.createElement("g",{fillRule:"nonzero",stroke:De},E.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"}),E.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:Be}))))},re=Te(83116),ae=Te(37613);const ce=Ee=>{const{componentCls:Le,margin:Ce,marginXS:_e,marginXL:Me,fontSize:De,lineHeight:Se}=Ee;return{[Le]:{marginInline:_e,fontSize:De,lineHeight:Se,textAlign:"center",[`${Le}-image`]:{height:Ee.emptyImgHeight,marginBottom:_e,opacity:Ee.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Le}-description`]:{color:Ee.colorText},[`${Le}-footer`]:{marginTop:Ce},"&-normal":{marginBlock:Me,color:Ee.colorTextDisabled,[`${Le}-description`]:{color:Ee.colorTextDisabled},[`${Le}-image`]:{height:Ee.emptyImgHeightMD}},"&-small":{marginBlock:_e,color:Ee.colorTextDisabled,[`${Le}-image`]:{height:Ee.emptyImgHeightSM}}}}};var de=(0,re.Z)("Empty",Ee=>{const{componentCls:Le,controlHeightLG:Ce}=Ee,_e=(0,ae.TS)(Ee,{emptyImgCls:`${Le}-img`,emptyImgHeight:Ce*2.5,emptyImgHeightMD:Ce,emptyImgHeightSM:Ce*.875});return[ce(_e)]}),me=function(Ee,Le){var Ce={};for(var _e in Ee)Object.prototype.hasOwnProperty.call(Ee,_e)&&Le.indexOf(_e)<0&&(Ce[_e]=Ee[_e]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,_e=Object.getOwnPropertySymbols(Ee);Me<_e.length;Me++)Le.indexOf(_e[Me])<0&&Object.prototype.propertyIsEnumerable.call(Ee,_e[Me])&&(Ce[_e[Me]]=Ee[_e[Me]]);return Ce};const we=E.createElement(oe,null),xe=E.createElement(pe,null),Ae=Ee=>{var{className:Le,rootClassName:Ce,prefixCls:_e,image:Me=we,description:De,children:Se,imageStyle:Be,style:Re}=Ee,Xe=me(Ee,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Ie,direction:Ye,empty:Ge}=E.useContext(je.E_),qe=Ie("empty",_e),[it,st]=de(qe),[Ve]=(0,ve.Z)("Empty"),Qe=typeof De!="undefined"?De:Ve==null?void 0:Ve.description,nt=typeof Qe=="string"?Qe:"empty";let dt=null;return typeof Me=="string"?dt=E.createElement("img",{alt:nt,src:Me}):dt=Me,it(E.createElement("div",Object.assign({className:bt()(st,qe,Ge==null?void 0:Ge.className,{[`${qe}-normal`]:Me===xe,[`${qe}-rtl`]:Ye==="rtl"},Le,Ce),style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),Re)},Xe),E.createElement("div",{className:`${qe}-image`,style:Be},dt),Qe&&E.createElement("div",{className:`${qe}-description`},Qe),Se&&E.createElement("div",{className:`${qe}-footer`},Se)))};Ae.PRESENTED_IMAGE_DEFAULT=we,Ae.PRESENTED_IMAGE_SIMPLE=xe;var ye=Ae},78241:function(kn,Qt,Te){"use strict";Te.d(Qt,{default:function(){return Pr}});var Ne=Te(77654),bt=Te(92310),E=Te.n(bt),je=Te(77900),ve=Te(59301),ne=Te(62892),ee=Te(32441);function ie(Ht){const[kt,Rt]=ve.useState(Ht);return ve.useEffect(()=>{const Lt=setTimeout(()=>{Rt(Ht)},Ht.length?0:10);return()=>{clearTimeout(Lt)}},[Ht]),kt}var oe=Te(17313),le=Te(29878),pe=Te(8378),re=Te(37613),ae=Te(83116),de=Ht=>{const{componentCls:kt}=Ht,Rt=`${kt}-show-help`,Lt=`${kt}-show-help-item`;return{[Rt]:{transition:`opacity ${Ht.motionDurationSlow} ${Ht.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Lt]:{overflow:"hidden",transition:`height ${Ht.motionDurationSlow} ${Ht.motionEaseInOut},
opacity ${Ht.motionDurationSlow} ${Ht.motionEaseInOut},
transform ${Ht.motionDurationSlow} ${Ht.motionEaseInOut} !important`,[`&${Lt}-appear, &${Lt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Lt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const me=Ht=>({legend:{display:"block",width:"100%",marginBottom:Ht.marginLG,padding:0,color:Ht.colorTextDescription,fontSize:Ht.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Ht.lineWidth}px ${Ht.lineType} ${Ht.colorBorder}`},label:{fontSize:Ht.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 ${Ht.controlOutlineWidth}px ${Ht.controlOutline}`},output:{display:"block",paddingTop:15,color:Ht.colorText,fontSize:Ht.fontSize,lineHeight:Ht.lineHeight}}),we=(Ht,kt)=>{const{formItemCls:Rt}=Ht;return{[Rt]:{[`${Rt}-label > label`]:{height:kt},[`${Rt}-control-input`]:{minHeight:kt}}}},xe=Ht=>{const{componentCls:kt}=Ht;return{[Ht.componentCls]:Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(Ht)),me(Ht)),{[`${kt}-text`]:{display:"inline-block",paddingInlineEnd:Ht.paddingSM},"&-small":Object.assign({},we(Ht,Ht.controlHeightSM)),"&-large":Object.assign({},we(Ht,Ht.controlHeightLG))})}},Ae=Ht=>{const{formItemCls:kt,iconCls:Rt,componentCls:Lt,rootPrefixCls:Bt,labelRequiredMarkColor:Ut,labelColor:Yt,labelFontSize:hn,labelHeight:fn,labelColonMarginInlineStart:wn,labelColonMarginInlineEnd:Ln,itemMarginBottom:Tn}=Ht;return{[kt]:Object.assign(Object.assign({},(0,oe.Wf)(Ht)),{marginBottom:Tn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden.${Bt}-row`]:{display:"none"},"&-has-warning":{[`${kt}-split`]:{color:Ht.colorError}},"&-has-error":{[`${kt}-split`]:{color:Ht.colorWarning}},[`${kt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Ht.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:fn,color:Yt,fontSize:hn,[`> ${Rt}`]:{fontSize:Ht.fontSize,verticalAlign:"top"},[`&${kt}-required:not(${kt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Ht.marginXXS,color:Ut,fontSize:Ht.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Lt}-hide-required-mark &`]:{display:"none"}},[`${kt}-optional`]:{display:"inline-block",marginInlineStart:Ht.marginXXS,color:Ht.colorTextDescription,[`${Lt}-hide-required-mark &`]:{display:"none"}},[`${kt}-tooltip`]:{color:Ht.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ht.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:wn,marginInlineEnd:Ln},[`&${kt}-no-colon::after`]:{content:'"\\a0"'}}},[`${kt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Bt}-col-'"]):not([class*="' ${Bt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Ht.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[kt]:{"&-explain, &-extra":{clear:"both",color:Ht.colorTextDescription,fontSize:Ht.fontSize,lineHeight:Ht.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ht.controlHeightSM,transition:`color ${Ht.motionDurationMid} ${Ht.motionEaseOut}`},"&-explain":{"&-error":{color:Ht.colorError},"&-warning":{color:Ht.colorWarning}}},[`&-with-help ${kt}-explain`]:{height:"auto",opacity:1},[`${kt}-feedback-icon`]:{fontSize:Ht.fontSize,textAlign:"center",visibility:"visible",animationName:le.kr,animationDuration:Ht.motionDurationMid,animationTimingFunction:Ht.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ht.colorSuccess},"&-error":{color:Ht.colorError},"&-warning":{color:Ht.colorWarning},"&-validating":{color:Ht.colorPrimary}}})}},ye=Ht=>{const{componentCls:kt,formItemCls:Rt}=Ht;return{[`${kt}-horizontal`]:{[`${Rt}-label`]:{flexGrow:0},[`${Rt}-control`]:{flex:"1 1 0",minWidth:0},[`${Rt}-label[class$='-24'], ${Rt}-label[class*='-24 ']`]:{[`& + ${Rt}-control`]:{minWidth:"unset"}}}}},Ee=Ht=>{const{componentCls:kt,formItemCls:Rt}=Ht;return{[`${kt}-inline`]:{display:"flex",flexWrap:"wrap",[Rt]:{flex:"none",marginInlineEnd:Ht.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Rt}-label,
> ${Rt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Rt}-label`]:{flex:"none"},[`${kt}-text`]:{display:"inline-block"},[`${Rt}-has-feedback`]:{display:"inline-block"}}}}},Le=Ht=>({padding:Ht.verticalLabelPadding,margin:Ht.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Ce=Ht=>{const{componentCls:kt,formItemCls:Rt,rootPrefixCls:Lt}=Ht;return{[`${Rt} ${Rt}-label`]:Le(Ht),[kt]:{[Rt]:{flexWrap:"wrap",[`${Rt}-label, ${Rt}-control`]:{[`&:not([class*=" ${Lt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},_e=Ht=>{const{componentCls:kt,formItemCls:Rt,rootPrefixCls:Lt}=Ht;return{[`${kt}-vertical`]:{[Rt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${kt}-item-control`]:{width:"100%"}}},[`${kt}-vertical ${Rt}-label,
.${Lt}-col-24${Rt}-label,
.${Lt}-col-xl-24${Rt}-label`]:Le(Ht),[`@media (max-width: ${Ht.screenXSMax}px)`]:[Ce(Ht),{[kt]:{[`.${Lt}-col-xs-24${Rt}-label`]:Le(Ht)}}],[`@media (max-width: ${Ht.screenSMMax}px)`]:{[kt]:{[`.${Lt}-col-sm-24${Rt}-label`]:Le(Ht)}},[`@media (max-width: ${Ht.screenMDMax}px)`]:{[kt]:{[`.${Lt}-col-md-24${Rt}-label`]:Le(Ht)}},[`@media (max-width: ${Ht.screenLGMax}px)`]:{[kt]:{[`.${Lt}-col-lg-24${Rt}-label`]:Le(Ht)}}}},Me=(Ht,kt)=>(0,re.TS)(Ht,{formItemCls:`${Ht.componentCls}-item`,rootPrefixCls:kt});var De=(0,ae.Z)("Form",(Ht,kt)=>{let{rootPrefixCls:Rt}=kt;const Lt=Me(Ht,Rt);return[xe(Lt),Ae(Lt),de(Lt),ye(Lt),Ee(Lt),_e(Lt),(0,pe.Z)(Lt),le.kr]},Ht=>({labelRequiredMarkColor:Ht.colorError,labelColor:Ht.colorTextHeading,labelFontSize:Ht.fontSize,labelHeight:Ht.controlHeight,labelColonMarginInlineStart:Ht.marginXXS/2,labelColonMarginInlineEnd:Ht.marginXS,itemMarginBottom:Ht.marginLG,verticalLabelPadding:`0 0 ${Ht.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const Se=[];function Be(Ht,kt,Rt){let Lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ht=="string"?Ht:`${kt}-${Lt}`,error:Ht,errorStatus:Rt}}var Xe=Ht=>{let{help:kt,helpStatus:Rt,errors:Lt=Se,warnings:Bt=Se,className:Ut,fieldId:Yt,onVisibleChanged:hn}=Ht;const{prefixCls:fn}=ve.useContext(ee.Rk),wn=`${fn}-item-explain`,[,Ln]=De(fn),Tn=(0,ve.useMemo)(()=>(0,ne.Z)(fn),[fn]),zn=ie(Lt),nn=ie(Bt),In=ve.useMemo(()=>kt!=null?[Be(kt,"help",Rt)]:[].concat((0,Ne.Z)(zn.map((en,sn)=>Be(en,"error","error",sn))),(0,Ne.Z)(nn.map((en,sn)=>Be(en,"warning","warning",sn)))),[kt,Rt,zn,nn]),Xt={};return Yt&&(Xt.id=`${Yt}_help`),ve.createElement(je.default,{motionDeadline:Tn.motionDeadline,motionName:`${fn}-show-help`,visible:!!In.length,onVisibleChanged:hn},en=>{const{className:sn,style:mn}=en;return ve.createElement("div",Object.assign({},Xt,{className:E()(wn,sn,Ut,Ln),style:mn,role:"alert"}),ve.createElement(je.CSSMotionList,Object.assign({keys:In},(0,ne.Z)(fn),{motionName:`${fn}-show-help-item`,component:!1}),Bn=>{const{key:cn,error:pn,errorStatus:Tt,className:Jt,style:qt}=Bn;return ve.createElement("div",{key:cn,className:E()(Jt,{[`${wn}-${Tt}`]:Tt}),style:qt},pn)}))})},Ie=Te(95013),Ye=Te(36355),Ge=Te(1684),qe=Te(52946),it=Te(19716),st=Te(16722);const Ve=["parentNode"],Qe="form_item";function nt(Ht){return Ht===void 0||Ht===!1?[]:Array.isArray(Ht)?Ht:[Ht]}function dt(Ht,kt){if(!Ht.length)return;const Rt=Ht.join("_");return kt?`${kt}_${Rt}`:Ve.includes(Rt)?`${Qe}_${Rt}`:Rt}function at(Ht,kt,Rt,Lt,Bt,Ut){let Yt=Lt;return Ut!==void 0?Yt=Ut:Rt.validating?Yt="validating":Ht.length?Yt="error":kt.length?Yt="warning":(Rt.touched||Bt&&Rt.validated)&&(Yt="success"),Yt}function tt(Ht){return nt(Ht).join("_")}function et(Ht){const[kt]=(0,Ie.useForm)(),Rt=ve.useRef({}),Lt=ve.useMemo(()=>Ht!=null?Ht:Object.assign(Object.assign({},kt),{__INTERNAL__:{itemRef:Bt=>Ut=>{const Yt=tt(Bt);Ut?Rt.current[Yt]=Ut:delete Rt.current[Yt]}},scrollToField:function(Bt){let Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Yt=nt(Bt),hn=dt(Yt,Lt.__INTERNAL__.name),fn=hn?document.getElementById(hn):null;fn&&(0,st.Z)(fn,Object.assign({scrollMode:"if-needed",block:"nearest"},Ut))},getFieldInstance:Bt=>{const Ut=tt(Bt);return Rt.current[Ut]}}),[Ht,kt]);return[Lt]}var ot=Te(28726),yt=function(Ht,kt){var Rt={};for(var Lt in Ht)Object.prototype.hasOwnProperty.call(Ht,Lt)&&kt.indexOf(Lt)<0&&(Rt[Lt]=Ht[Lt]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Lt=Object.getOwnPropertySymbols(Ht);Bt<Lt.length;Bt++)kt.indexOf(Lt[Bt])<0&&Object.prototype.propertyIsEnumerable.call(Ht,Lt[Bt])&&(Rt[Lt[Bt]]=Ht[Lt[Bt]]);return Rt};const pt=(Ht,kt)=>{const Rt=ve.useContext(Ge.Z),{getPrefixCls:Lt,direction:Bt,form:Ut}=ve.useContext(Ye.E_),{prefixCls:Yt,className:hn,rootClassName:fn,size:wn,disabled:Ln=Rt,form:Tn,colon:zn,labelAlign:nn,labelWrap:In,labelCol:Xt,wrapperCol:en,hideRequiredMark:sn,layout:mn="horizontal",scrollToFirstError:Bn,requiredMark:cn,onFinishFailed:pn,name:Tt,style:Jt,feedbackIcons:qt}=Ht,un=yt(Ht,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),dn=(0,it.Z)(wn),yn=ve.useContext(ot.Z),bn=(0,ve.useMemo)(()=>cn!==void 0?cn:Ut&&Ut.requiredMark!==void 0?Ut.requiredMark:!sn,[sn,cn,Ut]),_n=zn!=null?zn:Ut==null?void 0:Ut.colon,Qn=Lt("form",Yt),[ar,gr]=De(Qn),mr=E()(Qn,`${Qn}-${mn}`,{[`${Qn}-hide-required-mark`]:bn===!1,[`${Qn}-rtl`]:Bt==="rtl",[`${Qn}-${dn}`]:dn},gr,Ut==null?void 0:Ut.className,hn,fn),[zr]=et(Tn),{__INTERNAL__:Mr}=zr;Mr.name=Tt;const lr=(0,ve.useMemo)(()=>({name:Tt,labelAlign:nn,labelCol:Xt,labelWrap:In,wrapperCol:en,vertical:mn==="vertical",colon:_n,requiredMark:bn,itemRef:Mr.itemRef,form:zr,feedbackIcons:qt}),[Tt,nn,Xt,en,mn,_n,bn,zr,qt]);ve.useImperativeHandle(kt,()=>zr);const ur=(Rr,Cr)=>{if(Rr){let Ar={block:"nearest"};typeof Rr=="object"&&(Ar=Rr),zr.scrollToField(Cr,Ar)}},dr=Rr=>{if(pn==null||pn(Rr),Rr.errorFields.length){const Cr=Rr.errorFields[0].name;if(Bn!==void 0){ur(Bn,Cr);return}Ut&&Ut.scrollToFirstError!==void 0&&ur(Ut.scrollToFirstError,Cr)}};return ar(ve.createElement(Ge.n,{disabled:Ln},ve.createElement(qe.q,{size:dn},ve.createElement(ee.RV,Object.assign({},{validateMessages:yn}),ve.createElement(ee.q3.Provider,{value:lr},ve.createElement(Ie.default,Object.assign({id:Tt},un,{name:Tt,onFinishFailed:dr,form:zr,style:Object.assign(Object.assign({},Ut==null?void 0:Ut.style),Jt),className:mr})))))))};var Mt=ve.forwardRef(pt),ct=Te(41799),Je=Te(8654),Ze=Te(92343),ue=Te(11592);function he(Ht){if(typeof Ht=="function")return Ht;const kt=(0,ue.Z)(Ht);return kt.length<=1?kt[0]:kt}const He=()=>{const{status:Ht,errors:kt=[],warnings:Rt=[]}=(0,ve.useContext)(ee.aM);return{status:Ht,errors:kt,warnings:Rt}};He.Context=ee.aM;var We=He,fe=Te(16089);function Pe(Ht){const[kt,Rt]=ve.useState(Ht),Lt=(0,ve.useRef)(null),Bt=(0,ve.useRef)([]),Ut=(0,ve.useRef)(!1);ve.useEffect(()=>(Ut.current=!1,()=>{Ut.current=!0,fe.Z.cancel(Lt.current),Lt.current=null}),[]);function Yt(hn){Ut.current||(Lt.current===null&&(Bt.current=[],Lt.current=(0,fe.Z)(()=>{Lt.current=null,Rt(fn=>{let wn=fn;return Bt.current.forEach(Ln=>{wn=Ln(wn)}),wn})})),Bt.current.push(hn))}return[kt,Yt]}function Fe(){const{itemRef:Ht}=ve.useContext(ee.q3),kt=ve.useRef({});function Rt(Lt,Bt){const Ut=Bt&&typeof Bt=="object"&&Bt.ref,Yt=Lt.join("_");return(kt.current.name!==Yt||kt.current.originRef!==Ut)&&(kt.current.name=Yt,kt.current.originRef=Ut,kt.current.ref=(0,Je.sQ)(Ht(Lt),Ut)),kt.current.ref}return Rt}var Ke=Te(29194),Ue=Te(34280),ut=Te(2738),vt=Te(27382),lt=Te(37028);const Dt=Ht=>{const{formItemCls:kt}=Ht;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${kt}-control`]:{display:"flex"}}}};var Wt=(0,ae.b)(["Form","item-item"],(Ht,kt)=>{let{rootPrefixCls:Rt}=kt;const Lt=Me(Ht,Rt);return[Dt(Lt)]}),zt=Ht=>{const{prefixCls:kt,status:Rt,wrapperCol:Lt,children:Bt,errors:Ut,warnings:Yt,_internalItemRender:hn,extra:fn,help:wn,fieldId:Ln,marginBottom:Tn,onErrorVisibleChanged:zn}=Ht,nn=`${kt}-item`,In=ve.useContext(ee.q3),Xt=Lt||In.wrapperCol||{},en=E()(`${nn}-control`,Xt.className),sn=ve.useMemo(()=>Object.assign({},In),[In]);delete sn.labelCol,delete sn.wrapperCol;const mn=ve.createElement("div",{className:`${nn}-control-input`},ve.createElement("div",{className:`${nn}-control-input-content`},Bt)),Bn=ve.useMemo(()=>({prefixCls:kt,status:Rt}),[kt,Rt]),cn=Tn!==null||Ut.length||Yt.length?ve.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},ve.createElement(ee.Rk.Provider,{value:Bn},ve.createElement(Xe,{fieldId:Ln,errors:Ut,warnings:Yt,help:wn,helpStatus:Rt,className:`${nn}-explain-connected`,onVisibleChanged:zn})),!!Tn&&ve.createElement("div",{style:{width:0,height:Tn}})):null,pn={};Ln&&(pn.id=`${Ln}_extra`);const Tt=fn?ve.createElement("div",Object.assign({},pn,{className:`${nn}-extra`}),fn):null,Jt=hn&&hn.mark==="pro_table_render"&&hn.render?hn.render(Ht,{input:mn,errorList:cn,extra:Tt}):ve.createElement(ve.Fragment,null,mn,cn,Tt);return ve.createElement(ee.q3.Provider,{value:sn},ve.createElement(lt.Z,Object.assign({},Xt,{className:en}),Jt),ve.createElement(Wt,{prefixCls:kt}))},Nt=Te(61485),St=Te(31724),ft=Te(9763),Et=Te(6848),Ft=function(Ht,kt){var Rt={};for(var Lt in Ht)Object.prototype.hasOwnProperty.call(Ht,Lt)&&kt.indexOf(Lt)<0&&(Rt[Lt]=Ht[Lt]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Lt=Object.getOwnPropertySymbols(Ht);Bt<Lt.length;Bt++)kt.indexOf(Lt[Bt])<0&&Object.prototype.propertyIsEnumerable.call(Ht,Lt[Bt])&&(Rt[Lt[Bt]]=Ht[Lt[Bt]]);return Rt};function Kt(Ht){return Ht?typeof Ht=="object"&&!ve.isValidElement(Ht)?Ht:{title:Ht}:null}var rn=Ht=>{let{prefixCls:kt,label:Rt,htmlFor:Lt,labelCol:Bt,labelAlign:Ut,colon:Yt,required:hn,requiredMark:fn,tooltip:wn}=Ht;var Ln;const[Tn]=(0,ft.Z)("Form"),{vertical:zn,labelAlign:nn,labelCol:In,labelWrap:Xt,colon:en}=ve.useContext(ee.q3);if(!Rt)return null;const sn=Bt||In||{},mn=Ut||nn,Bn=`${kt}-item-label`,cn=E()(Bn,mn==="left"&&`${Bn}-left`,sn.className,{[`${Bn}-wrap`]:!!Xt});let pn=Rt;const Tt=Yt===!0||en!==!1&&Yt!==!1;Tt&&!zn&&typeof Rt=="string"&&Rt.trim()!==""&&(pn=Rt.replace(/[:|]\s*$/,""));const qt=Kt(wn);if(qt){const{icon:bn=ve.createElement(Nt.Z,null)}=qt,_n=Ft(qt,["icon"]),Qn=ve.createElement(Et.Z,Object.assign({},_n),ve.cloneElement(bn,{className:`${kt}-item-tooltip`,title:""}));pn=ve.createElement(ve.Fragment,null,pn,Qn)}const un=fn==="optional",dn=typeof fn=="function";dn?pn=fn(pn,{required:!!hn}):un&&!hn&&(pn=ve.createElement(ve.Fragment,null,pn,ve.createElement("span",{className:`${kt}-item-optional`,title:""},(Tn==null?void 0:Tn.optional)||((Ln=St.Z.Form)===null||Ln===void 0?void 0:Ln.optional))));const yn=E()({[`${kt}-item-required`]:hn,[`${kt}-item-required-mark-optional`]:un||dn,[`${kt}-item-no-colon`]:!Tt});return ve.createElement(lt.Z,Object.assign({},sn,{className:cn}),ve.createElement("label",{htmlFor:Lt,className:yn,title:typeof Rt=="string"?Rt:""},pn))},En=Te(29679),On=Te(19248),Hn=Te(96512),Dn=Te(58617);const jn={success:En.Z,warning:Hn.Z,error:On.Z,validating:Dn.Z};function Jn(Ht){let{children:kt,errors:Rt,warnings:Lt,hasFeedback:Bt,validateStatus:Ut,prefixCls:Yt,meta:hn,noStyle:fn}=Ht;const wn=`${Yt}-item`,{feedbackIcons:Ln}=ve.useContext(ee.q3),Tn=at(Rt,Lt,hn,null,!!Bt,Ut),{isFormItemInput:zn,status:nn}=ve.useContext(ee.aM),In=ve.useMemo(()=>{var Xt;let en;if(Bt){const Bn=Bt!==!0&&Bt.icons||Ln,cn=Tn&&((Xt=Bn==null?void 0:Bn({status:Tn,errors:Rt,warnings:Lt}))===null||Xt===void 0?void 0:Xt[Tn]),pn=Tn&&jn[Tn];en=cn!==!1&&pn?ve.createElement("span",{className:E()(`${wn}-feedback-icon`,`${wn}-feedback-icon-${Tn}`)},cn||ve.createElement(pn,null)):null}let sn=!0,mn=Tn||"";return fn&&(sn=zn,mn=(Tn!=null?Tn:nn)||""),{status:mn,errors:Rt,warnings:Lt,hasFeedback:!!Bt,feedbackIcon:en,isFormItemInput:sn}},[Tn,Bt,fn,zn,nn]);return ve.createElement(ee.aM.Provider,{value:In},kt)}var br=function(Ht,kt){var Rt={};for(var Lt in Ht)Object.prototype.hasOwnProperty.call(Ht,Lt)&&kt.indexOf(Lt)<0&&(Rt[Lt]=Ht[Lt]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Lt=Object.getOwnPropertySymbols(Ht);Bt<Lt.length;Bt++)kt.indexOf(Lt[Bt])<0&&Object.prototype.propertyIsEnumerable.call(Ht,Lt[Bt])&&(Rt[Lt[Bt]]=Ht[Lt[Bt]]);return Rt};function sr(Ht){const{prefixCls:kt,className:Rt,rootClassName:Lt,style:Bt,help:Ut,errors:Yt,warnings:hn,validateStatus:fn,meta:wn,hasFeedback:Ln,hidden:Tn,children:zn,fieldId:nn,required:In,isRequired:Xt,onSubItemMetaChange:en}=Ht,sn=br(Ht,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),mn=`${kt}-item`,{requiredMark:Bn}=ve.useContext(ee.q3),cn=ve.useRef(null),pn=ie(Yt),Tt=ie(hn),Jt=Ut!=null,qt=!!(Jt||Yt.length||hn.length),un=!!cn.current&&(0,Ke.Z)(cn.current),[dn,yn]=ve.useState(null);(0,Ue.Z)(()=>{if(qt&&cn.current){const gr=getComputedStyle(cn.current);yn(parseInt(gr.marginBottom,10))}},[qt,un]);const bn=gr=>{gr||yn(null)},Qn=function(){let gr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const mr=gr?pn:wn.errors,zr=gr?Tt:wn.warnings;return at(mr,zr,wn,"",!!Ln,fn)}(),ar=E()(mn,Rt,Lt,{[`${mn}-with-help`]:Jt||pn.length||Tt.length,[`${mn}-has-feedback`]:Qn&&Ln,[`${mn}-has-success`]:Qn==="success",[`${mn}-has-warning`]:Qn==="warning",[`${mn}-has-error`]:Qn==="error",[`${mn}-is-validating`]:Qn==="validating",[`${mn}-hidden`]:Tn});return ve.createElement("div",{className:ar,style:Bt,ref:cn},ve.createElement(vt.Z,Object.assign({className:`${mn}-row`},(0,ut.Z)(sn,["_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(rn,Object.assign({htmlFor:nn},Ht,{requiredMark:Bn,required:In!=null?In:Xt,prefixCls:kt})),ve.createElement(zt,Object.assign({},Ht,wn,{errors:pn,warnings:Tt,prefixCls:kt,status:Qn,help:Ut,marginBottom:dn,onErrorVisibleChanged:bn}),ve.createElement(ee.qI.Provider,{value:en},ve.createElement(Jn,{prefixCls:kt,meta:wn,errors:wn.errors,warnings:wn.warnings,hasFeedback:Ln,validateStatus:Qn},zn)))),!!dn&&ve.createElement("div",{className:`${mn}-margin-offset`,style:{marginBottom:-dn}}))}const Rn="__SPLIT__",Fn=null,Gn=ve.memo(Ht=>{let{children:kt}=Ht;return kt},(Ht,kt)=>Ht.value===kt.value&&Ht.update===kt.update&&Ht.childProps.length===kt.childProps.length&&Ht.childProps.every((Rt,Lt)=>Rt===kt.childProps[Lt]));function er(Ht){return Ht!=null}function xr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function cr(Ht){const{name:kt,noStyle:Rt,className:Lt,dependencies:Bt,prefixCls:Ut,shouldUpdate:Yt,rules:hn,children:fn,required:wn,label:Ln,messageVariables:Tn,trigger:zn="onChange",validateTrigger:nn,hidden:In,help:Xt}=Ht,{getPrefixCls:en}=ve.useContext(Ye.E_),{name:sn}=ve.useContext(ee.q3),mn=he(fn),Bn=typeof mn=="function",cn=ve.useContext(ee.qI),{validateTrigger:pn}=ve.useContext(Ie.FieldContext),Tt=nn!==void 0?nn:pn,Jt=er(kt),qt=en("form",Ut),[un,dn]=De(qt),yn=ve.useContext(Ie.ListContext),bn=ve.useRef(),[_n,Qn]=Pe({}),[ar,gr]=(0,ct.Z)(()=>xr()),mr=Cr=>{const Ar=yn==null?void 0:yn.getKey(Cr.name);if(gr(Cr.destroy?xr():Cr,!0),Rt&&Xt!==!1&&cn){let Gr=Cr.name;if(Cr.destroy)Gr=bn.current||Gr;else if(Ar!==void 0){const[Kr,oi]=Ar;Gr=[Kr].concat((0,Ne.Z)(oi)),bn.current=Gr}cn(Cr,Gr)}},zr=(Cr,Ar)=>{Qn(Gr=>{const Kr=Object.assign({},Gr),Di=[].concat((0,Ne.Z)(Cr.name.slice(0,-1)),(0,Ne.Z)(Ar)).join(Rn);return Cr.destroy?delete Kr[Di]:Kr[Di]=Cr,Kr})},[Mr,lr]=ve.useMemo(()=>{const Cr=(0,Ne.Z)(ar.errors),Ar=(0,Ne.Z)(ar.warnings);return Object.values(_n).forEach(Gr=>{Cr.push.apply(Cr,(0,Ne.Z)(Gr.errors||[])),Ar.push.apply(Ar,(0,Ne.Z)(Gr.warnings||[]))}),[Cr,Ar]},[_n,ar.errors,ar.warnings]),ur=Fe();function dr(Cr,Ar,Gr){return Rt&&!In?ve.createElement(Jn,{prefixCls:qt,hasFeedback:Ht.hasFeedback,validateStatus:Ht.validateStatus,meta:ar,errors:Mr,warnings:lr,noStyle:!0},Cr):ve.createElement(sr,Object.assign({key:"row"},Ht,{className:E()(Lt,dn),prefixCls:qt,fieldId:Ar,isRequired:Gr,errors:Mr,warnings:lr,meta:ar,onSubItemMetaChange:zr}),Cr)}if(!Jt&&!Bn&&!Bt)return un(dr(mn));let Rr={};return typeof Ln=="string"?Rr.label=Ln:kt&&(Rr.label=String(kt)),Tn&&(Rr=Object.assign(Object.assign({},Rr),Tn)),un(ve.createElement(Ie.Field,Object.assign({},Ht,{messageVariables:Rr,trigger:zn,validateTrigger:Tt,onMetaChange:mr}),(Cr,Ar,Gr)=>{const Kr=nt(kt).length&&Ar?Ar.name:[],oi=dt(Kr,sn),Di=wn!==void 0?wn:!!(hn&&hn.some(ir=>{if(ir&&typeof ir=="object"&&ir.required&&!ir.warningOnly)return!0;if(typeof ir=="function"){const ti=ir(Gr);return ti&&ti.required&&!ti.warningOnly}return!1})),Hr=Object.assign({},Cr);let or=null;if(Array.isArray(mn)&&Jt)or=mn;else if(!(Bn&&(!(Yt||Bt)||Jt))){if(!(Bt&&!Bn&&!Jt))if((0,Ze.l$)(mn)){const ir=Object.assign(Object.assign({},mn.props),Hr);if(ir.id||(ir.id=oi),Xt||Mr.length>0||lr.length>0||Ht.extra){const ui=[];(Xt||Mr.length>0)&&ui.push(`${oi}_help`),Ht.extra&&ui.push(`${oi}_extra`),ir["aria-describedby"]=ui.join(" ")}Mr.length>0&&(ir["aria-invalid"]="true"),Di&&(ir["aria-required"]="true"),(0,Je.Yr)(mn)&&(ir.ref=ur(Kr,mn)),new Set([].concat((0,Ne.Z)(nt(zn)),(0,Ne.Z)(nt(Tt)))).forEach(ui=>{ir[ui]=function(){for(var gi,pi,ei,li,ta,Ir=arguments.length,Wr=new Array(Ir),vi=0;vi<Ir;vi++)Wr[vi]=arguments[vi];(ei=Hr[ui])===null||ei===void 0||(gi=ei).call.apply(gi,[Hr].concat(Wr)),(ta=(li=mn.props)[ui])===null||ta===void 0||(pi=ta).call.apply(pi,[li].concat(Wr))}});const Ur=[ir["aria-required"],ir["aria-invalid"],ir["aria-describedby"]];or=ve.createElement(Gn,{value:Hr[Ht.valuePropName||"value"],update:mn,childProps:Ur},(0,Ze.Tm)(mn,ir))}else Bn&&(Yt||Bt)&&!Jt?or=mn(Gr):or=mn}return dr(or,oi,Di)}))}const Tr=cr;Tr.useStatus=We;var Dr=Tr,Xn=function(Ht,kt){var Rt={};for(var Lt in Ht)Object.prototype.hasOwnProperty.call(Ht,Lt)&&kt.indexOf(Lt)<0&&(Rt[Lt]=Ht[Lt]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Lt=Object.getOwnPropertySymbols(Ht);Bt<Lt.length;Bt++)kt.indexOf(Lt[Bt])<0&&Object.prototype.propertyIsEnumerable.call(Ht,Lt[Bt])&&(Rt[Lt[Bt]]=Ht[Lt[Bt]]);return Rt},wr=Ht=>{var{prefixCls:kt,children:Rt}=Ht,Lt=Xn(Ht,["prefixCls","children"]);const{getPrefixCls:Bt}=ve.useContext(Ye.E_),Ut=Bt("form",kt),Yt=ve.useMemo(()=>({prefixCls:Ut,status:"error"}),[Ut]);return ve.createElement(Ie.List,Object.assign({},Lt),(hn,fn,wn)=>ve.createElement(ee.Rk.Provider,{value:Yt},Rt(hn.map(Ln=>Object.assign(Object.assign({},Ln),{fieldKey:Ln.key})),fn,{errors:wn.errors,warnings:wn.warnings})))};function nr(){const{form:Ht}=(0,ve.useContext)(ee.q3);return Ht}const Zn=Mt;Zn.Item=Dr,Zn.List=wr,Zn.ErrorList=Xe,Zn.useForm=et,Zn.useFormInstance=nr,Zn.useWatch=Ie.useWatch,Zn.Provider=ee.RV,Zn.create=()=>{};var Pr=Zn},8628:function(kn,Qt,Te){"use strict";var Ne=Te(59301),bt=Te(34280),E=Te(56762),je=Te(69507);function ve(){let ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ee=(0,Ne.useRef)({}),ie=(0,E.Z)(),oe=(0,je.ZP)();return(0,bt.Z)(()=>{const le=oe.subscribe(pe=>{ee.current=pe,ne&&ie()});return()=>oe.unsubscribe(le)},[]),ee.current}Qt.Z=ve},5871:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Nt}});var Ne=Te(84105),bt=Te(87395),E=Te(92310),je=Te.n(E),ve=Te(60499),ne=Te(18642),ee=Te(43749),ie=Te(72190),oe=Te(42244),le=Te(38705),pe=Te(17212);function re(){return typeof BigInt=="function"}function ae(St){return!St&&St!==0&&!Number.isNaN(St)||!String(St).trim()}function ce(St){var ft=St.trim(),Et=ft.startsWith("-");Et&&(ft=ft.slice(1)),ft=ft.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),ft.startsWith(".")&&(ft="0".concat(ft));var Ft=ft||"0",Kt=Ft.split("."),Zt=Kt[0]||"0",rn=Kt[1]||"0";Zt==="0"&&rn==="0"&&(Et=!1);var En=Et?"-":"";return{negative:Et,negativeStr:En,trimStr:Ft,integerStr:Zt,decimalStr:rn,fullStr:"".concat(En).concat(Ft)}}function de(St){var ft=String(St);return!Number.isNaN(Number(ft))&&ft.includes("e")}function me(St){var ft=String(St);if(de(St)){var Et=Number(ft.slice(ft.indexOf("e-")+2)),Ft=ft.match(/\.(\d+)/);return Ft!=null&&Ft[1]&&(Et+=Ft[1].length),Et}return ft.includes(".")&&xe(ft)?ft.length-ft.indexOf(".")-1:0}function we(St){var ft=String(St);if(de(St)){if(St>Number.MAX_SAFE_INTEGER)return String(re()?BigInt(St).toString():Number.MAX_SAFE_INTEGER);if(St<Number.MIN_SAFE_INTEGER)return String(re()?BigInt(St).toString():Number.MIN_SAFE_INTEGER);ft=St.toFixed(me(ft))}return ce(ft).fullStr}function xe(St){return typeof St=="number"?!Number.isNaN(St):St?/^\s*-?\d+(\.\d+)?\s*$/.test(St)||/^\s*-?\d+\.\s*$/.test(St)||/^\s*-?\.\d+\s*$/.test(St):!1}var Ae=function(){function St(ft){if((0,le.Z)(this,St),(0,ne.Z)(this,"origin",""),(0,ne.Z)(this,"negative",void 0),(0,ne.Z)(this,"integer",void 0),(0,ne.Z)(this,"decimal",void 0),(0,ne.Z)(this,"decimalLen",void 0),(0,ne.Z)(this,"empty",void 0),(0,ne.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 Et=ft;if(de(Et)&&(Et=Number(Et)),Et=typeof Et=="string"?Et:we(Et),xe(Et)){var Ft=ce(Et);this.negative=Ft.negative;var Kt=Ft.trimStr.split(".");this.integer=BigInt(Kt[0]);var Zt=Kt[1]||"0";this.decimal=BigInt(Zt),this.decimalLen=Zt.length}else this.nan=!0}return(0,pe.Z)(St,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(Et){var Ft="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Et,"0"));return BigInt(Ft)}},{key:"negate",value:function(){var Et=new St(this.toString());return Et.negative=!Et.negative,Et}},{key:"cal",value:function(Et,Ft,Kt){var Zt=Math.max(this.getDecimalStr().length,Et.getDecimalStr().length),rn=this.alignDecimal(Zt),En=Et.alignDecimal(Zt),On=Ft(rn,En).toString(),Hn=Kt(Zt),Dn=ce(On),jn=Dn.negativeStr,Jn=Dn.trimStr,br="".concat(jn).concat(Jn.padStart(Hn+1,"0"));return new St("".concat(br.slice(0,-Hn),".").concat(br.slice(-Hn)))}},{key:"add",value:function(Et){if(this.isInvalidate())return new St(Et);var Ft=new St(Et);return Ft.isInvalidate()?this:this.cal(Ft,function(Kt,Zt){return Kt+Zt},function(Kt){return Kt})}},{key:"multi",value:function(Et){var Ft=new St(Et);return this.isInvalidate()||Ft.isInvalidate()?new St(NaN):this.cal(Ft,function(Kt,Zt){return Kt*Zt},function(Kt){return Kt*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Et){return this.toString()===(Et==null?void 0:Et.toString())}},{key:"lessEquals",value:function(Et){return this.add(Et.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Et?this.isInvalidate()?"":ce("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),St}(),ye=function(){function St(ft){if((0,le.Z)(this,St),(0,ne.Z)(this,"origin",""),(0,ne.Z)(this,"number",void 0),(0,ne.Z)(this,"empty",void 0),ae(ft)){this.empty=!0;return}this.origin=String(ft),this.number=Number(ft)}return(0,pe.Z)(St,[{key:"negate",value:function(){return new St(-this.toNumber())}},{key:"add",value:function(Et){if(this.isInvalidate())return new St(Et);var Ft=Number(Et);if(Number.isNaN(Ft))return this;var Kt=this.number+Ft;if(Kt>Number.MAX_SAFE_INTEGER)return new St(Number.MAX_SAFE_INTEGER);if(Kt<Number.MIN_SAFE_INTEGER)return new St(Number.MIN_SAFE_INTEGER);var Zt=Math.max(me(this.number),me(Ft));return new St(Kt.toFixed(Zt))}},{key:"multi",value:function(Et){var Ft=Number(Et);if(this.isInvalidate()||Number.isNaN(Ft))return new St(NaN);var Kt=this.number*Ft;if(Kt>Number.MAX_SAFE_INTEGER)return new St(Number.MAX_SAFE_INTEGER);if(Kt<Number.MIN_SAFE_INTEGER)return new St(Number.MIN_SAFE_INTEGER);var Zt=Math.max(me(this.number),me(Ft));return new St(Kt.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(Et){return this.toNumber()===(Et==null?void 0:Et.toNumber())}},{key:"lessEquals",value:function(Et){return this.add(Et.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Et?this.isInvalidate()?"":we(this.number):this.origin}}]),St}();function Ee(St){return re()?new Ae(St):new ye(St)}function Le(St,ft,Et){var Ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(St==="")return"";var Kt=ce(St),Zt=Kt.negativeStr,rn=Kt.integerStr,En=Kt.decimalStr,On="".concat(ft).concat(En),Hn="".concat(Zt).concat(rn);if(Et>=0){var Dn=Number(En[Et]);if(Dn>=5&&!Ft){var jn=Ee(St).add("".concat(Zt,"0.").concat("0".repeat(Et)).concat(10-Dn));return Le(jn.toString(),ft,Et,Ft)}return Et===0?Hn:"".concat(Hn).concat(ft).concat(En.padEnd(Et,"0").slice(0,Et))}return On===".0"?Hn:"".concat(Hn).concat(On)}var Ce=Ee,_e=Te(93681),Me=Te(34280),De=Te(8654),Se=Te(59301),Be=Te(48736);function Re(St,ft){var Et=(0,Se.useRef)(null);function Ft(){try{var Zt=St.selectionStart,rn=St.selectionEnd,En=St.value,On=En.substring(0,Zt),Hn=En.substring(rn);Et.current={start:Zt,end:rn,value:En,beforeTxt:On,afterTxt:Hn}}catch(Dn){}}function Kt(){if(St&&Et.current&&ft)try{var Zt=St.value,rn=Et.current,En=rn.beforeTxt,On=rn.afterTxt,Hn=rn.start,Dn=Zt.length;if(Zt.endsWith(On))Dn=Zt.length-Et.current.afterTxt.length;else if(Zt.startsWith(En))Dn=En.length;else{var jn=En[Hn-1],Jn=Zt.indexOf(jn,Hn-1);Jn!==-1&&(Dn=Jn+1)}St.setSelectionRange(Dn,Dn)}catch(br){(0,Be.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(br.message))}}return[Ft,Kt]}var Xe=Te(49658),Ie=function(){var ft=(0,Se.useState)(!1),Et=(0,ie.Z)(ft,2),Ft=Et[0],Kt=Et[1];return(0,Me.Z)(function(){Kt((0,Xe.Z)())},[]),Ft},Ye=Ie,Ge=Te(16089),qe=200,it=600;function st(St){var ft=St.prefixCls,Et=St.upNode,Ft=St.downNode,Kt=St.upDisabled,Zt=St.downDisabled,rn=St.onStep,En=Se.useRef(),On=Se.useRef([]),Hn=Se.useRef();Hn.current=rn;var Dn=function(){clearTimeout(En.current)},jn=function(xr,cr){xr.preventDefault(),Dn(),Hn.current(cr);function Tr(){Hn.current(cr),En.current=setTimeout(Tr,qe)}En.current=setTimeout(Tr,it)};Se.useEffect(function(){return function(){Dn(),On.current.forEach(function(er){return Ge.Z.cancel(er)})}},[]);var Jn=Ye();if(Jn)return null;var br="".concat(ft,"-handler"),sr=je()(br,"".concat(br,"-up"),(0,ne.Z)({},"".concat(br,"-up-disabled"),Kt)),Rn=je()(br,"".concat(br,"-down"),(0,ne.Z)({},"".concat(br,"-down-disabled"),Zt)),Fn=function(){return On.current.push((0,Ge.Z)(Dn))},Gn={unselectable:"on",role:"button",onMouseUp:Fn,onMouseLeave:Fn};return Se.createElement("div",{className:"".concat(br,"-wrap")},Se.createElement("span",(0,ve.Z)({},Gn,{onMouseDown:function(xr){jn(xr,!0)},"aria-label":"Increase Value","aria-disabled":Kt,className:sr}),Et||Se.createElement("span",{unselectable:"on",className:"".concat(ft,"-handler-up-inner")})),Se.createElement("span",(0,ve.Z)({},Gn,{onMouseDown:function(xr){jn(xr,!1)},"aria-label":"Decrease Value","aria-disabled":Zt,className:Rn}),Ft||Se.createElement("span",{unselectable:"on",className:"".concat(ft,"-handler-down-inner")})))}function Ve(St){var ft=typeof St=="number"?we(St):ce(St).fullStr,Et=ft.includes(".");return Et?ce(ft.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:St+"0"}var Qe=Te(5643),nt=function(){var St=(0,Se.useRef)(0),ft=function(){Ge.Z.cancel(St.current)};return(0,Se.useEffect)(function(){return ft},[]),function(Et){ft(),St.current=(0,Ge.Z)(function(){Et()})}},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"],tt=function(ft,Et){return ft||Et.isEmpty()?Et.toString():Et.toNumber()},et=function(ft){var Et=Ce(ft);return Et.isInvalidate()?null:Et},ot=Se.forwardRef(function(St,ft){var Et,Ft=St.prefixCls,Kt=Ft===void 0?"rc-input-number":Ft,Zt=St.className,rn=St.style,En=St.min,On=St.max,Hn=St.step,Dn=Hn===void 0?1:Hn,jn=St.defaultValue,Jn=St.value,br=St.disabled,sr=St.readOnly,Rn=St.upHandler,Fn=St.downHandler,Gn=St.keyboard,er=St.controls,xr=er===void 0?!0:er,cr=St.classNames,Tr=St.stringMode,Dr=St.parser,Xn=St.formatter,$n=St.precision,wr=St.decimalSeparator,nr=St.onChange,Zn=St.onInput,Pr=St.onPressEnter,Ht=St.onStep,kt=(0,oe.Z)(St,dt),Rt="".concat(Kt,"-input"),Lt=Se.useRef(null),Bt=Se.useState(!1),Ut=(0,ie.Z)(Bt,2),Yt=Ut[0],hn=Ut[1],fn=Se.useRef(!1),wn=Se.useRef(!1),Ln=Se.useRef(!1),Tn=Se.useState(function(){return Ce(Jn!=null?Jn:jn)}),zn=(0,ie.Z)(Tn,2),nn=zn[0],In=zn[1];function Xt(or){Jn===void 0&&In(or)}var en=Se.useCallback(function(or,ir){if(!ir)return $n>=0?$n:Math.max(me(or),me(Dn))},[$n,Dn]),sn=Se.useCallback(function(or){var ir=String(or);if(Dr)return Dr(ir);var ti=ir;return wr&&(ti=ti.replace(wr,".")),ti.replace(/[^\w.-]+/g,"")},[Dr,wr]),mn=Se.useRef(""),Bn=Se.useCallback(function(or,ir){if(Xn)return Xn(or,{userTyping:ir,input:String(mn.current)});var ti=typeof or=="number"?we(or):or;if(!ir){var Ur=en(ti,ir);if(xe(ti)&&(wr||Ur>=0)){var ui=wr||".";ti=Le(ti,ui,Ur)}}return ti},[Xn,en,wr]),cn=Se.useState(function(){var or=jn!=null?jn:Jn;return nn.isInvalidate()&&["string","number"].includes((0,ee.Z)(or))?Number.isNaN(or)?"":or:Bn(nn.toString(),!1)}),pn=(0,ie.Z)(cn,2),Tt=pn[0],Jt=pn[1];mn.current=Tt;function qt(or,ir){Jt(Bn(or.isInvalidate()?or.toString(!1):or.toString(!ir),ir))}var un=Se.useMemo(function(){return et(On)},[On,$n]),dn=Se.useMemo(function(){return et(En)},[En,$n]),yn=Se.useMemo(function(){return!un||!nn||nn.isInvalidate()?!1:un.lessEquals(nn)},[un,nn]),bn=Se.useMemo(function(){return!dn||!nn||nn.isInvalidate()?!1:nn.lessEquals(dn)},[dn,nn]),_n=Re(Lt.current,Yt),Qn=(0,ie.Z)(_n,2),ar=Qn[0],gr=Qn[1],mr=function(ir){return un&&!ir.lessEquals(un)?un:dn&&!dn.lessEquals(ir)?dn:null},zr=function(ir){return!mr(ir)},Mr=function(ir,ti){var Ur=ir,ui=zr(Ur)||Ur.isEmpty();if(!Ur.isEmpty()&&!ti&&(Ur=mr(Ur)||Ur,ui=!0),!sr&&!br&&ui){var gi=Ur.toString(),pi=en(gi,ti);return pi>=0&&(Ur=Ce(Le(gi,".",pi)),zr(Ur)||(Ur=Ce(Le(gi,".",pi,!0)))),Ur.equals(nn)||(Xt(Ur),nr==null||nr(Ur.isEmpty()?null:tt(Tr,Ur)),Jn===void 0&&qt(Ur,ti)),Ur}return nn},lr=nt(),ur=function or(ir){if(ar(),mn.current=ir,Jt(ir),!wn.current){var ti=sn(ir),Ur=Ce(ti);Ur.isNaN()||Mr(Ur,!0)}Zn==null||Zn(ir),lr(function(){var ui=ir;Dr||(ui=ir.replace(/。/g,".")),ui!==ir&&or(ui)})},dr=function(){wn.current=!0},Rr=function(){wn.current=!1,ur(Lt.current.value)},Cr=function(ir){ur(ir.target.value)},Ar=function(ir){var ti;if(!(ir&&yn||!ir&&bn)){fn.current=!1;var Ur=Ce(Ln.current?Ve(Dn):Dn);ir||(Ur=Ur.negate());var ui=(nn||Ce(0)).add(Ur.toString()),gi=Mr(ui,!1);Ht==null||Ht(tt(Tr,gi),{offset:Ln.current?Ve(Dn):Dn,type:ir?"up":"down"}),(ti=Lt.current)===null||ti===void 0||ti.focus()}},Gr=function(ir){var ti=Ce(sn(Tt)),Ur=ti;ti.isNaN()?Ur=Mr(nn,ir):Ur=Mr(ti,ir),Jn!==void 0?qt(nn,!1):Ur.isNaN()||qt(Ur,!1)},Kr=function(){fn.current=!0},oi=function(ir){var ti=ir.key,Ur=ir.shiftKey;fn.current=!0,Ln.current=Ur,ti==="Enter"&&(wn.current||(fn.current=!1),Gr(!1),Pr==null||Pr(ir)),Gn!==!1&&!wn.current&&["Up","ArrowUp","Down","ArrowDown"].includes(ti)&&(Ar(ti==="Up"||ti==="ArrowUp"),ir.preventDefault())},Di=function(){fn.current=!1,Ln.current=!1},Hr=function(){Gr(!1),hn(!1),fn.current=!1};return(0,Me.o)(function(){nn.isInvalidate()||qt(nn,!1)},[$n]),(0,Me.o)(function(){var or=Ce(Jn);In(or);var ir=Ce(sn(Tt));(!or.equals(ir)||!fn.current||Xn)&&qt(or,fn.current)},[Jn]),(0,Me.o)(function(){Xn&&gr()},[Tt]),Se.createElement("div",{className:je()(Kt,cr==null?void 0:cr.input,Zt,(Et={},(0,ne.Z)(Et,"".concat(Kt,"-focused"),Yt),(0,ne.Z)(Et,"".concat(Kt,"-disabled"),br),(0,ne.Z)(Et,"".concat(Kt,"-readonly"),sr),(0,ne.Z)(Et,"".concat(Kt,"-not-a-number"),nn.isNaN()),(0,ne.Z)(Et,"".concat(Kt,"-out-of-range"),!nn.isInvalidate()&&!zr(nn)),Et)),style:rn,onFocus:function(){hn(!0)},onBlur:Hr,onKeyDown:oi,onKeyUp:Di,onCompositionStart:dr,onCompositionEnd:Rr,onBeforeInput:Kr},xr&&Se.createElement(st,{prefixCls:Kt,upNode:Rn,downNode:Fn,upDisabled:yn,downDisabled:bn,onStep:Ar}),Se.createElement("div",{className:"".concat(Rt,"-wrap")},Se.createElement("input",(0,ve.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":En,"aria-valuemax":On,"aria-valuenow":nn.isInvalidate()?null:nn.toString(),step:Dn},kt,{ref:(0,De.sQ)(Lt,ft),className:Rt,value:Tt,onChange:Cr,disabled:br,readOnly:sr}))))}),yt=Se.forwardRef(function(St,ft){var Et=St.disabled,Ft=St.style,Kt=St.prefixCls,Zt=St.value,rn=St.prefix,En=St.suffix,On=St.addonBefore,Hn=St.addonAfter,Dn=St.classes,jn=St.className,Jn=St.classNames,br=(0,oe.Z)(St,at),sr=Se.useRef(null),Rn=function(Gn){sr.current&&(0,Qe.nH)(sr.current,Gn)};return Se.createElement(_e.BaseInput,{inputElement:Se.createElement(ot,(0,ve.Z)({prefixCls:Kt,disabled:Et,classNames:Jn,ref:(0,De.sQ)(sr,ft)},br)),className:jn,triggerFocus:Rn,prefixCls:Kt,value:Zt,disabled:Et,style:Ft,prefix:rn,suffix:En,addonAfter:Hn,addonBefore:On,classes:Dn,classNames:Jn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});yt.displayName="InputNumber";var pt=yt,Pt=pt,Mt=Te(19080),ct=Te(36355),Je=Te(92736),Ze=Te(1684),ue=Te(19716),he=Te(32441),He=Te(33234),We=Te(9937),fe=Te(17313),Pe=Te(74207),Fe=Te(83116),Ke=Te(37613);const Ue=(St,ft)=>{let{componentCls:Et,borderRadiusSM:Ft,borderRadiusLG:Kt}=St;const Zt=ft==="lg"?Kt:Ft;return{[`&-${ft}`]:{[`${Et}-handler-wrap`]:{borderStartEndRadius:Zt,borderEndEndRadius:Zt},[`${Et}-handler-up`]:{borderStartEndRadius:Zt},[`${Et}-handler-down`]:{borderEndEndRadius:Zt}}}},ut=St=>{const{componentCls:ft,lineWidth:Et,lineType:Ft,colorBorder:Kt,borderRadius:Zt,fontSizeLG:rn,controlHeightLG:En,controlHeightSM:On,colorError:Hn,paddingInlineSM:Dn,colorTextDescription:jn,motionDurationMid:Jn,handleHoverColor:br,paddingInline:sr,paddingBlock:Rn,handleBg:Fn,handleActiveBg:Gn,colorTextDisabled:er,borderRadiusSM:xr,borderRadiusLG:cr,controlWidth:Tr,handleVisible:Dr,handleBorderColor:Xn}=St;return[{[ft]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,fe.Wf)(St)),(0,We.ik)(St)),(0,We.bi)(St,ft)),{display:"inline-block",width:Tr,margin:0,padding:0,border:`${Et}px ${Ft} ${Kt}`,borderRadius:Zt,"&-rtl":{direction:"rtl",[`${ft}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:rn,borderRadius:cr,[`input${ft}-input`]:{height:En-2*Et}},"&-sm":{padding:0,borderRadius:xr,[`input${ft}-input`]:{height:On-2*Et,padding:`0 ${Dn}px`}},"&:hover":Object.assign({},(0,We.pU)(St)),"&-focused":Object.assign({},(0,We.M1)(St)),"&-out-of-range":{[`${ft}-input-wrap`]:{input:{color:Hn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,fe.Wf)(St)),(0,We.s7)(St)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${ft}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${ft}-group-addon`]:{borderRadius:cr,fontSize:St.fontSizeLG}},"&-sm":{[`${ft}-group-addon`]:{borderRadius:xr}},[`${ft}-wrapper-disabled > ${ft}-group-addon`]:Object.assign({},(0,We.Xy)(St))}}),[`&-disabled ${ft}-input`]:{cursor:"not-allowed"},[ft]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,fe.Wf)(St)),{width:"100%",padding:`${Rn}px ${sr}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Zt,outline:0,transition:`all ${Jn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,We.nz)(St.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:St.handleWidth,height:"100%",background:Fn,borderStartStartRadius:0,borderStartEndRadius:Zt,borderEndEndRadius:Zt,borderEndStartRadius:0,opacity:Dr===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Jn} linear ${Jn}`,[`${ft}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${ft}-handler-up-inner,
${ft}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:St.handleFontSize}}},[`${ft}-handler`]:{height:"50%",overflow:"hidden",color:jn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Et}px ${Ft} ${Xn}`,transition:`all ${Jn} linear`,"&:active":{background:Gn},"&:hover":{height:"60%",[`
${ft}-handler-up-inner,
${ft}-handler-down-inner
`]:{color:br}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,fe.Ro)()),{color:jn,transition:`all ${Jn} linear`,userSelect:"none"})},[`${ft}-handler-up`]:{borderStartEndRadius:Zt},[`${ft}-handler-down`]:{borderBlockStart:`${Et}px ${Ft} ${Xn}`,borderEndEndRadius:Zt}},Ue(St,"lg")),Ue(St,"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:er}})},{[`${ft}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${ft}-handler-down`]:{borderBlockStartWidth:0}}}]},vt=St=>{const{componentCls:ft,paddingBlock:Et,paddingInline:Ft,inputAffixPadding:Kt,controlWidth:Zt,borderRadiusLG:rn,borderRadiusSM:En}=St;return{[`${ft}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,We.ik)(St)),(0,We.bi)(St,`${ft}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Zt,padding:0,paddingInlineStart:Ft,"&-lg":{borderRadius:rn},"&-sm":{borderRadius:En},[`&:not(${ft}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,We.pU)(St)),{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:`${Et}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:Kt},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:Ft,marginInlineStart:Kt}}})}};var lt=(0,Fe.Z)("InputNumber",St=>{const ft=(0,Ke.TS)(St,(0,We.e5)(St));return[ut(ft),vt(ft),(0,Pe.c)(ft)]},St=>Object.assign(Object.assign({},(0,We.TM)(St)),{controlWidth:90,handleWidth:St.controlHeightSM-St.lineWidth*2,handleFontSize:St.fontSize/2,handleVisible:"auto",handleActiveBg:St.colorFillAlter,handleBg:St.colorBgContainer,handleHoverColor:St.colorPrimary,handleBorderColor:St.colorBorder})),Dt=function(St,ft){var Et={};for(var Ft in St)Object.prototype.hasOwnProperty.call(St,Ft)&&ft.indexOf(Ft)<0&&(Et[Ft]=St[Ft]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,Ft=Object.getOwnPropertySymbols(St);Kt<Ft.length;Kt++)ft.indexOf(Ft[Kt])<0&&Object.prototype.propertyIsEnumerable.call(St,Ft[Kt])&&(Et[Ft[Kt]]=St[Ft[Kt]]);return Et};const Wt=Se.forwardRef((St,ft)=>{const{getPrefixCls:Et,direction:Ft}=Se.useContext(ct.E_),Kt=Se.useRef(null);Se.useImperativeHandle(ft,()=>Kt.current);const{className:Zt,rootClassName:rn,size:En,disabled:On,prefixCls:Hn,addonBefore:Dn,addonAfter:jn,prefix:Jn,bordered:br=!0,readOnly:sr,status:Rn,controls:Fn}=St,Gn=Dt(St,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),er=Et("input-number",Hn),[xr,cr]=lt(er),{compactSize:Tr,compactItemClassnames:Dr}=(0,He.ri)(er,Ft);let Xn=Se.createElement(bt.Z,{className:`${er}-handler-up-inner`}),$n=Se.createElement(Ne.Z,{className:`${er}-handler-down-inner`});const wr=typeof Fn=="boolean"?Fn:void 0;typeof Fn=="object"&&(Xn=typeof Fn.upIcon=="undefined"?Xn:Se.createElement("span",{className:`${er}-handler-up-inner`},Fn.upIcon),$n=typeof Fn.downIcon=="undefined"?$n:Se.createElement("span",{className:`${er}-handler-down-inner`},Fn.downIcon));const{hasFeedback:nr,status:Zn,isFormItemInput:Pr,feedbackIcon:Ht}=Se.useContext(he.aM),kt=(0,Mt.F)(Zn,Rn),Rt=(0,ue.Z)(fn=>{var wn;return(wn=En!=null?En:Tr)!==null&&wn!==void 0?wn:fn}),Lt=Se.useContext(Ze.Z),Bt=On!=null?On:Lt,Ut=je()({[`${er}-lg`]:Rt==="large",[`${er}-sm`]:Rt==="small",[`${er}-rtl`]:Ft==="rtl",[`${er}-borderless`]:!br,[`${er}-in-form-item`]:Pr},(0,Mt.Z)(er,kt),Dr,cr),Yt=`${er}-group`,hn=Se.createElement(Pt,Object.assign({ref:Kt,disabled:Bt,className:je()(Zt,rn),upHandler:Xn,downHandler:$n,prefixCls:er,readOnly:sr,controls:wr,prefix:Jn,suffix:nr&&Ht,addonAfter:jn&&Se.createElement(He.BR,null,Se.createElement(he.Ux,{override:!0,status:!0},jn)),addonBefore:Dn&&Se.createElement(He.BR,null,Se.createElement(he.Ux,{override:!0,status:!0},Dn)),classNames:{input:Ut},classes:{affixWrapper:je()((0,Mt.Z)(`${er}-affix-wrapper`,kt,nr),{[`${er}-affix-wrapper-sm`]:Rt==="small",[`${er}-affix-wrapper-lg`]:Rt==="large",[`${er}-affix-wrapper-rtl`]:Ft==="rtl",[`${er}-affix-wrapper-borderless`]:!br},cr),wrapper:je()({[`${Yt}-rtl`]:Ft==="rtl",[`${er}-wrapper-disabled`]:Bt},cr),group:je()({[`${er}-group-wrapper-sm`]:Rt==="small",[`${er}-group-wrapper-lg`]:Rt==="large",[`${er}-group-wrapper-rtl`]:Ft==="rtl"},(0,Mt.Z)(`${er}-group-wrapper`,kt,nr),cr)}},Gn));return xr(hn)}),wt=Wt,zt=St=>Se.createElement(Je.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},Se.createElement(Wt,Object.assign({},St)));wt._InternalPanelDoNotUseOrYouWillBeFired=zt;var Nt=wt},9432:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Ae},n:function(){return we}});var Ne=Te(19248),bt=Te(92310),E=Te.n(bt),je=Te(93681),ve=Te(8654),ne=Te(59301),ee=Te(19080),ie=Te(36355),oe=Te(1684),le=Te(19716),pe=Te(32441),re=Te(33234),ae=Te(59412),ce=Te(9937);function de(ye){return!!(ye.prefix||ye.suffix||ye.allowClear)}var me=function(ye,Ee){var Le={};for(var Ce in ye)Object.prototype.hasOwnProperty.call(ye,Ce)&&Ee.indexOf(Ce)<0&&(Le[Ce]=ye[Ce]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Ce=Object.getOwnPropertySymbols(ye);_e<Ce.length;_e++)Ee.indexOf(Ce[_e])<0&&Object.prototype.propertyIsEnumerable.call(ye,Ce[_e])&&(Le[Ce[_e]]=ye[Ce[_e]]);return Le};function we(ye,Ee){if(!ye)return;ye.focus(Ee);const{cursor:Le}=Ee||{};if(Le){const Ce=ye.value.length;switch(Le){case"start":ye.setSelectionRange(0,0);break;case"end":ye.setSelectionRange(Ce,Ce);break;default:ye.setSelectionRange(0,Ce);break}}}var Ae=(0,ne.forwardRef)((ye,Ee)=>{var Le;const{prefixCls:Ce,bordered:_e=!0,status:Me,size:De,disabled:Se,onBlur:Be,onFocus:Re,suffix:Xe,allowClear:Ie,addonAfter:Ye,addonBefore:Ge,className:qe,style:it,styles:st,rootClassName:Ve,onChange:Qe,classNames:nt}=ye,dt=me(ye,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:at,direction:tt,input:et}=ne.useContext(ie.E_),ot=at("input",Ce),yt=(0,ne.useRef)(null),[pt,Pt]=(0,ce.ZP)(ot),{compactSize:Mt,compactItemClassnames:ct}=(0,re.ri)(ot,tt),Je=(0,le.Z)(Wt=>{var wt;return(wt=De!=null?De:Mt)!==null&&wt!==void 0?wt:Wt}),Ze=ne.useContext(oe.Z),ue=Se!=null?Se:Ze,{status:he,hasFeedback:He,feedbackIcon:We}=(0,ne.useContext)(pe.aM),fe=(0,ee.F)(he,Me),Pe=de(ye)||!!He,Fe=(0,ne.useRef)(Pe);(0,ne.useEffect)(()=>{var Wt;Pe&&Fe.current,Fe.current=Pe},[Pe]);const Ke=(0,ae.Z)(yt,!0),Ue=Wt=>{Ke(),Be==null||Be(Wt)},ut=Wt=>{Ke(),Re==null||Re(Wt)},vt=Wt=>{Ke(),Qe==null||Qe(Wt)},lt=(He||Xe)&&ne.createElement(ne.Fragment,null,Xe,He&&We);let Dt;return typeof Ie=="object"&&(Ie!=null&&Ie.clearIcon)?Dt=Ie:Ie&&(Dt={clearIcon:ne.createElement(Ne.Z,null)}),pt(ne.createElement(je.default,Object.assign({ref:(0,ve.sQ)(Ee,yt),prefixCls:ot,autoComplete:et==null?void 0:et.autoComplete},dt,{disabled:ue,onBlur:Ue,onFocus:ut,style:Object.assign(Object.assign({},et==null?void 0:et.style),it),styles:Object.assign(Object.assign({},et==null?void 0:et.styles),st),suffix:lt,allowClear:Dt,className:E()(qe,Ve,ct,et==null?void 0:et.className),onChange:vt,addonAfter:Ye&&ne.createElement(re.BR,null,ne.createElement(pe.Ux,{override:!0,status:!0},Ye)),addonBefore:Ge&&ne.createElement(re.BR,null,ne.createElement(pe.Ux,{override:!0,status:!0},Ge)),classNames:Object.assign(Object.assign(Object.assign({},nt),et==null?void 0:et.classNames),{input:E()({[`${ot}-sm`]:Je==="small",[`${ot}-lg`]:Je==="large",[`${ot}-rtl`]:tt==="rtl",[`${ot}-borderless`]:!_e},!Pe&&(0,ee.Z)(ot,fe),nt==null?void 0:nt.input,(Le=et==null?void 0:et.classNames)===null||Le===void 0?void 0:Le.input,Pt)}),classes:{affixWrapper:E()({[`${ot}-affix-wrapper-sm`]:Je==="small",[`${ot}-affix-wrapper-lg`]:Je==="large",[`${ot}-affix-wrapper-rtl`]:tt==="rtl",[`${ot}-affix-wrapper-borderless`]:!_e},(0,ee.Z)(`${ot}-affix-wrapper`,fe,He),Pt),wrapper:E()({[`${ot}-group-rtl`]:tt==="rtl"},Pt),group:E()({[`${ot}-group-wrapper-sm`]:Je==="small",[`${ot}-group-wrapper-lg`]:Je==="large",[`${ot}-group-wrapper-rtl`]:tt==="rtl",[`${ot}-group-wrapper-disabled`]:ue},(0,ee.Z)(`${ot}-group-wrapper`,fe,He),Pt)}})))})},1643:function(kn,Qt,Te){"use strict";var Ne=Te(19248),bt=Te(92310),E=Te.n(bt),je=Te(9296),ve=Te(59301),ne=Te(19080),ee=Te(36355),ie=Te(1684),oe=Te(19716),le=Te(32441),pe=Te(9432),re=Te(9937),ae=function(de,me){var we={};for(var xe in de)Object.prototype.hasOwnProperty.call(de,xe)&&me.indexOf(xe)<0&&(we[xe]=de[xe]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,xe=Object.getOwnPropertySymbols(de);Ae<xe.length;Ae++)me.indexOf(xe[Ae])<0&&Object.prototype.propertyIsEnumerable.call(de,xe[Ae])&&(we[xe[Ae]]=de[xe[Ae]]);return we};const ce=(0,ve.forwardRef)((de,me)=>{const{prefixCls:we,bordered:xe=!0,size:Ae,disabled:ye,status:Ee,allowClear:Le,showCount:Ce,classNames:_e,rootClassName:Me,className:De}=de,Se=ae(de,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Be,direction:Re}=ve.useContext(ee.E_),Xe=(0,oe.Z)(Ae),Ie=ve.useContext(ie.Z),Ye=ye!=null?ye:Ie,{status:Ge,hasFeedback:qe,feedbackIcon:it}=ve.useContext(le.aM),st=(0,ne.F)(Ge,Ee),Ve=ve.useRef(null);ve.useImperativeHandle(me,()=>{var tt;return{resizableTextArea:(tt=Ve.current)===null||tt===void 0?void 0:tt.resizableTextArea,focus:et=>{var ot,yt;(0,pe.n)((yt=(ot=Ve.current)===null||ot===void 0?void 0:ot.resizableTextArea)===null||yt===void 0?void 0:yt.textArea,et)},blur:()=>{var et;return(et=Ve.current)===null||et===void 0?void 0:et.blur()}}});const Qe=Be("input",we);let nt;typeof Le=="object"&&(Le!=null&&Le.clearIcon)?nt=Le:Le&&(nt={clearIcon:ve.createElement(Ne.Z,null)});const[dt,at]=(0,re.ZP)(Qe);return dt(ve.createElement(je.default,Object.assign({},Se,{disabled:Ye,allowClear:nt,className:E()(De,Me),classes:{affixWrapper:E()(`${Qe}-textarea-affix-wrapper`,{[`${Qe}-affix-wrapper-rtl`]:Re==="rtl",[`${Qe}-affix-wrapper-borderless`]:!xe,[`${Qe}-affix-wrapper-sm`]:Xe==="small",[`${Qe}-affix-wrapper-lg`]:Xe==="large",[`${Qe}-textarea-show-count`]:Ce},(0,ne.Z)(`${Qe}-affix-wrapper`,st),at)},classNames:Object.assign(Object.assign({},_e),{textarea:E()({[`${Qe}-borderless`]:!xe,[`${Qe}-sm`]:Xe==="small",[`${Qe}-lg`]:Xe==="large"},(0,ne.Z)(Qe,st),at,_e==null?void 0:_e.textarea)}),prefixCls:Qe,suffix:qe&&ve.createElement("span",{className:`${Qe}-textarea-suffix`},it),showCount:Ce,ref:Ve})))});Qt.Z=ce},59412:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return bt}});var Ne=Te(59301);function bt(E,je){const ve=(0,Ne.useRef)([]),ne=()=>{ve.current.push(setTimeout(()=>{var ee,ie,oe,le;!((ee=E.current)===null||ee===void 0)&&ee.input&&((ie=E.current)===null||ie===void 0?void 0:ie.input.getAttribute("type"))==="password"&&(!((oe=E.current)===null||oe===void 0)&&oe.input.hasAttribute("value"))&&((le=E.current)===null||le===void 0||le.input.removeAttribute("value"))}))};return(0,Ne.useEffect)(()=>(je&&ne(),()=>ve.current.forEach(ee=>{ee&&clearTimeout(ee)})),[]),ne}},92832:function(kn,Qt,Te){"use strict";Te.d(Qt,{default:function(){return Xe}});var Ne=Te(92310),bt=Te.n(Ne),E=Te(59301),je=Te(36355),ve=Te(32441),ne=Te(9937),ie=Ie=>{const{getPrefixCls:Ye,direction:Ge}=(0,E.useContext)(je.E_),{prefixCls:qe,className:it}=Ie,st=Ye("input-group",qe),Ve=Ye("input"),[Qe,nt]=(0,ne.ZP)(Ve),dt=bt()(st,{[`${st}-lg`]:Ie.size==="large",[`${st}-sm`]:Ie.size==="small",[`${st}-compact`]:Ie.compact,[`${st}-rtl`]:Ge==="rtl"},nt,it),at=(0,E.useContext)(ve.aM),tt=(0,E.useMemo)(()=>Object.assign(Object.assign({},at),{isFormItemInput:!1}),[at]);return Qe(E.createElement("span",{className:dt,style:Ie.style,onMouseEnter:Ie.onMouseEnter,onMouseLeave:Ie.onMouseLeave,onFocus:Ie.onFocus,onBlur:Ie.onBlur},E.createElement(ve.aM.Provider,{value:tt},Ie.children)))},oe=Te(9432),le=Te(73331),pe=Te(15277),re=Te(2738),ae=Te(8654),ce=Te(59412),de=function(Ie,Ye){var Ge={};for(var qe in Ie)Object.prototype.hasOwnProperty.call(Ie,qe)&&Ye.indexOf(qe)<0&&(Ge[qe]=Ie[qe]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,qe=Object.getOwnPropertySymbols(Ie);it<qe.length;it++)Ye.indexOf(qe[it])<0&&Object.prototype.propertyIsEnumerable.call(Ie,qe[it])&&(Ge[qe[it]]=Ie[qe[it]]);return Ge};const me=Ie=>Ie?E.createElement(pe.Z,null):E.createElement(le.Z,null),we={click:"onClick",hover:"onMouseOver"};var Ae=E.forwardRef((Ie,Ye)=>{const{visibilityToggle:Ge=!0}=Ie,qe=typeof Ge=="object"&&Ge.visible!==void 0,[it,st]=(0,E.useState)(()=>qe?Ge.visible:!1),Ve=(0,E.useRef)(null);E.useEffect(()=>{qe&&st(Ge.visible)},[qe,Ge]);const Qe=(0,ce.Z)(Ve),nt=()=>{const{disabled:ue}=Ie;ue||(it&&Qe(),st(he=>{var He;const We=!he;return typeof Ge=="object"&&((He=Ge.onVisibleChange)===null||He===void 0||He.call(Ge,We)),We}))},dt=ue=>{const{action:he="click",iconRender:He=me}=Ie,We=we[he]||"",fe=He(it),Pe={[We]:nt,className:`${ue}-icon`,key:"passwordIcon",onMouseDown:Fe=>{Fe.preventDefault()},onMouseUp:Fe=>{Fe.preventDefault()}};return E.cloneElement(E.isValidElement(fe)?fe:E.createElement("span",null,fe),Pe)},{className:at,prefixCls:tt,inputPrefixCls:et,size:ot}=Ie,yt=de(Ie,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:pt}=E.useContext(je.E_),Pt=pt("input",et),Mt=pt("input-password",tt),ct=Ge&&dt(Mt),Je=bt()(Mt,at,{[`${Mt}-${ot}`]:!!ot}),Ze=Object.assign(Object.assign({},(0,re.Z)(yt,["suffix","iconRender","visibilityToggle"])),{type:it?"text":"password",className:Je,prefixCls:Pt,suffix:ct});return ot&&(Ze.size=ot),E.createElement(oe.Z,Object.assign({ref:(0,ae.sQ)(Ye,Ve)},Ze))}),ye=Te(47472),Ee=Te(92343),Le=Te(3113),Ce=Te(19716),_e=Te(33234),Me=function(Ie,Ye){var Ge={};for(var qe in Ie)Object.prototype.hasOwnProperty.call(Ie,qe)&&Ye.indexOf(qe)<0&&(Ge[qe]=Ie[qe]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,qe=Object.getOwnPropertySymbols(Ie);it<qe.length;it++)Ye.indexOf(qe[it])<0&&Object.prototype.propertyIsEnumerable.call(Ie,qe[it])&&(Ge[qe[it]]=Ie[qe[it]]);return Ge},Se=E.forwardRef((Ie,Ye)=>{const{prefixCls:Ge,inputPrefixCls:qe,className:it,size:st,suffix:Ve,enterButton:Qe=!1,addonAfter:nt,loading:dt,disabled:at,onSearch:tt,onChange:et,onCompositionStart:ot,onCompositionEnd:yt}=Ie,pt=Me(Ie,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Pt,direction:Mt}=E.useContext(je.E_),ct=E.useRef(!1),Je=Pt("input-search",Ge),Ze=Pt("input",qe),{compactSize:ue}=(0,_e.ri)(Je,Mt),he=(0,Ce.Z)(zt=>{var Nt;return(Nt=st!=null?st:ue)!==null&&Nt!==void 0?Nt:zt}),He=E.useRef(null),We=zt=>{zt&&zt.target&&zt.type==="click"&&tt&&tt(zt.target.value,zt,{source:"clear"}),et&&et(zt)},fe=zt=>{var Nt;document.activeElement===((Nt=He.current)===null||Nt===void 0?void 0:Nt.input)&&zt.preventDefault()},Pe=zt=>{var Nt,St;tt&&tt((St=(Nt=He.current)===null||Nt===void 0?void 0:Nt.input)===null||St===void 0?void 0:St.value,zt,{source:"input"})},Fe=zt=>{ct.current||dt||Pe(zt)},Ke=typeof Qe=="boolean"?E.createElement(ye.Z,null):null,Ue=`${Je}-button`;let ut;const vt=Qe||{},lt=vt.type&&vt.type.__ANT_BUTTON===!0;lt||vt.type==="button"?ut=(0,Ee.Tm)(vt,Object.assign({onMouseDown:fe,onClick:zt=>{var Nt,St;(St=(Nt=vt==null?void 0:vt.props)===null||Nt===void 0?void 0:Nt.onClick)===null||St===void 0||St.call(Nt,zt),Pe(zt)},key:"enterButton"},lt?{className:Ue,size:he}:{})):ut=E.createElement(Le.ZP,{className:Ue,type:Qe?"primary":void 0,size:he,disabled:at,key:"enterButton",onMouseDown:fe,onClick:Pe,loading:dt,icon:Ke},Qe),nt&&(ut=[ut,(0,Ee.Tm)(nt,{key:"addonAfter"})]);const Dt=bt()(Je,{[`${Je}-rtl`]:Mt==="rtl",[`${Je}-${he}`]:!!he,[`${Je}-with-button`]:!!Qe},it),Wt=zt=>{ct.current=!0,ot==null||ot(zt)},wt=zt=>{ct.current=!1,yt==null||yt(zt)};return E.createElement(oe.Z,Object.assign({ref:(0,ae.sQ)(He,Ye),onPressEnter:Fe},pt,{size:he,onCompositionStart:Wt,onCompositionEnd:wt,prefixCls:Ze,addonAfter:ut,suffix:Ve,onChange:We,className:Dt,disabled:at}))}),Be=Te(1643);const Re=oe.Z;Re.Group=ie,Re.Search=Se,Re.TextArea=Be.Z,Re.Password=Ae;var Xe=Re},9937:function(kn,Qt,Te){"use strict";Te.d(Qt,{M1:function(){return ee},TM:function(){return Ee},Xy:function(){return ie},bi:function(){return pe},e5:function(){return ye},ik:function(){return re},nz:function(){return ve},pU:function(){return ne},s7:function(){return ae},x0:function(){return le}});var Ne=Te(17313),bt=Te(74207),E=Te(37613),je=Te(83116);const ve=Le=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:Le,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),ne=Le=>({borderColor:Le.hoverBorderColor}),ee=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({},ne((0,E.TS)(Le,{hoverBorderColor:Le.colorBorder})))}),oe=Le=>{const{paddingBlockLG:Ce,fontSizeLG:_e,lineHeightLG:Me,borderRadiusLG:De,paddingInlineLG:Se}=Le;return{padding:`${Ce}px ${Se}px`,fontSize:_e,lineHeight:Me,borderRadius:De}},le=Le=>({padding:`${Le.paddingBlockSM}px ${Le.paddingInlineSM}px`,borderRadius:Le.borderRadiusSM}),pe=(Le,Ce)=>{const{componentCls:_e,colorError:Me,colorWarning:De,errorActiveShadow:Se,warningActiveShadow:Be,colorErrorBorderHover:Re,colorWarningBorderHover:Xe}=Le;return{[`&-status-error:not(${Ce}-disabled):not(${Ce}-borderless)${Ce}`]:{borderColor:Me,"&:hover":{borderColor:Re},"&:focus, &-focused":Object.assign({},ee((0,E.TS)(Le,{activeBorderColor:Me,activeShadow:Se}))),[`${_e}-prefix, ${_e}-suffix`]:{color:Me}},[`&-status-warning:not(${Ce}-disabled):not(${Ce}-borderless)${Ce}`]:{borderColor:De,"&:hover":{borderColor:Xe},"&:focus, &-focused":Object.assign({},ee((0,E.TS)(Le,{activeBorderColor:De,activeShadow:Be}))),[`${_e}-prefix, ${_e}-suffix`]:{color:De}}}},re=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({},ne(Le)),"&:focus, &-focused":Object.assign({},ee(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:Ce,antCls:_e}=Le;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:Le.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${Ce}, &-lg > ${Ce}-group-addon`]:Object.assign({},oe(Le)),[`&-sm ${Ce}, &-sm > ${Ce}-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},[`> ${Ce}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${Ce}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${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}},[`${Ce}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${Ce}-search-with-button &`]:{zIndex:0}}},[`> ${Ce}:first-child, ${Ce}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${_e}-select ${_e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Ce}-affix-wrapper`]:{[`&:not(:first-child) ${Ce}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${Ce}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Ce}:last-child, ${Ce}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${_e}-select ${_e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${Ce}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${Ce}-search &`]:{borderStartStartRadius:Le.borderRadius,borderEndStartRadius:Le.borderRadius}},[`&:not(:first-child), ${Ce}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${Ce}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,Ne.dF)()),{[`${Ce}-group-addon, ${Ce}-group-wrap, > ${Ce}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:Le.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${Ce}-affix-wrapper,
& > ${Ce}-number-affix-wrapper,
& > ${_e}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-Le.lineWidth,borderInlineEndWidth:Le.lineWidth},[`${Ce}`]:{float:"none"},[`& > ${_e}-select > ${_e}-select-selector,
& > ${_e}-select-auto-complete ${Ce},
& > ${_e}-cascader-picker ${Ce},
& > ${Ce}-group-wrapper ${Ce}`]:{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 ${Ce},
& > ${_e}-cascader-picker:first-child ${Ce}`]:{borderStartStartRadius:Le.borderRadius,borderEndStartRadius:Le.borderRadius},[`& > *:last-child,
& > ${_e}-select:last-child > ${_e}-select-selector,
& > ${_e}-cascader-picker:last-child ${Ce},
& > ${_e}-cascader-picker-focused:last-child ${Ce}`]:{borderInlineEndWidth:Le.lineWidth,borderStartEndRadius:Le.borderRadius,borderEndEndRadius:Le.borderRadius},[`& > ${_e}-select-auto-complete ${Ce}`]:{verticalAlign:"top"},[`${Ce}-group-wrapper + ${Ce}-group-wrapper`]:{marginInlineStart:-Le.lineWidth,[`${Ce}-affix-wrapper`]:{borderRadius:0}},[`${Ce}-group-wrapper:not(:last-child)`]:{[`&${Ce}-search > ${Ce}-group`]:{[`& > ${Ce}-group-addon > ${Ce}-search-button`]:{borderRadius:0},[`& > ${Ce}`]:{borderStartStartRadius:Le.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Le.borderRadius}}}})}},ce=Le=>{const{componentCls:Ce,controlHeightSM:_e,lineWidth:Me}=Le,Se=(_e-Me*2-16)/2;return{[Ce]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(Le)),re(Le)),pe(Le,Ce)),{'&[type="color"]':{height:Le.controlHeight,[`&${Ce}-lg`]:{height:Le.controlHeightLG},[`&${Ce}-sm`]:{height:_e,paddingTop:Se,paddingBottom:Se}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},de=Le=>{const{componentCls:Ce}=Le;return{[`${Ce}-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`}}}},me=Le=>{const{componentCls:Ce,inputAffixPadding:_e,colorTextDescription:Me,motionDurationSlow:De,colorIcon:Se,colorIconHover:Be,iconCls:Re}=Le;return{[`${Ce}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},re(Le)),{display:"inline-flex",[`&:not(${Ce}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},ne(Le)),{zIndex:1,[`${Ce}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${Ce}[disabled]`]:{background:"transparent"}},[`> input${Ce}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Ce}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:Le.paddingXS}},"&-show-count-suffix":{color:Me},"&-show-count-has-suffix":{marginInlineEnd:Le.paddingXXS},"&-prefix":{marginInlineEnd:_e},"&-suffix":{marginInlineStart:_e}}}),de(Le)),{[`${Re}${Ce}-password-icon`]:{color:Se,cursor:"pointer",transition:`all ${De}`,"&:hover":{color:Be}}}),pe(Le,`${Ce}-affix-wrapper`))}},we=Le=>{const{componentCls:Ce,colorError:_e,colorWarning:Me,borderRadiusLG:De,borderRadiusSM:Se}=Le;return{[`${Ce}-group`]:Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(Le)),ae(Le)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${Ce}-group-addon`]:{borderRadius:De,fontSize:Le.fontSizeLG}},"&-sm":{[`${Ce}-group-addon`]:{borderRadius:Se}},"&-status-error":{[`${Ce}-group-addon`]:{color:_e,borderColor:_e}},"&-status-warning":{[`${Ce}-group-addon`]:{color:Me,borderColor:Me}},"&-disabled":{[`${Ce}-group-addon`]:Object.assign({},ie(Le))},[`&:not(${Ce}-compact-first-item):not(${Ce}-compact-last-item)${Ce}-compact-item`]:{[`${Ce}, ${Ce}-group-addon`]:{borderRadius:0}},[`&:not(${Ce}-compact-last-item)${Ce}-compact-first-item`]:{[`${Ce}, ${Ce}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Ce}-compact-first-item)${Ce}-compact-last-item`]:{[`${Ce}, ${Ce}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},xe=Le=>{const{componentCls:Ce,antCls:_e}=Le,Me=`${Ce}-search`;return{[Me]:{[`${Ce}`]:{"&:hover, &:focus":{borderColor:Le.colorPrimaryHover,[`+ ${Ce}-group-addon ${Me}-button:not(${_e}-btn-primary)`]:{borderInlineStartColor:Le.colorPrimaryHover}}},[`${Ce}-affix-wrapper`]:{borderRadius:0},[`${Ce}-lg`]:{lineHeight:Le.lineHeightLG-2e-4},[`> ${Ce}-group`]:{[`> ${Ce}-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"},[`&${Ce}-compact-item`]:{[`&:not(${Ce}-compact-last-item)`]:{[`${Ce}-group-addon`]:{[`${Ce}-search-button`]:{marginInlineEnd:-Le.lineWidth,borderRadius:0}}},[`&:not(${Ce}-compact-first-item)`]:{[`${Ce},${Ce}-affix-wrapper`]:{borderRadius:0}},[`> ${Ce}-group-addon ${Ce}-search-button,
> ${Ce},
${Ce}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${Ce}-affix-wrapper-focused`]:{zIndex:2}}}}},Ae=Le=>{const{componentCls:Ce,paddingLG:_e}=Le,Me=`${Ce}-textarea`;return{[Me]:{position:"relative","&-show-count":{[`> ${Ce}`]:{height:"100%"},[`${Ce}-data-count`]:{position:"absolute",bottom:-Le.fontSize*Le.lineHeight,insetInlineEnd:0,color:Le.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${Ce}`]:{paddingInlineEnd:_e}},[`&-affix-wrapper${Me}-has-feedback`]:{[`${Ce}`]:{paddingInlineEnd:_e}},[`&-affix-wrapper${Ce}-affix-wrapper`]:{padding:0,[`> textarea${Ce}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${Ce}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Ce}-clear-icon`]:{position:"absolute",insetInlineEnd: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,E.TS)(Le,{inputAffixPadding:Le.paddingXXS})}const Ee=Le=>{const{controlHeight:Ce,fontSize:_e,lineHeight:Me,lineWidth:De,controlHeightSM:Se,controlHeightLG:Be,fontSizeLG:Re,lineHeightLG:Xe,paddingSM:Ie,controlPaddingHorizontalSM:Ye,controlPaddingHorizontal:Ge,colorFillAlter:qe,colorPrimaryHover:it,controlOutlineWidth:st,controlOutline:Ve,colorErrorOutline:Qe,colorWarningOutline:nt}=Le;return{paddingBlock:Math.max(Math.round((Ce-_e*Me)/2*10)/10-De,3),paddingBlockSM:Math.max(Math.round((Se-_e*Me)/2*10)/10-De,0),paddingBlockLG:Math.ceil((Be-Re*Xe)/2*10)/10-De,paddingInline:Ie-De,paddingInlineSM:Ye-De,paddingInlineLG:Ge-De,addonBg:qe,activeBorderColor:it,hoverBorderColor:it,activeShadow:`0 0 0 ${st}px ${Ve}`,errorActiveShadow:`0 0 0 ${st}px ${Qe}`,warningActiveShadow:`0 0 0 ${st}px ${nt}`}};Qt.ZP=(0,je.Z)("Input",Le=>{const Ce=(0,E.TS)(Le,ye(Le));return[ce(Ce),Ae(Ce),me(Ce),we(Ce),xe(Ce),(0,bt.c)(Ce)]},Ee)},45818:function(kn,Qt,Te){"use strict";Te.d(Qt,{D:function(){return ye},Z:function(){return Ce}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(Me,De){return bt.createElement(ve.Z,(0,Ne.Z)({},Me,{ref:De,icon:je}))},ee=bt.forwardRef(ne),ie=ee,oe=Te(33853),le=Te(38819),pe=Te(92310),re=Te.n(pe),ae=Te(2738),de=_e=>!isNaN(parseFloat(_e))&&isFinite(_e),me=Te(36355),we=Te(84966),xe=function(_e,Me){var De={};for(var Se in _e)Object.prototype.hasOwnProperty.call(_e,Se)&&Me.indexOf(Se)<0&&(De[Se]=_e[Se]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,Se=Object.getOwnPropertySymbols(_e);Be<Se.length;Be++)Me.indexOf(Se[Be])<0&&Object.prototype.propertyIsEnumerable.call(_e,Se[Be])&&(De[Se[Be]]=_e[Se[Be]]);return De};const Ae={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ye=bt.createContext({}),Ee=(()=>{let _e=0;return function(){let Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return _e+=1,`${Me}${_e}`}})();var Ce=bt.forwardRef((_e,Me)=>{const{prefixCls:De,className:Se,trigger:Be,children:Re,defaultCollapsed:Xe=!1,theme:Ie="dark",style:Ye={},collapsible:Ge=!1,reverseArrow:qe=!1,width:it=200,collapsedWidth:st=80,zeroWidthTriggerStyle:Ve,breakpoint:Qe,onCollapse:nt,onBreakpoint:dt}=_e,at=xe(_e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:tt}=(0,bt.useContext)(we.Gs),[et,ot]=(0,bt.useState)("collapsed"in _e?_e.collapsed:Xe),[yt,pt]=(0,bt.useState)(!1);(0,bt.useEffect)(()=>{"collapsed"in _e&&ot(_e.collapsed)},[_e.collapsed]);const Pt=(he,He)=>{"collapsed"in _e||ot(he),nt==null||nt(he,He)},Mt=(0,bt.useRef)();Mt.current=he=>{pt(he.matches),dt==null||dt(he.matches),et!==he.matches&&Pt(he.matches,"responsive")},(0,bt.useEffect)(()=>{function he(We){return Mt.current(We)}let He;if(typeof window!="undefined"){const{matchMedia:We}=window;if(We&&Qe&&Qe in Ae){He=We(`(max-width: ${Ae[Qe]})`);try{He.addEventListener("change",he)}catch(fe){He.addListener(he)}he(He)}}return()=>{try{He==null||He.removeEventListener("change",he)}catch(We){He==null||He.removeListener(he)}}},[Qe]),(0,bt.useEffect)(()=>{const he=Ee("ant-sider-");return tt.addSider(he),()=>tt.removeSider(he)},[]);const ct=()=>{Pt(!et,"clickTrigger")},{getPrefixCls:Je}=(0,bt.useContext)(me.E_),Ze=()=>{const he=Je("layout-sider",De),He=(0,ae.Z)(at,["collapsed"]),We=et?st:it,fe=de(We)?`${We}px`:String(We),Pe=parseFloat(String(st||0))===0?bt.createElement("span",{onClick:ct,className:re()(`${he}-zero-width-trigger`,`${he}-zero-width-trigger-${qe?"right":"left"}`),style:Ve},Be||bt.createElement(ie,null)):null,Ue={expanded:qe?bt.createElement(le.Z,null):bt.createElement(oe.Z,null),collapsed:qe?bt.createElement(oe.Z,null):bt.createElement(le.Z,null)}[et?"collapsed":"expanded"],ut=Be!==null?Pe||bt.createElement("div",{className:`${he}-trigger`,onClick:ct,style:{width:fe}},Be||Ue):null,vt=Object.assign(Object.assign({},Ye),{flex:`0 0 ${fe}`,maxWidth:fe,minWidth:fe,width:fe}),lt=re()(he,`${he}-${Ie}`,{[`${he}-collapsed`]:!!et,[`${he}-has-trigger`]:Ge&&Be!==null&&!Pe,[`${he}-below`]:!!yt,[`${he}-zero-width`]:parseFloat(fe)===0},Se);return bt.createElement("aside",Object.assign({className:lt},He,{style:vt,ref:Me}),bt.createElement("div",{className:`${he}-children`},Re),Ge||yt&&Pe?ut:null)},ue=bt.useMemo(()=>({siderCollapsed:et}),[et]);return bt.createElement(ye.Provider,{value:ue},Ze())})},84966:function(kn,Qt,Te){"use strict";Te.d(Qt,{VY:function(){return ye},$_:function(){return Ae},h4:function(){return xe},Gs:function(){return ae},ZP:function(){return Ee}});var Ne=Te(77654),bt=Te(92310),E=Te.n(bt),je=Te(2738),ve=Te(59301),ne=Te(36355),ee=Te(83116),oe=Le=>{const{componentCls:Ce,bodyBg:_e,lightSiderBg:Me,lightTriggerBg:De,lightTriggerColor:Se}=Le;return{[`${Ce}-sider-light`]:{background:Me,[`${Ce}-sider-trigger`]:{color:Se,background:De},[`${Ce}-sider-zero-width-trigger`]:{color:Se,background:De,border:`1px solid ${_e}`,borderInlineStart:0}}}};const le=Le=>{const{antCls:Ce,componentCls:_e,colorText:Me,triggerColor:De,footerBg:Se,triggerBg:Be,headerHeight:Re,headerPadding:Xe,headerColor:Ie,footerPadding:Ye,triggerHeight:Ge,zeroTriggerHeight:qe,zeroTriggerWidth:it,motionDurationMid:st,motionDurationSlow:Ve,fontSize:Qe,borderRadius:nt,bodyBg:dt,headerBg:at,siderBg:tt}=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:tt,transition:`all ${st}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ce}-menu${Ce}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ge},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ge,color:De,lineHeight:`${Ge}px`,textAlign:"center",background:Be,cursor:"pointer",transition:`all ${st}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Re,insetInlineEnd:-it,zIndex:1,width:it,height:qe,color:De,fontSize:Le.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:tt,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:-it,borderStartStartRadius:nt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:nt}}}}},oe(Le)),{"&-rtl":{direction:"rtl"}}),[`${_e}-header`]:{height:Re,padding:Xe,color:Ie,lineHeight:`${Re}px`,background:at,[`${Ce}-menu`]:{lineHeight:"inherit"}},[`${_e}-footer`]:{padding:Ye,color:Me,fontSize:Qe,background:Se},[`${_e}-content`]:{flex:"auto",minHeight:0}}};var pe=(0,ee.Z)("Layout",Le=>[le(Le)],Le=>{const{colorBgLayout:Ce,controlHeight:_e,controlHeightLG:Me,colorText:De,controlHeightSM:Se,marginXXS:Be,colorTextLightSolid:Re,colorBgContainer:Xe}=Le,Ie=Me*1.25;return{colorBgHeader:"#001529",colorBgBody:Ce,colorBgTrigger:"#002140",bodyBg:Ce,headerBg:"#001529",headerHeight:_e*2,headerPadding:`0 ${Ie}px`,headerColor:De,footerPadding:`${Se}px ${Ie}px`,footerBg:Ce,siderBg:"#001529",triggerHeight:Me+Be*2,triggerBg:"#002140",triggerColor:Re,zeroTriggerWidth:Me,zeroTriggerHeight:Me,lightSiderBg:Xe,lightTriggerBg:Xe,lightTriggerColor:De}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),re=function(Le,Ce){var _e={};for(var Me in Le)Object.prototype.hasOwnProperty.call(Le,Me)&&Ce.indexOf(Me)<0&&(_e[Me]=Le[Me]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Me=Object.getOwnPropertySymbols(Le);De<Me.length;De++)Ce.indexOf(Me[De])<0&&Object.prototype.propertyIsEnumerable.call(Le,Me[De])&&(_e[Me[De]]=Le[Me[De]]);return _e};const ae=ve.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ce(Le){let{suffixCls:Ce,tagName:_e,displayName:Me}=Le;return De=>ve.forwardRef((Be,Re)=>ve.createElement(De,Object.assign({ref:Re,suffixCls:Ce,tagName:_e},Be)))}const de=ve.forwardRef((Le,Ce)=>{const{prefixCls:_e,suffixCls:Me,className:De,tagName:Se}=Le,Be=re(Le,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Re}=ve.useContext(ne.E_),Xe=Re("layout",_e),[Ie,Ye]=pe(Xe),Ge=Me?`${Xe}-${Me}`:Xe;return Ie(ve.createElement(Se,Object.assign({className:E()(_e||Ge,De,Ye),ref:Ce},Be)))}),me=ve.forwardRef((Le,Ce)=>{const{direction:_e}=ve.useContext(ne.E_),[Me,De]=ve.useState([]),{prefixCls:Se,className:Be,rootClassName:Re,children:Xe,hasSider:Ie,tagName:Ye,style:Ge}=Le,qe=re(Le,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),it=(0,je.Z)(qe,["suffixCls"]),{getPrefixCls:st,layout:Ve}=ve.useContext(ne.E_),Qe=st("layout",Se),[nt,dt]=pe(Qe),at=E()(Qe,{[`${Qe}-has-sider`]:typeof Ie=="boolean"?Ie:Me.length>0,[`${Qe}-rtl`]:_e==="rtl"},Ve==null?void 0:Ve.className,Be,Re,dt),tt=ve.useMemo(()=>({siderHook:{addSider:et=>{De(ot=>[].concat((0,Ne.Z)(ot),[et]))},removeSider:et=>{De(ot=>ot.filter(yt=>yt!==et))}}}),[]);return nt(ve.createElement(ae.Provider,{value:tt},ve.createElement(Ye,Object.assign({ref:Ce,className:at,style:Object.assign(Object.assign({},Ve==null?void 0:Ve.style),Ge)},it),Xe)))}),we=ce({tagName:"div",displayName:"Layout"})(me),xe=ce({suffixCls:"header",tagName:"header",displayName:"Header"})(de),Ae=ce({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(de),ye=ce({suffixCls:"content",tagName:"main",displayName:"Content"})(de);var Ee=we},40875:function(kn,Qt,Te){"use strict";Te.d(Qt,{J:function(){return ne}});var Ne=Te(59301),bt=Te(33234),E=Te(70425),je=function(ee,ie){var oe={};for(var le in ee)Object.prototype.hasOwnProperty.call(ee,le)&&ie.indexOf(le)<0&&(oe[le]=ee[le]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,le=Object.getOwnPropertySymbols(ee);pe<le.length;pe++)ie.indexOf(le[pe])<0&&Object.prototype.propertyIsEnumerable.call(ee,le[pe])&&(oe[le[pe]]=ee[le[pe]]);return oe};const ve=Ne.createContext(null),ne=Ne.forwardRef((ee,ie)=>{const{children:oe}=ee,le=je(ee,["children"]),pe=Ne.useContext(ve),re=Ne.useMemo(()=>Object.assign(Object.assign({},pe),le),[pe,le.prefixCls,le.mode,le.selectable]);return Ne.createElement(ve.Provider,{value:re},Ne.createElement(bt.BR,null,(0,E.supportNodeRef)(oe)?Ne.cloneElement(oe,{ref:ie}):oe))});Qt.Z=ve},20834:function(kn,Qt,Te){"use strict";Te.d(Qt,{default:function(){return ue}});var Ne=Te(15285),bt=Te(59301),E=Te(45818),je=Te(92310),ve=Te.n(je),ne=Te(36355),ee=function(he,He){var We={};for(var fe in he)Object.prototype.hasOwnProperty.call(he,fe)&&He.indexOf(fe)<0&&(We[fe]=he[fe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,fe=Object.getOwnPropertySymbols(he);Pe<fe.length;Pe++)He.indexOf(fe[Pe])<0&&Object.prototype.propertyIsEnumerable.call(he,fe[Pe])&&(We[fe[Pe]]=he[fe[Pe]]);return We},oe=he=>{const{prefixCls:He,className:We,dashed:fe}=he,Pe=ee(he,["prefixCls","className","dashed"]),{getPrefixCls:Fe}=bt.useContext(ne.E_),Ke=Fe("menu",He),Ue=ve()({[`${Ke}-item-divider-dashed`]:!!fe},We);return bt.createElement(Ne.iz,Object.assign({className:Ue},Pe))},le=Te(11592),pe=Te(2738),re=Te(6848),ae=Te(92343),de=(0,bt.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),we=he=>{var He;const{className:We,children:fe,icon:Pe,title:Fe,danger:Ke}=he,{prefixCls:Ue,firstLevel:ut,direction:vt,disableMenuItemTitleTooltip:lt,inlineCollapsed:Dt}=bt.useContext(de),Wt=Et=>{const Ft=bt.createElement("span",{className:`${Ue}-title-content`},fe);return(!Pe||(0,ae.l$)(fe)&&fe.type==="span")&&fe&&Et&&ut&&typeof fe=="string"?bt.createElement("div",{className:`${Ue}-inline-collapsed-noicon`},fe.charAt(0)):Ft},{siderCollapsed:wt}=bt.useContext(E.D);let zt=Fe;typeof Fe=="undefined"?zt=ut?fe:"":Fe===!1&&(zt="");const Nt={title:zt};!wt&&!Dt&&(Nt.title=null,Nt.open=!1);const St=(0,le.Z)(fe).length;let ft=bt.createElement(Ne.ck,Object.assign({},(0,pe.Z)(he,["title","icon","danger"]),{className:ve()({[`${Ue}-item-danger`]:Ke,[`${Ue}-item-only-child`]:(Pe?St+1:St)===1},We),title:typeof Fe=="string"?Fe:void 0}),(0,ae.Tm)(Pe,{className:ve()((0,ae.l$)(Pe)?(He=Pe.props)===null||He===void 0?void 0:He.className:"",`${Ue}-item-icon`)}),Wt(Dt));return lt||(ft=bt.createElement(re.Z,Object.assign({},Nt,{placement:vt==="rtl"?"left":"right",overlayClassName:`${Ue}-inline-collapsed-tooltip`}),ft)),ft},Ae=he=>{var He;const{popupClassName:We,icon:fe,title:Pe,theme:Fe}=he,Ke=bt.useContext(de),{prefixCls:Ue,inlineCollapsed:ut,theme:vt}=Ke,lt=(0,Ne.Xl)();let Dt;if(!fe)Dt=ut&&!lt.length&&Pe&&typeof Pe=="string"?bt.createElement("div",{className:`${Ue}-inline-collapsed-noicon`},Pe.charAt(0)):bt.createElement("span",{className:`${Ue}-title-content`},Pe);else{const wt=(0,ae.l$)(Pe)&&Pe.type==="span";Dt=bt.createElement(bt.Fragment,null,(0,ae.Tm)(fe,{className:ve()((0,ae.l$)(fe)?(He=fe.props)===null||He===void 0?void 0:He.className:"",`${Ue}-item-icon`)}),wt?Pe:bt.createElement("span",{className:`${Ue}-title-content`},Pe))}const Wt=bt.useMemo(()=>Object.assign(Object.assign({},Ke),{firstLevel:!1}),[Ke]);return bt.createElement(de.Provider,{value:Wt},bt.createElement(Ne.Wd,Object.assign({},(0,pe.Z)(he,["icon"]),{title:Dt,popupClassName:ve()(Ue,We,`${Ue}-${Fe||vt}`)})))},ye=Te(18785),Ee=Te(70425),Le=Te(62892),Ce=Te(40875),_e=function(he,He){var We={};for(var fe in he)Object.prototype.hasOwnProperty.call(he,fe)&&He.indexOf(fe)<0&&(We[fe]=he[fe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,fe=Object.getOwnPropertySymbols(he);Pe<fe.length;Pe++)He.indexOf(fe[Pe])<0&&Object.prototype.propertyIsEnumerable.call(he,fe[Pe])&&(We[fe[Pe]]=he[fe[Pe]]);return We};function Me(he){return(he||[]).map((He,We)=>{if(He&&typeof He=="object"){const fe=He,{label:Pe,children:Fe,key:Ke,type:Ue}=fe,ut=_e(fe,["label","children","key","type"]),vt=Ke!=null?Ke:`tmp-${We}`;return Fe||Ue==="group"?Ue==="group"?bt.createElement(Ne.BW,Object.assign({key:vt},ut,{title:Pe}),Me(Fe)):bt.createElement(Ae,Object.assign({key:vt},ut,{title:Pe}),Me(Fe)):Ue==="divider"?bt.createElement(oe,Object.assign({key:vt},ut)):bt.createElement(we,Object.assign({key:vt},ut),Pe)}return null}).filter(He=>He)}function De(he){return bt.useMemo(()=>he&&Me(he),[he])}var Se=Te(64993),Be=Te(17313),Re=Te(8378),Xe=Te(13826),Ie=Te(29878),Ye=Te(83116),Ge=Te(37613),it=he=>{const{componentCls:He,motionDurationSlow:We,horizontalLineHeight:fe,colorSplit:Pe,lineWidth:Fe,lineType:Ke,itemPaddingInline:Ue}=he;return{[`${He}-horizontal`]:{lineHeight:fe,border:0,borderBottom:`${Fe}px ${Ke} ${Pe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${He}-item, ${He}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ue},[`> ${He}-item:hover,
> ${He}-item-active,
> ${He}-submenu ${He}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${He}-item, ${He}-submenu-title`]:{transition:[`border-color ${We}`,`background ${We}`].join(",")},[`${He}-submenu-arrow`]:{display:"none"}}}},Ve=he=>{let{componentCls:He,menuArrowOffset:We}=he;return{[`${He}-rtl`]:{direction:"rtl"},[`${He}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${He}-rtl${He}-vertical,
${He}-submenu-rtl ${He}-vertical`]:{[`${He}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${We})`},"&::after":{transform:`rotate(45deg) translateY(${We})`}}}}};const Qe=he=>Object.assign({},(0,Be.oN)(he));var dt=(he,He)=>{const{componentCls:We,itemColor:fe,itemSelectedColor:Pe,groupTitleColor:Fe,itemBg:Ke,subMenuItemBg:Ue,itemSelectedBg:ut,activeBarHeight:vt,activeBarWidth:lt,activeBarBorderWidth:Dt,motionDurationSlow:Wt,motionEaseInOut:wt,motionEaseOut:zt,itemPaddingInline:Nt,motionDurationMid:St,itemHoverColor:ft,lineType:Et,colorSplit:Ft,itemDisabledColor:Kt,dangerItemColor:Zt,dangerItemHoverColor:rn,dangerItemSelectedColor:En,dangerItemActiveBg:On,dangerItemSelectedBg:Hn,itemHoverBg:Dn,itemActiveBg:jn,menuSubMenuBg:Jn,horizontalItemSelectedColor:br,horizontalItemSelectedBg:sr,horizontalItemBorderRadius:Rn,horizontalItemHoverBg:Fn,popupBg:Gn}=he;return{[`${We}-${He}, ${We}-${He} > ${We}`]:{color:fe,background:Ke,[`&${We}-root:focus-visible`]:Object.assign({},Qe(he)),[`${We}-item-group-title`]:{color:Fe},[`${We}-submenu-selected`]:{[`> ${We}-submenu-title`]:{color:Pe}},[`${We}-item-disabled, ${We}-submenu-disabled`]:{color:`${Kt} !important`},[`${We}-item:not(${We}-item-selected):not(${We}-submenu-selected)`]:{[`&:hover, > ${We}-submenu-title:hover`]:{color:ft}},[`&:not(${We}-horizontal)`]:{[`${We}-item:not(${We}-item-selected)`]:{"&:hover":{backgroundColor:Dn},"&:active":{backgroundColor:jn}},[`${We}-submenu-title`]:{"&:hover":{backgroundColor:Dn},"&:active":{backgroundColor:jn}}},[`${We}-item-danger`]:{color:Zt,[`&${We}-item:hover`]:{[`&:not(${We}-item-selected):not(${We}-submenu-selected)`]:{color:rn}},[`&${We}-item:active`]:{background:On}},[`${We}-item a`]:{"&, &:hover":{color:"inherit"}},[`${We}-item-selected`]:{color:Pe,[`&${We}-item-danger`]:{color:En},"a, a:hover":{color:"inherit"}},[`& ${We}-item-selected`]:{backgroundColor:ut,[`&${We}-item-danger`]:{backgroundColor:Hn}},[`${We}-item, ${We}-submenu-title`]:{[`&:not(${We}-item-disabled):focus-visible`]:Object.assign({},Qe(he))},[`&${We}-submenu > ${We}`]:{backgroundColor:Jn},[`&${We}-popup > ${We}`]:{backgroundColor:Gn},[`&${We}-horizontal`]:Object.assign(Object.assign({},He==="dark"?{borderBottom:0}:{}),{[`> ${We}-item, > ${We}-submenu`]:{top:Dt,marginTop:-Dt,marginBottom:0,borderRadius:Rn,"&::after":{position:"absolute",insetInline:Nt,bottom:0,borderBottom:`${vt}px solid transparent`,transition:`border-color ${Wt} ${wt}`,content:'""'},"&:hover, &-active, &-open":{background:Fn,"&::after":{borderBottomWidth:vt,borderBottomColor:br}},"&-selected":{color:br,backgroundColor:sr,"&:hover":{backgroundColor:sr},"&::after":{borderBottomWidth:vt,borderBottomColor:br}}}}),[`&${We}-root`]:{[`&${We}-inline, &${We}-vertical`]:{borderInlineEnd:`${Dt}px ${Et} ${Ft}`}},[`&${We}-inline`]:{[`${We}-sub${We}-inline`]:{background:Ue},[`${We}-item, ${We}-submenu-title`]:Dt&&lt?{width:`calc(100% + ${Dt}px)`}:{},[`${We}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${lt}px solid ${Pe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${St} ${zt}`,`opacity ${St} ${zt}`].join(","),content:'""'},[`&${We}-item-danger`]:{"&::after":{borderInlineEndColor:En}}},[`${We}-selected, ${We}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${St} ${wt}`,`opacity ${St} ${wt}`].join(",")}}}}}};const at=he=>{const{componentCls:He,itemHeight:We,itemMarginInline:fe,padding:Pe,menuArrowSize:Fe,marginXS:Ke,itemMarginBlock:Ue}=he,ut=Pe+Fe+Ke;return{[`${He}-item`]:{position:"relative",overflow:"hidden"},[`${He}-item, ${He}-submenu-title`]:{height:We,lineHeight:`${We}px`,paddingInline:Pe,overflow:"hidden",textOverflow:"ellipsis",marginInline:fe,marginBlock:Ue,width:`calc(100% - ${fe*2}px)`},[`> ${He}-item,
> ${He}-submenu > ${He}-submenu-title`]:{height:We,lineHeight:`${We}px`},[`${He}-item-group-list ${He}-submenu-title,
${He}-submenu-title`]:{paddingInlineEnd:ut}}};var et=he=>{const{componentCls:He,iconCls:We,itemHeight:fe,colorTextLightSolid:Pe,dropdownWidth:Fe,controlHeightLG:Ke,motionDurationMid:Ue,motionEaseOut:ut,paddingXL:vt,itemMarginInline:lt,fontSizeLG:Dt,motionDurationSlow:Wt,paddingXS:wt,boxShadowSecondary:zt,collapsedWidth:Nt,collapsedIconSize:St}=he,ft={height:fe,lineHeight:`${fe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[He]:{"&-inline, &-vertical":Object.assign({[`&${He}-root`]:{boxShadow:"none"}},at(he))},[`${He}-submenu-popup`]:{[`${He}-vertical`]:Object.assign(Object.assign({},at(he)),{boxShadow:zt})}},{[`${He}-submenu-popup ${He}-vertical${He}-sub`]:{minWidth:Fe,maxHeight:`calc(100vh - ${Ke*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${He}-inline`]:{width:"100%",[`&${He}-root`]:{[`${He}-item, ${He}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Wt}`,`background ${Wt}`,`padding ${Ue} ${ut}`].join(","),[`> ${He}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${He}-sub${He}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${He}-submenu > ${He}-submenu-title`]:ft,[`& ${He}-item-group-title`]:{paddingInlineStart:vt}},[`${He}-item`]:ft}},{[`${He}-inline-collapsed`]:{width:Nt,[`&${He}-root`]:{[`${He}-item, ${He}-submenu ${He}-submenu-title`]:{[`> ${He}-inline-collapsed-noicon`]:{fontSize:Dt,textAlign:"center"}}},[`> ${He}-item,
> ${He}-item-group > ${He}-item-group-list > ${He}-item,
> ${He}-item-group > ${He}-item-group-list > ${He}-submenu > ${He}-submenu-title,
> ${He}-submenu > ${He}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Dt/2}px - ${lt}px)`,textOverflow:"clip",[`
${He}-submenu-arrow,
${He}-submenu-expand-icon
`]:{opacity:0},[`${He}-item-icon, ${We}`]:{margin:0,fontSize:St,lineHeight:`${fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${He}-item-icon, ${We}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${He}-item-icon, ${We}`]:{display:"none"},"a, a:hover":{color:Pe}},[`${He}-item-group-title`]:Object.assign(Object.assign({},Be.vS),{paddingInline:wt})}}]};const ot=he=>{const{componentCls:He,motionDurationSlow:We,motionDurationMid:fe,motionEaseInOut:Pe,motionEaseOut:Fe,iconCls:Ke,iconSize:Ue,iconMarginInlineEnd:ut}=he;return{[`${He}-item, ${He}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${We}`,`background ${We}`,`padding ${We} ${Pe}`].join(","),[`${He}-item-icon, ${Ke}`]:{minWidth:Ue,fontSize:Ue,transition:[`font-size ${fe} ${Fe}`,`margin ${We} ${Pe}`,`color ${We}`].join(","),"+ span":{marginInlineStart:ut,opacity:1,transition:[`opacity ${We} ${Pe}`,`margin ${We}`,`color ${We}`].join(",")}},[`${He}-item-icon`]:Object.assign({},(0,Be.Ro)()),[`&${He}-item-only-child`]:{[`> ${Ke}, > ${He}-item-icon`]:{marginInlineEnd:0}}},[`${He}-item-disabled, ${He}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${He}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},yt=he=>{const{componentCls:He,motionDurationSlow:We,motionEaseInOut:fe,borderRadius:Pe,menuArrowSize:Fe,menuArrowOffset:Ke}=he;return{[`${He}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:he.margin,width:Fe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${We} ${fe}, opacity ${We}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Fe*.6,height:Fe*.15,backgroundColor:"currentcolor",borderRadius:Pe,transition:[`background ${We} ${fe}`,`transform ${We} ${fe}`,`top ${We} ${fe}`,`color ${We} ${fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ke})`},"&::after":{transform:`rotate(-45deg) translateY(${Ke})`}}}}},pt=he=>{const{antCls:He,componentCls:We,fontSize:fe,motionDurationSlow:Pe,motionDurationMid:Fe,motionEaseInOut:Ke,paddingXS:Ue,padding:ut,colorSplit:vt,lineWidth:lt,zIndexPopup:Dt,borderRadiusLG:Wt,subMenuItemBorderRadius:wt,menuArrowSize:zt,menuArrowOffset:Nt,lineType:St,menuPanelMaskInset:ft,groupTitleLineHeight:Et,groupTitleFontSize:Ft}=he;return[{"":{[`${We}`]:Object.assign(Object.assign({},(0,Be.dF)()),{"&-hidden":{display:"none"}})},[`${We}-submenu-hidden`]:{display:"none"}},{[We]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Be.Wf)(he)),(0,Be.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:fe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Pe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${We}-item`]:{flex:"none"}},[`${We}-item, ${We}-submenu, ${We}-submenu-title`]:{borderRadius:he.itemBorderRadius},[`${We}-item-group-title`]:{padding:`${Ue}px ${ut}px`,fontSize:Ft,lineHeight:Et,transition:`all ${Pe}`},[`&-horizontal ${We}-submenu`]:{transition:[`border-color ${Pe} ${Ke}`,`background ${Pe} ${Ke}`].join(",")},[`${We}-submenu, ${We}-submenu-inline`]:{transition:[`border-color ${Pe} ${Ke}`,`background ${Pe} ${Ke}`,`padding ${Fe} ${Ke}`].join(",")},[`${We}-submenu ${We}-sub`]:{cursor:"initial",transition:[`background ${Pe} ${Ke}`,`padding ${Pe} ${Ke}`].join(",")},[`${We}-title-content`]:{transition:`color ${Pe}`},[`${We}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${We}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:vt,borderStyle:St,borderWidth:0,borderTopWidth:lt,marginBlock:lt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ot(he)),{[`${We}-item-group`]:{[`${We}-item-group-list`]:{margin:0,padding:0,[`${We}-item, ${We}-submenu-title`]:{paddingInline:`${fe*2}px ${ut}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Dt,borderRadius:Wt,boxShadow:"none",transformOrigin:"0 0",[`&${We}-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:he.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:he.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:he.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:he.paddingXS},[`> ${We}`]:Object.assign(Object.assign(Object.assign({borderRadius:Wt},ot(he)),yt(he)),{[`${We}-item, ${We}-submenu > ${We}-submenu-title`]:{borderRadius:wt},[`${We}-submenu-title::after`]:{transition:`transform ${Pe} ${Ke}`}})}}),yt(he)),{[`&-inline-collapsed ${We}-submenu-arrow,
&-inline ${We}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Nt})`},"&::after":{transform:`rotate(45deg) translateX(-${Nt})`}},[`${We}-submenu-open${We}-submenu-inline > ${We}-submenu-title > ${We}-submenu-arrow`]:{transform:`translateY(-${zt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Nt})`},"&::before":{transform:`rotate(45deg) translateX(${Nt})`}}})},{[`${He}-layout-header`]:{[We]:{lineHeight:"inherit"}}}]};var Pt=(he,He)=>(0,Ye.Z)("Menu",fe=>{if(He===!1)return[];const{colorBgElevated:Pe,colorPrimary:Fe,colorTextLightSolid:Ke,controlHeightLG:Ue,fontSize:ut,darkItemColor:vt,darkDangerItemColor:lt,darkItemBg:Dt,darkSubMenuItemBg:Wt,darkItemSelectedColor:wt,darkItemSelectedBg:zt,darkDangerItemSelectedBg:Nt,darkItemHoverBg:St,darkGroupTitleColor:ft,darkItemHoverColor:Et,darkItemDisabledColor:Ft,darkDangerItemHoverColor:Kt,darkDangerItemSelectedColor:Zt,darkDangerItemActiveBg:rn}=fe,En=ut/7*5,On=(0,Ge.TS)(fe,{menuArrowSize:En,menuHorizontalHeight:Ue*1.15,menuArrowOffset:`${En*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Pe}),Hn=(0,Ge.TS)(On,{itemColor:vt,itemHoverColor:Et,groupTitleColor:ft,itemSelectedColor:wt,itemBg:Dt,popupBg:Dt,subMenuItemBg:Wt,itemActiveBg:"transparent",itemSelectedBg:zt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:St,itemDisabledColor:Ft,dangerItemColor:lt,dangerItemHoverColor:Kt,dangerItemSelectedColor:Zt,dangerItemActiveBg:rn,dangerItemSelectedBg:Nt,menuSubMenuBg:Wt,horizontalItemSelectedColor:Ke,horizontalItemSelectedBg:Fe});return[pt(On),it(On),et(On),dt(On,"light"),dt(Hn,"dark"),Ve(On),(0,Re.Z)(On),(0,Xe.oN)(On,"slide-up"),(0,Xe.oN)(On,"slide-down"),(0,Ie._y)(On,"zoom-big")]},fe=>{const{colorPrimary:Pe,colorError:Fe,colorTextDisabled:Ke,colorErrorBg:Ue,colorText:ut,colorTextDescription:vt,colorBgContainer:lt,colorFillAlter:Dt,colorFillContent:Wt,lineWidth:wt,lineWidthBold:zt,controlItemBgActive:Nt,colorBgTextHover:St,controlHeightLG:ft,lineHeight:Et,colorBgElevated:Ft,marginXXS:Kt,padding:Zt,fontSize:rn,controlHeightSM:En,fontSizeLG:On,colorTextLightSolid:Hn,colorErrorHover:Dn}=fe,jn=new Se.C(Hn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:fe.zIndexPopupBase+50,radiusItem:fe.borderRadiusLG,itemBorderRadius:fe.borderRadiusLG,radiusSubMenuItem:fe.borderRadiusSM,subMenuItemBorderRadius:fe.borderRadiusSM,colorItemText:ut,itemColor:ut,colorItemTextHover:ut,itemHoverColor:ut,colorItemTextHoverHorizontal:Pe,horizontalItemHoverColor:Pe,colorGroupTitle:vt,groupTitleColor:vt,colorItemTextSelected:Pe,itemSelectedColor:Pe,colorItemTextSelectedHorizontal:Pe,horizontalItemSelectedColor:Pe,colorItemBg:lt,itemBg:lt,colorItemBgHover:St,itemHoverBg:St,colorItemBgActive:Wt,itemActiveBg:Nt,colorSubItemBg:Dt,subMenuItemBg:Dt,colorItemBgSelected:Nt,itemSelectedBg:Nt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:zt,activeBarHeight:zt,colorActiveBarBorderSize:wt,activeBarBorderWidth:wt,colorItemTextDisabled:Ke,itemDisabledColor:Ke,colorDangerItemText:Fe,dangerItemColor:Fe,colorDangerItemTextHover:Fe,dangerItemHoverColor:Fe,colorDangerItemTextSelected:Fe,dangerItemSelectedColor:Fe,colorDangerItemBgActive:Ue,dangerItemActiveBg:Ue,colorDangerItemBgSelected:Ue,dangerItemSelectedBg:Ue,itemMarginInline:fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ft,groupTitleLineHeight:Et,collapsedWidth:ft*2,popupBg:Ft,itemMarginBlock:Kt,itemPaddingInline:Zt,horizontalLineHeight:`${ft*1.15}px`,iconSize:rn,iconMarginInlineEnd:En-rn,collapsedIconSize:On,groupTitleFontSize:rn,darkItemDisabledColor:new Se.C(Hn).setAlpha(.25).toRgbString(),darkItemColor:jn,darkDangerItemColor:Fe,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Hn,darkItemSelectedBg:Pe,darkDangerItemSelectedBg:Fe,darkItemHoverBg:"transparent",darkGroupTitleColor:jn,darkItemHoverColor:Hn,darkDangerItemHoverColor:Dn,darkDangerItemSelectedColor:Hn,darkDangerItemActiveBg:Fe}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(he),Mt=function(he,He){var We={};for(var fe in he)Object.prototype.hasOwnProperty.call(he,fe)&&He.indexOf(fe)<0&&(We[fe]=he[fe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,fe=Object.getOwnPropertySymbols(he);Pe<fe.length;Pe++)He.indexOf(fe[Pe])<0&&Object.prototype.propertyIsEnumerable.call(he,fe[Pe])&&(We[fe[Pe]]=he[fe[Pe]]);return We},Je=(0,bt.forwardRef)((he,He)=>{var We,fe;const Pe=bt.useContext(Ce.Z),Fe=Pe||{},{getPrefixCls:Ke,getPopupContainer:Ue,direction:ut,menu:vt}=bt.useContext(ne.E_),lt=Ke(),{prefixCls:Dt,className:Wt,style:wt,theme:zt="light",expandIcon:Nt,_internalDisableMenuItemTitleTooltip:St,inlineCollapsed:ft,siderCollapsed:Et,items:Ft,children:Kt,rootClassName:Zt,mode:rn,selectable:En,onClick:On,overflowedIndicatorPopupClassName:Hn}=he,Dn=Mt(he,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),jn=(0,pe.Z)(Dn,["collapsedWidth"]),Jn=De(Ft)||Kt;(We=Fe.validator)===null||We===void 0||We.call(Fe,{mode:rn});const br=(0,Ee.useEvent)(function(){var $n;On==null||On.apply(void 0,arguments),($n=Fe.onClick)===null||$n===void 0||$n.call(Fe)}),sr=Fe.mode||rn,Rn=En!=null?En:Fe.selectable,Fn=bt.useMemo(()=>Et!==void 0?Et:ft,[ft,Et]),Gn={horizontal:{motionName:`${lt}-slide-up`},inline:(0,Le.Z)(lt),other:{motionName:`${lt}-zoom-big`}},er=Ke("menu",Dt||Fe.prefixCls),[xr,cr]=Pt(er,!Pe),Tr=ve()(`${er}-${zt}`,vt==null?void 0:vt.className,Wt);let Dr;if(typeof Nt=="function")Dr=Nt;else if(Nt===null||Nt===!1)Dr=null;else if(Fe.expandIcon===null||Fe.expandIcon===!1)Dr=null;else{const $n=Nt!=null?Nt:Fe.expandIcon;Dr=(0,ae.Tm)($n,{className:ve()(`${er}-submenu-expand-icon`,(0,ae.l$)($n)?(fe=$n.props)===null||fe===void 0?void 0:fe.className:"")})}const Xn=bt.useMemo(()=>({prefixCls:er,inlineCollapsed:Fn||!1,direction:ut,firstLevel:!0,theme:zt,mode:sr,disableMenuItemTitleTooltip:St}),[er,Fn,ut,St,zt]);return xr(bt.createElement(Ce.Z.Provider,{value:null},bt.createElement(de.Provider,{value:Xn},bt.createElement(Ne.ZP,Object.assign({getPopupContainer:Ue,overflowedIndicator:bt.createElement(ye.Z,null),overflowedIndicatorPopupClassName:ve()(er,`${er}-${zt}`,Hn),mode:sr,selectable:Rn,onClick:br},jn,{inlineCollapsed:Fn,style:Object.assign(Object.assign({},vt==null?void 0:vt.style),wt),className:Tr,prefixCls:er,direction:ut,defaultMotions:Gn,expandIcon:Dr,ref:He,rootClassName:ve()(Zt,cr)}),Jn))))});const Ze=(0,bt.forwardRef)((he,He)=>{const We=(0,bt.useRef)(null),fe=bt.useContext(E.D);return(0,bt.useImperativeHandle)(He,()=>({menu:We.current,focus:Pe=>{var Fe;(Fe=We.current)===null||Fe===void 0||Fe.focus(Pe)}})),bt.createElement(Je,Object.assign({ref:We},he,fe))});Ze.Item=we,Ze.SubMenu=Ae,Ze.Divider=oe,Ze.ItemGroup=Ne.BW;var ue=Ze},58421:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Fe}});var Ne=Te(60499),bt=Te(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},je=E,ve=Te(7657),ne=function(Ue,ut){return bt.createElement(ve.Z,(0,Ne.Z)({},Ue,{ref:ut,icon:je}))},ee=bt.forwardRef(ne),ie=ee,oe=Te(49198),le=Te(33853),pe=Te(38819),re=Te(92310),ae=Te.n(re),ce=Te(18642),de=Te(85899),me=Te(38705),we=Te(17212),xe=Te(39153),Ae=Te(55401),ye=Te(26112),Ee={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Le=Ee,Ce=Te(91735),_e=function(Ke){(0,xe.Z)(ut,Ke);var Ue=(0,Ae.Z)(ut);function ut(){var vt;(0,me.Z)(this,ut);for(var lt=arguments.length,Dt=new Array(lt),Wt=0;Wt<lt;Wt++)Dt[Wt]=arguments[Wt];return vt=Ue.call.apply(Ue,[this].concat(Dt)),vt.state={goInputText:""},vt.getValidValue=function(){var wt=vt.state.goInputText;return!wt||Number.isNaN(wt)?void 0:Number(wt)},vt.buildOptionText=function(wt){return"".concat(wt," ").concat(vt.props.locale.items_per_page)},vt.changeSize=function(wt){vt.props.changeSize(Number(wt))},vt.handleChange=function(wt){vt.setState({goInputText:wt.target.value})},vt.handleBlur=function(wt){var zt=vt.props,Nt=zt.goButton,St=zt.quickGo,ft=zt.rootPrefixCls,Et=vt.state.goInputText;Nt||Et===""||(vt.setState({goInputText:""}),!(wt.relatedTarget&&(wt.relatedTarget.className.indexOf("".concat(ft,"-item-link"))>=0||wt.relatedTarget.className.indexOf("".concat(ft,"-item"))>=0))&&St(vt.getValidValue()))},vt.go=function(wt){var zt=vt.state.goInputText;zt!==""&&(wt.keyCode===Le.ENTER||wt.type==="click")&&(vt.setState({goInputText:""}),vt.props.quickGo(vt.getValidValue()))},vt}return(0,we.Z)(ut,[{key:"getPageSizeOptions",value:function(){var lt=this.props,Dt=lt.pageSize,Wt=lt.pageSizeOptions;return Wt.some(function(wt){return wt.toString()===Dt.toString()})?Wt:Wt.concat([Dt.toString()]).sort(function(wt,zt){var Nt=Number.isNaN(Number(wt))?0:Number(wt),St=Number.isNaN(Number(zt))?0:Number(zt);return Nt-St})}},{key:"render",value:function(){var lt=this,Dt=this.props,Wt=Dt.pageSize,wt=Dt.locale,zt=Dt.rootPrefixCls,Nt=Dt.changeSize,St=Dt.quickGo,ft=Dt.goButton,Et=Dt.selectComponentClass,Ft=Dt.buildOptionText,Kt=Dt.selectPrefixCls,Zt=Dt.disabled,rn=this.state.goInputText,En="".concat(zt,"-options"),On=Et,Hn=null,Dn=null,jn=null;if(!Nt&&!St)return null;var Jn=this.getPageSizeOptions();if(Nt&&On){var br=Jn.map(function(sr,Rn){return bt.createElement(On.Option,{key:Rn,value:sr.toString()},(Ft||lt.buildOptionText)(sr))});Hn=bt.createElement(On,{disabled:Zt,prefixCls:Kt,showSearch:!1,className:"".concat(En,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Wt||Jn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Rn){return Rn.parentNode},"aria-label":wt.page_size,defaultOpen:!1},br)}return St&&(ft&&(jn=typeof ft=="boolean"?bt.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Zt,className:"".concat(En,"-quick-jumper-button")},wt.jump_to_confirm):bt.createElement("span",{onClick:this.go,onKeyUp:this.go},ft)),Dn=bt.createElement("div",{className:"".concat(En,"-quick-jumper")},wt.jump_to,bt.createElement("input",{disabled:Zt,type:"text",value:rn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":wt.page}),wt.page,jn)),bt.createElement("li",{className:"".concat(En)},Hn,Dn)}}]),ut}(bt.Component);_e.defaultProps={pageSizeOptions:["10","20","50","100"]};var Me=_e,De=function(Ue){var ut,vt=Ue.rootPrefixCls,lt=Ue.page,Dt=Ue.active,Wt=Ue.className,wt=Ue.showTitle,zt=Ue.onClick,Nt=Ue.onKeyPress,St=Ue.itemRender,ft="".concat(vt,"-item"),Et=ae()(ft,"".concat(ft,"-").concat(lt),(ut={},(0,ce.Z)(ut,"".concat(ft,"-active"),Dt),(0,ce.Z)(ut,"".concat(ft,"-disabled"),!lt),(0,ce.Z)(ut,Ue.className,Wt),ut)),Ft=function(){zt(lt)},Kt=function(En){Nt(En,zt,lt)},Zt=St(lt,"page",bt.createElement("a",{rel:"nofollow"},lt));return Zt?bt.createElement("li",{title:wt?lt.toString():null,className:Et,onClick:Ft,onKeyPress:Kt,tabIndex:0},Zt):null},Se=De;function Be(){}function Re(Ke){var Ue=Number(Ke);return typeof Ue=="number"&&!Number.isNaN(Ue)&&isFinite(Ue)&&Math.floor(Ue)===Ue}var Xe=function(Ue,ut,vt){return vt};function Ie(Ke,Ue,ut){var vt=typeof Ke=="undefined"?Ue.pageSize:Ke;return Math.floor((ut.total-1)/vt)+1}var Ye=function(Ke){(0,xe.Z)(ut,Ke);var Ue=(0,Ae.Z)(ut);function ut(vt){var lt;(0,me.Z)(this,ut),lt=Ue.call(this,vt),lt.paginationNode=bt.createRef(),lt.getJumpPrevPage=function(){return Math.max(1,lt.state.current-(lt.props.showLessItems?3:5))},lt.getJumpNextPage=function(){return Math.min(Ie(void 0,lt.state,lt.props),lt.state.current+(lt.props.showLessItems?3:5))},lt.getItemIcon=function(Nt,St){var ft=lt.props.prefixCls,Et=Nt||bt.createElement("button",{type:"button","aria-label":St,className:"".concat(ft,"-item-link")});return typeof Nt=="function"&&(Et=bt.createElement(Nt,(0,de.Z)({},lt.props))),Et},lt.isValid=function(Nt){var St=lt.props.total;return Re(Nt)&&Nt!==lt.state.current&&Re(St)&&St>0},lt.shouldDisplayQuickJumper=function(){var Nt=lt.props,St=Nt.showQuickJumper,ft=Nt.total,Et=lt.state.pageSize;return ft<=Et?!1:St},lt.handleKeyDown=function(Nt){(Nt.keyCode===Le.ARROW_UP||Nt.keyCode===Le.ARROW_DOWN)&&Nt.preventDefault()},lt.handleKeyUp=function(Nt){var St=lt.getValidValue(Nt),ft=lt.state.currentInputValue;St!==ft&&lt.setState({currentInputValue:St}),Nt.keyCode===Le.ENTER?lt.handleChange(St):Nt.keyCode===Le.ARROW_UP?lt.handleChange(St-1):Nt.keyCode===Le.ARROW_DOWN&&lt.handleChange(St+1)},lt.handleBlur=function(Nt){var St=lt.getValidValue(Nt);lt.handleChange(St)},lt.changePageSize=function(Nt){var St=lt.state.current,ft=Ie(Nt,lt.state,lt.props);St=St>ft?ft:St,ft===0&&(St=lt.state.current),typeof Nt=="number"&&("pageSize"in lt.props||lt.setState({pageSize:Nt}),"current"in lt.props||lt.setState({current:St,currentInputValue:St})),lt.props.onShowSizeChange(St,Nt),"onChange"in lt.props&&lt.props.onChange&&lt.props.onChange(St,Nt)},lt.handleChange=function(Nt){var St=lt.props,ft=St.disabled,Et=St.onChange,Ft=lt.state,Kt=Ft.pageSize,Zt=Ft.current,rn=Ft.currentInputValue;if(lt.isValid(Nt)&&!ft){var En=Ie(void 0,lt.state,lt.props),On=Nt;return Nt>En?On=En:Nt<1&&(On=1),"current"in lt.props||lt.setState({current:On}),On!==rn&&lt.setState({currentInputValue:On}),Et(On,Kt),On}return Zt},lt.prev=function(){lt.hasPrev()&&lt.handleChange(lt.state.current-1)},lt.next=function(){lt.hasNext()&&lt.handleChange(lt.state.current+1)},lt.jumpPrev=function(){lt.handleChange(lt.getJumpPrevPage())},lt.jumpNext=function(){lt.handleChange(lt.getJumpNextPage())},lt.hasPrev=function(){return lt.state.current>1},lt.hasNext=function(){return lt.state.current<Ie(void 0,lt.state,lt.props)},lt.runIfEnter=function(Nt,St){if(Nt.key==="Enter"||Nt.charCode===13){for(var ft=arguments.length,Et=new Array(ft>2?ft-2:0),Ft=2;Ft<ft;Ft++)Et[Ft-2]=arguments[Ft];St.apply(void 0,Et)}},lt.runIfEnterPrev=function(Nt){lt.runIfEnter(Nt,lt.prev)},lt.runIfEnterNext=function(Nt){lt.runIfEnter(Nt,lt.next)},lt.runIfEnterJumpPrev=function(Nt){lt.runIfEnter(Nt,lt.jumpPrev)},lt.runIfEnterJumpNext=function(Nt){lt.runIfEnter(Nt,lt.jumpNext)},lt.handleGoTO=function(Nt){(Nt.keyCode===Le.ENTER||Nt.type==="click")&&lt.handleChange(lt.state.currentInputValue)},lt.renderPrev=function(Nt){var St=lt.props,ft=St.prevIcon,Et=St.itemRender,Ft=Et(Nt,"prev",lt.getItemIcon(ft,"prev page")),Kt=!lt.hasPrev();return(0,bt.isValidElement)(Ft)?(0,bt.cloneElement)(Ft,{disabled:Kt}):Ft},lt.renderNext=function(Nt){var St=lt.props,ft=St.nextIcon,Et=St.itemRender,Ft=Et(Nt,"next",lt.getItemIcon(ft,"next page")),Kt=!lt.hasNext();return(0,bt.isValidElement)(Ft)?(0,bt.cloneElement)(Ft,{disabled:Kt}):Ft};var Dt=vt.onChange!==Be,Wt="current"in vt;Wt&&!Dt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var wt=vt.defaultCurrent;"current"in vt&&(wt=vt.current);var zt=vt.defaultPageSize;return"pageSize"in vt&&(zt=vt.pageSize),wt=Math.min(wt,Ie(zt,void 0,vt)),lt.state={current:wt,currentInputValue:wt,pageSize:zt},lt}return(0,we.Z)(ut,[{key:"componentDidUpdate",value:function(lt,Dt){var Wt=this.props.prefixCls;if(Dt.current!==this.state.current&&this.paginationNode.current){var wt=this.paginationNode.current.querySelector(".".concat(Wt,"-item-").concat(Dt.current));if(wt&&document.activeElement===wt){var zt;wt==null||(zt=wt.blur)===null||zt===void 0||zt.call(wt)}}}},{key:"getValidValue",value:function(lt){var Dt=lt.target.value,Wt=Ie(void 0,this.state,this.props),wt=this.state.currentInputValue,zt;return Dt===""?zt=Dt:Number.isNaN(Number(Dt))?zt=wt:Dt>=Wt?zt=Wt:zt=Number(Dt),zt}},{key:"getShowSizeChanger",value:function(){var lt=this.props,Dt=lt.showSizeChanger,Wt=lt.total,wt=lt.totalBoundaryShowSizeChanger;return typeof Dt!="undefined"?Dt:Wt>wt}},{key:"render",value:function(){var lt=this.props,Dt=lt.prefixCls,Wt=lt.className,wt=lt.style,zt=lt.disabled,Nt=lt.hideOnSinglePage,St=lt.total,ft=lt.locale,Et=lt.showQuickJumper,Ft=lt.showLessItems,Kt=lt.showTitle,Zt=lt.showTotal,rn=lt.simple,En=lt.itemRender,On=lt.showPrevNextJumpers,Hn=lt.jumpPrevIcon,Dn=lt.jumpNextIcon,jn=lt.selectComponentClass,Jn=lt.selectPrefixCls,br=lt.pageSizeOptions,sr=this.state,Rn=sr.current,Fn=sr.pageSize,Gn=sr.currentInputValue;if(Nt===!0&&St<=Fn)return null;var er=Ie(void 0,this.state,this.props),xr=[],cr=null,Tr=null,Dr=null,Xn=null,$n=null,wr=Et&&Et.goButton,nr=Ft?1:2,Zn=Rn-1>0?Rn-1:0,Pr=Rn+1<er?Rn+1:er,Ht=(0,ye.Z)(this.props,{aria:!0,data:!0}),kt=Zt&&bt.createElement("li",{className:"".concat(Dt,"-total-text")},Zt(St,[St===0?0:(Rn-1)*Fn+1,Rn*Fn>St?St:Rn*Fn]));if(rn){wr&&(typeof wr=="boolean"?$n=bt.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ft.jump_to_confirm):$n=bt.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},wr),$n=bt.createElement("li",{title:Kt?"".concat(ft.jump_to).concat(Rn,"/").concat(er):null,className:"".concat(Dt,"-simple-pager")},$n));var Rt=this.renderPrev(Zn);return bt.createElement("ul",(0,Ne.Z)({className:ae()(Dt,"".concat(Dt,"-simple"),(0,ce.Z)({},"".concat(Dt,"-disabled"),zt),Wt),style:wt,ref:this.paginationNode},Ht),kt,Rt?bt.createElement("li",{title:Kt?ft.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ae()("".concat(Dt,"-prev"),(0,ce.Z)({},"".concat(Dt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Rt):null,bt.createElement("li",{title:Kt?"".concat(Rn,"/").concat(er):null,className:"".concat(Dt,"-simple-pager")},bt.createElement("input",{type:"text",value:Gn,disabled:zt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),bt.createElement("span",{className:"".concat(Dt,"-slash")},"/"),er),bt.createElement("li",{title:Kt?ft.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ae()("".concat(Dt,"-next"),(0,ce.Z)({},"".concat(Dt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Pr)),$n)}if(er<=3+nr*2){var Lt={locale:ft,rootPrefixCls:Dt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Kt,itemRender:En};er||xr.push(bt.createElement(Se,(0,Ne.Z)({},Lt,{key:"noPager",page:1,className:"".concat(Dt,"-item-disabled")})));for(var Bt=1;Bt<=er;Bt+=1){var Ut=Rn===Bt;xr.push(bt.createElement(Se,(0,Ne.Z)({},Lt,{key:Bt,page:Bt,active:Ut})))}}else{var Yt=Ft?ft.prev_3:ft.prev_5,hn=Ft?ft.next_3:ft.next_5,fn=En(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Hn,"prev page")),wn=En(this.getJumpNextPage(),"jump-next",this.getItemIcon(Dn,"next page"));On&&(cr=fn?bt.createElement("li",{title:Kt?Yt:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ae()("".concat(Dt,"-jump-prev"),(0,ce.Z)({},"".concat(Dt,"-jump-prev-custom-icon"),!!Hn))},fn):null,Tr=wn?bt.createElement("li",{title:Kt?hn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ae()("".concat(Dt,"-jump-next"),(0,ce.Z)({},"".concat(Dt,"-jump-next-custom-icon"),!!Dn))},wn):null),Xn=bt.createElement(Se,{locale:ft,last:!0,rootPrefixCls:Dt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:er,page:er,active:!1,showTitle:Kt,itemRender:En}),Dr=bt.createElement(Se,{locale:ft,rootPrefixCls:Dt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Kt,itemRender:En});var Ln=Math.max(1,Rn-nr),Tn=Math.min(Rn+nr,er);Rn-1<=nr&&(Tn=1+nr*2),er-Rn<=nr&&(Ln=er-nr*2);for(var zn=Ln;zn<=Tn;zn+=1){var nn=Rn===zn;xr.push(bt.createElement(Se,{locale:ft,rootPrefixCls:Dt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:zn,page:zn,active:nn,showTitle:Kt,itemRender:En}))}Rn-1>=nr*2&&Rn!==3&&(xr[0]=(0,bt.cloneElement)(xr[0],{className:"".concat(Dt,"-item-after-jump-prev")}),xr.unshift(cr)),er-Rn>=nr*2&&Rn!==er-2&&(xr[xr.length-1]=(0,bt.cloneElement)(xr[xr.length-1],{className:"".concat(Dt,"-item-before-jump-next")}),xr.push(Tr)),Ln!==1&&xr.unshift(Dr),Tn!==er&&xr.push(Xn)}var In=!this.hasPrev()||!er,Xt=!this.hasNext()||!er,en=this.renderPrev(Zn),sn=this.renderNext(Pr);return bt.createElement("ul",(0,Ne.Z)({className:ae()(Dt,Wt,(0,ce.Z)({},"".concat(Dt,"-disabled"),zt)),style:wt,ref:this.paginationNode},Ht),kt,en?bt.createElement("li",{title:Kt?ft.prev_page:null,onClick:this.prev,tabIndex:In?null:0,onKeyPress:this.runIfEnterPrev,className:ae()("".concat(Dt,"-prev"),(0,ce.Z)({},"".concat(Dt,"-disabled"),In)),"aria-disabled":In},en):null,xr,sn?bt.createElement("li",{title:Kt?ft.next_page:null,onClick:this.next,tabIndex:Xt?null:0,onKeyPress:this.runIfEnterNext,className:ae()("".concat(Dt,"-next"),(0,ce.Z)({},"".concat(Dt,"-disabled"),Xt)),"aria-disabled":Xt},sn):null,bt.createElement(Me,{disabled:zt,locale:ft,rootPrefixCls:Dt,selectComponentClass:jn,selectPrefixCls:Jn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Rn,pageSize:Fn,pageSizeOptions:br,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:wr}))}}],[{key:"getDerivedStateFromProps",value:function(lt,Dt){var Wt={};if("current"in lt&&(Wt.current=lt.current,lt.current!==Dt.current&&(Wt.currentInputValue=Wt.current)),"pageSize"in lt&&lt.pageSize!==Dt.pageSize){var wt=Dt.current,zt=Ie(lt.pageSize,Dt,lt);wt=wt>zt?zt:wt,"current"in lt||(Wt.current=wt,Wt.currentInputValue=wt),Wt.pageSize=lt.pageSize}return Wt}}]),ut}(bt.Component);Ye.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Be,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Be,locale:Ce.Z,style:{},itemRender:Xe,totalBoundaryShowSizeChanger:50};var Ge=Ye,qe=Te(22075),it=Te(36355),st=Te(19716),Ve=Te(8628),Qe=Te(9763),nt=Te(57809);const dt=Ke=>bt.createElement(nt.default,Object.assign({},Ke,{showSearch:!0,size:"small"})),at=Ke=>bt.createElement(nt.default,Object.assign({},Ke,{showSearch:!0,size:"middle"}));dt.Option=nt.default.Option,at.Option=nt.default.Option;var tt=Te(9937),et=Te(17313),ot=Te(83116),yt=Te(37613);const pt=Ke=>{const{componentCls:Ue}=Ke;return{[`${Ue}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ue}-item-link`]:{color:Ke.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ue}-item-link`]:{color:Ke.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ue}-disabled`]:{cursor:"not-allowed",[`${Ue}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ke.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ke.colorBorder,backgroundColor:Ke.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ke.itemActiveBgDisabled},a:{color:Ke.itemActiveColorDisabled}}},[`${Ue}-item-link`]:{color:Ke.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ue}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ue}-simple-pager`]:{color:Ke.colorTextDisabled},[`${Ue}-jump-prev, ${Ue}-jump-next`]:{[`${Ue}-item-link-icon`]:{opacity:0},[`${Ue}-item-ellipsis`]:{opacity:1}}},[`&${Ue}-simple`]:{[`${Ue}-prev, ${Ue}-next`]:{[`&${Ue}-disabled ${Ue}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Pt=Ke=>{const{componentCls:Ue}=Ke;return{[`&${Ue}-mini ${Ue}-total-text, &${Ue}-mini ${Ue}-simple-pager`]:{height:Ke.itemSizeSM,lineHeight:`${Ke.itemSizeSM}px`},[`&${Ue}-mini ${Ue}-item`]:{minWidth:Ke.itemSizeSM,height:Ke.itemSizeSM,margin:0,lineHeight:`${Ke.itemSizeSM-2}px`},[`&${Ue}-mini:not(${Ue}-disabled) ${Ue}-item:not(${Ue}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Ke.colorBgTextHover},"&:active":{backgroundColor:Ke.colorBgTextActive}},[`&${Ue}-mini ${Ue}-prev, &${Ue}-mini ${Ue}-next`]:{minWidth:Ke.itemSizeSM,height:Ke.itemSizeSM,margin:0,lineHeight:`${Ke.itemSizeSM}px`},[`&${Ue}-mini:not(${Ue}-disabled)`]:{[`${Ue}-prev, ${Ue}-next`]:{[`&:hover ${Ue}-item-link`]:{backgroundColor:Ke.colorBgTextHover},[`&:active ${Ue}-item-link`]:{backgroundColor:Ke.colorBgTextActive},[`&${Ue}-disabled:hover ${Ue}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Ue}-mini ${Ue}-prev ${Ue}-item-link,
&${Ue}-mini ${Ue}-next ${Ue}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ke.itemSizeSM,lineHeight:`${Ke.itemSizeSM}px`}},[`&${Ue}-mini ${Ue}-jump-prev, &${Ue}-mini ${Ue}-jump-next`]:{height:Ke.itemSizeSM,marginInlineEnd:0,lineHeight:`${Ke.itemSizeSM}px`},[`&${Ue}-mini ${Ue}-options`]:{marginInlineStart:Ke.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ke.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ke.itemSizeSM,lineHeight:`${Ke.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,tt.x0)(Ke)),{width:Ke.paginationMiniQuickJumperInputWidth,height:Ke.controlHeightSM})}}}},Mt=Ke=>{const{componentCls:Ue}=Ke;return{[`
&${Ue}-simple ${Ue}-prev,
&${Ue}-simple ${Ue}-next
`]:{height:Ke.itemSizeSM,lineHeight:`${Ke.itemSizeSM}px`,verticalAlign:"top",[`${Ue}-item-link`]:{height:Ke.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ke.colorBgTextHover},"&:active":{backgroundColor:Ke.colorBgTextActive},"&::after":{height:Ke.itemSizeSM,lineHeight:`${Ke.itemSizeSM}px`}}},[`&${Ue}-simple ${Ue}-simple-pager`]:{display:"inline-block",height:Ke.itemSizeSM,marginInlineEnd:Ke.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Ke.marginXS,padding:`0 ${Ke.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Ke.itemInputBg,border:`${Ke.lineWidth}px ${Ke.lineType} ${Ke.colorBorder}`,borderRadius:Ke.borderRadius,outline:"none",transition:`border-color ${Ke.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ke.colorPrimary},"&:focus":{borderColor:Ke.colorPrimaryHover,boxShadow:`${Ke.inputOutlineOffset}px 0 ${Ke.controlOutlineWidth}px ${Ke.controlOutline}`},"&[disabled]":{color:Ke.colorTextDisabled,backgroundColor:Ke.colorBgContainerDisabled,borderColor:Ke.colorBorder,cursor:"not-allowed"}}}}},ct=Ke=>{const{componentCls:Ue}=Ke;return{[`${Ue}-jump-prev, ${Ue}-jump-next`]:{outline:0,[`${Ue}-item-container`]:{position:"relative",[`${Ue}-item-link-icon`]:{color:Ke.colorPrimary,fontSize:Ke.fontSizeSM,opacity:0,transition:`all ${Ke.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ue}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ke.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Ke.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ke.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ke.motionDurationMid}`}},"&:hover":{[`${Ue}-item-link-icon`]:{opacity:1},[`${Ue}-item-ellipsis`]:{opacity:0}}},[`
${Ue}-prev,
${Ue}-jump-prev,
${Ue}-jump-next
`]:{marginInlineEnd:Ke.marginXS},[`
${Ue}-prev,
${Ue}-next,
${Ue}-jump-prev,
${Ue}-jump-next
`]:{display:"inline-block",minWidth:Ke.itemSize,height:Ke.itemSize,color:Ke.colorText,fontFamily:Ke.fontFamily,lineHeight:`${Ke.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ke.borderRadius,cursor:"pointer",transition:`all ${Ke.motionDurationMid}`},[`${Ue}-prev, ${Ue}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Ke.colorText,cursor:"pointer",userSelect:"none"},[`${Ue}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ke.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ke.lineWidth}px ${Ke.lineType} transparent`,borderRadius:Ke.borderRadius,outline:"none",transition:`all ${Ke.motionDurationMid}`},[`&:hover ${Ue}-item-link`]:{backgroundColor:Ke.colorBgTextHover},[`&:active ${Ue}-item-link`]:{backgroundColor:Ke.colorBgTextActive},[`&${Ue}-disabled:hover`]:{[`${Ue}-item-link`]:{backgroundColor:"transparent"}}},[`${Ue}-slash`]:{marginInlineEnd:Ke.paginationSlashMarginInlineEnd,marginInlineStart:Ke.paginationSlashMarginInlineStart},[`${Ue}-options`]:{display:"inline-block",marginInlineStart:Ke.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ke.controlHeight,marginInlineStart:Ke.marginXS,lineHeight:`${Ke.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,tt.ik)(Ke)),{width:Ke.controlHeightLG*1.25,height:Ke.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ke.marginXS,marginInlineEnd:Ke.marginXS})}}}},Je=Ke=>{const{componentCls:Ue}=Ke;return{[`${Ue}-item`]:{display:"inline-block",minWidth:Ke.itemSize,height:Ke.itemSize,marginInlineEnd:Ke.marginXS,fontFamily:Ke.fontFamily,lineHeight:`${Ke.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Ke.lineWidth}px ${Ke.lineType} transparent`,borderRadius:Ke.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ke.paginationItemPaddingInline}px`,color:Ke.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ue}-item-active)`]:{"&:hover":{transition:`all ${Ke.motionDurationMid}`,backgroundColor:Ke.colorBgTextHover},"&:active":{backgroundColor:Ke.colorBgTextActive}},"&-active":{fontWeight:Ke.fontWeightStrong,backgroundColor:Ke.itemActiveBg,borderColor:Ke.colorPrimary,a:{color:Ke.colorPrimary},"&:hover":{borderColor:Ke.colorPrimaryHover},"&:hover a":{color:Ke.colorPrimaryHover}}}}},Ze=Ke=>{const{componentCls:Ue}=Ke;return{[Ue]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,et.Wf)(Ke)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ue}-total-text`]:{display:"inline-block",height:Ke.itemSize,marginInlineEnd:Ke.marginXS,lineHeight:`${Ke.itemSize-2}px`,verticalAlign:"middle"}}),Je(Ke)),ct(Ke)),Mt(Ke)),Pt(Ke)),pt(Ke)),{[`@media only screen and (max-width: ${Ke.screenLG}px)`]:{[`${Ue}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ke.screenSM}px)`]:{[`${Ue}-options`]:{display:"none"}}}),[`&${Ke.componentCls}-rtl`]:{direction:"rtl"}}},ue=Ke=>{const{componentCls:Ue}=Ke;return{[`${Ue}${Ue}-disabled:not(${Ue}-mini)`]:{"&, &:hover":{[`${Ue}-item-link`]:{borderColor:Ke.colorBorder}},"&:focus-visible":{[`${Ue}-item-link`]:{borderColor:Ke.colorBorder}},[`${Ue}-item, ${Ue}-item-link`]:{backgroundColor:Ke.colorBgContainerDisabled,borderColor:Ke.colorBorder,[`&:hover:not(${Ue}-item-active)`]:{backgroundColor:Ke.colorBgContainerDisabled,borderColor:Ke.colorBorder,a:{color:Ke.colorTextDisabled}},[`&${Ue}-item-active`]:{backgroundColor:Ke.itemActiveBgDisabled}},[`${Ue}-prev, ${Ue}-next`]:{"&:hover button":{backgroundColor:Ke.colorBgContainerDisabled,borderColor:Ke.colorBorder,color:Ke.colorTextDisabled},[`${Ue}-item-link`]:{backgroundColor:Ke.colorBgContainerDisabled,borderColor:Ke.colorBorder}}},[`${Ue}:not(${Ue}-mini)`]:{[`${Ue}-prev, ${Ue}-next`]:{"&:hover button":{borderColor:Ke.colorPrimaryHover,backgroundColor:Ke.itemBg},[`${Ue}-item-link`]:{backgroundColor:Ke.itemLinkBg,borderColor:Ke.colorBorder},[`&:hover ${Ue}-item-link`]:{borderColor:Ke.colorPrimary,backgroundColor:Ke.itemBg,color:Ke.colorPrimary},[`&${Ue}-disabled`]:{[`${Ue}-item-link`]:{borderColor:Ke.colorBorder,color:Ke.colorTextDisabled}}},[`${Ue}-item`]:{backgroundColor:Ke.itemBg,border:`${Ke.lineWidth}px ${Ke.lineType} ${Ke.colorBorder}`,[`&:hover:not(${Ue}-item-active)`]:{borderColor:Ke.colorPrimary,backgroundColor:Ke.itemBg,a:{color:Ke.colorPrimary}},"&-active":{borderColor:Ke.colorPrimary}}}}},he=Ke=>{const{componentCls:Ue}=Ke;return{[`${Ue}:not(${Ue}-disabled)`]:{[`${Ue}-item`]:Object.assign({},(0,et.Qy)(Ke)),[`${Ue}-jump-prev, ${Ue}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ue}-item-link-icon`]:{opacity:1},[`${Ue}-item-ellipsis`]:{opacity:0}},(0,et.oN)(Ke))},[`${Ue}-prev, ${Ue}-next`]:{[`&:focus-visible ${Ue}-item-link`]:Object.assign({},(0,et.oN)(Ke))}}}};var He=(0,ot.Z)("Pagination",Ke=>{const Ue=(0,yt.TS)(Ke,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ke.marginXXS/2,paginationMiniQuickJumperInputWidth:Ke.controlHeightLG*1.1,paginationItemPaddingInline:Ke.marginXXS*1.5,paginationEllipsisLetterSpacing:Ke.marginXXS/2,paginationSlashMarginInlineStart:Ke.marginXXS,paginationSlashMarginInlineEnd:Ke.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,tt.e5)(Ke),(0,tt.TM)(Ke));return[Ze(Ue),he(Ue),Ke.wireframe&&ue(Ue)]},Ke=>({itemBg:Ke.colorBgContainer,itemSize:Ke.controlHeight,itemSizeSM:Ke.controlHeightSM,itemActiveBg:Ke.colorBgContainer,itemLinkBg:Ke.colorBgContainer,itemActiveColorDisabled:Ke.colorTextDisabled,itemActiveBgDisabled:Ke.controlItemBgActiveDisabled,itemInputBg:Ke.colorBgContainer,miniOptionsSizeChangerTop:0})),We=function(Ke,Ue){var ut={};for(var vt in Ke)Object.prototype.hasOwnProperty.call(Ke,vt)&&Ue.indexOf(vt)<0&&(ut[vt]=Ke[vt]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,vt=Object.getOwnPropertySymbols(Ke);lt<vt.length;lt++)Ue.indexOf(vt[lt])<0&&Object.prototype.propertyIsEnumerable.call(Ke,vt[lt])&&(ut[vt[lt]]=Ke[vt[lt]]);return ut},Pe=Ke=>{const{prefixCls:Ue,selectPrefixCls:ut,className:vt,rootClassName:lt,style:Dt,size:Wt,locale:wt,selectComponentClass:zt,responsive:Nt,showSizeChanger:St}=Ke,ft=We(Ke,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Et}=(0,Ve.Z)(Nt),{getPrefixCls:Ft,direction:Kt,pagination:Zt={}}=bt.useContext(it.E_),rn=Ft("pagination",Ue),[En,On]=He(rn),Hn=St!=null?St:Zt.showSizeChanger,Dn=bt.useMemo(()=>{const er=bt.createElement("span",{className:`${rn}-item-ellipsis`},"\u2022\u2022\u2022"),xr=bt.createElement("button",{className:`${rn}-item-link`,type:"button",tabIndex:-1},Kt==="rtl"?bt.createElement(pe.Z,null):bt.createElement(le.Z,null)),cr=bt.createElement("button",{className:`${rn}-item-link`,type:"button",tabIndex:-1},Kt==="rtl"?bt.createElement(le.Z,null):bt.createElement(pe.Z,null)),Tr=bt.createElement("a",{className:`${rn}-item-link`},bt.createElement("div",{className:`${rn}-item-container`},Kt==="rtl"?bt.createElement(oe.Z,{className:`${rn}-item-link-icon`}):bt.createElement(ie,{className:`${rn}-item-link-icon`}),er)),Dr=bt.createElement("a",{className:`${rn}-item-link`},bt.createElement("div",{className:`${rn}-item-container`},Kt==="rtl"?bt.createElement(ie,{className:`${rn}-item-link-icon`}):bt.createElement(oe.Z,{className:`${rn}-item-link-icon`}),er));return{prevIcon:xr,nextIcon:cr,jumpPrevIcon:Tr,jumpNextIcon:Dr}},[Kt,rn]),[jn]=(0,Qe.Z)("Pagination",qe.Z),Jn=Object.assign(Object.assign({},jn),wt),br=(0,st.Z)(Wt),sr=br==="small"||!!(Et&&!br&&Nt),Rn=Ft("select",ut),Fn=ae()({[`${rn}-mini`]:sr,[`${rn}-rtl`]:Kt==="rtl"},Zt==null?void 0:Zt.className,vt,lt,On),Gn=Object.assign(Object.assign({},Zt==null?void 0:Zt.style),Dt);return En(bt.createElement(Ge,Object.assign({},Dn,ft,{style:Gn,prefixCls:rn,selectPrefixCls:Rn,className:Fn,selectComponentClass:zt||(sr?dt:at),locale:Jn,showSizeChanger:Hn})))},Fe=Pe},93948:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return St}});var Ne=Te(59301),bt=Te(29679),E=Te(40001),je=Te(19248),ve=Te(99267),ne=Te(92310),ee=Te.n(ne),ie=Te(2738),oe=Te(36355),le=Te(60499),pe=Te(85899),re=Te(42244),ae={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ce=function(){var Et=(0,Ne.useRef)([]),Ft=(0,Ne.useRef)(null);return(0,Ne.useEffect)(function(){var Kt=Date.now(),Zt=!1;Et.current.forEach(function(rn){if(rn){Zt=!0;var En=rn.style;En.transitionDuration=".3s, .3s, .3s, .06s",Ft.current&&Kt-Ft.current<100&&(En.transitionDuration="0s, 0s")}}),Zt&&(Ft.current=Date.now())}),Et.current},de=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],me=function(Et){var Ft=(0,pe.Z)((0,pe.Z)({},ae),Et),Kt=Ft.className,Zt=Ft.percent,rn=Ft.prefixCls,En=Ft.strokeColor,On=Ft.strokeLinecap,Hn=Ft.strokeWidth,Dn=Ft.style,jn=Ft.trailColor,Jn=Ft.trailWidth,br=Ft.transition,sr=(0,re.Z)(Ft,de);delete sr.gapPosition;var Rn=Array.isArray(Zt)?Zt:[Zt],Fn=Array.isArray(En)?En:[En],Gn=ce(),er=Hn/2,xr=100-Hn/2,cr="M ".concat(On==="round"?er:0,",").concat(er,`
L `).concat(On==="round"?xr:100,",").concat(er),Tr="0 0 100 ".concat(Hn),Dr=0;return Ne.createElement("svg",(0,le.Z)({className:ee()("".concat(rn,"-line"),Kt),viewBox:Tr,preserveAspectRatio:"none",style:Dn},sr),Ne.createElement("path",{className:"".concat(rn,"-line-trail"),d:cr,strokeLinecap:On,stroke:jn,strokeWidth:Jn||Hn,fillOpacity:"0"}),Rn.map(function(Xn,$n){var wr=1;switch(On){case"round":wr=1-Hn/100;break;case"square":wr=1-Hn/2/100;break;default:wr=1;break}var nr={strokeDasharray:"".concat(Xn*wr,"px, 100px"),strokeDashoffset:"-".concat(Dr,"px"),transition:br||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Zn=Fn[$n]||Fn[Fn.length-1];return Dr+=Xn,Ne.createElement("path",{key:$n,className:"".concat(rn,"-line-path"),d:cr,strokeLinecap:On,stroke:Zn,strokeWidth:Hn,fillOpacity:"0",ref:function(Ht){Gn[$n]=Ht},style:nr})}))},we=me,xe=Te(43749),Ae=Te(72190),ye=Te(47273),Ee=0,Le=(0,ye.Z)();function Ce(){var ft;return Le?(ft=Ee,Ee+=1):ft="TEST_OR_SSR",ft}var _e=function(ft){var Et=Ne.useState(),Ft=(0,Ae.Z)(Et,2),Kt=Ft[0],Zt=Ft[1];return Ne.useEffect(function(){Zt("rc_progress_".concat(Ce()))},[]),ft||Kt},Me=function(Et){var Ft=Et.bg,Kt=Et.children;return Ne.createElement("div",{style:{width:"100%",height:"100%",background:Ft}},Kt)};function De(ft,Et){return Object.keys(ft).map(function(Ft){var Kt=parseFloat(Ft),Zt="".concat(Math.floor(Kt*Et),"%");return"".concat(ft[Ft]," ").concat(Zt)})}var Se=Ne.forwardRef(function(ft,Et){var Ft=ft.prefixCls,Kt=ft.color,Zt=ft.gradientId,rn=ft.radius,En=ft.style,On=ft.ptg,Hn=ft.strokeLinecap,Dn=ft.strokeWidth,jn=ft.size,Jn=ft.gapDegree,br=Kt&&(0,xe.Z)(Kt)==="object",sr=br?"#FFF":void 0,Rn=jn/2,Fn=Ne.createElement("circle",{className:"".concat(Ft,"-circle-path"),r:rn,cx:Rn,cy:Rn,stroke:sr,strokeLinecap:Hn,strokeWidth:Dn,opacity:On===0?0:1,style:En,ref:Et});if(!br)return Fn;var Gn="".concat(Zt,"-conic"),er=Jn?"".concat(180+Jn/2,"deg"):"0deg",xr=De(Kt,(360-Jn)/360),cr=De(Kt,1),Tr="conic-gradient(from ".concat(er,", ").concat(xr.join(", "),")"),Dr="linear-gradient(to ".concat(Jn?"bottom":"top",", ").concat(cr.join(", "),")");return Ne.createElement(Ne.Fragment,null,Ne.createElement("mask",{id:Gn},Fn),Ne.createElement("foreignObject",{x:0,y:0,width:jn,height:jn,mask:"url(#".concat(Gn,")")},Ne.createElement(Me,{bg:Dr},Ne.createElement(Me,{bg:Tr}))))}),Be=Se,Re=100,Xe=function(Et,Ft,Kt,Zt,rn,En,On,Hn,Dn,jn){var Jn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,br=Kt/100*360*((360-En)/360),sr=En===0?0:{bottom:0,top:180,left:90,right:-90}[On],Rn=(100-Zt)/100*Ft;Dn==="round"&&Zt!==100&&(Rn+=jn/2,Rn>=Ft&&(Rn=Ft-.01));var Fn=Re/2;return{stroke:typeof Hn=="string"?Hn:void 0,strokeDasharray:"".concat(Ft,"px ").concat(Et),strokeDashoffset:Rn+Jn,transform:"rotate(".concat(rn+br+sr,"deg)"),transformOrigin:"".concat(Fn,"px ").concat(Fn,"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}},Ie=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ye(ft){var Et=ft!=null?ft:[];return Array.isArray(Et)?Et:[Et]}var Ge=function(Et){var Ft=(0,pe.Z)((0,pe.Z)({},ae),Et),Kt=Ft.id,Zt=Ft.prefixCls,rn=Ft.steps,En=Ft.strokeWidth,On=Ft.trailWidth,Hn=Ft.gapDegree,Dn=Hn===void 0?0:Hn,jn=Ft.gapPosition,Jn=Ft.trailColor,br=Ft.strokeLinecap,sr=Ft.style,Rn=Ft.className,Fn=Ft.strokeColor,Gn=Ft.percent,er=(0,re.Z)(Ft,Ie),xr=Re/2,cr=_e(Kt),Tr="".concat(cr,"-gradient"),Dr=xr-En/2,Xn=Math.PI*2*Dr,$n=Dn>0?90+Dn/2:-90,wr=Xn*((360-Dn)/360),nr=(0,xe.Z)(rn)==="object"?rn:{count:rn,space:2},Zn=nr.count,Pr=nr.space,Ht=Ye(Gn),kt=Ye(Fn),Rt=kt.find(function(wn){return wn&&(0,xe.Z)(wn)==="object"}),Lt=Rt&&(0,xe.Z)(Rt)==="object",Bt=Lt?"butt":br,Ut=Xe(Xn,wr,0,100,$n,Dn,jn,Jn,Bt,En),Yt=ce(),hn=function(){var Ln=0;return Ht.map(function(Tn,zn){var nn=kt[zn]||kt[kt.length-1],In=Xe(Xn,wr,Ln,Tn,$n,Dn,jn,nn,Bt,En);return Ln+=Tn,Ne.createElement(Be,{key:zn,color:nn,ptg:Tn,radius:Dr,prefixCls:Zt,gradientId:Tr,style:In,strokeLinecap:Bt,strokeWidth:En,gapDegree:Dn,ref:function(en){Yt[zn]=en},size:Re})}).reverse()},fn=function(){var Ln=Math.round(Zn*(Ht[0]/100)),Tn=100/Zn,zn=0;return new Array(Zn).fill(null).map(function(nn,In){var Xt=In<=Ln-1?kt[0]:Jn,en=Xt&&(0,xe.Z)(Xt)==="object"?"url(#".concat(Tr,")"):void 0,sn=Xe(Xn,wr,zn,Tn,$n,Dn,jn,Xt,"butt",En,Pr);return zn+=(wr-sn.strokeDashoffset+Pr)*100/wr,Ne.createElement("circle",{key:In,className:"".concat(Zt,"-circle-path"),r:Dr,cx:xr,cy:xr,stroke:en,strokeWidth:En,opacity:1,style:sn,ref:function(Bn){Yt[In]=Bn}})})};return Ne.createElement("svg",(0,le.Z)({className:ee()("".concat(Zt,"-circle"),Rn),viewBox:"0 0 ".concat(Re," ").concat(Re),style:sr,id:Kt,role:"presentation"},er),!Zn&&Ne.createElement("circle",{className:"".concat(Zt,"-circle-trail"),r:Dr,cx:xr,cy:xr,stroke:Jn,strokeLinecap:Bt,strokeWidth:On||En,style:Ut}),Zn?fn():hn())},qe=Ge,it={Line:we,Circle:qe},st=Te(6848),Ve=Te(30071);function Qe(ft){return!ft||ft<0?0:ft>100?100:ft}function nt(ft){let{success:Et,successPercent:Ft}=ft,Kt=Ft;return Et&&"progress"in Et&&(Kt=Et.progress),Et&&"percent"in Et&&(Kt=Et.percent),Kt}const dt=ft=>{let{percent:Et,success:Ft,successPercent:Kt}=ft;const Zt=Qe(nt({success:Ft,successPercent:Kt}));return[Zt,Qe(Qe(Et)-Zt)]},at=ft=>{let{success:Et={},strokeColor:Ft}=ft;const{strokeColor:Kt}=Et;return[Kt||Ve.presetPrimaryColors.green,Ft||null]},tt=(ft,Et,Ft)=>{var Kt,Zt,rn,En;let On=-1,Hn=-1;if(Et==="step"){const Dn=Ft.steps,jn=Ft.strokeWidth;typeof ft=="string"||typeof ft=="undefined"?(On=ft==="small"?2:14,Hn=jn!=null?jn:8):typeof ft=="number"?[On,Hn]=[ft,ft]:[On=14,Hn=8]=ft,On*=Dn}else if(Et==="line"){const Dn=Ft==null?void 0:Ft.strokeWidth;typeof ft=="string"||typeof ft=="undefined"?Hn=Dn||(ft==="small"?6:8):typeof ft=="number"?[On,Hn]=[ft,ft]:[On=-1,Hn=8]=ft}else(Et==="circle"||Et==="dashboard")&&(typeof ft=="string"||typeof ft=="undefined"?[On,Hn]=ft==="small"?[60,60]:[120,120]:typeof ft=="number"?[On,Hn]=[ft,ft]:(On=(Zt=(Kt=ft[0])!==null&&Kt!==void 0?Kt:ft[1])!==null&&Zt!==void 0?Zt:120,Hn=(En=(rn=ft[0])!==null&&rn!==void 0?rn:ft[1])!==null&&En!==void 0?En:120));return[On,Hn]},et=3,ot=ft=>et/ft*100;var pt=ft=>{const{prefixCls:Et,trailColor:Ft=null,strokeLinecap:Kt="round",gapPosition:Zt,gapDegree:rn,width:En=120,type:On,children:Hn,success:Dn,size:jn=En}=ft,[Jn,br]=tt(jn,"circle");let{strokeWidth:sr}=ft;sr===void 0&&(sr=Math.max(ot(Jn),6));const Rn={width:Jn,height:br,fontSize:Jn*.15+6},Fn=Ne.useMemo(()=>{if(rn||rn===0)return rn;if(On==="dashboard")return 75},[rn,On]),Gn=Zt||On==="dashboard"&&"bottom"||void 0,er=Object.prototype.toString.call(ft.strokeColor)==="[object Object]",xr=at({success:Dn,strokeColor:ft.strokeColor}),cr=ee()(`${Et}-inner`,{[`${Et}-circle-gradient`]:er}),Tr=Ne.createElement(qe,{percent:dt(ft),strokeWidth:sr,trailWidth:sr,strokeColor:xr,strokeLinecap:Kt,trailColor:Ft,prefixCls:Et,gapDegree:Fn,gapPosition:Gn});return Ne.createElement("div",{className:cr,style:Rn},Jn<=20?Ne.createElement(st.Z,{title:Hn},Ne.createElement("span",null,Tr)):Ne.createElement(Ne.Fragment,null,Tr,Hn))},Pt=function(ft,Et){var Ft={};for(var Kt in ft)Object.prototype.hasOwnProperty.call(ft,Kt)&&Et.indexOf(Kt)<0&&(Ft[Kt]=ft[Kt]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,Kt=Object.getOwnPropertySymbols(ft);Zt<Kt.length;Zt++)Et.indexOf(Kt[Zt])<0&&Object.prototype.propertyIsEnumerable.call(ft,Kt[Zt])&&(Ft[Kt[Zt]]=ft[Kt[Zt]]);return Ft};const Mt=ft=>{let Et=[];return Object.keys(ft).forEach(Ft=>{const Kt=parseFloat(Ft.replace(/%/g,""));isNaN(Kt)||Et.push({key:Kt,value:ft[Ft]})}),Et=Et.sort((Ft,Kt)=>Ft.key-Kt.key),Et.map(Ft=>{let{key:Kt,value:Zt}=Ft;return`${Zt} ${Kt}%`}).join(", ")},ct=(ft,Et)=>{const{from:Ft=Ve.presetPrimaryColors.blue,to:Kt=Ve.presetPrimaryColors.blue,direction:Zt=Et==="rtl"?"to left":"to right"}=ft,rn=Pt(ft,["from","to","direction"]);if(Object.keys(rn).length!==0){const En=Mt(rn);return{backgroundImage:`linear-gradient(${Zt}, ${En})`}}return{backgroundImage:`linear-gradient(${Zt}, ${Ft}, ${Kt})`}};var Ze=ft=>{const{prefixCls:Et,direction:Ft,percent:Kt,size:Zt,strokeWidth:rn,strokeColor:En,strokeLinecap:On="round",children:Hn,trailColor:Dn=null,success:jn}=ft,Jn=En&&typeof En!="string"?ct(En,Ft):{backgroundColor:En},br=On==="square"||On==="butt"?0:void 0,sr={backgroundColor:Dn||void 0,borderRadius:br},Rn=Zt!=null?Zt:[-1,rn||(Zt==="small"?6:8)],[Fn,Gn]=tt(Rn,"line",{strokeWidth:rn}),er=Object.assign({width:`${Qe(Kt)}%`,height:Gn,borderRadius:br},Jn),xr=nt(ft),cr={width:`${Qe(xr)}%`,height:Gn,borderRadius:br,backgroundColor:jn==null?void 0:jn.strokeColor},Tr={width:Fn<0?"100%":Fn,height:Gn};return Ne.createElement(Ne.Fragment,null,Ne.createElement("div",{className:`${Et}-outer`,style:Tr},Ne.createElement("div",{className:`${Et}-inner`,style:sr},Ne.createElement("div",{className:`${Et}-bg`,style:er}),xr!==void 0?Ne.createElement("div",{className:`${Et}-success-bg`,style:cr}):null)),Hn)},he=ft=>{const{size:Et,steps:Ft,percent:Kt=0,strokeWidth:Zt=8,strokeColor:rn,trailColor:En=null,prefixCls:On,children:Hn}=ft,Dn=Math.round(Ft*(Kt/100)),jn=Et==="small"?2:14,Jn=Et!=null?Et:[jn,Zt],[br,sr]=tt(Jn,"step",{steps:Ft,strokeWidth:Zt}),Rn=br/Ft,Fn=new Array(Ft);for(let Gn=0;Gn<Ft;Gn++){const er=Array.isArray(rn)?rn[Gn]:rn;Fn[Gn]=Ne.createElement("div",{key:Gn,className:ee()(`${On}-steps-item`,{[`${On}-steps-item-active`]:Gn<=Dn-1}),style:{backgroundColor:Gn<=Dn-1?er:En,width:Rn,height:sr}})}return Ne.createElement("div",{className:`${On}-steps-outer`},Fn,Hn)},He=Te(36237),We=Te(17313),fe=Te(83116),Pe=Te(37613);const Fe=ft=>{const Et=ft?"100%":"-100%";return new He.Keyframes(`antProgress${ft?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Et}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Et}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ke=ft=>{const{componentCls:Et,iconCls:Ft}=ft;return{[Et]:Object.assign(Object.assign({},(0,We.Wf)(ft)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ft.fontSize,marginInlineEnd:ft.marginXS,marginBottom:ft.marginXS},[`${Et}-outer`]:{display:"inline-block",width:"100%"},[`&${Et}-show-info`]:{[`${Et}-outer`]:{marginInlineEnd:`calc(-2em - ${ft.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ft.paddingXS}px)`}},[`${Et}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ft.remainingColor,borderRadius:ft.lineBorderRadius},[`${Et}-inner:not(${Et}-circle-gradient)`]:{[`${Et}-circle-path`]:{stroke:ft.defaultColor}},[`${Et}-success-bg, ${Et}-bg`]:{position:"relative",backgroundColor:ft.defaultColor,borderRadius:ft.lineBorderRadius,transition:`all ${ft.motionDurationSlow} ${ft.motionEaseInOutCirc}`},[`${Et}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ft.colorSuccess},[`${Et}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ft.marginXS,color:ft.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ft]:{fontSize:ft.fontSize}},[`&${Et}-status-active`]:{[`${Et}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ft.colorBgContainer,borderRadius:ft.lineBorderRadius,opacity:0,animationName:Fe(),animationDuration:ft.progressActiveMotionDuration,animationTimingFunction:ft.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Et}-rtl${Et}-status-active`]:{[`${Et}-bg::before`]:{animationName:Fe(!0)}},[`&${Et}-status-exception`]:{[`${Et}-bg`]:{backgroundColor:ft.colorError},[`${Et}-text`]:{color:ft.colorError}},[`&${Et}-status-exception ${Et}-inner:not(${Et}-circle-gradient)`]:{[`${Et}-circle-path`]:{stroke:ft.colorError}},[`&${Et}-status-success`]:{[`${Et}-bg`]:{backgroundColor:ft.colorSuccess},[`${Et}-text`]:{color:ft.colorSuccess}},[`&${Et}-status-success ${Et}-inner:not(${Et}-circle-gradient)`]:{[`${Et}-circle-path`]:{stroke:ft.colorSuccess}}})}},Ue=ft=>{const{componentCls:Et,iconCls:Ft}=ft;return{[Et]:{[`${Et}-circle-trail`]:{stroke:ft.remainingColor},[`&${Et}-circle ${Et}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Et}-circle ${Et}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ft.circleTextColor,fontSize:ft.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ft]:{fontSize:`${ft.fontSize/ft.fontSizeSM}em`}},[`${Et}-circle&-status-exception`]:{[`${Et}-text`]:{color:ft.colorError}},[`${Et}-circle&-status-success`]:{[`${Et}-text`]:{color:ft.colorSuccess}}},[`${Et}-inline-circle`]:{lineHeight:1,[`${Et}-inner`]:{verticalAlign:"bottom"}}}},ut=ft=>{const{componentCls:Et}=ft;return{[Et]:{[`${Et}-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}}}}}},vt=ft=>{const{componentCls:Et,iconCls:Ft}=ft;return{[Et]:{[`${Et}-small&-line, ${Et}-small&-line ${Et}-text ${Ft}`]:{fontSize:ft.fontSizeSM}}}};var lt=(0,fe.Z)("Progress",ft=>{const Et=ft.marginXXS/2,Ft=(0,Pe.TS)(ft,{progressStepMarginInlineEnd:Et,progressStepMinWidth:Et,progressActiveMotionDuration:"2.4s"});return[Ke(Ft),Ue(Ft),ut(Ft),vt(Ft)]},ft=>({circleTextColor:ft.colorText,defaultColor:ft.colorInfo,remainingColor:ft.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Dt=function(ft,Et){var Ft={};for(var Kt in ft)Object.prototype.hasOwnProperty.call(ft,Kt)&&Et.indexOf(Kt)<0&&(Ft[Kt]=ft[Kt]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,Kt=Object.getOwnPropertySymbols(ft);Zt<Kt.length;Zt++)Et.indexOf(Kt[Zt])<0&&Object.prototype.propertyIsEnumerable.call(ft,Kt[Zt])&&(Ft[Kt[Zt]]=ft[Kt[Zt]]);return Ft};const Wt=null,wt=["normal","exception","active","success"];var Nt=Ne.forwardRef((ft,Et)=>{const{prefixCls:Ft,className:Kt,rootClassName:Zt,steps:rn,strokeColor:En,percent:On=0,size:Hn="default",showInfo:Dn=!0,type:jn="line",status:Jn,format:br,style:sr}=ft,Rn=Dt(ft,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Fn=Ne.useMemo(()=>{var Ht,kt;const Rt=nt(ft);return parseInt(Rt!==void 0?(Ht=Rt!=null?Rt:0)===null||Ht===void 0?void 0:Ht.toString():(kt=On!=null?On:0)===null||kt===void 0?void 0:kt.toString(),10)},[On,ft.success,ft.successPercent]),Gn=Ne.useMemo(()=>!wt.includes(Jn)&&Fn>=100?"success":Jn||"normal",[Jn,Fn]),{getPrefixCls:er,direction:xr,progress:cr}=Ne.useContext(oe.E_),Tr=er("progress",Ft),[Dr,Xn]=lt(Tr),$n=Ne.useMemo(()=>{if(!Dn)return null;const Ht=nt(ft);let kt;const Rt=br||(Bt=>`${Bt}%`),Lt=jn==="line";return br||Gn!=="exception"&&Gn!=="success"?kt=Rt(Qe(On),Qe(Ht)):Gn==="exception"?kt=Lt?Ne.createElement(je.Z,null):Ne.createElement(ve.Z,null):Gn==="success"&&(kt=Lt?Ne.createElement(bt.Z,null):Ne.createElement(E.Z,null)),Ne.createElement("span",{className:`${Tr}-text`,title:typeof kt=="string"?kt:void 0},kt)},[Dn,On,Fn,Gn,jn,Tr,br]),wr=Array.isArray(En)?En[0]:En,nr=typeof En=="string"||Array.isArray(En)?En:void 0;let Zn;jn==="line"?Zn=rn?Ne.createElement(he,Object.assign({},ft,{strokeColor:nr,prefixCls:Tr,steps:rn}),$n):Ne.createElement(Ze,Object.assign({},ft,{strokeColor:wr,prefixCls:Tr,direction:xr}),$n):(jn==="circle"||jn==="dashboard")&&(Zn=Ne.createElement(pt,Object.assign({},ft,{strokeColor:wr,prefixCls:Tr,progressStatus:Gn}),$n));const Pr=ee()(Tr,`${Tr}-status-${Gn}`,`${Tr}-${jn==="dashboard"&&"circle"||rn&&"steps"||jn}`,{[`${Tr}-inline-circle`]:jn==="circle"&&tt(Hn,"circle")[0]<=20,[`${Tr}-show-info`]:Dn,[`${Tr}-${Hn}`]:typeof Hn=="string",[`${Tr}-rtl`]:xr==="rtl"},cr==null?void 0:cr.className,Kt,Zt,Xn);return Dr(Ne.createElement("div",Object.assign({ref:Et,style:Object.assign(Object.assign({},cr==null?void 0:cr.style),sr),className:Pr,role:"progressbar","aria-valuenow":Fn},(0,ie.Z)(Rn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Zn))}),St=Nt},5112:function(kn,Qt,Te){"use strict";Te.d(Qt,{ZP:function(){return Ve}});var Ne=Te(92310),bt=Te.n(Ne),E=Te(18929),je=Te(26112),ve=Te(59301),ne=Te(36355),ee=Te(19716);const ie=ve.createContext(null),oe=ie.Provider;var le=ie;const pe=ve.createContext(null),re=pe.Provider;var ae=Te(5630),ce=Te(8654),de=Te(1684),me=Te(32441),we=Te(17313),xe=Te(83116),Ae=Te(37613);const ye=Qe=>{const{componentCls:nt,antCls:dt}=Qe,at=`${nt}-group`;return{[at]:Object.assign(Object.assign({},(0,we.Wf)(Qe)),{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"}})}},Ee=Qe=>{const{componentCls:nt,wrapperMarginInlineEnd:dt,colorPrimary:at,radioSize:tt,motionDurationSlow:et,motionDurationMid:ot,motionEaseInOutCirc:yt,colorBgContainer:pt,colorBorder:Pt,lineWidth:Mt,dotSize:ct,colorBgContainerDisabled:Je,colorTextDisabled:Ze,paddingXS:ue,dotColorDisabled:he,lineType:He,radioDotDisabledSize:We,wireframe:fe,colorWhite:Pe}=Qe,Fe=`${nt}-inner`;return{[`${nt}-wrapper`]:Object.assign(Object.assign({},(0,we.Wf)(Qe)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:dt,cursor:"pointer",[`&${nt}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Qe.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:`${Mt}px ${He} ${at}`,borderRadius:"50%",visibility:"hidden",content:'""'},[nt]:Object.assign(Object.assign({},(0,we.Wf)(Qe)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${nt}-wrapper:hover &,
&:hover ${Fe}`]:{borderColor:at},[`${nt}-input:focus-visible + ${Fe}`]:Object.assign({},(0,we.oN)(Qe)),[`${nt}:hover::after, ${nt}-wrapper:hover &::after`]:{visibility:"visible"},[`${nt}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:tt,height:tt,marginBlockStart:tt/-2,marginInlineStart:tt/-2,backgroundColor:fe?at:Pe,borderBlockStart:0,borderInlineStart:0,borderRadius:tt,transform:"scale(0)",opacity:0,transition:`all ${et} ${yt}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:tt,height:tt,backgroundColor:pt,borderColor:Pt,borderStyle:"solid",borderWidth:Mt,borderRadius:"50%",transition:`all ${ot}`},[`${nt}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${nt}-checked`]:{[Fe]:{borderColor:at,backgroundColor:fe?pt:at,"&::after":{transform:`scale(${ct/tt})`,opacity:1,transition:`all ${et} ${yt}`}}},[`${nt}-disabled`]:{cursor:"not-allowed",[Fe]:{backgroundColor:Je,borderColor:Pt,cursor:"not-allowed","&::after":{backgroundColor:he}},[`${nt}-input`]:{cursor:"not-allowed"},[`${nt}-disabled + span`]:{color:Ze,cursor:"not-allowed"},[`&${nt}-checked`]:{[Fe]:{"&::after":{transform:`scale(${We/tt})`}}}},[`span${nt} + *`]:{paddingInlineStart:ue,paddingInlineEnd:ue}})}},Le=Qe=>{const{buttonColor:nt,controlHeight:dt,componentCls:at,lineWidth:tt,lineType:et,colorBorder:ot,motionDurationSlow:yt,motionDurationMid:pt,buttonPaddingInline:Pt,fontSize:Mt,buttonBg:ct,fontSizeLG:Je,controlHeightLG:Ze,controlHeightSM:ue,paddingXS:he,borderRadius:He,borderRadiusSM:We,borderRadiusLG:fe,buttonCheckedBg:Pe,buttonSolidCheckedColor:Fe,colorTextDisabled:Ke,colorBgContainerDisabled:Ue,buttonCheckedBgDisabled:ut,buttonCheckedColorDisabled:vt,colorPrimary:lt,colorPrimaryHover:Dt,colorPrimaryActive:Wt,buttonSolidCheckedBg:wt,buttonSolidCheckedHoverBg:zt,buttonSolidCheckedActiveBg:Nt}=Qe;return{[`${at}-button-wrapper`]:{position:"relative",display:"inline-block",height:dt,margin:0,paddingInline:Pt,paddingBlock:0,color:nt,fontSize:Mt,lineHeight:`${dt-tt*2}px`,background:ct,border:`${tt}px ${et} ${ot}`,borderBlockStartWidth:tt+.02,borderInlineStartWidth:0,borderInlineEndWidth:tt,cursor:"pointer",transition:[`color ${pt}`,`background ${pt}`,`box-shadow ${pt}`].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:-tt,insetInlineStart:-tt,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:tt,paddingInline:0,backgroundColor:ot,transition:`background-color ${yt}`,content:'""'}},"&:first-child":{borderInlineStart:`${tt}px ${et} ${ot}`,borderStartStartRadius:He,borderEndStartRadius:He},"&:last-child":{borderStartEndRadius:He,borderEndEndRadius:He},"&:first-child:last-child":{borderRadius:He},[`${at}-group-large &`]:{height:Ze,fontSize:Je,lineHeight:`${Ze-tt*2}px`,"&:first-child":{borderStartStartRadius:fe,borderEndStartRadius:fe},"&:last-child":{borderStartEndRadius:fe,borderEndEndRadius:fe}},[`${at}-group-small &`]:{height:ue,paddingInline:he-tt,paddingBlock:0,lineHeight:`${ue-tt*2}px`,"&:first-child":{borderStartStartRadius:We,borderEndStartRadius:We},"&:last-child":{borderStartEndRadius:We,borderEndEndRadius:We}},"&:hover":{position:"relative",color:lt},"&:has(:focus-visible)":Object.assign({},(0,we.oN)(Qe)),[`${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:lt,background:Pe,borderColor:lt,"&::before":{backgroundColor:lt},"&:first-child":{borderColor:lt},"&:hover":{color:Dt,borderColor:Dt,"&::before":{backgroundColor:Dt}},"&:active":{color:Wt,borderColor:Wt,"&::before":{backgroundColor:Wt}}},[`${at}-group-solid &-checked:not(${at}-button-wrapper-disabled)`]:{color:Fe,background:wt,borderColor:wt,"&:hover":{color:Fe,background:zt,borderColor:zt},"&:active":{color:Fe,background:Nt,borderColor:Nt}},"&-disabled":{color:Ke,backgroundColor:Ue,borderColor:ot,cursor:"not-allowed","&:first-child, &:hover":{color:Ke,backgroundColor:Ue,borderColor:ot}},[`&-disabled${at}-button-wrapper-checked`]:{color:vt,backgroundColor:ut,borderColor:ot,boxShadow:"none"}}}},Ce=Qe=>Qe-4*2;var _e=(0,xe.Z)("Radio",Qe=>{const{controlOutline:nt,controlOutlineWidth:dt,radioSize:at}=Qe,tt=`0 0 0 ${dt}px ${nt}`,et=tt,ot=Ce(at),yt=(0,Ae.TS)(Qe,{radioDotDisabledSize:ot,radioFocusShadow:tt,radioButtonFocusShadow:et});return[ye(yt),Ee(yt),Le(yt)]},Qe=>{const{wireframe:nt,padding:dt,marginXS:at,lineWidth:tt,fontSizeLG:et,colorText:ot,colorBgContainer:yt,colorTextDisabled:pt,controlItemBgActiveDisabled:Pt,colorTextLightSolid:Mt,colorPrimary:ct,colorPrimaryHover:Je,colorPrimaryActive:Ze}=Qe,ue=4,he=et,He=nt?Ce(he):he-(ue+tt)*2;return{radioSize:he,dotSize:He,dotColorDisabled:pt,buttonSolidCheckedColor:Mt,buttonSolidCheckedBg:ct,buttonSolidCheckedHoverBg:Je,buttonSolidCheckedActiveBg:Ze,buttonBg:yt,buttonCheckedBg:yt,buttonColor:ot,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:pt,buttonPaddingInline:dt-tt,wrapperMarginInlineEnd:at}}),Me=Te(14088),De=Te(4572),Se=function(Qe,nt){var dt={};for(var at in Qe)Object.prototype.hasOwnProperty.call(Qe,at)&&nt.indexOf(at)<0&&(dt[at]=Qe[at]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,at=Object.getOwnPropertySymbols(Qe);tt<at.length;tt++)nt.indexOf(at[tt])<0&&Object.prototype.propertyIsEnumerable.call(Qe,at[tt])&&(dt[at[tt]]=Qe[at[tt]]);return dt};const Be=(Qe,nt)=>{var dt,at;const tt=ve.useContext(le),et=ve.useContext(pe),{getPrefixCls:ot,direction:yt,radio:pt}=ve.useContext(ne.E_),Pt=ve.useRef(null),Mt=(0,ce.sQ)(nt,Pt),{isFormItemInput:ct}=ve.useContext(me.aM),Je=Wt=>{var wt,zt;(wt=Qe.onChange)===null||wt===void 0||wt.call(Qe,Wt),(zt=tt==null?void 0:tt.onChange)===null||zt===void 0||zt.call(tt,Wt)},{prefixCls:Ze,className:ue,rootClassName:he,children:He,style:We}=Qe,fe=Se(Qe,["prefixCls","className","rootClassName","children","style"]),Pe=ot("radio",Ze),Fe=((tt==null?void 0:tt.optionType)||et)==="button",Ke=Fe?`${Pe}-button`:Pe,[Ue,ut]=_e(Pe),vt=Object.assign({},fe),lt=ve.useContext(de.Z);tt&&(vt.name=tt.name,vt.onChange=Je,vt.checked=Qe.value===tt.value,vt.disabled=(dt=vt.disabled)!==null&&dt!==void 0?dt:tt.disabled),vt.disabled=(at=vt.disabled)!==null&&at!==void 0?at:lt;const Dt=bt()(`${Ke}-wrapper`,{[`${Ke}-wrapper-checked`]:vt.checked,[`${Ke}-wrapper-disabled`]:vt.disabled,[`${Ke}-wrapper-rtl`]:yt==="rtl",[`${Ke}-wrapper-in-form-item`]:ct},pt==null?void 0:pt.className,ue,he,ut);return Ue(ve.createElement(Me.Z,{component:"Radio",disabled:vt.disabled},ve.createElement("label",{className:Dt,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),We),onMouseEnter:Qe.onMouseEnter,onMouseLeave:Qe.onMouseLeave},ve.createElement(ae.Z,Object.assign({},vt,{className:bt()(vt.className,!Fe&&De.A),type:"radio",prefixCls:Ke,ref:Mt})),He!==void 0?ve.createElement("span",null,He):null)))};var Xe=ve.forwardRef(Be);const Ie=ve.forwardRef((Qe,nt)=>{const{getPrefixCls:dt,direction:at}=ve.useContext(ne.E_),[tt,et]=(0,E.Z)(Qe.defaultValue,{value:Qe.value}),ot=wt=>{const zt=tt,Nt=wt.target.value;"value"in Qe||et(Nt);const{onChange:St}=Qe;St&&Nt!==zt&&St(wt)},{prefixCls:yt,className:pt,rootClassName:Pt,options:Mt,buttonStyle:ct="outline",disabled:Je,children:Ze,size:ue,style:he,id:He,onMouseEnter:We,onMouseLeave:fe,onFocus:Pe,onBlur:Fe}=Qe,Ke=dt("radio",yt),Ue=`${Ke}-group`,[ut,vt]=_e(Ke);let lt=Ze;Mt&&Mt.length>0&&(lt=Mt.map(wt=>typeof wt=="string"||typeof wt=="number"?ve.createElement(Xe,{key:wt.toString(),prefixCls:Ke,disabled:Je,value:wt,checked:tt===wt},wt):ve.createElement(Xe,{key:`radio-group-value-options-${wt.value}`,prefixCls:Ke,disabled:wt.disabled||Je,value:wt.value,checked:tt===wt.value,title:wt.title,style:wt.style},wt.label)));const Dt=(0,ee.Z)(ue),Wt=bt()(Ue,`${Ue}-${ct}`,{[`${Ue}-${Dt}`]:Dt,[`${Ue}-rtl`]:at==="rtl"},pt,Pt,vt);return ut(ve.createElement("div",Object.assign({},(0,je.Z)(Qe,{aria:!0,data:!0}),{className:Wt,style:he,onMouseEnter:We,onMouseLeave:fe,onFocus:Pe,onBlur:Fe,id:He,ref:nt}),ve.createElement(oe,{value:{onChange:ot,value:tt,disabled:Qe.disabled,name:Qe.name,optionType:Qe.optionType}},lt)))});var Ye=ve.memo(Ie),Ge=function(Qe,nt){var dt={};for(var at in Qe)Object.prototype.hasOwnProperty.call(Qe,at)&&nt.indexOf(at)<0&&(dt[at]=Qe[at]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,at=Object.getOwnPropertySymbols(Qe);tt<at.length;tt++)nt.indexOf(at[tt])<0&&Object.prototype.propertyIsEnumerable.call(Qe,at[tt])&&(dt[at[tt]]=Qe[at[tt]]);return dt};const qe=(Qe,nt)=>{const{getPrefixCls:dt}=ve.useContext(ne.E_),{prefixCls:at}=Qe,tt=Ge(Qe,["prefixCls"]),et=dt("radio",at);return ve.createElement(re,{value:"button"},ve.createElement(Xe,Object.assign({prefixCls:et},tt,{type:"radio",ref:nt})))};var it=ve.forwardRef(qe);const st=Xe;st.Button=it,st.Group=Ye,st.__ANT_RADIO=!0;var Ve=st},13570:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Qe}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(dt,at){return bt.createElement(ve.Z,(0,Ne.Z)({},dt,{ref:at,icon:je}))},ee=bt.forwardRef(ne),ie=ee,oe=Te(92310),le=Te.n(oe),pe=Te(18642),re=Te(72190),ae=Te(42244),ce=Te(18929),de=Te(10228),me=Te(26112);function we(nt,dt){var at=nt.disabled,tt=nt.prefixCls,et=nt.character,ot=nt.characterRender,yt=nt.index,pt=nt.count,Pt=nt.value,Mt=nt.allowHalf,ct=nt.focused,Je=nt.onHover,Ze=nt.onClick,ue=function(Ue){Je(Ue,yt)},he=function(Ue){Ze(Ue,yt)},He=function(Ue){Ue.keyCode===de.Z.ENTER&&Ze(Ue,yt)},We=yt+1,fe=new Set([tt]);Pt===0&&yt===0&&ct?fe.add("".concat(tt,"-focused")):Mt&&Pt+.5>=We&&Pt<We?(fe.add("".concat(tt,"-half")),fe.add("".concat(tt,"-active")),ct&&fe.add("".concat(tt,"-focused"))):(We<=Pt?fe.add("".concat(tt,"-full")):fe.add("".concat(tt,"-zero")),We===Pt&&ct&&fe.add("".concat(tt,"-focused")));var Pe=typeof et=="function"?et(nt):et,Fe=bt.createElement("li",{className:le()(Array.from(fe)),ref:dt},bt.createElement("div",{onClick:at?null:he,onKeyDown:at?null:He,onMouseMove:at?null:ue,role:"radio","aria-checked":Pt>yt?"true":"false","aria-posinset":yt+1,"aria-setsize":pt,tabIndex:at?-1:0},bt.createElement("div",{className:"".concat(tt,"-first")},Pe),bt.createElement("div",{className:"".concat(tt,"-second")},Pe)));return ot&&(Fe=ot(Fe,nt)),Fe}var xe=bt.forwardRef(we);function Ae(){var nt=bt.useRef({});function dt(tt){return nt.current[tt]}function at(tt){return function(et){nt.current[tt]=et}}return[dt,at]}function ye(nt){var dt=nt.pageXOffset,at="scrollLeft";if(typeof dt!="number"){var tt=nt.document;dt=tt.documentElement[at],typeof dt!="number"&&(dt=tt.body[at])}return dt}function Ee(nt){var dt,at,tt=nt.ownerDocument,et=tt.body,ot=tt&&tt.documentElement,yt=nt.getBoundingClientRect();return dt=yt.left,at=yt.top,dt-=ot.clientLeft||et.clientLeft||0,at-=ot.clientTop||et.clientTop||0,{left:dt,top:at}}function Le(nt){var dt=Ee(nt),at=nt.ownerDocument,tt=at.defaultView||at.parentWindow;return dt.left+=ye(tt),dt.left}var Ce=["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,tt=nt.prefixCls,et=tt===void 0?"rc-rate":tt,ot=nt.className,yt=nt.defaultValue,pt=nt.value,Pt=nt.count,Mt=Pt===void 0?5:Pt,ct=nt.allowHalf,Je=ct===void 0?!1:ct,Ze=nt.allowClear,ue=Ze===void 0?!0:Ze,he=nt.character,He=he===void 0?"\u2605":he,We=nt.characterRender,fe=nt.disabled,Pe=nt.direction,Fe=Pe===void 0?"ltr":Pe,Ke=nt.tabIndex,Ue=Ke===void 0?0:Ke,ut=nt.autoFocus,vt=nt.onHoverChange,lt=nt.onChange,Dt=nt.onFocus,Wt=nt.onBlur,wt=nt.onKeyDown,zt=nt.onMouseLeave,Nt=(0,ae.Z)(nt,Ce),St=Ae(),ft=(0,re.Z)(St,2),Et=ft[0],Ft=ft[1],Kt=bt.useRef(null),Zt=function(){if(!fe){var Bt;(Bt=Kt.current)===null||Bt===void 0||Bt.focus()}};bt.useImperativeHandle(dt,function(){return{focus:Zt,blur:function(){if(!fe){var Bt;(Bt=Kt.current)===null||Bt===void 0||Bt.blur()}}}});var rn=(0,ce.Z)(yt||0,{value:pt}),En=(0,re.Z)(rn,2),On=En[0],Hn=En[1],Dn=(0,ce.Z)(null),jn=(0,re.Z)(Dn,2),Jn=jn[0],br=jn[1],sr=function(Bt,Ut){var Yt=Fe==="rtl",hn=Bt+1;if(Je){var fn=Et(Bt),wn=Le(fn),Ln=fn.clientWidth;(Yt&&Ut-wn>Ln/2||!Yt&&Ut-wn<Ln/2)&&(hn-=.5)}return hn},Rn=function(Bt){Hn(Bt),lt==null||lt(Bt)},Fn=bt.useState(!1),Gn=(0,re.Z)(Fn,2),er=Gn[0],xr=Gn[1],cr=function(){xr(!0),Dt==null||Dt()},Tr=function(){xr(!1),Wt==null||Wt()},Dr=bt.useState(null),Xn=(0,re.Z)(Dr,2),$n=Xn[0],wr=Xn[1],nr=function(Bt,Ut){var Yt=sr(Ut,Bt.pageX);Yt!==Jn&&(wr(Yt),br(null)),vt==null||vt(Yt)},Zn=function(Bt){fe||(wr(null),br(null),vt==null||vt(void 0)),Bt&&(zt==null||zt(Bt))},Pr=function(Bt,Ut){var Yt=sr(Ut,Bt.pageX),hn=!1;ue&&(hn=Yt===On),Zn(),Rn(hn?0:Yt),br(hn?Yt:null)},Ht=function(Bt){var Ut=Bt.keyCode,Yt=Fe==="rtl",hn=On;Ut===de.Z.RIGHT&&hn<Mt&&!Yt?(Je?hn+=.5:hn+=1,Rn(hn),Bt.preventDefault()):Ut===de.Z.LEFT&&hn>0&&!Yt||Ut===de.Z.RIGHT&&hn>0&&Yt?(Je?hn-=.5:hn-=1,Rn(hn),Bt.preventDefault()):Ut===de.Z.LEFT&&hn<Mt&&Yt&&(Je?hn+=.5:hn+=1,Rn(hn),Bt.preventDefault()),wt==null||wt(Bt)};bt.useEffect(function(){ut&&!fe&&Zt()},[]);var kt=new Array(Mt).fill(0).map(function(Lt,Bt){return bt.createElement(xe,{ref:Ft(Bt),index:Bt,count:Mt,disabled:fe,prefixCls:"".concat(et,"-star"),allowHalf:Je,value:$n===null?On:$n,onClick:Pr,onHover:nr,key:Lt||Bt,character:He,characterRender:We,focused:er})}),Rt=le()(et,ot,(at={},(0,pe.Z)(at,"".concat(et,"-disabled"),fe),(0,pe.Z)(at,"".concat(et,"-rtl"),Fe==="rtl"),at));return bt.createElement("ul",(0,Ne.Z)({className:Rt,onMouseLeave:Zn,tabIndex:fe?-1:Ue,onFocus:fe?null:cr,onBlur:fe?null:Tr,onKeyDown:fe?null:Ht,ref:Kt,role:"radiogroup"},(0,me.Z)(Nt,{aria:!0,data:!0,attr:!0})),kt)}var Me=bt.forwardRef(_e),De=Me,Se=Te(36355),Be=Te(6848),Re=Te(17313),Xe=Te(83116),Ie=Te(37613);const Ye=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"}}}},Ge=nt=>({[`&-rtl${nt.componentCls}`]:{direction:"rtl"}}),qe=nt=>{const{componentCls:dt}=nt;return{[dt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.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)"}}}),Ye(nt)),{[`+ ${dt}-text`]:{display:"inline-block",marginInlineStart:nt.marginXS,fontSize:nt.fontSize}}),Ge(nt))}};var it=(0,Xe.Z)("Rate",nt=>{const dt=(0,Ie.TS)(nt,{});return[qe(dt)]},nt=>({starColor:nt.yellow6,starSize:nt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:nt.colorFillContent})),st=function(nt,dt){var at={};for(var tt in nt)Object.prototype.hasOwnProperty.call(nt,tt)&&dt.indexOf(tt)<0&&(at[tt]=nt[tt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,tt=Object.getOwnPropertySymbols(nt);et<tt.length;et++)dt.indexOf(tt[et])<0&&Object.prototype.propertyIsEnumerable.call(nt,tt[et])&&(at[tt[et]]=nt[tt[et]]);return at},Qe=bt.forwardRef((nt,dt)=>{const{prefixCls:at,className:tt,rootClassName:et,style:ot,tooltips:yt,character:pt=bt.createElement(ie,null)}=nt,Pt=st(nt,["prefixCls","className","rootClassName","style","tooltips","character"]),Mt=(fe,Pe)=>{let{index:Fe}=Pe;return yt?bt.createElement(Be.Z,{title:yt[Fe]},fe):fe},{getPrefixCls:ct,direction:Je,rate:Ze}=bt.useContext(Se.E_),ue=ct("rate",at),[he,He]=it(ue),We=Object.assign(Object.assign({},Ze==null?void 0:Ze.style),ot);return he(bt.createElement(De,Object.assign({ref:dt,character:pt,characterRender:Mt},Pt,{className:le()(tt,et,He,Ze==null?void 0:Ze.className),style:We,prefixCls:ue,direction:Je})))})},57809:function(kn,Qt,Te){"use strict";var Ne=Te(92310),bt=Te.n(Ne),E=Te(77861),je=Te(2738),ve=Te(59301),ne=Te(53487),ee=Te(62892),ie=Te(19080),oe=Te(36355),le=Te(1684),pe=Te(93891),re=Te(19716),ae=Te(32441),ce=Te(33234),de=Te(14154),me=Te(58582),we=Te(84443),xe=Te(66339),Ae=function(_e,Me){var De={};for(var Se in _e)Object.prototype.hasOwnProperty.call(_e,Se)&&Me.indexOf(Se)<0&&(De[Se]=_e[Se]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,Se=Object.getOwnPropertySymbols(_e);Be<Se.length;Be++)Me.indexOf(Se[Be])<0&&Object.prototype.propertyIsEnumerable.call(_e,Se[Be])&&(De[Se[Be]]=_e[Se[Be]]);return De};const ye="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ee=(_e,Me)=>{var De,{prefixCls:Se,bordered:Be=!0,className:Re,rootClassName:Xe,getPopupContainer:Ie,popupClassName:Ye,dropdownClassName:Ge,listHeight:qe=256,placement:it,listItemHeight:st=24,size:Ve,disabled:Qe,notFoundContent:nt,status:dt,builtinPlacements:at,dropdownMatchSelectWidth:tt,popupMatchSelectWidth:et,direction:ot,style:yt,allowClear:pt}=_e,Pt=Ae(_e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Mt,getPrefixCls:ct,renderEmpty:Je,direction:Ze,virtual:ue,popupMatchSelectWidth:he,popupOverflow:He,select:We}=ve.useContext(oe.E_),fe=ct("select",Se),Pe=ct(),Fe=ot!=null?ot:Ze,{compactSize:Ke,compactItemClassnames:Ue}=(0,ce.ri)(fe,Fe),[ut,vt]=(0,de.Z)(fe),lt=ve.useMemo(()=>{const{mode:Gn}=Pt;if(Gn!=="combobox")return Gn===ye?"combobox":Gn},[Pt.mode]),Dt=lt==="multiple"||lt==="tags",Wt=(0,we.Z)(Pt.suffixIcon,Pt.showArrow),wt=(De=et!=null?et:tt)!==null&&De!==void 0?De:he,{status:zt,hasFeedback:Nt,isFormItemInput:St,feedbackIcon:ft}=ve.useContext(ae.aM),Et=(0,ie.F)(zt,dt);let Ft;nt!==void 0?Ft=nt:lt==="combobox"?Ft=null:Ft=(Je==null?void 0:Je("Select"))||ve.createElement(pe.Z,{componentName:"Select"});const{suffixIcon:Kt,itemIcon:Zt,removeIcon:rn,clearIcon:En}=(0,xe.Z)(Object.assign(Object.assign({},Pt),{multiple:Dt,hasFeedback:Nt,feedbackIcon:ft,showSuffixIcon:Wt,prefixCls:fe,showArrow:Pt.showArrow,componentName:"Select"})),On=pt===!0?{clearIcon:En}:pt,Hn=(0,je.Z)(Pt,["suffixIcon","itemIcon"]),Dn=bt()(Ye||Ge,{[`${fe}-dropdown-${Fe}`]:Fe==="rtl"},Xe,vt),jn=(0,re.Z)(Gn=>{var er;return(er=Ve!=null?Ve:Ke)!==null&&er!==void 0?er:Gn}),Jn=ve.useContext(le.Z),br=Qe!=null?Qe:Jn,sr=bt()({[`${fe}-lg`]:jn==="large",[`${fe}-sm`]:jn==="small",[`${fe}-rtl`]:Fe==="rtl",[`${fe}-borderless`]:!Be,[`${fe}-in-form-item`]:St},(0,ie.Z)(fe,Et,Nt),Ue,We==null?void 0:We.className,Re,Xe,vt),Rn=ve.useMemo(()=>it!==void 0?it:Fe==="rtl"?"bottomRight":"bottomLeft",[it,Fe]),Fn=(0,me.Z)(at,He);return ut(ve.createElement(E.ZP,Object.assign({ref:Me,virtual:ue,showSearch:We==null?void 0:We.showSearch},Hn,{style:Object.assign(Object.assign({},We==null?void 0:We.style),yt),dropdownMatchSelectWidth:wt,builtinPlacements:Fn,transitionName:(0,ee.m)(Pe,"slide-up",Pt.transitionName),listHeight:qe,listItemHeight:st,mode:lt,prefixCls:fe,placement:Rn,direction:Fe,suffixIcon:Kt,menuItemSelectedIcon:Zt,removeIcon:rn,allowClear:On,notFoundContent:Ft,className:sr,getPopupContainer:Ie||Mt,dropdownClassName:Dn,disabled:br})))},Le=ve.forwardRef(Ee),Ce=(0,ne.Z)(Le);Le.SECRET_COMBOBOX_MODE_DO_NOT_USE=ye,Le.Option=E.Wx,Le.OptGroup=E.Xo,Le._InternalPanelDoNotUseOrYouWillBeFired=Ce,Qt.default=Le},14154:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Le}});var Ne=Te(17313),bt=Te(74207),E=Te(37613),je=Te(83116),ve=Te(13826),ne=Te(92899);const ee=Ce=>{const{optionHeight:_e,optionFontSize:Me,optionLineHeight:De,optionPadding:Se}=Ce;return{position:"relative",display:"block",minHeight:_e,padding:Se,color:Ce.colorText,fontWeight:"normal",fontSize:Me,lineHeight:De,boxSizing:"border-box"}};var oe=Ce=>{const{antCls:_e,componentCls:Me}=Ce,De=`${Me}-item`,Se=`&${_e}-slide-up-enter${_e}-slide-up-enter-active`,Be=`&${_e}-slide-up-appear${_e}-slide-up-appear-active`,Re=`&${_e}-slide-up-leave${_e}-slide-up-leave-active`,Xe=`${Me}-dropdown-placement-`;return[{[`${Me}-dropdown`]:Object.assign(Object.assign({},(0,Ne.Wf)(Ce)),{position:"absolute",top:-9999,zIndex:Ce.zIndexPopup,boxSizing:"border-box",padding:Ce.paddingXXS,overflow:"hidden",fontSize:Ce.fontSize,fontVariant:"initial",backgroundColor:Ce.colorBgElevated,borderRadius:Ce.borderRadiusLG,outline:"none",boxShadow:Ce.boxShadowSecondary,[`
${Se}${Xe}bottomLeft,
${Be}${Xe}bottomLeft
`]:{animationName:ve.fJ},[`
${Se}${Xe}topLeft,
${Be}${Xe}topLeft,
${Se}${Xe}topRight,
${Be}${Xe}topRight
`]:{animationName:ve.Qt},[`${Re}${Xe}bottomLeft`]:{animationName:ve.Uw},[`
${Re}${Xe}topLeft,
${Re}${Xe}topRight
`]:{animationName:ve.ly},"&-hidden":{display:"none"},[`${De}`]:Object.assign(Object.assign({},ee(Ce)),{cursor:"pointer",transition:`background ${Ce.motionDurationSlow} ease`,borderRadius:Ce.borderRadiusSM,"&-group":{color:Ce.colorTextDescription,fontSize:Ce.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Ne.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${De}-option-disabled)`]:{backgroundColor:Ce.optionActiveBg},[`&-selected:not(${De}-option-disabled)`]:{color:Ce.optionSelectedColor,fontWeight:Ce.optionSelectedFontWeight,backgroundColor:Ce.optionSelectedBg,[`${De}-option-state`]:{color:Ce.colorPrimary}},"&-disabled":{[`&${De}-option-selected`]:{backgroundColor:Ce.colorBgContainerDisabled},color:Ce.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Ce.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,ve.oN)(Ce,"slide-up"),(0,ve.oN)(Ce,"slide-down"),(0,ne.Fm)(Ce,"move-up"),(0,ne.Fm)(Ce,"move-down")]};const le=2,pe=Ce=>{let{controlHeightSM:_e,controlHeight:Me,lineWidth:De}=Ce;const Se=(Me-_e)/2-De,Be=Math.ceil(Se/2);return[Se,Be]};function re(Ce,_e){const{componentCls:Me,iconCls:De}=Ce,Se=`${Me}-selection-overflow`,Be=Ce.multipleSelectItemHeight,[Re]=pe(Ce),Xe=_e?`${Me}-${_e}`:"";return{[`${Me}-multiple${Xe}`]:{fontSize:Ce.fontSize,[Se]:{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:`${Re-le}px ${le*2}px`,borderRadius:Ce.borderRadius,[`${Me}-show-search&`]:{cursor:"text"},[`${Me}-disabled&`]:{background:Ce.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${le}px 0`,lineHeight:`${Be}px`,visibility:"hidden",content:'"\\a0"'}},[`
&${Me}-show-arrow ${Me}-selector,
&${Me}-allow-clear ${Me}-selector
`]:{paddingInlineEnd:Ce.fontSizeIcon+Ce.controlPaddingHorizontal},[`${Me}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Be,marginTop:le,marginBottom:le,lineHeight:`${Be-Ce.lineWidth*2}px`,background:Ce.multipleItemBg,border:`${Ce.lineWidth}px ${Ce.lineType} ${Ce.multipleItemBorderColor}`,borderRadius:Ce.borderRadiusSM,cursor:"default",transition:`font-size ${Ce.motionDurationSlow}, line-height ${Ce.motionDurationSlow}, height ${Ce.motionDurationSlow}`,userSelect:"none",marginInlineEnd:le*2,paddingInlineStart:Ce.paddingXS,paddingInlineEnd:Ce.paddingXS/2,[`${Me}-disabled&`]:{color:Ce.multipleItemColorDisabled,borderColor:Ce.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:Ce.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Ne.Ro)()),{display:"inline-flex",alignItems:"center",color:Ce.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${De}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ce.colorIconHover}})},[`${Se}-item + ${Se}-item`]:{[`${Me}-selection-search`]:{marginInlineStart:0}},[`${Me}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:Ce.inputPaddingHorizontalBase-Re,"\n &-input,\n &-mirror\n ":{height:Be,fontFamily:Ce.fontFamily,lineHeight:`${Be}px`,transition:`all ${Ce.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Me}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:Ce.inputPaddingHorizontalBase,insetInlineEnd:Ce.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${Ce.motionDurationSlow}`}}}}var ce=Ce=>{const{componentCls:_e}=Ce,Me=(0,E.TS)(Ce,{controlHeight:Ce.controlHeightSM,multipleSelectItemHeight:Ce.controlHeightXS,borderRadius:Ce.borderRadiusSM,borderRadiusSM:Ce.borderRadiusXS}),De=(0,E.TS)(Ce,{fontSize:Ce.fontSizeLG,controlHeight:Ce.controlHeightLG,multipleSelectItemHeight:Ce.multipleItemHeightLG,borderRadius:Ce.borderRadiusLG,borderRadiusSM:Ce.borderRadius}),[,Se]=pe(Ce);return[re(Ce),re(Me,"sm"),{[`${_e}-multiple${_e}-sm`]:{[`${_e}-selection-placeholder`]:{insetInline:Ce.controlPaddingHorizontalSM-Ce.lineWidth},[`${_e}-selection-search`]:{marginInlineStart:Se}}},re(De,"lg")]};function de(Ce,_e){const{componentCls:Me,inputPaddingHorizontalBase:De,borderRadius:Se}=Ce,Be=Ce.controlHeight-Ce.lineWidth*2,Re=Math.ceil(Ce.fontSize*1.25),Xe=_e?`${Me}-${_e}`:"";return{[`${Me}-single${Xe}`]:{fontSize:Ce.fontSize,[`${Me}-selector`]:Object.assign(Object.assign({},(0,Ne.Wf)(Ce)),{display:"flex",borderRadius:Se,[`${Me}-selection-search`]:{position:"absolute",top:0,insetInlineStart:De,insetInlineEnd:De,bottom:0,"&-input":{width:"100%"}},[`
${Me}-selection-item,
${Me}-selection-placeholder
`]:{padding:0,lineHeight:`${Be}px`,transition:`all ${Ce.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Be}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:Re},[`&${Me}-open ${Me}-selection-item`]:{color:Ce.colorTextPlaceholder},[`&:not(${Me}-customize-input)`]:{[`${Me}-selector`]:{width:"100%",height:Ce.controlHeight,padding:`0 ${De}px`,[`${Me}-selection-search-input`]:{height:Be},"&:after":{lineHeight:`${Be}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 ${De}px`,"&:after":{display:"none"}}}}}}}function me(Ce){const{componentCls:_e}=Ce,Me=Ce.controlPaddingHorizontalSM-Ce.lineWidth;return[de(Ce),de((0,E.TS)(Ce,{controlHeight:Ce.controlHeightSM,borderRadius:Ce.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+Ce.fontSize*1.5},[`
&${_e}-show-arrow ${_e}-selection-item,
&${_e}-show-arrow ${_e}-selection-placeholder
`]:{paddingInlineEnd:Ce.fontSize*1.5}}}},de((0,E.TS)(Ce,{controlHeight:Ce.singleItemHeightLG,fontSize:Ce.fontSizeLG,borderRadius:Ce.borderRadiusLG}),"lg")]}const we=Ce=>{const{componentCls:_e,selectorBg:Me}=Ce;return{position:"relative",backgroundColor:Me,border:`${Ce.lineWidth}px ${Ce.lineType} ${Ce.colorBorder}`,transition:`all ${Ce.motionDurationMid} ${Ce.motionEaseInOut}`,input:{cursor:"pointer"},[`${_e}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${_e}-disabled&`]:{color:Ce.colorTextDisabled,background:Ce.colorBgContainerDisabled,cursor:"not-allowed",[`${_e}-multiple&`]:{background:Ce.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},xe=function(Ce,_e){let Me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:De,borderHoverColor:Se,outlineColor:Be,antCls:Re}=_e,Xe=Me?{[`${De}-selector`]:{borderColor:Se}}:{};return{[Ce]:{[`&:not(${De}-disabled):not(${De}-customize-input):not(${Re}-pagination-size-changer)`]:Object.assign(Object.assign({},Xe),{[`${De}-focused& ${De}-selector`]:{borderColor:Se,boxShadow:`0 0 0 ${_e.controlOutlineWidth}px ${Be}`,outline:0},[`&:hover ${De}-selector`]:{borderColor:Se}})}}},Ae=Ce=>{const{componentCls:_e}=Ce;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=Ce=>{const{componentCls:_e,inputPaddingHorizontalBase:Me,iconCls:De}=Ce;return{[_e]:Object.assign(Object.assign({},(0,Ne.Wf)(Ce)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${_e}-customize-input) ${_e}-selector`]:Object.assign(Object.assign({},we(Ce)),Ae(Ce)),[`${_e}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},Ne.vS),[`${_e}-selection-placeholder`]:Object.assign(Object.assign({},Ne.vS),{flex:1,color:Ce.colorTextPlaceholder,pointerEvents:"none"}),[`${_e}-arrow`]:Object.assign(Object.assign({},(0,Ne.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Me,height:Ce.fontSizeIcon,marginTop:-Ce.fontSizeIcon/2,color:Ce.colorTextQuaternary,fontSize:Ce.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[De]:{verticalAlign:"top",transition:`transform ${Ce.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:Ce.fontSizeIcon,height:Ce.fontSizeIcon,marginTop:-Ce.fontSizeIcon/2,color:Ce.colorTextQuaternary,fontSize:Ce.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:Ce.clearBg,cursor:"pointer",opacity:0,transition:`color ${Ce.motionDurationMid} ease, opacity ${Ce.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Ce.colorTextTertiary}},"&:hover":{[`${_e}-clear`]:{opacity:1}}}),[`${_e}-has-feedback`]:{[`${_e}-clear`]:{insetInlineEnd:Me+Ce.fontSize+Ce.paddingXS}}}},Ee=Ce=>{const{componentCls:_e}=Ce;return[{[_e]:{[`&-borderless ${_e}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${_e}-in-form-item`]:{width:"100%"}}},ye(Ce),me(Ce),ce(Ce),oe(Ce),{[`${_e}-rtl`]:{direction:"rtl"}},xe(_e,(0,E.TS)(Ce,{borderHoverColor:Ce.colorPrimaryHover,outlineColor:Ce.controlOutline})),xe(`${_e}-status-error`,(0,E.TS)(Ce,{borderHoverColor:Ce.colorErrorHover,outlineColor:Ce.colorErrorOutline}),!0),xe(`${_e}-status-warning`,(0,E.TS)(Ce,{borderHoverColor:Ce.colorWarningHover,outlineColor:Ce.colorWarningOutline}),!0),(0,bt.c)(Ce,{borderElCls:`${_e}-selector`,focusElCls:`${_e}-focused`})]};var Le=(0,je.Z)("Select",(Ce,_e)=>{let{rootPrefixCls:Me}=_e;const De=(0,E.TS)(Ce,{rootPrefixCls:Me,inputPaddingHorizontalBase:Ce.paddingSM-1,multipleSelectItemHeight:Ce.multipleItemHeight});return[Ee(De)]},Ce=>{const{fontSize:_e,lineHeight:Me,controlHeight:De,controlPaddingHorizontal:Se,zIndexPopupBase:Be,colorText:Re,fontWeightStrong:Xe,controlItemBgActive:Ie,controlItemBgHover:Ye,colorBgContainer:Ge,colorFillSecondary:qe,controlHeightLG:it,controlHeightSM:st,colorBgContainerDisabled:Ve,colorTextDisabled:Qe}=Ce;return{zIndexPopup:Be+50,optionSelectedColor:Re,optionSelectedFontWeight:Xe,optionSelectedBg:Ie,optionActiveBg:Ye,optionPadding:`${(De-_e*Me)/2}px ${Se}px`,optionFontSize:_e,optionLineHeight:Me,optionHeight:De,selectorBg:Ge,clearBg:Ge,singleItemHeightLG:it,multipleItemBg:qe,multipleItemBorderColor:"transparent",multipleItemHeight:st,multipleItemHeightLG:De,multipleSelectorBgDisabled:Ve,multipleItemColorDisabled:Qe,multipleItemBorderColorDisabled:"transparent"}})},58582:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return bt}});const Ne=E=>{const ve={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:E==="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 bt(E,je){return E||Ne(je)}},84443:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Ne}});function Ne(bt,E){return E!==void 0?E:bt!==null}},66339:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});var Ne=Te(40001),bt=Te(19248),E=Te(99267),je=Te(84105),ve=Te(58617),ne=Te(47472),ee=Te(59301);function ie(oe){let{suffixIcon:le,clearIcon:pe,menuItemSelectedIcon:re,removeIcon:ae,loading:ce,multiple:de,hasFeedback:me,prefixCls:we,showSuffixIcon:xe,feedbackIcon:Ae,showArrow:ye,componentName:Ee}=oe;const Le=pe!=null?pe:ee.createElement(bt.Z,null),Ce=Se=>le===null&&!me&&!ye?null:ee.createElement(ee.Fragment,null,xe!==!1&&Se,me&&Ae);let _e=null;if(le!==void 0)_e=Ce(le);else if(ce)_e=Ce(ee.createElement(ve.Z,{spin:!0}));else{const Se=`${we}-suffix`;_e=Be=>{let{open:Re,showSearch:Xe}=Be;return Ce(Re&&Xe?ee.createElement(ne.Z,{className:Se}):ee.createElement(je.Z,{className:Se}))}}let Me=null;re!==void 0?Me=re:de?Me=ee.createElement(Ne.Z,null):Me=null;let De=null;return ae!==void 0?De=ae:De=ee.createElement(E.Z,null),{clearIcon:Le,suffixIcon:_e,itemIcon:Me,removeIcon:De}}},61621:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return He}});var Ne=Te(92310),bt=Te.n(Ne),E=Te(59301),je=Te(36355),ve=Te(2738),ee=We=>{const{prefixCls:fe,className:Pe,style:Fe,size:Ke,shape:Ue}=We,ut=bt()({[`${fe}-lg`]:Ke==="large",[`${fe}-sm`]:Ke==="small"}),vt=bt()({[`${fe}-circle`]:Ue==="circle",[`${fe}-square`]:Ue==="square",[`${fe}-round`]:Ue==="round"}),lt=E.useMemo(()=>typeof Ke=="number"?{width:Ke,height:Ke,lineHeight:`${Ke}px`}:{},[Ke]);return E.createElement("span",{className:bt()(fe,ut,vt,Pe),style:Object.assign(Object.assign({},lt),Fe)})},ie=Te(36237),oe=Te(83116),le=Te(37613);const pe=new ie.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),re=We=>({height:We,lineHeight:`${We}px`}),ae=We=>Object.assign({width:We},re(We)),ce=We=>({background:We.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:pe,animationDuration:We.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),de=We=>Object.assign({width:We*5,minWidth:We*5},re(We)),me=We=>{const{skeletonAvatarCls:fe,gradientFromColor:Pe,controlHeight:Fe,controlHeightLG:Ke,controlHeightSM:Ue}=We;return{[`${fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pe},ae(Fe)),[`${fe}${fe}-circle`]:{borderRadius:"50%"},[`${fe}${fe}-lg`]:Object.assign({},ae(Ke)),[`${fe}${fe}-sm`]:Object.assign({},ae(Ue))}},we=We=>{const{controlHeight:fe,borderRadiusSM:Pe,skeletonInputCls:Fe,controlHeightLG:Ke,controlHeightSM:Ue,gradientFromColor:ut}=We;return{[`${Fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ut,borderRadius:Pe},de(fe)),[`${Fe}-lg`]:Object.assign({},de(Ke)),[`${Fe}-sm`]:Object.assign({},de(Ue))}},xe=We=>Object.assign({width:We},re(We)),Ae=We=>{const{skeletonImageCls:fe,imageSizeBase:Pe,gradientFromColor:Fe,borderRadiusSM:Ke}=We;return{[`${fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Fe,borderRadius:Ke},xe(Pe*2)),{[`${fe}-path`]:{fill:"#bfbfbf"},[`${fe}-svg`]:Object.assign(Object.assign({},xe(Pe)),{maxWidth:Pe*4,maxHeight:Pe*4}),[`${fe}-svg${fe}-svg-circle`]:{borderRadius:"50%"}}),[`${fe}${fe}-circle`]:{borderRadius:"50%"}}},ye=(We,fe,Pe)=>{const{skeletonButtonCls:Fe}=We;return{[`${Pe}${Fe}-circle`]:{width:fe,minWidth:fe,borderRadius:"50%"},[`${Pe}${Fe}-round`]:{borderRadius:fe}}},Ee=We=>Object.assign({width:We*2,minWidth:We*2},re(We)),Le=We=>{const{borderRadiusSM:fe,skeletonButtonCls:Pe,controlHeight:Fe,controlHeightLG:Ke,controlHeightSM:Ue,gradientFromColor:ut}=We;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Pe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ut,borderRadius:fe,width:Fe*2,minWidth:Fe*2},Ee(Fe))},ye(We,Fe,Pe)),{[`${Pe}-lg`]:Object.assign({},Ee(Ke))}),ye(We,Ke,`${Pe}-lg`)),{[`${Pe}-sm`]:Object.assign({},Ee(Ue))}),ye(We,Ue,`${Pe}-sm`))},Ce=We=>{const{componentCls:fe,skeletonAvatarCls:Pe,skeletonTitleCls:Fe,skeletonParagraphCls:Ke,skeletonButtonCls:Ue,skeletonInputCls:ut,skeletonImageCls:vt,controlHeight:lt,controlHeightLG:Dt,controlHeightSM:Wt,gradientFromColor:wt,padding:zt,marginSM:Nt,borderRadius:St,titleHeight:ft,blockRadius:Et,paragraphLiHeight:Ft,controlHeightXS:Kt,paragraphMarginTop:Zt}=We;return{[`${fe}`]:{display:"table",width:"100%",[`${fe}-header`]:{display:"table-cell",paddingInlineEnd:zt,verticalAlign:"top",[`${Pe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:wt},ae(lt)),[`${Pe}-circle`]:{borderRadius:"50%"},[`${Pe}-lg`]:Object.assign({},ae(Dt)),[`${Pe}-sm`]:Object.assign({},ae(Wt))},[`${fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Fe}`]:{width:"100%",height:ft,background:wt,borderRadius:Et,[`+ ${Ke}`]:{marginBlockStart:Wt}},[`${Ke}`]:{padding:0,"> li":{width:"100%",height:Ft,listStyle:"none",background:wt,borderRadius:Et,"+ li":{marginBlockStart:Kt}}},[`${Ke}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${fe}-content`]:{[`${Fe}, ${Ke} > li`]:{borderRadius:St}}},[`${fe}-with-avatar ${fe}-content`]:{[`${Fe}`]:{marginBlockStart:Nt,[`+ ${Ke}`]:{marginBlockStart:Zt}}},[`${fe}${fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Le(We)),me(We)),we(We)),Ae(We)),[`${fe}${fe}-block`]:{width:"100%",[`${Ue}`]:{width:"100%"},[`${ut}`]:{width:"100%"}},[`${fe}${fe}-active`]:{[`
${Fe},
${Ke} > li,
${Pe},
${Ue},
${ut},
${vt}
`]:Object.assign({},ce(We))}}};var _e=(0,oe.Z)("Skeleton",We=>{const{componentCls:fe}=We,Pe=(0,le.TS)(We,{skeletonAvatarCls:`${fe}-avatar`,skeletonTitleCls:`${fe}-title`,skeletonParagraphCls:`${fe}-paragraph`,skeletonButtonCls:`${fe}-button`,skeletonInputCls:`${fe}-input`,skeletonImageCls:`${fe}-image`,imageSizeBase:We.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${We.gradientFromColor} 25%, ${We.gradientToColor} 37%, ${We.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Ce(Pe)]},We=>{const{colorFillContent:fe,colorFill:Pe}=We,Fe=fe,Ke=Pe;return{color:Fe,colorGradientEnd:Ke,gradientFromColor:Fe,gradientToColor:Ke,titleHeight:We.controlHeight/2,blockRadius:We.borderRadiusSM,paragraphMarginTop:We.marginLG+We.marginXXS,paragraphLiHeight:We.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),De=We=>{const{prefixCls:fe,className:Pe,rootClassName:Fe,active:Ke,shape:Ue="circle",size:ut="default"}=We,{getPrefixCls:vt}=E.useContext(je.E_),lt=vt("skeleton",fe),[Dt,Wt]=_e(lt),wt=(0,ve.Z)(We,["prefixCls","className"]),zt=bt()(lt,`${lt}-element`,{[`${lt}-active`]:Ke},Pe,Fe,Wt);return Dt(E.createElement("div",{className:zt},E.createElement(ee,Object.assign({prefixCls:`${lt}-avatar`,shape:Ue,size:ut},wt))))},Be=We=>{const{prefixCls:fe,className:Pe,rootClassName:Fe,active:Ke,block:Ue=!1,size:ut="default"}=We,{getPrefixCls:vt}=E.useContext(je.E_),lt=vt("skeleton",fe),[Dt,Wt]=_e(lt),wt=(0,ve.Z)(We,["prefixCls"]),zt=bt()(lt,`${lt}-element`,{[`${lt}-active`]:Ke,[`${lt}-block`]:Ue},Pe,Fe,Wt);return Dt(E.createElement("div",{className:zt},E.createElement(ee,Object.assign({prefixCls:`${lt}-button`,size:ut},wt))))};const Re="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 Ie=We=>{const{prefixCls:fe,className:Pe,rootClassName:Fe,style:Ke,active:Ue}=We,{getPrefixCls:ut}=E.useContext(je.E_),vt=ut("skeleton",fe),[lt,Dt]=_e(vt),Wt=bt()(vt,`${vt}-element`,{[`${vt}-active`]:Ue},Pe,Fe,Dt);return lt(E.createElement("div",{className:Wt},E.createElement("div",{className:bt()(`${vt}-image`,Pe),style:Ke},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${vt}-image-svg`},E.createElement("path",{d:Re,className:`${vt}-image-path`})))))},Ge=We=>{const{prefixCls:fe,className:Pe,rootClassName:Fe,active:Ke,block:Ue,size:ut="default"}=We,{getPrefixCls:vt}=E.useContext(je.E_),lt=vt("skeleton",fe),[Dt,Wt]=_e(lt),wt=(0,ve.Z)(We,["prefixCls"]),zt=bt()(lt,`${lt}-element`,{[`${lt}-active`]:Ke,[`${lt}-block`]:Ue},Pe,Fe,Wt);return Dt(E.createElement("div",{className:zt},E.createElement(ee,Object.assign({prefixCls:`${lt}-input`,size:ut},wt))))},qe=Te(60499),it={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"},st=it,Ve=Te(7657),Qe=function(fe,Pe){return E.createElement(Ve.Z,(0,qe.Z)({},fe,{ref:Pe,icon:st}))},nt=E.forwardRef(Qe),dt=nt,tt=We=>{const{prefixCls:fe,className:Pe,rootClassName:Fe,style:Ke,active:Ue,children:ut}=We,{getPrefixCls:vt}=E.useContext(je.E_),lt=vt("skeleton",fe),[Dt,Wt]=_e(lt),wt=bt()(lt,`${lt}-element`,{[`${lt}-active`]:Ue},Wt,Pe,Fe),zt=ut!=null?ut:E.createElement(dt,null);return Dt(E.createElement("div",{className:wt},E.createElement("div",{className:bt()(`${lt}-image`,Pe),style:Ke},zt)))},et=Te(77654),yt=We=>{const fe=vt=>{const{width:lt,rows:Dt=2}=We;if(Array.isArray(lt))return lt[vt];if(Dt-1===vt)return lt},{prefixCls:Pe,className:Fe,style:Ke,rows:Ue}=We,ut=(0,et.Z)(Array(Ue)).map((vt,lt)=>E.createElement("li",{key:lt,style:{width:fe(lt)}}));return E.createElement("ul",{className:bt()(Pe,Fe),style:Ke},ut)},Pt=We=>{let{prefixCls:fe,className:Pe,width:Fe,style:Ke}=We;return E.createElement("h3",{className:bt()(fe,Pe),style:Object.assign({width:Fe},Ke)})};function Mt(We){return We&&typeof We=="object"?We:{}}function ct(We,fe){return We&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Je(We,fe){return!We&&fe?{width:"38%"}:We&&fe?{width:"50%"}:{}}function Ze(We,fe){const Pe={};return(!We||!fe)&&(Pe.width="61%"),!We&&fe?Pe.rows=3:Pe.rows=2,Pe}const ue=We=>{const{prefixCls:fe,loading:Pe,className:Fe,rootClassName:Ke,style:Ue,children:ut,avatar:vt=!1,title:lt=!0,paragraph:Dt=!0,active:Wt,round:wt}=We,{getPrefixCls:zt,direction:Nt,skeleton:St}=E.useContext(je.E_),ft=zt("skeleton",fe),[Et,Ft]=_e(ft);if(Pe||!("loading"in We)){const Kt=!!vt,Zt=!!lt,rn=!!Dt;let En;if(Kt){const Dn=Object.assign(Object.assign({prefixCls:`${ft}-avatar`},ct(Zt,rn)),Mt(vt));En=E.createElement("div",{className:`${ft}-header`},E.createElement(ee,Object.assign({},Dn)))}let On;if(Zt||rn){let Dn;if(Zt){const Jn=Object.assign(Object.assign({prefixCls:`${ft}-title`},Je(Kt,rn)),Mt(lt));Dn=E.createElement(Pt,Object.assign({},Jn))}let jn;if(rn){const Jn=Object.assign(Object.assign({prefixCls:`${ft}-paragraph`},Ze(Kt,Zt)),Mt(Dt));jn=E.createElement(yt,Object.assign({},Jn))}On=E.createElement("div",{className:`${ft}-content`},Dn,jn)}const Hn=bt()(ft,{[`${ft}-with-avatar`]:Kt,[`${ft}-active`]:Wt,[`${ft}-rtl`]:Nt==="rtl",[`${ft}-round`]:wt},St==null?void 0:St.className,Fe,Ke,Ft);return Et(E.createElement("div",{className:Hn,style:Object.assign(Object.assign({},St==null?void 0:St.style),Ue)},En,On))}return typeof ut!="undefined"?ut:null};ue.Button=Be,ue.Avatar=De,ue.Input=Ge,ue.Image=Ie,ue.Node=tt;var he=ue,He=he},31797:function(kn,Qt,Te){"use strict";Te.d(Qt,{default:function(){return _e}});var Ne=Te(59301),bt=Te(56762),E=Te(92343),je=Te(92310),ve=Te.n(je),ne=Te(36355),ee=Te(61621),oe=Me=>{const{value:De,formatter:Se,precision:Be,decimalSeparator:Re,groupSeparator:Xe="",prefixCls:Ie}=Me;let Ye;if(typeof Se=="function")Ye=Se(De);else{const Ge=String(De),qe=Ge.match(/^(-?)(\d*)(\.(\d+))?$/);if(!qe||Ge==="-")Ye=Ge;else{const it=qe[1];let st=qe[2]||"0",Ve=qe[4]||"";st=st.replace(/\B(?=(\d{3})+(?!\d))/g,Xe),typeof Be=="number"&&(Ve=Ve.padEnd(Be,"0").slice(0,Be>0?Be:0)),Ve&&(Ve=`${Re}${Ve}`),Ye=[Ne.createElement("span",{key:"int",className:`${Ie}-content-value-int`},it,st),Ve&&Ne.createElement("span",{key:"decimal",className:`${Ie}-content-value-decimal`},Ve)]}}return Ne.createElement("span",{className:`${Ie}-content-value`},Ye)},le=Te(17313),pe=Te(83116),re=Te(37613);const ae=Me=>{const{componentCls:De,marginXXS:Se,padding:Be,colorTextDescription:Re,titleFontSize:Xe,colorTextHeading:Ie,contentFontSize:Ye,fontFamily:Ge}=Me;return{[`${De}`]:Object.assign(Object.assign({},(0,le.Wf)(Me)),{[`${De}-title`]:{marginBottom:Se,color:Re,fontSize:Xe},[`${De}-skeleton`]:{paddingTop:Be},[`${De}-content`]:{color:Ie,fontSize:Ye,fontFamily:Ge,[`${De}-content-value`]:{display:"inline-block",direction:"ltr"},[`${De}-content-prefix, ${De}-content-suffix`]:{display:"inline-block"},[`${De}-content-prefix`]:{marginInlineEnd:Se},[`${De}-content-suffix`]:{marginInlineStart:Se}}})}};var ce=(0,pe.Z)("Statistic",Me=>{const De=(0,re.TS)(Me,{});return[ae(De)]},Me=>{const{fontSizeHeading3:De,fontSize:Se}=Me;return{titleFontSize:Se,contentFontSize:De}}),me=Me=>{const{prefixCls:De,className:Se,rootClassName:Be,style:Re,valueStyle:Xe,value:Ie=0,title:Ye,valueRender:Ge,prefix:qe,suffix:it,loading:st=!1,onMouseEnter:Ve,onMouseLeave:Qe,decimalSeparator:nt=".",groupSeparator:dt=","}=Me,{getPrefixCls:at,direction:tt,statistic:et}=Ne.useContext(ne.E_),ot=at("statistic",De),[yt,pt]=ce(ot),Pt=Ne.createElement(oe,Object.assign({decimalSeparator:nt,groupSeparator:dt,prefixCls:ot},Me,{value:Ie})),Mt=ve()(ot,{[`${ot}-rtl`]:tt==="rtl"},et==null?void 0:et.className,Se,Be,pt);return yt(Ne.createElement("div",{className:Mt,style:Object.assign(Object.assign({},et==null?void 0:et.style),Re),onMouseEnter:Ve,onMouseLeave:Qe},Ye&&Ne.createElement("div",{className:`${ot}-title`},Ye),Ne.createElement(ee.Z,{paragraph:!1,loading:st,className:`${ot}-skeleton`},Ne.createElement("div",{style:Xe,className:`${ot}-content`},qe&&Ne.createElement("span",{className:`${ot}-content-prefix`},qe),Ge?Ge(Pt):Pt,it&&Ne.createElement("span",{className:`${ot}-content-suffix`},it)))))};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 xe(Me,De){let Se=Me;const Be=/\[[^\]]*]/g,Re=(De.match(Be)||[]).map(Ge=>Ge.slice(1,-1)),Xe=De.replace(Be,"[]"),Ie=we.reduce((Ge,qe)=>{let[it,st]=qe;if(Ge.includes(it)){const Ve=Math.floor(Se/st);return Se-=Ve*st,Ge.replace(new RegExp(`${it}+`,"g"),Qe=>{const nt=Qe.length;return Ve.toString().padStart(nt,"0")})}return Ge},Xe);let Ye=0;return Ie.replace(Be,()=>{const Ge=Re[Ye];return Ye+=1,Ge})}function Ae(Me,De){const{format:Se=""}=De,Be=new Date(Me).getTime(),Re=Date.now(),Xe=Math.max(Be-Re,0);return xe(Xe,Se)}const ye=1e3/30;function Ee(Me){return new Date(Me).getTime()}const Le=Me=>{const{value:De,format:Se="HH:mm:ss",onChange:Be,onFinish:Re}=Me,Xe=(0,bt.Z)(),Ie=Ne.useRef(null),Ye=()=>{Re==null||Re(),Ie.current&&(clearInterval(Ie.current),Ie.current=null)},Ge=()=>{const st=Ee(De);st>=Date.now()&&(Ie.current=setInterval(()=>{Xe(),Be==null||Be(st-Date.now()),st<Date.now()&&Ye()},ye))};Ne.useEffect(()=>(Ge(),()=>{Ie.current&&(clearInterval(Ie.current),Ie.current=null)}),[De]);const qe=(st,Ve)=>Ae(st,Object.assign(Object.assign({},Ve),{format:Se})),it=st=>(0,E.Tm)(st,{title:void 0});return Ne.createElement(me,Object.assign({},Me,{valueRender:it,formatter:qe}))};var Ce=Ne.memo(Le);me.Countdown=Ce;var _e=me},8378:function(kn,Qt){"use strict";const Te=Ne=>({[Ne.componentCls]:{[`${Ne.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${Ne.motionDurationMid} ${Ne.motionEaseInOut},
opacity ${Ne.motionDurationMid} ${Ne.motionEaseInOut} !important`}},[`${Ne.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${Ne.motionDurationMid} ${Ne.motionEaseInOut},
opacity ${Ne.motionDurationMid} ${Ne.motionEaseInOut} !important`}}});Qt.Z=Te},92899:function(kn,Qt,Te){"use strict";Te.d(Qt,{Fm:function(){return re}});var Ne=Te(36237),bt=Te(95406);const E=new Ne.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),je=new Ne.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),ve=new Ne.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ne=new Ne.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ee=new Ne.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ie=new Ne.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),oe=new Ne.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),le=new Ne.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),pe={"move-up":{inKeyframes:oe,outKeyframes:le},"move-down":{inKeyframes:E,outKeyframes:je},"move-left":{inKeyframes:ve,outKeyframes:ne},"move-right":{inKeyframes:ee,outKeyframes:ie}},re=(ae,ce)=>{const{antCls:de}=ae,me=`${de}-${ce}`,{inKeyframes:we,outKeyframes:xe}=pe[ce];return[(0,bt.R)(me,we,xe,ae.motionDurationMid),{[`
${me}-enter,
${me}-appear
`]:{opacity:0,animationTimingFunction:ae.motionEaseOutCirc},[`${me}-leave`]:{animationTimingFunction:ae.motionEaseInOutCirc}}]}},13826:function(kn,Qt,Te){"use strict";Te.d(Qt,{Qt:function(){return ve},Uw:function(){return je},fJ:function(){return E},ly:function(){return ne},oN:function(){return re}});var Ne=Te(36237),bt=Te(95406);const E=new Ne.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),je=new Ne.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),ve=new Ne.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ne=new Ne.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),ee=new Ne.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ie=new Ne.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),oe=new Ne.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),le=new Ne.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),pe={"slide-up":{inKeyframes:E,outKeyframes:je},"slide-down":{inKeyframes:ve,outKeyframes:ne},"slide-left":{inKeyframes:ee,outKeyframes:ie},"slide-right":{inKeyframes:oe,outKeyframes:le}},re=(ae,ce)=>{const{antCls:de}=ae,me=`${de}-${ce}`,{inKeyframes:we,outKeyframes:xe}=pe[ce];return[(0,bt.R)(me,we,xe,ae.motionDurationMid),{[`
${me}-enter,
${me}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:ae.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${me}-leave`]:{animationTimingFunction:ae.motionEaseInQuint}}]}},15969:function(kn,Qt,Te){"use strict";Te.d(Qt,{N:function(){return Ne}});const Ne=bt=>({color:bt.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${bt.motionDurationSlow}`,"&:focus, &:hover":{color:bt.colorLinkHover},"&:active":{color:bt.colorLinkActive}})},78673:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Xe}});var Ne=Te(58617),bt=Te(92310),E=Te.n(bt),je=Te(60499),ve=Te(18642),ne=Te(72190),ee=Te(42244),ie=Te(59301),oe=Te(18929),le=Te(10228),pe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],re=ie.forwardRef(function(Ie,Ye){var Ge,qe=Ie.prefixCls,it=qe===void 0?"rc-switch":qe,st=Ie.className,Ve=Ie.checked,Qe=Ie.defaultChecked,nt=Ie.disabled,dt=Ie.loadingIcon,at=Ie.checkedChildren,tt=Ie.unCheckedChildren,et=Ie.onClick,ot=Ie.onChange,yt=Ie.onKeyDown,pt=(0,ee.Z)(Ie,pe),Pt=(0,oe.Z)(!1,{value:Ve,defaultValue:Qe}),Mt=(0,ne.Z)(Pt,2),ct=Mt[0],Je=Mt[1];function Ze(We,fe){var Pe=ct;return nt||(Pe=We,Je(Pe),ot==null||ot(Pe,fe)),Pe}function ue(We){We.which===le.Z.LEFT?Ze(!1,We):We.which===le.Z.RIGHT&&Ze(!0,We),yt==null||yt(We)}function he(We){var fe=Ze(!ct,We);et==null||et(fe,We)}var He=E()(it,st,(Ge={},(0,ve.Z)(Ge,"".concat(it,"-checked"),ct),(0,ve.Z)(Ge,"".concat(it,"-disabled"),nt),Ge));return ie.createElement("button",(0,je.Z)({},pt,{type:"button",role:"switch","aria-checked":ct,disabled:nt,className:He,ref:Ye,onKeyDown:ue,onClick:he}),dt,ie.createElement("span",{className:"".concat(it,"-inner")},ie.createElement("span",{className:"".concat(it,"-inner-checked")},at),ie.createElement("span",{className:"".concat(it,"-inner-unchecked")},tt)))});re.displayName="Switch";var ae=re,ce=Te(14088),de=Te(36355),me=Te(1684),we=Te(19716),xe=Te(64993),Ae=Te(17313),ye=Te(83116),Ee=Te(37613);const Le=Ie=>{const{componentCls:Ye,trackHeightSM:Ge,trackPadding:qe,trackMinWidthSM:it,innerMinMarginSM:st,innerMaxMarginSM:Ve,handleSizeSM:Qe}=Ie,nt=`${Ye}-inner`;return{[Ye]:{[`&${Ye}-small`]:{minWidth:it,height:Ge,lineHeight:`${Ge}px`,[`${Ye}-inner`]:{paddingInlineStart:Ve,paddingInlineEnd:st,[`${nt}-checked`]:{marginInlineStart:`calc(-100% + ${Qe+qe*2}px - ${Ve*2}px)`,marginInlineEnd:`calc(100% - ${Qe+qe*2}px + ${Ve*2}px)`},[`${nt}-unchecked`]:{marginTop:-Ge,marginInlineStart:0,marginInlineEnd:0}},[`${Ye}-handle`]:{width:Qe,height:Qe},[`${Ye}-loading-icon`]:{top:(Qe-Ie.switchLoadingIconSize)/2,fontSize:Ie.switchLoadingIconSize},[`&${Ye}-checked`]:{[`${Ye}-inner`]:{paddingInlineStart:st,paddingInlineEnd:Ve,[`${nt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${nt}-unchecked`]:{marginInlineStart:`calc(100% - ${Qe+qe*2}px + ${Ve*2}px)`,marginInlineEnd:`calc(-100% + ${Qe+qe*2}px - ${Ve*2}px)`}},[`${Ye}-handle`]:{insetInlineStart:`calc(100% - ${Qe+qe}px)`}},[`&:not(${Ye}-disabled):active`]:{[`&:not(${Ye}-checked) ${nt}`]:{[`${nt}-unchecked`]:{marginInlineStart:Ie.marginXXS/2,marginInlineEnd:-Ie.marginXXS/2}},[`&${Ye}-checked ${nt}`]:{[`${nt}-checked`]:{marginInlineStart:-Ie.marginXXS/2,marginInlineEnd:Ie.marginXXS/2}}}}}}},Ce=Ie=>{const{componentCls:Ye,handleSize:Ge}=Ie;return{[Ye]:{[`${Ye}-loading-icon${Ie.iconCls}`]:{position:"relative",top:(Ge-Ie.fontSize)/2,color:Ie.switchLoadingIconColor,verticalAlign:"top"},[`&${Ye}-checked ${Ye}-loading-icon`]:{color:Ie.switchColor}}}},_e=Ie=>{const{componentCls:Ye,motion:Ge,trackPadding:qe,handleBg:it,handleShadow:st,handleSize:Ve}=Ie,Qe=`${Ye}-handle`;return{[Ye]:{[Qe]:{position:"absolute",top:qe,insetInlineStart:qe,width:Ve,height:Ve,transition:`all ${Ie.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:it,borderRadius:Ve/2,boxShadow:st,transition:`all ${Ie.switchDuration} ease-in-out`,content:'""'}},[`&${Ye}-checked ${Qe}`]:{insetInlineStart:`calc(100% - ${Ve+qe}px)`},[`&:not(${Ye}-disabled):active`]:Ge?{[`${Qe}::before`]:{insetInlineEnd:Ie.switchHandleActiveInset,insetInlineStart:0},[`&${Ye}-checked ${Qe}::before`]:{insetInlineEnd:0,insetInlineStart:Ie.switchHandleActiveInset}}:{}}}},Me=Ie=>{const{componentCls:Ye,trackHeight:Ge,trackPadding:qe,innerMinMargin:it,innerMaxMargin:st,handleSize:Ve}=Ie,Qe=`${Ye}-inner`;return{[Ye]:{[Qe]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:st,paddingInlineEnd:it,transition:`padding-inline-start ${Ie.switchDuration} ease-in-out, padding-inline-end ${Ie.switchDuration} ease-in-out`,[`${Qe}-checked, ${Qe}-unchecked`]:{display:"block",color:Ie.colorTextLightSolid,fontSize:Ie.fontSizeSM,transition:`margin-inline-start ${Ie.switchDuration} ease-in-out, margin-inline-end ${Ie.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Qe}-checked`]:{marginInlineStart:`calc(-100% + ${Ve+qe*2}px - ${st*2}px)`,marginInlineEnd:`calc(100% - ${Ve+qe*2}px + ${st*2}px)`},[`${Qe}-unchecked`]:{marginTop:-Ge,marginInlineStart:0,marginInlineEnd:0}},[`&${Ye}-checked ${Qe}`]:{paddingInlineStart:it,paddingInlineEnd:st,[`${Qe}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Qe}-unchecked`]:{marginInlineStart:`calc(100% - ${Ve+qe*2}px + ${st*2}px)`,marginInlineEnd:`calc(-100% + ${Ve+qe*2}px - ${st*2}px)`}},[`&:not(${Ye}-disabled):active`]:{[`&:not(${Ye}-checked) ${Qe}`]:{[`${Qe}-unchecked`]:{marginInlineStart:qe*2,marginInlineEnd:-qe*2}},[`&${Ye}-checked ${Qe}`]:{[`${Qe}-checked`]:{marginInlineStart:-qe*2,marginInlineEnd:qe*2}}}}}},De=Ie=>{const{componentCls:Ye,trackHeight:Ge,trackMinWidth:qe}=Ie;return{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ae.Wf)(Ie)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:qe,height:Ge,lineHeight:`${Ge}px`,verticalAlign:"middle",background:Ie.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Ie.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ye}-disabled)`]:{background:Ie.colorTextTertiary}}),(0,Ae.Qy)(Ie)),{[`&${Ye}-checked`]:{background:Ie.switchColor,[`&:hover:not(${Ye}-disabled)`]:{background:Ie.colorPrimaryHover}},[`&${Ye}-loading, &${Ye}-disabled`]:{cursor:"not-allowed",opacity:Ie.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ye}-rtl`]:{direction:"rtl"}})}};var Se=(0,ye.Z)("Switch",Ie=>{const Ye=(0,Ee.TS)(Ie,{switchDuration:Ie.motionDurationMid,switchColor:Ie.colorPrimary,switchDisabledOpacity:Ie.opacityLoading,switchLoadingIconSize:Ie.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Ie.opacityLoading})`,switchHandleActiveInset:"-30%"});return[De(Ye),Me(Ye),_e(Ye),Ce(Ye),Le(Ye)]},Ie=>{const{fontSize:Ye,lineHeight:Ge,controlHeight:qe,colorWhite:it}=Ie,st=Ye*Ge,Ve=qe/2,Qe=2,nt=st-Qe*2,dt=Ve-Qe*2;return{trackHeight:st,trackHeightSM:Ve,trackMinWidth:nt*2+Qe*4,trackMinWidthSM:dt*2+Qe*2,trackPadding:Qe,handleBg:it,handleSize:nt,handleSizeSM:dt,handleShadow:`0 2px 4px 0 ${new xe.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:nt/2,innerMaxMargin:nt+Qe+Qe*2,innerMinMarginSM:dt/2,innerMaxMarginSM:dt+Qe+Qe*2}}),Be=function(Ie,Ye){var Ge={};for(var qe in Ie)Object.prototype.hasOwnProperty.call(Ie,qe)&&Ye.indexOf(qe)<0&&(Ge[qe]=Ie[qe]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,qe=Object.getOwnPropertySymbols(Ie);it<qe.length;it++)Ye.indexOf(qe[it])<0&&Object.prototype.propertyIsEnumerable.call(Ie,qe[it])&&(Ge[qe[it]]=Ie[qe[it]]);return Ge};const Re=ie.forwardRef((Ie,Ye)=>{const{prefixCls:Ge,size:qe,disabled:it,loading:st,className:Ve,rootClassName:Qe,style:nt}=Ie,dt=Be(Ie,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:at,direction:tt,switch:et}=ie.useContext(de.E_),ot=ie.useContext(me.Z),yt=(it!=null?it:ot)||st,pt=at("switch",Ge),Pt=ie.createElement("div",{className:`${pt}-handle`},st&&ie.createElement(Ne.Z,{className:`${pt}-loading-icon`})),[Mt,ct]=Se(pt),Je=(0,we.Z)(qe),Ze=E()(et==null?void 0:et.className,{[`${pt}-small`]:Je==="small",[`${pt}-loading`]:st,[`${pt}-rtl`]:tt==="rtl"},Ve,Qe,ct),ue=Object.assign(Object.assign({},et==null?void 0:et.style),nt);return Mt(ie.createElement(ce.Z,{component:"Switch"},ie.createElement(ae,Object.assign({},dt,{prefixCls:pt,className:Ze,style:ue,disabled:yt,ref:Ye,loadingIcon:Pt}))))});Re.__ANT_SWITCH=!0;var Xe=Re},1710:function(kn,Qt,Te){"use strict";Te.d(Qt,{default:function(){return qu}});var Ne={},bt="rc-table-internal-hook",E=Te(72190),je=Te(6089),ve=Te(34280),ne=Te(13697),ee=Te(59301),ie=Te(4676);function oe(At){var It=ee.createContext(void 0),Vt=function(ln){var tn=ln.value,Mn=ln.children,Cn=ee.useRef(tn);Cn.current=tn;var Sn=ee.useState(function(){return{getValue:function(){return Cn.current},listeners:new Set}}),Kn=(0,E.Z)(Sn,1),rr=Kn[0];return(0,ve.Z)(function(){(0,ie.unstable_batchedUpdates)(function(){rr.listeners.forEach(function(Un){Un(tn)})})},[tn]),ee.createElement(It.Provider,{value:rr},Mn)};return{Context:It,Provider:Vt,defaultValue:At}}function le(At,It){var Vt=(0,je.Z)(typeof It=="function"?It:function(Un){if(It===void 0)return Un;if(!Array.isArray(It))return Un[It];var Er={};return It.forEach(function(yr){Er[yr]=Un[yr]}),Er}),$t=ee.useContext(At==null?void 0:At.Context),ln=$t||{},tn=ln.listeners,Mn=ln.getValue,Cn=ee.useRef();Cn.current=Vt($t?Mn():At==null?void 0:At.defaultValue);var Sn=ee.useState({}),Kn=(0,E.Z)(Sn,2),rr=Kn[1];return(0,ve.Z)(function(){if(!$t)return;function Un(Er){var yr=Vt(Er);(0,ne.Z)(Cn.current,yr,!0)||rr({})}return tn.add(Un),function(){tn.delete(Un)}},[$t]),Cn.current}var pe=Te(60499),re=Te(8654);function ae(){var At=ee.createContext(null);function It(){return ee.useContext(At)}function Vt(ln,tn){var Mn=(0,re.Yr)(ln),Cn=function(Kn,rr){var Un=Mn?{ref:rr}:{},Er=ee.useRef(0),yr=ee.useRef(Kn),Sr=It();return Sr!==null?ee.createElement(ln,(0,pe.Z)({},Kn,Un)):((!tn||tn(yr.current,Kn))&&(Er.current+=1),yr.current=Kn,ee.createElement(At.Provider,{value:Er.current},ee.createElement(ln,(0,pe.Z)({},Kn,Un))))};return Mn?ee.forwardRef(Cn):Cn}function $t(ln,tn){var Mn=(0,re.Yr)(ln),Cn=function(Kn,rr){var Un=Mn?{ref:rr}:{};return It(),ee.createElement(ln,(0,pe.Z)({},Kn,Un))};return Mn?ee.memo(ee.forwardRef(Cn),tn):ee.memo(Cn,tn)}return{makeImmutable:Vt,responseImmutable:$t,useImmutableMark:It}}var ce=ae(),de=ce.makeImmutable,me=ce.responseImmutable,we=ce.useImmutableMark,xe=ae(),Ae=xe.makeImmutable,ye=xe.responseImmutable,Ee=xe.useImmutableMark,Le=oe(),Ce=Le;function _e(At,It){var Vt=ee.useRef(0);Vt.current+=1;var $t=ee.useRef(At),ln=[];Object.keys(At||{}).map(function(Mn){var Cn;(At==null?void 0:At[Mn])!==((Cn=$t.current)===null||Cn===void 0?void 0:Cn[Mn])&&ln.push(Mn)}),$t.current=At;var tn=ee.useRef([]);return ln.length&&(tn.current=ln),ee.useDebugValue(Vt.current),ee.useDebugValue(tn.current.join(", ")),It&&console.log("".concat(It,":"),Vt.current,tn.current),Vt.current}var Me=null,De=ee.memo(function(){var At=_e();return ee.createElement("h1",null,"Render Times: ",At)});De.displayName="RenderBlock";var Se=Te(43749),Be=Te(85899),Re=Te(18642),Xe=Te(92310),Ie=Te.n(Xe),Ye=Te(80547),Ge=Te(97938),qe=Te(48736),it=ee.createContext({renderWithProps:!1}),st=it,Ve="RC_TABLE_KEY";function Qe(At){return At==null?[]:Array.isArray(At)?At:[At]}function nt(At){var It=[],Vt={};return At.forEach(function($t){for(var ln=$t||{},tn=ln.key,Mn=ln.dataIndex,Cn=tn||Qe(Mn).join("-")||Ve;Vt[Cn];)Cn="".concat(Cn,"_next");Vt[Cn]=!0,It.push(Cn)}),It}function dt(At){return At!=null}function at(At){return At&&(0,Se.Z)(At)==="object"&&!Array.isArray(At)&&!ee.isValidElement(At)}function tt(At,It,Vt,$t,ln,tn){var Mn=ee.useContext(st),Cn=Ee(),Sn=(0,Ye.Z)(function(){if(dt($t))return[$t];var Kn=It==null||It===""?[]:Array.isArray(It)?It:[It],rr=(0,Ge.Z)(At,Kn),Un=rr,Er=void 0;if(ln){var yr=ln(rr,At,Vt);at(yr)?(Un=yr.children,Er=yr.props,Mn.renderWithProps=!0):Un=yr}return[Un,Er]},[Cn,At,$t,It,ln,Vt],function(Kn,rr){if(tn){var Un=(0,E.Z)(Kn,2),Er=Un[1],yr=(0,E.Z)(rr,2),Sr=yr[1];return tn(Sr,Er)}return Mn.renderWithProps?!0:!(0,ne.Z)(Kn,rr,!0)});return Sn}function et(At,It,Vt,$t){var ln=At+It-1;return At<=$t&&ln>=Vt}function ot(At,It){return le(Ce,function(Vt){var $t=et(At,It||1,Vt.hoverStartRow,Vt.hoverEndRow);return[$t,Vt.onHover]})}var yt=function(It){var Vt=It.ellipsis,$t=It.rowType,ln=It.children,tn,Mn=Vt===!0?{showTitle:!0}:Vt;return Mn&&(Mn.showTitle||$t==="header")&&(typeof ln=="string"||typeof ln=="number"?tn=ln.toString():ee.isValidElement(ln)&&typeof ln.props.children=="string"&&(tn=ln.props.children)),tn};function pt(At){var It,Vt,$t,ln,tn,Mn,Cn,Sn,Kn=At.component,rr=At.children,Un=At.ellipsis,Er=At.scope,yr=At.prefixCls,Sr=At.className,ni=At.align,Yr=At.record,ri=At.render,Jr=At.dataIndex,mi=At.renderIndex,Ri=At.shouldCellUpdate,ji=At.index,Mi=At.rowType,Ji=At.colSpan,sa=At.rowSpan,xi=At.fixLeft,Oi=At.fixRight,wi=At.firstFixLeft,Vr=At.lastFixLeft,Ci=At.firstFixRight,Xi=At.lastFixRight,ga=At.appendNode,Wi=At.additionalProps,ai=Wi===void 0?{}:Wi,ra=At.isSticky,la="".concat(yr,"-cell"),_a=le(Ce,["supportSticky","allColumnsFixedLeft"]),Ia=_a.supportSticky,lo=_a.allColumnsFixedLeft,eo=tt(Yr,Jr,mi,rr,ri,Ri),oa=(0,E.Z)(eo,2),Co=oa[0],Aa=oa[1],ao={},to=typeof xi=="number"&&Ia,Bo=typeof Oi=="number"&&Ia;to&&(ao.position="sticky",ao.left=xi),Bo&&(ao.position="sticky",ao.right=Oi);var Zi=(It=(Vt=($t=Aa==null?void 0:Aa.colSpan)!==null&&$t!==void 0?$t:ai.colSpan)!==null&&Vt!==void 0?Vt:Ji)!==null&&It!==void 0?It:1,Fi=(ln=(tn=(Mn=Aa==null?void 0:Aa.rowSpan)!==null&&Mn!==void 0?Mn:ai.rowSpan)!==null&&tn!==void 0?tn:sa)!==null&&ln!==void 0?ln:1,zi=ot(ji,Fi),Pi=(0,E.Z)(zi,2),Ba=Pi[0],Ni=Pi[1],ia=function(Mo){var Uo;Yr&&Ni(ji,ji+Fi-1),ai==null||(Uo=ai.onMouseEnter)===null||Uo===void 0||Uo.call(ai,Mo)},ka=function(Mo){var Uo;Yr&&Ni(-1,-1),ai==null||(Uo=ai.onMouseLeave)===null||Uo===void 0||Uo.call(ai,Mo)};if(Zi===0||Fi===0)return null;var Ea=(Cn=ai.title)!==null&&Cn!==void 0?Cn:yt({rowType:Mi,ellipsis:Un,children:Co}),es=Ie()(la,Sr,(Sn={},(0,Re.Z)(Sn,"".concat(la,"-fix-left"),to&&Ia),(0,Re.Z)(Sn,"".concat(la,"-fix-left-first"),wi&&Ia),(0,Re.Z)(Sn,"".concat(la,"-fix-left-last"),Vr&&Ia),(0,Re.Z)(Sn,"".concat(la,"-fix-left-all"),Vr&&lo&&Ia),(0,Re.Z)(Sn,"".concat(la,"-fix-right"),Bo&&Ia),(0,Re.Z)(Sn,"".concat(la,"-fix-right-first"),Ci&&Ia),(0,Re.Z)(Sn,"".concat(la,"-fix-right-last"),Xi&&Ia),(0,Re.Z)(Sn,"".concat(la,"-ellipsis"),Un),(0,Re.Z)(Sn,"".concat(la,"-with-append"),ga),(0,Re.Z)(Sn,"".concat(la,"-fix-sticky"),(to||Bo)&&ra&&Ia),(0,Re.Z)(Sn,"".concat(la,"-row-hover"),!Aa&&Ba),Sn),ai.className,Aa==null?void 0:Aa.className),Po={};ni&&(Po.textAlign=ni);var Zs=(0,Be.Z)((0,Be.Z)((0,Be.Z)((0,Be.Z)({},ao),ai.style),Po),Aa==null?void 0:Aa.style),Eo=Co;return(0,Se.Z)(Eo)==="object"&&!Array.isArray(Eo)&&!ee.isValidElement(Eo)&&(Eo=null),Un&&(Vr||Ci)&&(Eo=ee.createElement("span",{className:"".concat(la,"-content")},Eo)),ee.createElement(Kn,(0,pe.Z)({},Aa,ai,{className:es,style:Zs,title:Ea,scope:Er,onMouseEnter:ia,onMouseLeave:ka,colSpan:Zi!==1?Zi:null,rowSpan:Fi!==1?Fi:null}),ga,Eo)}var Pt=ee.memo(pt);function Mt(At,It,Vt,$t,ln,tn){var Mn=Vt[At]||{},Cn=Vt[It]||{},Sn,Kn;Mn.fixed==="left"?Sn=$t.left[ln==="rtl"?It:At]:Cn.fixed==="right"&&(Kn=$t.right[ln==="rtl"?At:It]);var rr=!1,Un=!1,Er=!1,yr=!1,Sr=Vt[It+1],ni=Vt[At-1],Yr=!(tn!=null&&tn.children);if(ln==="rtl"){if(Sn!==void 0){var ri=ni&&ni.fixed==="left";yr=!ri&&Yr}else if(Kn!==void 0){var Jr=Sr&&Sr.fixed==="right";Er=!Jr&&Yr}}else if(Sn!==void 0){var mi=Sr&&Sr.fixed==="left";rr=!mi&&Yr}else if(Kn!==void 0){var Ri=ni&&ni.fixed==="right";Un=!Ri&&Yr}return{fixLeft:Sn,fixRight:Kn,lastFixLeft:rr,firstFixRight:Un,lastFixRight:Er,firstFixLeft:yr,isSticky:$t.isSticky}}var ct=ee.createContext({}),Je=ct;function Ze(At){var It=At.className,Vt=At.index,$t=At.children,ln=At.colSpan,tn=ln===void 0?1:ln,Mn=At.rowSpan,Cn=At.align,Sn=le(Ce,["prefixCls","direction"]),Kn=Sn.prefixCls,rr=Sn.direction,Un=ee.useContext(Je),Er=Un.scrollColumnIndex,yr=Un.stickyOffsets,Sr=Un.flattenColumns,ni=Un.columns,Yr=Vt+tn-1,ri=Yr+1===Er?tn+1:tn,Jr=Mt(Vt,Vt+ri-1,Sr,yr,rr,ni==null?void 0:ni[Vt]);return ee.createElement(Pt,(0,pe.Z)({className:It,index:Vt,component:"td",prefixCls:Kn,record:null,dataIndex:null,align:Cn,colSpan:ri,rowSpan:Mn,render:function(){return $t}},Jr))}var ue=Te(42244),he=["children"];function He(At){var It=At.children,Vt=(0,ue.Z)(At,he);return ee.createElement("tr",Vt,It)}function We(At){var It=At.children;return It}We.Row=He,We.Cell=Ze;var fe=We;function Pe(At){var It=At.children,Vt=At.stickyOffsets,$t=At.flattenColumns,ln=At.columns,tn=le(Ce,"prefixCls"),Mn=$t.length-1,Cn=$t[Mn],Sn=ee.useMemo(function(){return{stickyOffsets:Vt,flattenColumns:$t,scrollColumnIndex:Cn!=null&&Cn.scrollbar?Mn:null,columns:ln}},[Cn,$t,Mn,Vt,ln]);return ee.createElement(Je.Provider,{value:Sn},ee.createElement("tfoot",{className:"".concat(tn,"-summary")},It))}var Fe=ye(Pe),Ke=fe,Ue=Te(70425),ut=Te(29301),vt=Te(29194),lt=Te(24514),Dt=Te(75152),Wt=Te(26112);function wt(At,It,Vt,$t,ln,tn,Mn){At.push({record:It,indent:Vt,index:Mn});var Cn=tn(It),Sn=ln==null?void 0:ln.has(Cn);if(It&&Array.isArray(It[$t])&&Sn)for(var Kn=0;Kn<It[$t].length;Kn+=1)wt(At,It[$t][Kn],Vt+1,$t,ln,tn,Kn)}function zt(At,It,Vt,$t){var ln=ee.useMemo(function(){if(Vt!=null&&Vt.size){for(var tn=[],Mn=0;Mn<(At==null?void 0:At.length);Mn+=1){var Cn=At[Mn];wt(tn,Cn,0,It,Vt,$t,Mn)}return tn}return At==null?void 0:At.map(function(Sn,Kn){return{record:Sn,indent:0,index:Kn}})},[At,It,Vt,$t]);return ln}function Nt(At){var It=At.prefixCls,Vt=At.children,$t=At.component,ln=At.cellComponent,tn=At.className,Mn=At.expanded,Cn=At.colSpan,Sn=At.isEmpty,Kn=le(Ce,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),rr=Kn.scrollbarSize,Un=Kn.fixHeader,Er=Kn.fixColumn,yr=Kn.componentWidth,Sr=Kn.horizonScroll,ni=Vt;return(Sn?Sr&&yr:Er)&&(ni=ee.createElement("div",{style:{width:yr-(Un?rr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(It,"-expanded-row-fixed")},ni)),ee.createElement($t,{className:tn,style:{display:Mn?null:"none"}},ee.createElement(Pt,{component:ln,prefixCls:It,colSpan:Cn},ni))}var St=Nt;function ft(At,It,Vt,$t){var ln=le(Ce,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),tn=ln.flattenColumns,Mn=ln.expandableType,Cn=ln.expandedKeys,Sn=ln.childrenColumnName,Kn=ln.onTriggerExpand,rr=ln.rowExpandable,Un=ln.onRow,Er=ln.expandRowByClick,yr=ln.rowClassName,Sr=Mn==="nest",ni=Mn==="row"&&(!rr||rr(At)),Yr=ni||Sr,ri=Cn&&Cn.has(It),Jr=Sn&&At&&At[Sn],mi=(0,Ue.useEvent)(Kn),Ri=Un==null?void 0:Un(At,Vt),ji=Ri==null?void 0:Ri.onClick,Mi=function(Oi){Er&&Yr&&Kn(At,Oi);for(var wi=arguments.length,Vr=new Array(wi>1?wi-1:0),Ci=1;Ci<wi;Ci++)Vr[Ci-1]=arguments[Ci];ji==null||ji.apply(void 0,[Oi].concat(Vr))},Ji;typeof yr=="string"?Ji=yr:typeof yr=="function"&&(Ji=yr(At,Vt,$t));var sa=nt(tn);return(0,Be.Z)((0,Be.Z)({},ln),{},{columnsKey:sa,nestExpandable:Sr,expanded:ri,hasNestChildren:Jr,record:At,onTriggerExpand:mi,rowSupportExpand:ni,expandable:Yr,rowProps:(0,Be.Z)((0,Be.Z)({},Ri),{},{className:Ie()(Ji,Ri==null?void 0:Ri.className),onClick:Mi})})}function Et(At,It,Vt,$t,ln){var tn=At.record,Mn=At.prefixCls,Cn=At.columnsKey,Sn=At.fixedInfoList,Kn=At.expandIconColumnIndex,rr=At.nestExpandable,Un=At.indentSize,Er=At.expandIcon,yr=At.expanded,Sr=At.hasNestChildren,ni=At.onTriggerExpand,Yr=Cn[Vt],ri=Sn[Vt],Jr;Vt===(Kn||0)&&rr&&(Jr=ee.createElement(ee.Fragment,null,ee.createElement("span",{style:{paddingLeft:"".concat(Un*$t,"px")},className:"".concat(Mn,"-row-indent indent-level-").concat($t)}),Er({prefixCls:Mn,expanded:yr,expandable:Sr,record:tn,onExpand:ni})));var mi;return It.onCell&&(mi=It.onCell(tn,ln)),{key:Yr,fixedInfo:ri,appendCellNode:Jr,additionalCellProps:mi||{}}}function Ft(At){var It=At.className,Vt=At.style,$t=At.record,ln=At.index,tn=At.renderIndex,Mn=At.rowKey,Cn=At.indent,Sn=Cn===void 0?0:Cn,Kn=At.rowComponent,rr=At.cellComponent,Un=At.scopeCellComponent,Er=ft($t,Mn,ln,Sn),yr=Er.prefixCls,Sr=Er.flattenColumns,ni=Er.expandedRowClassName,Yr=Er.expandedRowRender,ri=Er.rowProps,Jr=Er.expanded,mi=Er.rowSupportExpand,Ri=ee.useState(!1),ji=(0,E.Z)(Ri,2),Mi=ji[0],Ji=ji[1];ee.useEffect(function(){Jr&&Ji(!0)},[Jr]);var sa=ee.createElement(Kn,(0,pe.Z)({},ri,{"data-row-key":Mn,className:Ie()(It,"".concat(yr,"-row"),"".concat(yr,"-row-level-").concat(Sn),ri==null?void 0:ri.className),style:(0,Be.Z)((0,Be.Z)({},Vt),ri==null?void 0:ri.style)}),Sr.map(function(Vr,Ci){var Xi=Vr.render,ga=Vr.dataIndex,Wi=Vr.className,ai=Et(Er,Vr,Ci,Sn,ln),ra=ai.key,la=ai.fixedInfo,_a=ai.appendCellNode,Ia=ai.additionalCellProps;return ee.createElement(Pt,(0,pe.Z)({className:Wi,ellipsis:Vr.ellipsis,align:Vr.align,scope:Vr.rowScope,component:Vr.rowScope?Un:rr,prefixCls:yr,key:ra,record:$t,index:ln,renderIndex:tn,dataIndex:ga,render:Xi,shouldCellUpdate:Vr.shouldCellUpdate},la,{appendNode:_a,additionalProps:Ia}))})),xi;if(mi&&(Mi||Jr)){var Oi=Yr($t,ln,Sn+1,Jr),wi=ni&&ni($t,ln,Sn);xi=ee.createElement(St,{expanded:Jr,className:Ie()("".concat(yr,"-expanded-row"),"".concat(yr,"-expanded-row-level-").concat(Sn+1),wi),prefixCls:yr,component:Kn,cellComponent:rr,colSpan:Sr.length,isEmpty:!1},Oi)}return ee.createElement(ee.Fragment,null,sa,xi)}Ft.displayName="BodyRow";var Kt=ye(Ft);function Zt(At){var It=At.columnKey,Vt=At.onColumnResize,$t=ee.useRef();return ee.useEffect(function(){$t.current&&Vt(It,$t.current.offsetWidth)},[]),ee.createElement(ut.Z,{data:It},ee.createElement("td",{ref:$t,style:{padding:0,border:0,height:0}},ee.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function rn(At){var It=At.prefixCls,Vt=At.columnsKey,$t=At.onColumnResize;return ee.createElement("tr",{"aria-hidden":"true",className:"".concat(It,"-measure-row"),style:{height:0,fontSize:0}},ee.createElement(ut.Z.Collection,{onBatchResize:function(tn){tn.forEach(function(Mn){var Cn=Mn.data,Sn=Mn.size;$t(Cn,Sn.offsetWidth)})}},Vt.map(function(ln){return ee.createElement(Zt,{key:ln,columnKey:ln,onColumnResize:$t})})))}function En(At){var It=At.data,Vt=At.measureColumnWidth,$t=le(Ce,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ln=$t.prefixCls,tn=$t.getComponent,Mn=$t.onColumnResize,Cn=$t.flattenColumns,Sn=$t.getRowKey,Kn=$t.expandedKeys,rr=$t.childrenColumnName,Un=$t.emptyNode,Er=zt(It,rr,Kn,Sn),yr=ee.useRef({renderWithProps:!1}),Sr=tn(["body","wrapper"],"tbody"),ni=tn(["body","row"],"tr"),Yr=tn(["body","cell"],"td"),ri=tn(["body","cell"],"th"),Jr;It.length?Jr=Er.map(function(Ri,ji){var Mi=Ri.record,Ji=Ri.indent,sa=Ri.index,xi=Sn(Mi,ji);return ee.createElement(Kt,{key:xi,rowKey:xi,record:Mi,index:ji,renderIndex:sa,rowComponent:ni,cellComponent:Yr,scopeCellComponent:ri,getRowKey:Sn,indent:Ji})}):Jr=ee.createElement(St,{expanded:!0,className:"".concat(ln,"-placeholder"),prefixCls:ln,component:ni,cellComponent:Yr,colSpan:Cn.length,isEmpty:!0},Un);var mi=nt(Cn);return ee.createElement(st.Provider,{value:yr.current},ee.createElement(Sr,{className:"".concat(ln,"-tbody")},Vt&&ee.createElement(rn,{prefixCls:ln,columnsKey:mi,onColumnResize:Mn}),Jr))}En.displayName="Body";var On=ye(En),Hn=["expandable"],Dn="RC_TABLE_INTERNAL_COL_DEFINE";function jn(At){var It=At.expandable,Vt=(0,ue.Z)(At,Hn),$t;return"expandable"in At?$t=(0,Be.Z)((0,Be.Z)({},Vt),It):$t=Vt,$t.showExpandColumn===!1&&($t.expandIconColumnIndex=-1),$t}var Jn=["columnType"];function br(At){for(var It=At.colWidths,Vt=At.columns,$t=At.columCount,ln=[],tn=$t||Vt.length,Mn=!1,Cn=tn-1;Cn>=0;Cn-=1){var Sn=It[Cn],Kn=Vt&&Vt[Cn],rr=Kn&&Kn[Dn];if(Sn||rr||Mn){var Un=rr||{},Er=Un.columnType,yr=(0,ue.Z)(Un,Jn);ln.unshift(ee.createElement("col",(0,pe.Z)({key:Cn,style:{width:Sn}},yr))),Mn=!0}}return ee.createElement("colgroup",null,ln)}var sr=br,Rn=Te(77654),Fn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Gn(At,It){return(0,ee.useMemo)(function(){for(var Vt=[],$t=0;$t<It;$t+=1){var ln=At[$t];if(ln!==void 0)Vt[$t]=ln;else return null}return Vt},[At.join("_"),It])}var er=ee.forwardRef(function(At,It){var Vt=At.className,$t=At.noData,ln=At.columns,tn=At.flattenColumns,Mn=At.colWidths,Cn=At.columCount,Sn=At.stickyOffsets,Kn=At.direction,rr=At.fixHeader,Un=At.stickyTopOffset,Er=At.stickyBottomOffset,yr=At.stickyClassName,Sr=At.onScroll,ni=At.maxContentScroll,Yr=At.children,ri=(0,ue.Z)(At,Fn),Jr=le(Ce,["prefixCls","scrollbarSize","isSticky"]),mi=Jr.prefixCls,Ri=Jr.scrollbarSize,ji=Jr.isSticky,Mi=ji&&!rr?0:Ri,Ji=ee.useRef(null),sa=ee.useCallback(function(Wi){(0,re.mH)(It,Wi),(0,re.mH)(Ji,Wi)},[]);ee.useEffect(function(){var Wi;function ai(ra){var la=ra,_a=la.currentTarget,Ia=la.deltaX;Ia&&(Sr({currentTarget:_a,scrollLeft:_a.scrollLeft+Ia}),ra.preventDefault())}return(Wi=Ji.current)===null||Wi===void 0||Wi.addEventListener("wheel",ai),function(){var ra;(ra=Ji.current)===null||ra===void 0||ra.removeEventListener("wheel",ai)}},[]);var xi=ee.useMemo(function(){return tn.every(function(Wi){return Wi.width})},[tn]),Oi=tn[tn.length-1],wi={fixed:Oi?Oi.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(mi,"-cell-scrollbar")}}},Vr=(0,ee.useMemo)(function(){return Mi?[].concat((0,Rn.Z)(ln),[wi]):ln},[Mi,ln]),Ci=(0,ee.useMemo)(function(){return Mi?[].concat((0,Rn.Z)(tn),[wi]):tn},[Mi,tn]),Xi=(0,ee.useMemo)(function(){var Wi=Sn.right,ai=Sn.left;return(0,Be.Z)((0,Be.Z)({},Sn),{},{left:Kn==="rtl"?[].concat((0,Rn.Z)(ai.map(function(ra){return ra+Mi})),[0]):ai,right:Kn==="rtl"?Wi:[].concat((0,Rn.Z)(Wi.map(function(ra){return ra+Mi})),[0]),isSticky:ji})},[Mi,Sn,ji]),ga=Gn(Mn,Cn);return ee.createElement("div",{style:(0,Be.Z)({overflow:"hidden"},ji?{top:Un,bottom:Er}:{}),ref:sa,className:Ie()(Vt,(0,Re.Z)({},yr,!!yr))},ee.createElement("table",{style:{tableLayout:"fixed",visibility:$t||ga?null:"hidden"}},(!$t||!ni||xi)&&ee.createElement(sr,{colWidths:ga?[].concat((0,Rn.Z)(ga),[Mi]):[],columCount:Cn+1,columns:Ci}),Yr((0,Be.Z)((0,Be.Z)({},ri),{},{stickyOffsets:Xi,columns:Vr,flattenColumns:Ci}))))});er.displayName="FixedHolder";var xr=ee.memo(er);function cr(At){var It=At.cells,Vt=At.stickyOffsets,$t=At.flattenColumns,ln=At.rowComponent,tn=At.cellComponent,Mn=At.tdCellComponent,Cn=At.onHeaderRow,Sn=At.index,Kn=le(Ce,["prefixCls","direction"]),rr=Kn.prefixCls,Un=Kn.direction,Er;Cn&&(Er=Cn(It.map(function(Sr){return Sr.column}),Sn));var yr=nt(It.map(function(Sr){return Sr.column}));return ee.createElement(ln,Er,It.map(function(Sr,ni){var Yr=Sr.column,ri=Mt(Sr.colStart,Sr.colEnd,$t,Vt,Un,Yr),Jr;return Yr&&Yr.onHeaderCell&&(Jr=Sr.column.onHeaderCell(Yr)),ee.createElement(Pt,(0,pe.Z)({},Sr,{scope:Yr.title?Sr.colSpan>1?"colgroup":"col":null,ellipsis:Yr.ellipsis,align:Yr.align,component:Yr.title?tn:Mn,prefixCls:rr,key:yr[ni]},ri,{additionalProps:Jr,rowType:"header"}))}))}cr.displayName="HeaderRow";var Tr=cr;function Dr(At){var It=[];function Vt(Mn,Cn){var Sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;It[Sn]=It[Sn]||[];var Kn=Cn,rr=Mn.filter(Boolean).map(function(Un){var Er={key:Un.key,className:Un.className||"",children:Un.title,column:Un,colStart:Kn},yr=1,Sr=Un.children;return Sr&&Sr.length>0&&(yr=Vt(Sr,Kn,Sn+1).reduce(function(ni,Yr){return ni+Yr},0),Er.hasSubColumns=!0),"colSpan"in Un&&(yr=Un.colSpan),"rowSpan"in Un&&(Er.rowSpan=Un.rowSpan),Er.colSpan=yr,Er.colEnd=Er.colStart+yr-1,It[Sn].push(Er),Kn+=yr,yr});return rr}Vt(At,0);for(var $t=It.length,ln=function(Cn){It[Cn].forEach(function(Sn){!("rowSpan"in Sn)&&!Sn.hasSubColumns&&(Sn.rowSpan=$t-Cn)})},tn=0;tn<$t;tn+=1)ln(tn);return It}function Xn(At){var It=At.stickyOffsets,Vt=At.columns,$t=At.flattenColumns,ln=At.onHeaderRow,tn=le(Ce,["prefixCls","getComponent"]),Mn=tn.prefixCls,Cn=tn.getComponent,Sn=ee.useMemo(function(){return Dr(Vt)},[Vt]),Kn=Cn(["header","wrapper"],"thead"),rr=Cn(["header","row"],"tr"),Un=Cn(["header","cell"],"th"),Er=Cn(["header","cell"],"td");return ee.createElement(Kn,{className:"".concat(Mn,"-thead")},Sn.map(function(yr,Sr){var ni=ee.createElement(Tr,{key:Sr,flattenColumns:$t,cells:yr,stickyOffsets:It,rowComponent:rr,cellComponent:Un,tdCellComponent:Er,onHeaderRow:ln,index:Sr});return ni}))}var $n=ye(Xn),wr=Te(11592);function nr(At){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof It=="number"?It:It.endsWith("%")?At*parseFloat(It)/100:null}function Zn(At,It){return ee.useMemo(function(){if(It&&It>0){var Vt=0,$t=0;At.forEach(function(Kn){var rr=nr(It,Kn.width);rr?Vt+=rr:$t+=1});var ln=It-Vt,tn=$t,Mn=ln/$t,Cn=0,Sn=At.map(function(Kn){var rr=(0,Be.Z)({},Kn),Un=nr(It,rr.width);if(Un)rr.width=Un;else{var Er=Math.floor(Mn);rr.width=tn===1?ln:Er,ln-=Er,tn-=1}return Cn+=rr.width,rr});return[Sn,Cn]}return[At,It]},[At,It])}var Pr=["children"],Ht=["fixed"];function kt(At){return(0,wr.Z)(At).filter(function(It){return ee.isValidElement(It)}).map(function(It){var Vt=It.key,$t=It.props,ln=$t.children,tn=(0,ue.Z)($t,Pr),Mn=(0,Be.Z)({key:Vt},tn);return ln&&(Mn.children=kt(ln)),Mn})}function Rt(At){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return At.filter(function(Vt){return Vt&&(0,Se.Z)(Vt)==="object"}).reduce(function(Vt,$t,ln){var tn=$t.fixed,Mn=tn===!0?"left":tn,Cn="".concat(It,"-").concat(ln),Sn=$t.children;return Sn&&Sn.length>0?[].concat((0,Rn.Z)(Vt),(0,Rn.Z)(Rt(Sn,Cn).map(function(Kn){return(0,Be.Z)({fixed:Mn},Kn)}))):[].concat((0,Rn.Z)(Vt),[(0,Be.Z)((0,Be.Z)({key:Cn},$t),{},{fixed:Mn})])},[])}function Lt(At){for(var It=!0,Vt=0;Vt<At.length;Vt+=1){var $t=At[Vt];if(It&&$t.fixed!=="left")It=!1;else if(!It&&$t.fixed==="left"){warning(!1,"Index ".concat(Vt-1," of `columns` missing `fixed='left'` prop."));break}}for(var ln=!0,tn=At.length-1;tn>=0;tn-=1){var Mn=At[tn];if(ln&&Mn.fixed!=="right")ln=!1;else if(!ln&&Mn.fixed==="right"){warning(!1,"Index ".concat(tn+1," of `columns` missing `fixed='right'` prop."));break}}}function Bt(At){return At.map(function(It){var Vt=It.fixed,$t=(0,ue.Z)(It,Ht),ln=Vt;return Vt==="left"?ln="right":Vt==="right"&&(ln="left"),(0,Be.Z)({fixed:ln},$t)})}function Ut(At,It){var Vt=At.prefixCls,$t=At.columns,ln=At.children,tn=At.expandable,Mn=At.expandedKeys,Cn=At.columnTitle,Sn=At.getRowKey,Kn=At.onTriggerExpand,rr=At.expandIcon,Un=At.rowExpandable,Er=At.expandIconColumnIndex,yr=At.direction,Sr=At.expandRowByClick,ni=At.columnWidth,Yr=At.fixed,ri=At.scrollWidth,Jr=ee.useMemo(function(){return $t||kt(ln)},[$t,ln]),mi=ee.useMemo(function(){if(tn){var Oi,wi=Jr.slice();if(!wi.includes(Ne)){var Vr=Er||0;Vr>=0&&wi.splice(Vr,0,Ne)}var Ci=wi.indexOf(Ne);wi=wi.filter(function(ai,ra){return ai!==Ne||ra===Ci});var Xi=Jr[Ci],ga;(Yr==="left"||Yr)&&!Er?ga="left":(Yr==="right"||Yr)&&Er===Jr.length?ga="right":ga=Xi?Xi.fixed:null;var Wi=(Oi={},(0,Re.Z)(Oi,Dn,{className:"".concat(Vt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Re.Z)(Oi,"title",Cn),(0,Re.Z)(Oi,"fixed",ga),(0,Re.Z)(Oi,"className","".concat(Vt,"-row-expand-icon-cell")),(0,Re.Z)(Oi,"width",ni),(0,Re.Z)(Oi,"render",function(ra,la,_a){var Ia=Sn(la,_a),lo=Mn.has(Ia),eo=Un?Un(la):!0,oa=rr({prefixCls:Vt,expanded:lo,expandable:eo,record:la,onExpand:Kn});return Sr?ee.createElement("span",{onClick:function(Aa){return Aa.stopPropagation()}},oa):oa}),Oi);return wi.map(function(ai){return ai===Ne?Wi:ai})}return Jr.filter(function(ai){return ai!==Ne})},[tn,Jr,Sn,Mn,rr,yr]),Ri=ee.useMemo(function(){var Oi=mi;return It&&(Oi=It(Oi)),Oi.length||(Oi=[{render:function(){return null}}]),Oi},[It,mi,yr]),ji=ee.useMemo(function(){return yr==="rtl"?Bt(Rt(Ri)):Rt(Ri)},[Ri,yr,ri]),Mi=Zn(ji,ri),Ji=(0,E.Z)(Mi,2),sa=Ji[0],xi=Ji[1];return[Ri,sa,xi]}var Yt=Ut;function hn(At){var It,Vt=At.prefixCls,$t=At.record,ln=At.onExpand,tn=At.expanded,Mn=At.expandable,Cn="".concat(Vt,"-row-expand-icon");if(!Mn)return ee.createElement("span",{className:Ie()(Cn,"".concat(Vt,"-row-spaced"))});var Sn=function(rr){ln($t,rr),rr.stopPropagation()};return ee.createElement("span",{className:Ie()(Cn,(It={},(0,Re.Z)(It,"".concat(Vt,"-row-expanded"),tn),(0,Re.Z)(It,"".concat(Vt,"-row-collapsed"),!tn),It)),onClick:Sn})}function fn(At,It,Vt){var $t=[];function ln(tn){(tn||[]).forEach(function(Mn,Cn){$t.push(It(Mn,Cn)),ln(Mn[Vt])})}return ln(At),$t}function wn(At,It,Vt){var $t=jn(At),ln=$t.expandIcon,tn=$t.expandedRowKeys,Mn=$t.defaultExpandedRowKeys,Cn=$t.defaultExpandAllRows,Sn=$t.expandedRowRender,Kn=$t.onExpand,rr=$t.onExpandedRowsChange,Un=$t.childrenColumnName,Er=ln||hn,yr=Un||"children",Sr=ee.useMemo(function(){return Sn?"row":At.expandable&&At.internalHooks===bt&&At.expandable.__PARENT_RENDER_ICON__||It.some(function(ji){return ji&&(0,Se.Z)(ji)==="object"&&ji[yr]})?"nest":!1},[!!Sn,It]),ni=ee.useState(function(){return Mn||(Cn?fn(It,Vt,yr):[])}),Yr=(0,E.Z)(ni,2),ri=Yr[0],Jr=Yr[1],mi=ee.useMemo(function(){return new Set(tn||ri||[])},[tn,ri]),Ri=ee.useCallback(function(ji){var Mi=Vt(ji,It.indexOf(ji)),Ji,sa=mi.has(Mi);sa?(mi.delete(Mi),Ji=(0,Rn.Z)(mi)):Ji=[].concat((0,Rn.Z)(mi),[Mi]),Jr(Ji),Kn&&Kn(!sa,ji),rr&&rr(Ji)},[Vt,mi,It,Kn,rr]);return[$t,Sr,mi,Er,yr,Ri]}function Ln(At,It,Vt,$t){var ln=At.map(function(tn,Mn){return Mt(Mn,Mn,At,It,Vt,$t==null?void 0:$t[Mn])});return(0,Ye.Z)(function(){return ln},[ln],function(tn,Mn){return!(0,ne.Z)(tn,Mn)})}function Tn(At){var It=(0,ee.useRef)(At),Vt=(0,ee.useState)({}),$t=(0,E.Z)(Vt,2),ln=$t[1],tn=(0,ee.useRef)(null),Mn=(0,ee.useRef)([]);function Cn(Sn){Mn.current.push(Sn);var Kn=Promise.resolve();tn.current=Kn,Kn.then(function(){if(tn.current===Kn){var rr=Mn.current,Un=It.current;Mn.current=[],rr.forEach(function(Er){It.current=Er(It.current)}),tn.current=null,Un!==It.current&&ln({})}})}return(0,ee.useEffect)(function(){return function(){tn.current=null}},[]),[It.current,Cn]}function zn(At){var It=(0,ee.useRef)(At||null),Vt=(0,ee.useRef)();function $t(){window.clearTimeout(Vt.current)}function ln(Mn){It.current=Mn,$t(),Vt.current=window.setTimeout(function(){It.current=null,Vt.current=void 0},100)}function tn(){return It.current}return(0,ee.useEffect)(function(){return $t},[]),[ln,tn]}function nn(){var At=ee.useState(-1),It=(0,E.Z)(At,2),Vt=It[0],$t=It[1],ln=ee.useState(-1),tn=(0,E.Z)(ln,2),Mn=tn[0],Cn=tn[1],Sn=ee.useCallback(function(Kn,rr){$t(Kn),Cn(rr)},[]);return[Vt,Mn,Sn]}var In=Te(47273),Xt=(0,In.Z)()?window:null;function en(At,It){var Vt=(0,Se.Z)(At)==="object"?At:{},$t=Vt.offsetHeader,ln=$t===void 0?0:$t,tn=Vt.offsetSummary,Mn=tn===void 0?0:tn,Cn=Vt.offsetScroll,Sn=Cn===void 0?0:Cn,Kn=Vt.getContainer,rr=Kn===void 0?function(){return Xt}:Kn,Un=rr()||Xt;return ee.useMemo(function(){var Er=!!At;return{isSticky:Er,stickyClassName:Er?"".concat(It,"-sticky-holder"):"",offsetHeader:ln,offsetSummary:Mn,offsetScroll:Sn,container:Un}},[Sn,ln,Mn,It,Un])}function sn(At,It,Vt){var $t=(0,ee.useMemo)(function(){for(var ln=[],tn=[],Mn=0,Cn=0,Sn=0;Sn<It;Sn+=1)if(Vt==="rtl"){tn[Sn]=Cn,Cn+=At[Sn]||0;var Kn=It-Sn-1;ln[Kn]=Mn,Mn+=At[Kn]||0}else{ln[Sn]=Mn,Mn+=At[Sn]||0;var rr=It-Sn-1;tn[rr]=Cn,Cn+=At[rr]||0}return{left:ln,right:tn}},[At,It,Vt]);return $t}var mn=sn;function Bn(At){var It=At.className,Vt=At.children;return ee.createElement("div",{className:It},Vt)}var cn=Bn,pn=Te(8224),Tt=Te(55468),Jt=function(It,Vt){var $t,ln,tn=It.scrollBodyRef,Mn=It.onScroll,Cn=It.offsetScroll,Sn=It.container,Kn=le(Ce,"prefixCls"),rr=(($t=tn.current)===null||$t===void 0?void 0:$t.scrollWidth)||0,Un=((ln=tn.current)===null||ln===void 0?void 0:ln.clientWidth)||0,Er=rr&&Un*(Un/rr),yr=ee.useRef(),Sr=Tn({scrollLeft:0,isHiddenScrollBar:!1}),ni=(0,E.Z)(Sr,2),Yr=ni[0],ri=ni[1],Jr=ee.useRef({delta:0,x:0}),mi=ee.useState(!1),Ri=(0,E.Z)(mi,2),ji=Ri[0],Mi=Ri[1],Ji=function(){Mi(!1)},sa=function(Ci){Ci.persist(),Jr.current.delta=Ci.pageX-Yr.scrollLeft,Jr.current.x=0,Mi(!0),Ci.preventDefault()},xi=function(Ci){var Xi,ga=Ci||((Xi=window)===null||Xi===void 0?void 0:Xi.event),Wi=ga.buttons;if(!ji||Wi===0){ji&&Mi(!1);return}var ai=Jr.current.x+Ci.pageX-Jr.current.x-Jr.current.delta;ai<=0&&(ai=0),ai+Er>=Un&&(ai=Un-Er),Mn({scrollLeft:ai/Un*(rr+2)}),Jr.current.x=Ci.pageX},Oi=function(){if(tn.current){var Ci=(0,Tt.os)(tn.current).top,Xi=Ci+tn.current.offsetHeight,ga=Sn===window?document.documentElement.scrollTop+window.innerHeight:(0,Tt.os)(Sn).top+Sn.clientHeight;Xi-(0,Dt.Z)()<=ga||Ci>=ga-Cn?ri(function(Wi){return(0,Be.Z)((0,Be.Z)({},Wi),{},{isHiddenScrollBar:!0})}):ri(function(Wi){return(0,Be.Z)((0,Be.Z)({},Wi),{},{isHiddenScrollBar:!1})})}},wi=function(Ci){ri(function(Xi){return(0,Be.Z)((0,Be.Z)({},Xi),{},{scrollLeft:Ci/rr*Un||0})})};return ee.useImperativeHandle(Vt,function(){return{setScrollLeft:wi}}),ee.useEffect(function(){var Vr=(0,pn.Z)(document.body,"mouseup",Ji,!1),Ci=(0,pn.Z)(document.body,"mousemove",xi,!1);return Oi(),function(){Vr.remove(),Ci.remove()}},[Er,ji]),ee.useEffect(function(){var Vr=(0,pn.Z)(Sn,"scroll",Oi,!1),Ci=(0,pn.Z)(window,"resize",Oi,!1);return function(){Vr.remove(),Ci.remove()}},[Sn]),ee.useEffect(function(){Yr.isHiddenScrollBar||ri(function(Vr){var Ci=tn.current;return Ci?(0,Be.Z)((0,Be.Z)({},Vr),{},{scrollLeft:Ci.scrollLeft/Ci.scrollWidth*Ci.clientWidth}):Vr})},[Yr.isHiddenScrollBar]),rr<=Un||!Er||Yr.isHiddenScrollBar?null:ee.createElement("div",{style:{height:(0,Dt.Z)(),width:Un,bottom:Cn},className:"".concat(Kn,"-sticky-scroll")},ee.createElement("div",{onMouseDown:sa,ref:yr,className:Ie()("".concat(Kn,"-sticky-scroll-bar"),(0,Re.Z)({},"".concat(Kn,"-sticky-scroll-bar-active"),ji)),style:{width:"".concat(Er,"px"),transform:"translate3d(".concat(Yr.scrollLeft,"px, 0, 0)")}}))},qt=ee.forwardRef(Jt);function un(At){return null}var dn=un;function yn(At){return null}var bn=yn,_n="rc-table",Qn=[],ar={};function gr(){return"No Data"}function mr(At){var It,Vt=(0,Be.Z)({rowKey:"key",prefixCls:_n,emptyText:gr},At),$t=Vt.prefixCls,ln=Vt.className,tn=Vt.rowClassName,Mn=Vt.style,Cn=Vt.data,Sn=Vt.rowKey,Kn=Vt.scroll,rr=Vt.tableLayout,Un=Vt.direction,Er=Vt.title,yr=Vt.footer,Sr=Vt.summary,ni=Vt.caption,Yr=Vt.id,ri=Vt.showHeader,Jr=Vt.components,mi=Vt.emptyText,Ri=Vt.onRow,ji=Vt.onHeaderRow,Mi=Vt.internalHooks,Ji=Vt.transformColumns,sa=Vt.internalRefs,xi=Vt.tailor,Oi=Vt.sticky,wi=Cn||Qn,Vr=!!wi.length,Ci=Mi===bt,Xi=ee.useCallback(function(La,Wa){return(0,Ge.Z)(Jr,La)||Wa},[Jr]),ga=ee.useMemo(function(){return typeof Sn=="function"?Sn:function(La){var Wa=La&&La[Sn];return Wa}},[Sn]),Wi=Xi(["body"]),ai=nn(),ra=(0,E.Z)(ai,3),la=ra[0],_a=ra[1],Ia=ra[2],lo=wn(Vt,wi,ga),eo=(0,E.Z)(lo,6),oa=eo[0],Co=eo[1],Aa=eo[2],ao=eo[3],to=eo[4],Bo=eo[5],Zi=Kn==null?void 0:Kn.x,Fi=ee.useState(0),zi=(0,E.Z)(Fi,2),Pi=zi[0],Ba=zi[1],Ni=Yt((0,Be.Z)((0,Be.Z)((0,Be.Z)({},Vt),oa),{},{expandable:!!oa.expandedRowRender,columnTitle:oa.columnTitle,expandedKeys:Aa,getRowKey:ga,onTriggerExpand:Bo,expandIcon:ao,expandIconColumnIndex:oa.expandIconColumnIndex,direction:Un,scrollWidth:Ci&&xi&&typeof Zi=="number"?Zi:null}),Ci?Ji:null),ia=(0,E.Z)(Ni,3),ka=ia[0],Ea=ia[1],es=ia[2],Po=es!=null?es:Zi,Zs=ee.useMemo(function(){return{columns:ka,flattenColumns:Ea}},[ka,Ea]),Eo=ee.useRef(),Qs=ee.useRef(),Mo=ee.useRef(),Uo=ee.useRef(),wl=ee.useRef(),Da=ee.useState(!1),Zr=(0,E.Z)(Da,2),Fa=Zr[0],Oo=Zr[1],Lo=ee.useState(!1),qi=(0,E.Z)(Lo,2),Ua=qi[0],Vo=qi[1],js=Tn(new Map),hl=(0,E.Z)(js,2),ws=hl[0],ts=hl[1],al=nt(Ea),ns=al.map(function(La){return ws.get(La)}),Ss=ee.useMemo(function(){return ns},[ns.join("_")]),cs=mn(Ss,Ea.length,Un),co=Kn&&dt(Kn.y),uo=Kn&&dt(Po)||!!oa.fixed,ms=uo&&Ea.some(function(La){var Wa=La.fixed;return Wa}),Sl=ee.useRef(),Us=en(Oi,$t),pl=Us.isSticky,_l=Us.offsetHeader,iu=Us.offsetSummary,Pa=Us.offsetScroll,Ya=Us.stickyClassName,jo=Us.container,Ja=ee.useMemo(function(){return Sr==null?void 0:Sr(wi)},[Sr,wi]),Fo=(co||pl)&&ee.isValidElement(Ja)&&Ja.type===fe&&Ja.props.fixed,rs,Ms,Cl;co&&(Ms={overflowY:"scroll",maxHeight:Kn.y}),uo&&(rs={overflowX:"auto"},co||(Ms={overflowY:"hidden"}),Cl={width:Po===!0?"auto":Po,minWidth:"100%"});var ku=ee.useCallback(function(La,Wa){(0,vt.Z)(Eo.current)&&ts(function(Es){if(Es.get(La)!==Wa){var Ml=new Map(Es);return Ml.set(La,Wa),Ml}return Es})},[]),Yl=zn(null),El=(0,E.Z)(Yl,2),Ta=El[0],ho=El[1];function ml(La,Wa){Wa&&(typeof Wa=="function"?Wa(La):Wa.scrollLeft!==La&&(Wa.scrollLeft=La,Wa.scrollLeft!==La&&setTimeout(function(){Wa.scrollLeft=La},0)))}var lc=(0,je.Z)(function(La){var Wa=La.currentTarget,Es=La.scrollLeft,Ml=Un==="rtl",Tl=typeof Es=="number"?Es:Wa.scrollLeft,Du=Wa||ar;if(!ho()||ho()===Du){var No;Ta(Du),ml(Tl,Qs.current),ml(Tl,Mo.current),ml(Tl,wl.current),ml(Tl,(No=Sl.current)===null||No===void 0?void 0:No.setScrollLeft)}var sl=Wa||Qs.current;if(sl){var Ou=sl.scrollWidth,Ql=sl.clientWidth;if(Ou===Ql){Oo(!1),Vo(!1);return}Ml?(Oo(-Tl<Ou-Ql),Vo(-Tl>0)):(Oo(Tl>0),Vo(Tl<Ou-Ql))}}),Vs=function(){uo&&Mo.current?lc({currentTarget:Mo.current}):(Oo(!1),Vo(!1))},ed=function(Wa){var Es=Wa.width;Es!==Pi&&(Vs(),Ba(Eo.current?Eo.current.offsetWidth:Es))},Ro=ee.useRef(!1);ee.useEffect(function(){Ro.current&&Vs()},[uo,Cn,ka.length]),ee.useEffect(function(){Ro.current=!0},[]);var Mu=ee.useState(0),td=(0,E.Z)(Mu,2),au=td[0],ou=td[1],wc=ee.useState(!0),cc=(0,E.Z)(wc,2),Qr=cc[0],Tu=cc[1];ee.useEffect(function(){(!xi||!Ci)&&(Mo.current instanceof Element?ou((0,Dt.o)(Mo.current).width):ou((0,Dt.o)(Uo.current).width)),Tu((0,lt.G)("position","sticky"))},[]),ee.useEffect(function(){Ci&&sa&&(sa.body.current=Mo.current)});var su=ee.useCallback(function(La){return ee.createElement(ee.Fragment,null,ee.createElement($n,La),Fo==="top"&&ee.createElement(Fe,La,Ja))},[Fo,Ja]),lu=ee.useCallback(function(La){return ee.createElement(Fe,La,Ja)},[Ja]),ol=Xi(["table"],"table"),Jl=ee.useMemo(function(){return rr||(ms?Po==="max-content"?"auto":"fixed":co||pl||Ea.some(function(La){var Wa=La.ellipsis;return Wa})?"fixed":"auto")},[co,ms,Ea,rr,pl]),Sc,uc={colWidths:Ss,columCount:Ea.length,stickyOffsets:cs,onHeaderRow:ji,fixHeader:co,scroll:Kn},oo=ee.useMemo(function(){return Vr?null:typeof mi=="function"?mi():mi},[Vr,mi]),nd=ee.createElement(On,{data:wi,measureColumnWidth:co||uo||pl}),cu=ee.createElement(sr,{colWidths:Ea.map(function(La){var Wa=La.width;return Wa}),columns:Ea}),Al=ni!=null?ee.createElement("caption",{className:"".concat($t,"-caption")},ni):void 0,Wc=(0,Wt.Z)(Vt,{data:!0}),jl=(0,Wt.Z)(Vt,{aria:!0});if(co||pl){var Fl;typeof Wi=="function"?(Fl=Wi(wi,{scrollbarSize:au,ref:Mo,onScroll:lc}),uc.colWidths=Ea.map(function(La,Wa){var Es=La.width,Ml=Wa===Ea.length-1?Es-au:Es;return typeof Ml=="number"&&!Number.isNaN(Ml)?Ml:0})):Fl=ee.createElement("div",{style:(0,Be.Z)((0,Be.Z)({},rs),Ms),onScroll:lc,ref:Mo,className:Ie()("".concat($t,"-body"))},ee.createElement(ol,(0,pe.Z)({style:(0,Be.Z)((0,Be.Z)({},Cl),{},{tableLayout:Jl})},jl),Al,cu,nd,!Fo&&Ja&&ee.createElement(Fe,{stickyOffsets:cs,flattenColumns:Ea,columns:ka},Ja)));var Cs=(0,Be.Z)((0,Be.Z)((0,Be.Z)({noData:!wi.length,maxContentScroll:uo&&Po==="max-content"},uc),Zs),{},{direction:Un,stickyClassName:Ya,onScroll:lc});Sc=ee.createElement(ee.Fragment,null,ri!==!1&&ee.createElement(xr,(0,pe.Z)({},Cs,{stickyTopOffset:_l,className:"".concat($t,"-header"),ref:Qs}),su),Fl,Fo&&Fo!=="top"&&ee.createElement(xr,(0,pe.Z)({},Cs,{stickyBottomOffset:iu,className:"".concat($t,"-summary"),ref:wl}),lu),pl&&ee.createElement(qt,{ref:Sl,offsetScroll:Pa,scrollBodyRef:Mo,onScroll:lc,container:jo}))}else Sc=ee.createElement("div",{style:(0,Be.Z)((0,Be.Z)({},rs),Ms),className:Ie()("".concat($t,"-content")),onScroll:lc,ref:Mo},ee.createElement(ol,(0,pe.Z)({style:(0,Be.Z)((0,Be.Z)({},Cl),{},{tableLayout:Jl})},jl),Al,cu,ri!==!1&&ee.createElement($n,(0,pe.Z)({},uc,Zs)),nd,Ja&&ee.createElement(Fe,{stickyOffsets:cs,flattenColumns:Ea,columns:ka},Ja)));var Gs=ee.createElement("div",(0,pe.Z)({className:Ie()($t,ln,(It={},(0,Re.Z)(It,"".concat($t,"-rtl"),Un==="rtl"),(0,Re.Z)(It,"".concat($t,"-ping-left"),Fa),(0,Re.Z)(It,"".concat($t,"-ping-right"),Ua),(0,Re.Z)(It,"".concat($t,"-layout-fixed"),rr==="fixed"),(0,Re.Z)(It,"".concat($t,"-fixed-header"),co),(0,Re.Z)(It,"".concat($t,"-fixed-column"),ms),(0,Re.Z)(It,"".concat($t,"-scroll-horizontal"),uo),(0,Re.Z)(It,"".concat($t,"-has-fix-left"),Ea[0]&&Ea[0].fixed),(0,Re.Z)(It,"".concat($t,"-has-fix-right"),Ea[Ea.length-1]&&Ea[Ea.length-1].fixed==="right"),It)),style:Mn,id:Yr,ref:Eo},Wc),Er&&ee.createElement(cn,{className:"".concat($t,"-title")},Er(wi)),ee.createElement("div",{ref:Uo,className:"".concat($t,"-container")},Sc),yr&&ee.createElement(cn,{className:"".concat($t,"-footer")},yr(wi)));uo&&(Gs=ee.createElement(ut.Z,{onResize:ed},Gs));var us=Ln(Ea,cs,Un,ka),kl=ee.useMemo(function(){return{scrollX:Po,prefixCls:$t,getComponent:Xi,scrollbarSize:au,direction:Un,fixedInfoList:us,isSticky:pl,supportSticky:Qr,componentWidth:Pi,fixHeader:co,fixColumn:ms,horizonScroll:uo,tableLayout:Jl,rowClassName:tn,expandedRowClassName:oa.expandedRowClassName,expandIcon:ao,expandableType:Co,expandRowByClick:oa.expandRowByClick,expandedRowRender:oa.expandedRowRender,onTriggerExpand:Bo,expandIconColumnIndex:oa.expandIconColumnIndex,indentSize:oa.indentSize,allColumnsFixedLeft:Ea.every(function(La){return La.fixed==="left"}),emptyNode:oo,columns:ka,flattenColumns:Ea,onColumnResize:ku,hoverStartRow:la,hoverEndRow:_a,onHover:Ia,rowExpandable:oa.rowExpandable,onRow:Ri,getRowKey:ga,expandedKeys:Aa,childrenColumnName:to}},[Po,$t,Xi,au,Un,us,pl,Qr,Pi,co,ms,uo,Jl,tn,oa.expandedRowClassName,ao,Co,oa.expandRowByClick,oa.expandedRowRender,Bo,oa.expandIconColumnIndex,oa.indentSize,oo,ka,Ea,ku,la,_a,Ia,oa.rowExpandable,Ri,ga,Aa,to]);return ee.createElement(Ce.Provider,{value:kl},Gs)}function zr(At){return Ae(mr,At)}var Mr=zr();Mr.EXPAND_COLUMN=Ne,Mr.INTERNAL_HOOKS=bt,Mr.Column=dn,Mr.ColumnGroup=bn,Mr.Summary=Ke;var lr=Mr,ur=Te(48911),dr=oe(null),Rr=oe(null);function Cr(At,It,Vt){var $t=It||1;return Vt[At+$t]-(Vt[At]||0)}function Ar(At){var It=At.rowInfo,Vt=At.column,$t=At.colIndex,ln=At.indent,tn=At.index,Mn=At.renderIndex,Cn=At.record,Sn=At.style,Kn=At.className,rr=At.inverse,Un=At.getHeight,Er=Vt.render,yr=Vt.dataIndex,Sr=Vt.className,ni=Vt.width,Yr=le(Rr,["columnsOffset"]),ri=Yr.columnsOffset,Jr=Et(It,Vt,$t,ln,tn),mi=Jr.key,Ri=Jr.fixedInfo,ji=Jr.appendCellNode,Mi=Jr.additionalCellProps,Ji=Mi.style,sa=Mi.colSpan,xi=sa===void 0?1:sa,Oi=Mi.rowSpan,wi=Oi===void 0?1:Oi,Vr=$t-1,Ci=Cr(Vr,xi,ri),Xi=xi>1?ni-Ci:0,ga=(0,Be.Z)((0,Be.Z)((0,Be.Z)({},Ji),Sn),{},{flex:"0 0 ".concat(Ci,"px"),width:"".concat(Ci,"px"),marginRight:Xi,pointerEvents:"auto"}),Wi=ee.useMemo(function(){return rr?wi<=1:xi===0||wi===0||wi>1},[wi,xi,rr]);Wi?ga.visibility="hidden":rr&&(ga.height=Un==null?void 0:Un(wi));var ai=Wi?function(){return null}:Er,ra={};return(wi===0||xi===0)&&(ra.rowSpan=1,ra.colSpan=1),ee.createElement(Pt,(0,pe.Z)({className:Ie()(Sr,Kn),ellipsis:Vt.ellipsis,align:Vt.align,scope:Vt.rowScope,component:"div",prefixCls:It.prefixCls,key:mi,record:Cn,index:tn,renderIndex:Mn,dataIndex:yr,render:ai,shouldCellUpdate:Vt.shouldCellUpdate},Ri,{appendNode:ji,additionalProps:(0,Be.Z)((0,Be.Z)({},Mi),{},{style:ga},ra)}))}var Gr=Ar,Kr=["data","index","className","rowKey","style","extra","getHeight"],oi=ee.forwardRef(function(At,It){var Vt=At.data,$t=At.index,ln=At.className,tn=At.rowKey,Mn=At.style,Cn=At.extra,Sn=At.getHeight,Kn=(0,ue.Z)(At,Kr),rr=Vt.record,Un=Vt.indent,Er=Vt.index,yr=le(Ce,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Sr=yr.scrollX,ni=yr.flattenColumns,Yr=yr.prefixCls,ri=yr.fixColumn,Jr=yr.componentWidth,mi=ft(rr,tn,$t,Un),Ri=mi.rowSupportExpand,ji=mi.expanded,Mi=mi.rowProps,Ji=mi.expandedRowRender,sa=mi.expandedRowClassName,xi;if(Ri&&ji){var Oi=Ji(rr,$t,Un+1,ji),wi=sa==null?void 0:sa(rr,$t,Un),Vr={};ri&&(Vr={style:(0,Re.Z)({},"--virtual-width","".concat(Jr,"px"))});var Ci="".concat(Yr,"-expanded-row-cell");xi=ee.createElement("div",{className:Ie()("".concat(Yr,"-expanded-row"),"".concat(Yr,"-expanded-row-level-").concat(Un+1),wi)},ee.createElement(Pt,{component:"div",prefixCls:Yr,className:Ie()(Ci,(0,Re.Z)({},"".concat(Ci,"-fixed"),ri)),additionalProps:Vr},Oi))}var Xi=(0,Be.Z)((0,Be.Z)({},Mn),{},{width:Sr});Cn&&(Xi.position="absolute",Xi.pointerEvents="none");var ga=ee.createElement("div",(0,pe.Z)({},Mi,Kn,{ref:Ri?null:It,className:Ie()(ln,"".concat(Yr,"-row"),Mi==null?void 0:Mi.className,(0,Re.Z)({},"".concat(Yr,"-row-extra"),Cn)),style:(0,Be.Z)((0,Be.Z)({},Xi),Mi==null?void 0:Mi.style)}),ni.map(function(Wi,ai){return ee.createElement(Gr,{key:ai,rowInfo:mi,column:Wi,colIndex:ai,indent:Un,index:$t,renderIndex:Er,record:rr,inverse:Cn,getHeight:Sn})}));return Ri?ee.createElement("div",{ref:It},ga,xi):ga}),Di=ye(oi),Hr=Di,or=ee.forwardRef(function(At,It){var Vt=At.data,$t=At.onScroll,ln=le(Ce,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),tn=ln.flattenColumns,Mn=ln.onColumnResize,Cn=ln.getRowKey,Sn=ln.expandedKeys,Kn=ln.prefixCls,rr=ln.childrenColumnName,Un=ln.emptyNode,Er=ln.scrollX,yr=le(dr),Sr=yr.scrollY,ni=yr.listItemHeight,Yr=ee.useRef(),ri=zt(Vt,rr,Sn,Cn),Jr=ee.useMemo(function(){var xi=0;return tn.map(function(Oi){var wi=Oi.width,Vr=Oi.key;return xi+=wi,[Vr,wi,xi]})},[tn]),mi=ee.useMemo(function(){return Jr.map(function(xi){return xi[2]})},[Jr]);ee.useEffect(function(){Jr.forEach(function(xi){var Oi=(0,E.Z)(xi,2),wi=Oi[0],Vr=Oi[1];Mn(wi,Vr)})},[Jr]),ee.useImperativeHandle(It,function(){var xi={};return Object.defineProperty(xi,"scrollLeft",{get:function(){var wi;return((wi=Yr.current)===null||wi===void 0?void 0:wi.getScrollInfo().x)||0},set:function(wi){var Vr;(Vr=Yr.current)===null||Vr===void 0||Vr.scrollTo({left:wi})}}),xi});var Ri=function(Oi,wi){var Vr,Ci=(Vr=ri[wi])===null||Vr===void 0?void 0:Vr.record,Xi=Oi.onCell;if(Xi){var ga,Wi=Xi(Ci,wi);return(ga=Wi==null?void 0:Wi.rowSpan)!==null&&ga!==void 0?ga:1}return 1},ji=function(Oi){var wi=Oi.start,Vr=Oi.end,Ci=Oi.getSize,Xi=Oi.offsetY;if(Vr<0)return null;for(var ga=tn.filter(function(Zi){return Ri(Zi,wi)===0}),Wi=wi,ai=function(Fi){if(ga=ga.filter(function(zi){return Ri(zi,Fi)===0}),!ga.length)return Wi=Fi,"break"},ra=wi;ra>=0;ra-=1){var la=ai(ra);if(la==="break")break}for(var _a=tn.filter(function(Zi){return Ri(Zi,Vr)!==1}),Ia=Vr,lo=function(Fi){if(_a=_a.filter(function(zi){return Ri(zi,Fi)!==1}),!_a.length)return Ia=Math.max(Fi-1,Vr),"break"},eo=Vr;eo<ri.length;eo+=1){var oa=lo(eo);if(oa==="break")break}for(var Co=[],Aa=function(Fi){var zi=ri[Fi];if(!zi)return"continue";tn.some(function(Pi){return Ri(Pi,Fi)>1})&&Co.push(Fi)},ao=Wi;ao<=Ia;ao+=1)var to=Aa(ao);var Bo=Co.map(function(Zi){var Fi=ri[Zi],zi=Cn(Fi.record,Zi),Pi=function(ia){var ka=Zi+ia-1,Ea=Cn(ri[ka].record,ka),es=Ci(zi,Ea);return es.bottom-es.top},Ba=Ci(zi);return ee.createElement(Hr,{key:Zi,data:Fi,rowKey:zi,index:Zi,style:{top:-Xi+Ba.top},extra:!0,getHeight:Pi})});return Bo},Mi=ee.useMemo(function(){return{columnsOffset:mi}},[mi]),Ji="".concat(Kn,"-tbody"),sa;return ri.length?sa=ee.createElement(ur.Z,{fullHeight:!1,ref:Yr,className:Ie()(Ji,"".concat(Ji,"-virtual")),height:Sr,itemHeight:ni||24,data:ri,itemKey:function(Oi){return Cn(Oi.record)},scrollWidth:Er,onVirtualScroll:function(Oi){var wi=Oi.x;$t({scrollLeft:wi})},extraRender:ji},function(xi,Oi,wi){var Vr=Cn(xi.record,Oi);return ee.createElement(Hr,(0,pe.Z)({data:xi,rowKey:Vr,index:Oi},wi))}):sa=ee.createElement("div",{className:Ie()("".concat(Kn,"-placeholder"))},ee.createElement(Pt,{component:"div",prefixCls:Kn},Un)),ee.createElement(Rr.Provider,{value:Mi},sa)}),ir=ye(or),ti=ir,Ur=function(It,Vt){var $t=Vt.ref,ln=Vt.onScroll;return ee.createElement(ti,{ref:$t,data:It,onScroll:ln})},ui=100;function gi(At){var It=At.columns,Vt=At.scroll,$t=At.prefixCls,ln=$t===void 0?_n:$t,tn=At.className,Mn=At.listItemHeight,Cn=Vt||{},Sn=Cn.x,Kn=Cn.y;typeof Sn!="number"&&(Sn=((It||[]).length+1)*ui),typeof Kn!="number"&&(Kn=500);var rr=ee.useMemo(function(){return{scrollY:Kn,listItemHeight:Mn}},[Kn,Mn]);return ee.createElement(dr.Provider,{value:rr},ee.createElement(lr,(0,pe.Z)({},At,{className:Ie()(tn,"".concat(ln,"-virtual")),scroll:(0,Be.Z)((0,Be.Z)({},Vt),{},{x:Sn}),components:{body:Ur},columns:It,internalHooks:bt,tailor:!0})))}function pi(At){return Ae(gi,At)}var ei=pi(),li=null;function ta(At){return null}var Ir=ta;function Wr(At){return null}var vi=Wr,Ai=Te(2738),da=Te(68031),ca=Te(36355),$i=Te(93891),Hi=Te(19716),xa=Te(8628),wa=Te(31724),jr=Te(58421),_r=Te(71418),Nr=Te(88088);function $r(At){return function(Vt){let{prefixCls:$t,onExpand:ln,record:tn,expanded:Mn,expandable:Cn}=Vt;const Sn=`${$t}-row-expand-icon`;return ee.createElement("button",{type:"button",onClick:Kn=>{ln(tn,Kn),Kn.stopPropagation()},className:Ie()(Sn,{[`${Sn}-spaced`]:!Cn,[`${Sn}-expanded`]:Cn&&Mn,[`${Sn}-collapsed`]:Cn&&!Mn}),"aria-label":Mn?At.collapse:At.expand,"aria-expanded":Mn})}}var Yi=$r;function fa(At,It){return"key"in At&&At.key!==void 0&&At.key!==null?At.key:At.dataIndex?Array.isArray(At.dataIndex)?At.dataIndex.join("."):At.dataIndex:It}function va(At,It){return It?`${It}-${At}`:`${At}`}function pa(At,It){return typeof At=="function"?At(It):At}function ua(At,It){const Vt=pa(At,It);return Object.prototype.toString.call(Vt)==="[object Object]"?"":Vt}var Ma={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Xa=Ma,Va=Te(7657),go=function(It,Vt){return ee.createElement(Va.Z,(0,pe.Z)({},It,{ref:Vt,icon:Xa}))},_i=ee.forwardRef(go),Ui=_i,Oa=Te(56762);function aa(At){const It=ee.useRef(At),Vt=(0,Oa.Z)();return[()=>It.current,$t=>{It.current=$t,Vt()}]}var ha=Te(3113),Pn=Te(24905),An=Te(38854),xn=Te(64165),Yn=Te(20834),fr=Te(40875),hr=Te(5112),Vn=Te(17574),Br=Te(47472),di=Te(92832);function Ii(At){let{value:It,onChange:Vt,filterSearch:$t,tablePrefixCls:ln,locale:tn}=At;return $t?ee.createElement("div",{className:`${ln}-filter-dropdown-search`},ee.createElement(di.default,{prefix:ee.createElement(Br.Z,null),placeholder:tn.filterSearchPlaceholder,onChange:Vt,value:It,htmlSize:1,className:`${ln}-filter-dropdown-search-input`})):null}var fi=Ii,Or=Te(10228);const hi=At=>{const{keyCode:It}=At;It===Or.Z.ENTER&&At.stopPropagation()};var na=ee.forwardRef((At,It)=>ee.createElement("div",{className:At.className,onClick:Vt=>Vt.stopPropagation(),onKeyDown:hi,ref:It},At.children));function bi(At){let It=[];return(At||[]).forEach(Vt=>{let{value:$t,children:ln}=Vt;It.push($t),ln&&(It=[].concat((0,Rn.Z)(It),(0,Rn.Z)(bi(ln))))}),It}function Si(At){return At.some(It=>{let{children:Vt}=It;return Vt})}function Gi(At,It){return typeof It=="string"||typeof It=="number"?It==null?void 0:It.toString().toLowerCase().includes(At.trim().toLowerCase()):!1}function Sa(At){let{filters:It,prefixCls:Vt,filteredKeys:$t,filterMultiple:ln,searchValue:tn,filterSearch:Mn}=At;return It.map((Cn,Sn)=>{const Kn=String(Cn.value);if(Cn.children)return{key:Kn||Sn,label:Cn.text,popupClassName:`${Vt}-dropdown-submenu`,children:Sa({filters:Cn.children,prefixCls:Vt,filteredKeys:$t,filterMultiple:ln,searchValue:tn,filterSearch:Mn})};const rr=ln?Pn.default:hr.ZP,Un={key:Cn.value!==void 0?Kn:Sn,label:ee.createElement(ee.Fragment,null,ee.createElement(rr,{checked:$t.includes(Kn)}),ee.createElement("span",null,Cn.text))};return tn.trim()?typeof Mn=="function"?Mn(tn,Cn)?Un:null:Gi(tn,Cn.text)?Un:null:Un})}function Na(At){var It,Vt;const{tablePrefixCls:$t,prefixCls:ln,column:tn,dropdownPrefixCls:Mn,columnKey:Cn,filterMultiple:Sn,filterMode:Kn="menu",filterSearch:rr=!1,filterState:Un,triggerFilter:Er,locale:yr,children:Sr,getPopupContainer:ni}=At,{filterDropdownOpen:Yr,onFilterDropdownOpenChange:ri,filterResetToDefaultFilteredValue:Jr,defaultFilteredValue:mi,filterDropdownVisible:Ri,onFilterDropdownVisibleChange:ji}=tn,[Mi,Ji]=ee.useState(!1),sa=!!(Un&&(!((It=Un.filteredKeys)===null||It===void 0)&&It.length||Un.forceFiltered)),xi=Ni=>{Ji(Ni),ri==null||ri(Ni),ji==null||ji(Ni)},Oi=(Vt=Yr!=null?Yr:Ri)!==null&&Vt!==void 0?Vt:Mi,wi=Un==null?void 0:Un.filteredKeys,[Vr,Ci]=aa(wi||[]),Xi=Ni=>{let{selectedKeys:ia}=Ni;Ci(ia)},ga=(Ni,ia)=>{let{node:ka,checked:Ea}=ia;Xi(Sn?{selectedKeys:Ni}:{selectedKeys:Ea&&ka.key?[ka.key]:[]})};ee.useEffect(()=>{Mi&&Xi({selectedKeys:wi||[]})},[wi]);const[Wi,ai]=ee.useState([]),ra=Ni=>{ai(Ni)},[la,_a]=ee.useState(""),Ia=Ni=>{const{value:ia}=Ni.target;_a(ia)};ee.useEffect(()=>{Mi||_a("")},[Mi]);const lo=Ni=>{const ia=Ni&&Ni.length?Ni:null;if(ia===null&&(!Un||!Un.filteredKeys)||(0,ne.Z)(ia,Un==null?void 0:Un.filteredKeys,!0))return null;Er({column:tn,key:Cn,filteredKeys:ia})},eo=()=>{xi(!1),lo(Vr())},oa=function(){let{confirm:Ni,closeDropdown:ia}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ni&&lo([]),ia&&xi(!1),_a(""),Ci(Jr?(mi||[]).map(ka=>String(ka)):[])},Co=function(){let{closeDropdown:Ni}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ni&&xi(!1),lo(Vr())},Aa=Ni=>{Ni&&wi!==void 0&&Ci(wi||[]),xi(Ni),!Ni&&!tn.filterDropdown&&eo()},ao=Ie()({[`${Mn}-menu-without-submenu`]:!Si(tn.filters||[])}),to=Ni=>{if(Ni.target.checked){const ia=bi(tn==null?void 0:tn.filters).map(ka=>String(ka));Ci(ia)}else Ci([])},Bo=Ni=>{let{filters:ia}=Ni;return(ia||[]).map((ka,Ea)=>{const es=String(ka.value),Po={title:ka.text,key:ka.value!==void 0?es:Ea};return ka.children&&(Po.children=Bo({filters:ka.children})),Po})},Zi=Ni=>{var ia;return Object.assign(Object.assign({},Ni),{text:Ni.title,value:Ni.key,children:((ia=Ni.children)===null||ia===void 0?void 0:ia.map(ka=>Zi(ka)))||[]})};let Fi;if(typeof tn.filterDropdown=="function")Fi=tn.filterDropdown({prefixCls:`${Mn}-custom`,setSelectedKeys:Ni=>Xi({selectedKeys:Ni}),selectedKeys:Vr(),confirm:Co,clearFilters:oa,filters:tn.filters,visible:Oi,close:()=>{xi(!1)}});else if(tn.filterDropdown)Fi=tn.filterDropdown;else{const Ni=Vr()||[],ia=()=>(tn.filters||[]).length===0?ee.createElement(xn.Z,{image:xn.Z.PRESENTED_IMAGE_SIMPLE,description:yr.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Kn==="tree"?ee.createElement(ee.Fragment,null,ee.createElement(fi,{filterSearch:rr,value:la,onChange:Ia,tablePrefixCls:$t,locale:yr}),ee.createElement("div",{className:`${$t}-filter-dropdown-tree`},Sn?ee.createElement(Pn.default,{checked:Ni.length===bi(tn.filters).length,indeterminate:Ni.length>0&&Ni.length<bi(tn.filters).length,className:`${$t}-filter-dropdown-checkall`,onChange:to},yr.filterCheckall):null,ee.createElement(Vn.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Sn,checkStrictly:!Sn,className:`${Mn}-menu`,onCheck:ga,checkedKeys:Ni,selectedKeys:Ni,showIcon:!1,treeData:Bo({filters:tn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:la.trim()?Ea=>typeof rr=="function"?rr(la,Zi(Ea)):Gi(la,Ea.title):void 0}))):ee.createElement(ee.Fragment,null,ee.createElement(fi,{filterSearch:rr,value:la,onChange:Ia,tablePrefixCls:$t,locale:yr}),ee.createElement(Yn.default,{selectable:!0,multiple:Sn,prefixCls:`${Mn}-menu`,className:ao,onSelect:Xi,onDeselect:Xi,selectedKeys:Ni,getPopupContainer:ni,openKeys:Wi,onOpenChange:ra,items:Sa({filters:tn.filters||[],filterSearch:rr,prefixCls:ln,filteredKeys:Vr(),filterMultiple:Sn,searchValue:la})})),ka=()=>Jr?(0,ne.Z)((mi||[]).map(Ea=>String(Ea)),Ni,!0):Ni.length===0;Fi=ee.createElement(ee.Fragment,null,ia(),ee.createElement("div",{className:`${ln}-dropdown-btns`},ee.createElement(ha.ZP,{type:"link",size:"small",disabled:ka(),onClick:()=>oa()},yr.filterReset),ee.createElement(ha.ZP,{type:"primary",size:"small",onClick:eo},yr.filterConfirm)))}tn.filterDropdown&&(Fi=ee.createElement(fr.J,{selectable:void 0},Fi));const zi=()=>ee.createElement(na,{className:`${ln}-dropdown`},Fi);let Pi;typeof tn.filterIcon=="function"?Pi=tn.filterIcon(sa):tn.filterIcon?Pi=tn.filterIcon:Pi=ee.createElement(Ui,null);const{direction:Ba}=ee.useContext(ca.E_);return ee.createElement("div",{className:`${ln}-column`},ee.createElement("span",{className:`${$t}-column-title`},Sr),ee.createElement(An.Z,{dropdownRender:zi,trigger:["click"],open:Oi,onOpenChange:Aa,getPopupContainer:ni,placement:Ba==="rtl"?"bottomLeft":"bottomRight"},ee.createElement("span",{role:"button",tabIndex:-1,className:Ie()(`${ln}-trigger`,{active:sa}),onClick:Ni=>{Ni.stopPropagation()}},Pi)))}var so=Na;function Do(At,It,Vt){let $t=[];return(At||[]).forEach((ln,tn)=>{var Mn;const Cn=va(tn,Vt);if(ln.filters||"filterDropdown"in ln||"onFilter"in ln)if("filteredValue"in ln){let Sn=ln.filteredValue;"filterDropdown"in ln||(Sn=(Mn=Sn==null?void 0:Sn.map(String))!==null&&Mn!==void 0?Mn:Sn),$t.push({column:ln,key:fa(ln,Cn),filteredKeys:Sn,forceFiltered:ln.filtered})}else $t.push({column:ln,key:fa(ln,Cn),filteredKeys:It&&ln.defaultFilteredValue?ln.defaultFilteredValue:void 0,forceFiltered:ln.filtered});"children"in ln&&($t=[].concat((0,Rn.Z)($t),(0,Rn.Z)(Do(ln.children,It,Cn))))}),$t}function Xs(At,It,Vt,$t,ln,tn,Mn,Cn){return Vt.map((Sn,Kn)=>{const rr=va(Kn,Cn),{filterMultiple:Un=!0,filterMode:Er,filterSearch:yr}=Sn;let Sr=Sn;if(Sr.filters||Sr.filterDropdown){const ni=fa(Sr,rr),Yr=$t.find(ri=>{let{key:Jr}=ri;return ni===Jr});Sr=Object.assign(Object.assign({},Sr),{title:ri=>ee.createElement(so,{tablePrefixCls:At,prefixCls:`${At}-filter`,dropdownPrefixCls:It,column:Sr,columnKey:ni,filterState:Yr,filterMultiple:Un,filterMode:Er,filterSearch:yr,triggerFilter:tn,locale:ln,getPopupContainer:Mn},pa(Sn.title,ri))})}return"children"in Sr&&(Sr=Object.assign(Object.assign({},Sr),{children:Xs(At,It,Sr.children,$t,ln,tn,Mn,rr)})),Sr})}function ss(At){const It={};return At.forEach(Vt=>{let{key:$t,filteredKeys:ln,column:tn}=Vt;const{filters:Mn,filterDropdown:Cn}=tn;if(Cn)It[$t]=ln||null;else if(Array.isArray(ln)){const Sn=bi(Mn);It[$t]=Sn.filter(Kn=>ln.includes(String(Kn)))}else It[$t]=null}),It}function Ao(At,It){return It.reduce((Vt,$t)=>{const{column:{onFilter:ln,filters:tn},filteredKeys:Mn}=$t;return ln&&Mn&&Mn.length?Vt.filter(Cn=>Mn.some(Sn=>{const Kn=bi(tn),rr=Kn.findIndex(Er=>String(Er)===String(Sn)),Un=rr!==-1?Kn[rr]:Sn;return ln(Un,Cn)})):Vt},At)}const fo=At=>At.flatMap(It=>"children"in It?[It].concat((0,Rn.Z)(fo(It.children||[]))):[It]);function Ls(At){let{prefixCls:It,dropdownPrefixCls:Vt,mergedColumns:$t,onFilterChange:ln,getPopupContainer:tn,locale:Mn}=At;const Cn=ee.useMemo(()=>fo($t||[]),[$t]),[Sn,Kn]=ee.useState(()=>Do(Cn,!0)),rr=ee.useMemo(()=>{const Sr=Do(Cn,!1);if(Sr.length===0)return Sr;let ni=!0,Yr=!0;if(Sr.forEach(ri=>{let{filteredKeys:Jr}=ri;Jr!==void 0?ni=!1:Yr=!1}),ni){const ri=(Cn||[]).map((Jr,mi)=>fa(Jr,va(mi)));return Sn.filter(Jr=>{let{key:mi}=Jr;return ri.includes(mi)}).map(Jr=>{const mi=Cn[ri.findIndex(Ri=>Ri===Jr.key)];return Object.assign(Object.assign({},Jr),{column:Object.assign(Object.assign({},Jr.column),mi),forceFiltered:mi.filtered})})}return Sr},[Cn,Sn]),Un=ee.useMemo(()=>ss(rr),[rr]),Er=Sr=>{const ni=rr.filter(Yr=>{let{key:ri}=Yr;return ri!==Sr.key});ni.push(Sr),Kn(ni),ln(ss(ni),ni)};return[Sr=>Xs(It,Vt,Sr,rr,Mn,Er,tn),rr,Un]}var Ho=Ls;function hs(At,It,Vt){const $t=ee.useRef({});function ln(tn){if(!$t.current||$t.current.data!==At||$t.current.childrenColumnName!==It||$t.current.getRowKey!==Vt){let Cn=function(Sn){Sn.forEach((Kn,rr)=>{const Un=Vt(Kn,rr);Mn.set(Un,Kn),Kn&&typeof Kn=="object"&&It in Kn&&Cn(Kn[It]||[])})};const Mn=new Map;Cn(At),$t.current={data:At,childrenColumnName:It,kvMap:Mn,getRowKey:Vt}}return $t.current.kvMap.get(tn)}return[ln]}var Ys=Te(50371),Rs=function(At,It){var Vt={};for(var $t in At)Object.prototype.hasOwnProperty.call(At,$t)&&It.indexOf($t)<0&&(Vt[$t]=At[$t]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ln=0,$t=Object.getOwnPropertySymbols(At);ln<$t.length;ln++)It.indexOf($t[ln])<0&&Object.prototype.propertyIsEnumerable.call(At,$t[ln])&&(Vt[$t[ln]]=At[$t[ln]]);return Vt};const ko=10;function vo(At,It){const Vt={current:At.current,pageSize:At.pageSize};return Object.keys(It&&typeof It=="object"?It:{}).forEach(ln=>{const tn=At[ln];typeof tn!="function"&&(Vt[ln]=tn)}),Vt}function ja(At,It,Vt){const $t=Vt&&typeof Vt=="object"?Vt:{},{total:ln=0}=$t,tn=Rs($t,["total"]),[Mn,Cn]=(0,ee.useState)(()=>({current:"defaultCurrent"in tn?tn.defaultCurrent:1,pageSize:"defaultPageSize"in tn?tn.defaultPageSize:ko})),Sn=(0,Ys.Z)(Mn,tn,{total:ln>0?ln:At}),Kn=Math.ceil((ln||At)/Sn.pageSize);Sn.current>Kn&&(Sn.current=Kn||1);const rr=(Er,yr)=>{Cn({current:Er!=null?Er:1,pageSize:yr||Sn.pageSize})},Un=(Er,yr)=>{var Sr;Vt&&((Sr=Vt.onChange)===null||Sr===void 0||Sr.call(Vt,Er,yr)),rr(Er,yr),It(Er,yr||(Sn==null?void 0:Sn.pageSize))};return Vt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Sn),{onChange:Un}),rr]}var Ns=ja,ul=Te(84105),ys=Te(35654),Ca=Te(90782),ba=Te(71430),$a=Te(18929);const yo={},io="SELECT_ALL",Wo="SELECT_INVERT",Jo="SELECT_NONE",bs=[],Qo=(At,It)=>{let Vt=[];return(It||[]).forEach($t=>{Vt.push($t),$t&&typeof $t=="object"&&At in $t&&(Vt=[].concat((0,Rn.Z)(Vt),(0,Rn.Z)(Qo(At,$t[At]))))}),Vt};var _s=(At,It)=>{const{preserveSelectedRowKeys:Vt,selectedRowKeys:$t,defaultSelectedRowKeys:ln,getCheckboxProps:tn,onChange:Mn,onSelect:Cn,onSelectAll:Sn,onSelectInvert:Kn,onSelectNone:rr,onSelectMultiple:Un,columnWidth:Er,type:yr,selections:Sr,fixed:ni,renderCell:Yr,hideSelectAll:ri,checkStrictly:Jr=!0}=It||{},{prefixCls:mi,data:Ri,pageData:ji,getRecordByKey:Mi,getRowKey:Ji,expandType:sa,childrenColumnName:xi,locale:Oi,getPopupContainer:wi}=At,[Vr,Ci]=(0,$a.Z)($t||ln||bs,{value:$t}),Xi=ee.useRef(new Map),ga=(0,ee.useCallback)(Zi=>{if(Vt){const Fi=new Map;Zi.forEach(zi=>{let Pi=Mi(zi);!Pi&&Xi.current.has(zi)&&(Pi=Xi.current.get(zi)),Fi.set(zi,Pi)}),Xi.current=Fi}},[Mi,Vt]);ee.useEffect(()=>{ga(Vr)},[Vr]);const{keyEntities:Wi}=(0,ee.useMemo)(()=>{if(Jr)return{keyEntities:null};let Zi=Ri;if(Vt){const Fi=new Set(Ri.map((Pi,Ba)=>Ji(Pi,Ba))),zi=Array.from(Xi.current).reduce((Pi,Ba)=>{let[Ni,ia]=Ba;return Fi.has(Ni)?Pi:Pi.concat(ia)},[]);Zi=[].concat((0,Rn.Z)(Zi),(0,Rn.Z)(zi))}return(0,ba.I8)(Zi,{externalGetKey:Ji,childrenPropName:xi})},[Ri,Ji,Jr,xi,Vt]),ai=(0,ee.useMemo)(()=>Qo(xi,ji),[xi,ji]),ra=(0,ee.useMemo)(()=>{const Zi=new Map;return ai.forEach((Fi,zi)=>{const Pi=Ji(Fi,zi),Ba=(tn?tn(Fi):null)||{};Zi.set(Pi,Ba)}),Zi},[ai,Ji,tn]),la=(0,ee.useCallback)(Zi=>{var Fi;return!!(!((Fi=ra.get(Ji(Zi)))===null||Fi===void 0)&&Fi.disabled)},[ra,Ji]),[_a,Ia]=(0,ee.useMemo)(()=>{if(Jr)return[Vr||[],[]];const{checkedKeys:Zi,halfCheckedKeys:Fi}=(0,Ca.S)(Vr,!0,Wi,la);return[Zi||[],Fi]},[Vr,Jr,Wi,la]),lo=(0,ee.useMemo)(()=>{const Zi=yr==="radio"?_a.slice(0,1):_a;return new Set(Zi)},[_a,yr]),eo=(0,ee.useMemo)(()=>yr==="radio"?new Set:new Set(Ia),[Ia,yr]),[oa,Co]=(0,ee.useState)(null);ee.useEffect(()=>{It||Ci(bs)},[!!It]);const Aa=(0,ee.useCallback)((Zi,Fi)=>{let zi,Pi;ga(Zi),Vt?(zi=Zi,Pi=Zi.map(Ba=>Xi.current.get(Ba))):(zi=[],Pi=[],Zi.forEach(Ba=>{const Ni=Mi(Ba);Ni!==void 0&&(zi.push(Ba),Pi.push(Ni))})),Ci(zi),Mn==null||Mn(zi,Pi,{type:Fi})},[Ci,Mi,Mn,Vt]),ao=(0,ee.useCallback)((Zi,Fi,zi,Pi)=>{if(Cn){const Ba=zi.map(Ni=>Mi(Ni));Cn(Mi(Zi),Fi,Ba,Pi)}Aa(zi,"single")},[Cn,Mi,Aa]),to=(0,ee.useMemo)(()=>!Sr||ri?null:(Sr===!0?[io,Wo,Jo]:Sr).map(Fi=>Fi===io?{key:"all",text:Oi.selectionAll,onSelect(){Aa(Ri.map((zi,Pi)=>Ji(zi,Pi)).filter(zi=>{const Pi=ra.get(zi);return!(Pi!=null&&Pi.disabled)||lo.has(zi)}),"all")}}:Fi===Wo?{key:"invert",text:Oi.selectInvert,onSelect(){const zi=new Set(lo);ji.forEach((Ba,Ni)=>{const ia=Ji(Ba,Ni),ka=ra.get(ia);ka!=null&&ka.disabled||(zi.has(ia)?zi.delete(ia):zi.add(ia))});const Pi=Array.from(zi);Kn&&Kn(Pi),Aa(Pi,"invert")}}:Fi===Jo?{key:"none",text:Oi.selectNone,onSelect(){rr==null||rr(),Aa(Array.from(lo).filter(zi=>{const Pi=ra.get(zi);return Pi==null?void 0:Pi.disabled}),"none")}}:Fi).map(Fi=>Object.assign(Object.assign({},Fi),{onSelect:function(){for(var zi,Pi,Ba=arguments.length,Ni=new Array(Ba),ia=0;ia<Ba;ia++)Ni[ia]=arguments[ia];(Pi=Fi.onSelect)===null||Pi===void 0||(zi=Pi).call.apply(zi,[Fi].concat(Ni)),Co(null)}})),[Sr,lo,ji,Ji,Kn,Aa]);return[(0,ee.useCallback)(Zi=>{var Fi;if(!It)return Zi.filter(Da=>Da!==yo);let zi=(0,Rn.Z)(Zi);const Pi=new Set(lo),Ba=ai.map(Ji).filter(Da=>!ra.get(Da).disabled),Ni=Ba.every(Da=>Pi.has(Da)),ia=Ba.some(Da=>Pi.has(Da)),ka=()=>{const Da=[];Ni?Ba.forEach(Fa=>{Pi.delete(Fa),Da.push(Fa)}):Ba.forEach(Fa=>{Pi.has(Fa)||(Pi.add(Fa),Da.push(Fa))});const Zr=Array.from(Pi);Sn==null||Sn(!Ni,Zr.map(Fa=>Mi(Fa)),Da.map(Fa=>Mi(Fa))),Aa(Zr,"all"),Co(null)};let Ea;if(yr!=="radio"){let Da;if(to){const qi={getPopupContainer:wi,items:to.map((Ua,Vo)=>{const{key:js,text:hl,onSelect:ws}=Ua;return{key:js!=null?js:Vo,onClick:()=>{ws==null||ws(Ba)},label:hl}})};Da=ee.createElement("div",{className:`${mi}-selection-extra`},ee.createElement(An.Z,{menu:qi,getPopupContainer:wi},ee.createElement("span",null,ee.createElement(ul.Z,null))))}const Zr=ai.map((qi,Ua)=>{const Vo=Ji(qi,Ua),js=ra.get(Vo)||{};return Object.assign({checked:Pi.has(Vo)},js)}).filter(qi=>{let{disabled:Ua}=qi;return Ua}),Fa=!!Zr.length&&Zr.length===ai.length,Oo=Fa&&Zr.every(qi=>{let{checked:Ua}=qi;return Ua}),Lo=Fa&&Zr.some(qi=>{let{checked:Ua}=qi;return Ua});Ea=!ri&&ee.createElement("div",{className:`${mi}-selection`},ee.createElement(Pn.default,{checked:Fa?Oo:!!ai.length&&Ni,indeterminate:Fa?!Oo&&Lo:!Ni&&ia,onChange:ka,disabled:ai.length===0||Fa,"aria-label":Da?"Custom selection":"Select all",skipGroup:!0}),Da)}let es;yr==="radio"?es=(Da,Zr,Fa)=>{const Oo=Ji(Zr,Fa),Lo=Pi.has(Oo);return{node:ee.createElement(hr.ZP,Object.assign({},ra.get(Oo),{checked:Lo,onClick:qi=>qi.stopPropagation(),onChange:qi=>{Pi.has(Oo)||ao(Oo,!0,[Oo],qi.nativeEvent)}})),checked:Lo}}:es=(Da,Zr,Fa)=>{var Oo;const Lo=Ji(Zr,Fa),qi=Pi.has(Lo),Ua=eo.has(Lo),Vo=ra.get(Lo);let js;return sa==="nest"?js=Ua:js=(Oo=Vo==null?void 0:Vo.indeterminate)!==null&&Oo!==void 0?Oo:Ua,{node:ee.createElement(Pn.default,Object.assign({},Vo,{indeterminate:js,checked:qi,skipGroup:!0,onClick:hl=>hl.stopPropagation(),onChange:hl=>{let{nativeEvent:ws}=hl;const{shiftKey:ts}=ws;let al=-1,ns=-1;if(ts&&Jr){const Ss=new Set([oa,Lo]);Ba.some((cs,co)=>{if(Ss.has(cs))if(al===-1)al=co;else return ns=co,!0;return!1})}if(ns!==-1&&al!==ns&&Jr){const Ss=Ba.slice(al,ns+1),cs=[];qi?Ss.forEach(uo=>{Pi.has(uo)&&(cs.push(uo),Pi.delete(uo))}):Ss.forEach(uo=>{Pi.has(uo)||(cs.push(uo),Pi.add(uo))});const co=Array.from(Pi);Un==null||Un(!qi,co.map(uo=>Mi(uo)),cs.map(uo=>Mi(uo))),Aa(co,"multiple")}else{const Ss=_a;if(Jr){const cs=qi?(0,ys._5)(Ss,Lo):(0,ys.L0)(Ss,Lo);ao(Lo,!qi,cs,ws)}else{const cs=(0,Ca.S)([].concat((0,Rn.Z)(Ss),[Lo]),!0,Wi,la),{checkedKeys:co,halfCheckedKeys:uo}=cs;let ms=co;if(qi){const Sl=new Set(co);Sl.delete(Lo),ms=(0,Ca.S)(Array.from(Sl),{checked:!1,halfCheckedKeys:uo},Wi,la).checkedKeys}ao(Lo,!qi,ms,ws)}}Co(qi?null:Lo)}})),checked:qi}};const Po=(Da,Zr,Fa)=>{const{node:Oo,checked:Lo}=es(Da,Zr,Fa);return Yr?Yr(Lo,Zr,Fa,Oo):Oo};if(!zi.includes(yo))if(zi.findIndex(Da=>{var Zr;return((Zr=Da[Dn])===null||Zr===void 0?void 0:Zr.columnType)==="EXPAND_COLUMN"})===0){const[Da,...Zr]=zi;zi=[Da,yo].concat((0,Rn.Z)(Zr))}else zi=[yo].concat((0,Rn.Z)(zi));const Zs=zi.indexOf(yo);zi=zi.filter((Da,Zr)=>Da!==yo||Zr===Zs);const Eo=zi[Zs-1],Qs=zi[Zs+1];let Mo=ni;Mo===void 0&&((Qs==null?void 0:Qs.fixed)!==void 0?Mo=Qs.fixed:(Eo==null?void 0:Eo.fixed)!==void 0&&(Mo=Eo.fixed)),Mo&&Eo&&((Fi=Eo[Dn])===null||Fi===void 0?void 0:Fi.columnType)==="EXPAND_COLUMN"&&Eo.fixed===void 0&&(Eo.fixed=Mo);const Uo=Ie()(`${mi}-selection-col`,{[`${mi}-selection-col-with-dropdown`]:Sr&&yr==="checkbox"}),wl={fixed:Mo,width:Er,className:`${mi}-selection-column`,title:It.columnTitle||Ea,render:Po,onCell:It.onCell,[Dn]:{className:Uo}};return zi.map(Da=>Da===yo?wl:Da)},[Ji,ai,It,_a,lo,eo,Er,to,sa,oa,ra,Un,ao,la]),lo]},$o=Te(89489),vc=Te(59477),yl=Te(6848);const bl="ascend",rc="descend";function Vl(At){return typeof At.sorter=="object"&&typeof At.sorter.multiple=="number"?At.sorter.multiple:!1}function Il(At){return typeof At=="function"?At:At&&typeof At=="object"&&At.compare?At.compare:!1}function Qc(At,It){return It?At[At.indexOf(It)+1]:At[0]}function dl(At,It,Vt){let $t=[];function ln(tn,Mn){$t.push({column:tn,key:fa(tn,Mn),multiplePriority:Vl(tn),sortOrder:tn.sortOrder})}return(At||[]).forEach((tn,Mn)=>{const Cn=va(Mn,Vt);tn.children?("sortOrder"in tn&&ln(tn,Cn),$t=[].concat((0,Rn.Z)($t),(0,Rn.Z)(dl(tn.children,It,Cn)))):tn.sorter&&("sortOrder"in tn?ln(tn,Cn):It&&tn.defaultSortOrder&&$t.push({column:tn,key:fa(tn,Cn),multiplePriority:Vl(tn),sortOrder:tn.defaultSortOrder}))}),$t}function ic(At,It,Vt,$t,ln,tn,Mn,Cn){return(It||[]).map((Sn,Kn)=>{const rr=va(Kn,Cn);let Un=Sn;if(Un.sorter){const Er=Un.sortDirections||ln,yr=Un.showSorterTooltip===void 0?Mn:Un.showSorterTooltip,Sr=fa(Un,rr),ni=Vt.find(sa=>{let{key:xi}=sa;return xi===Sr}),Yr=ni?ni.sortOrder:null,ri=Qc(Er,Yr);let Jr;if(Sn.sortIcon)Jr=Sn.sortIcon({sortOrder:Yr});else{const sa=Er.includes(bl)&&ee.createElement(vc.Z,{className:Ie()(`${At}-column-sorter-up`,{active:Yr===bl})}),xi=Er.includes(rc)&&ee.createElement($o.Z,{className:Ie()(`${At}-column-sorter-down`,{active:Yr===rc})});Jr=ee.createElement("span",{className:Ie()(`${At}-column-sorter`,{[`${At}-column-sorter-full`]:!!(sa&&xi)})},ee.createElement("span",{className:`${At}-column-sorter-inner`,"aria-hidden":"true"},sa,xi))}const{cancelSort:mi,triggerAsc:Ri,triggerDesc:ji}=tn||{};let Mi=mi;ri===rc?Mi=ji:ri===bl&&(Mi=Ri);const Ji=typeof yr=="object"?yr:{title:Mi};Un=Object.assign(Object.assign({},Un),{className:Ie()(Un.className,{[`${At}-column-sort`]:Yr}),title:sa=>{const xi=ee.createElement("div",{className:`${At}-column-sorters`},ee.createElement("span",{className:`${At}-column-title`},pa(Sn.title,sa)),Jr);return yr?ee.createElement(yl.Z,Object.assign({},Ji),xi):xi},onHeaderCell:sa=>{const xi=Sn.onHeaderCell&&Sn.onHeaderCell(sa)||{},Oi=xi.onClick,wi=xi.onKeyDown;xi.onClick=Xi=>{$t({column:Sn,key:Sr,sortOrder:ri,multiplePriority:Vl(Sn)}),Oi==null||Oi(Xi)},xi.onKeyDown=Xi=>{Xi.keyCode===Or.Z.ENTER&&($t({column:Sn,key:Sr,sortOrder:ri,multiplePriority:Vl(Sn)}),wi==null||wi(Xi))};const Vr=ua(Sn.title,{}),Ci=Vr==null?void 0:Vr.toString();return Yr?xi["aria-sort"]=Yr==="ascend"?"ascending":"descending":xi["aria-label"]=Ci||"",xi.className=Ie()(xi.className,`${At}-column-has-sorters`),xi.tabIndex=0,Sn.ellipsis&&(xi.title=(Vr!=null?Vr:"").toString()),xi}})}return"children"in Un&&(Un=Object.assign(Object.assign({},Un),{children:ic(At,Un.children,Vt,$t,ln,tn,Mn,rr)})),Un})}function fl(At){const{column:It,sortOrder:Vt}=At;return{column:It,order:Vt,field:It.dataIndex,columnKey:It.key}}function xl(At){const It=At.filter(Vt=>{let{sortOrder:$t}=Vt;return $t}).map(fl);return It.length===0&&At.length?Object.assign(Object.assign({},fl(At[At.length-1])),{column:void 0}):It.length<=1?It[0]||{}:It}function Ka(At,It,Vt){const $t=It.slice().sort((Mn,Cn)=>Cn.multiplePriority-Mn.multiplePriority),ln=At.slice(),tn=$t.filter(Mn=>{let{column:{sorter:Cn},sortOrder:Sn}=Mn;return Il(Cn)&&Sn});return tn.length?ln.sort((Mn,Cn)=>{for(let Sn=0;Sn<tn.length;Sn+=1){const Kn=tn[Sn],{column:{sorter:rr},sortOrder:Un}=Kn,Er=Il(rr);if(Er&&Un){const yr=Er(Mn,Cn,Un);if(yr!==0)return Un===bl?yr:-yr}}return 0}).map(Mn=>{const Cn=Mn[Vt];return Cn?Object.assign(Object.assign({},Mn),{[Vt]:Ka(Cn,It,Vt)}):Mn}):ln}function Ga(At){let{prefixCls:It,mergedColumns:Vt,onSorterChange:$t,sortDirections:ln,tableLocale:tn,showSorterTooltip:Mn}=At;const[Cn,Sn]=ee.useState(dl(Vt,!0)),Kn=ee.useMemo(()=>{let Sr=!0;const ni=dl(Vt,!1);if(!ni.length)return Cn;const Yr=[];function ri(mi){Sr?Yr.push(mi):Yr.push(Object.assign(Object.assign({},mi),{sortOrder:null}))}let Jr=null;return ni.forEach(mi=>{Jr===null?(ri(mi),mi.sortOrder&&(mi.multiplePriority===!1?Sr=!1:Jr=!0)):(Jr&&mi.multiplePriority!==!1||(Sr=!1),ri(mi))}),Yr},[Vt,Cn]),rr=ee.useMemo(()=>{const Sr=Kn.map(ni=>{let{column:Yr,sortOrder:ri}=ni;return{column:Yr,order:ri}});return{sortColumns:Sr,sortColumn:Sr[0]&&Sr[0].column,sortOrder:Sr[0]&&Sr[0].order}},[Kn]);function Un(Sr){let ni;Sr.multiplePriority===!1||!Kn.length||Kn[0].multiplePriority===!1?ni=[Sr]:ni=[].concat((0,Rn.Z)(Kn.filter(Yr=>{let{key:ri}=Yr;return ri!==Sr.key})),[Sr]),Sn(ni),$t(xl(ni),ni)}return[Sr=>ic(It,Sr,Kn,Un,ln,tn,Mn),Kn,rr,()=>xl(Kn)]}function qa(At,It){return At.map(Vt=>{const $t=Object.assign({},Vt);return $t.title=pa(Vt.title,It),"children"in $t&&($t.children=qa($t.children,It)),$t})}function xs(At){return[ee.useCallback(Vt=>qa(Vt,At),[At])]}var qo=zr((At,It)=>{const{_renderTimes:Vt}=At,{_renderTimes:$t}=It;return Vt!==$t}),Js=pi((At,It)=>{const{_renderTimes:Vt}=At,{_renderTimes:$t}=It;return Vt!==$t}),ps=Te(64993),Zo=Te(17313),nl=Te(83116),rl=Te(37613),Bl=At=>{const{componentCls:It}=At,Vt=`${At.lineWidth}px ${At.lineType} ${At.tableBorderColor}`,$t=(ln,tn,Mn)=>({[`&${It}-${ln}`]:{[`> ${It}-container`]:{[`> ${It}-content, > ${It}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${It}-expanded-row-fixed`]:{margin:`-${tn}px -${Mn+At.lineWidth}px`}}}}}});return{[`${It}-wrapper`]:{[`${It}${It}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${It}-title`]:{border:Vt,borderBottom:0},[`> ${It}-container`]:{borderInlineStart:Vt,borderTop:Vt,[`
> ${It}-content,
> ${It}-header,
> ${It}-body,
> ${It}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Vt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Vt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${It}-cell-fix-right-first::after`]:{borderInlineEnd:Vt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${It}-expanded-row-fixed`]:{margin:`-${At.tablePaddingVertical}px -${At.tablePaddingHorizontal+At.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:At.lineWidth,bottom:0,borderInlineEnd:Vt,content:'""'}}}}}},[`&${It}-scroll-horizontal`]:{[`> ${It}-container > ${It}-body`]:{"> table > tbody":{[`
> tr${It}-expanded-row,
> tr${It}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},$t("middle",At.tablePaddingVerticalMiddle,At.tablePaddingHorizontalMiddle)),$t("small",At.tablePaddingVerticalSmall,At.tablePaddingHorizontalSmall)),{[`> ${It}-footer`]:{border:Vt,borderTop:0}}),[`${It}-cell`]:{[`${It}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${At.lineWidth}px 0 ${At.lineWidth}px ${At.tableHeaderBg}`}},[`${It}-bordered ${It}-cell-scrollbar`]:{borderInlineEnd:Vt}}}},yc=At=>{const{componentCls:It}=At;return{[`${It}-wrapper`]:{[`${It}-cell-ellipsis`]:Object.assign(Object.assign({},Zo.vS),{wordBreak:"keep-all",[`
&${It}-cell-fix-left-last,
&${It}-cell-fix-right-first
`]:{overflow:"visible",[`${It}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${It}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},xu=At=>{const{componentCls:It}=At;return{[`${It}-wrapper`]:{[`${It}-tbody > tr${It}-placeholder`]:{textAlign:"center",color:At.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:At.colorBgContainer}}}}},zc=Te(15969),qc=At=>{const{componentCls:It,antCls:Vt,controlInteractiveSize:$t,motionDurationSlow:ln,lineWidth:tn,paddingXS:Mn,lineType:Cn,tableBorderColor:Sn,tableExpandIconBg:Kn,tableExpandColumnWidth:rr,borderRadius:Un,fontSize:Er,fontSizeSM:yr,lineHeight:Sr,tablePaddingVertical:ni,tablePaddingHorizontal:Yr,tableExpandedRowBg:ri,paddingXXS:Jr}=At,mi=$t/2-tn,Ri=mi*2+tn*3,ji=`${tn}px ${Cn} ${Sn}`,Mi=Jr-tn;return{[`${It}-wrapper`]:{[`${It}-expand-icon-col`]:{width:rr},[`${It}-row-expand-icon-cell`]:{textAlign:"center",[`${It}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${It}-row-indent`]:{height:1,float:"left"},[`${It}-row-expand-icon`]:Object.assign(Object.assign({},(0,zc.N)(At)),{position:"relative",float:"left",boxSizing:"border-box",width:Ri,height:Ri,padding:0,color:"inherit",lineHeight:`${Ri}px`,background:Kn,border:ji,borderRadius:Un,transform:`scale(${$t/Ri})`,transition:`all ${ln}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ln} ease-out`,content:'""'},"&::before":{top:mi,insetInlineEnd:Mi,insetInlineStart:Mi,height:tn},"&::after":{top:Mi,bottom:Mi,insetInlineStart:mi,width:tn,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${It}-row-indent + ${It}-row-expand-icon`]:{marginTop:(Er*Sr-tn*3)/2-Math.ceil((yr*1.4-tn*3)/2),marginInlineEnd:Mn},[`tr${It}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ri}},[`${Vt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${It}-expanded-row-fixed`]:{position:"relative",margin:`-${ni}px -${Yr}px`,padding:`${ni}px ${Yr}px`}}}},wu=At=>{const{componentCls:It,antCls:Vt,iconCls:$t,tableFilterDropdownWidth:ln,tableFilterDropdownSearchWidth:tn,paddingXXS:Mn,paddingXS:Cn,colorText:Sn,lineWidth:Kn,lineType:rr,tableBorderColor:Un,tableHeaderIconColor:Er,fontSizeSM:yr,tablePaddingHorizontal:Sr,borderRadius:ni,motionDurationSlow:Yr,colorTextDescription:ri,colorPrimary:Jr,tableHeaderFilterActiveBg:mi,colorTextDisabled:Ri,tableFilterDropdownBg:ji,tableFilterDropdownHeight:Mi,controlItemBgHover:Ji,controlItemBgActive:sa,boxShadowSecondary:xi,filterDropdownMenuBg:Oi}=At,wi=`${Vt}-dropdown`,Vr=`${It}-filter-dropdown`,Ci=`${Vt}-tree`,Xi=`${Kn}px ${rr} ${Un}`;return[{[`${It}-wrapper`]:{[`${It}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${It}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Mn,marginInline:`${Mn}px ${-Sr/2}px`,padding:`0 ${Mn}px`,color:Er,fontSize:yr,borderRadius:ni,cursor:"pointer",transition:`all ${Yr}`,"&:hover":{color:ri,background:mi},"&.active":{color:Jr}}}},{[`${Vt}-dropdown`]:{[Vr]:Object.assign(Object.assign({},(0,Zo.Wf)(At)),{minWidth:ln,backgroundColor:ji,borderRadius:ni,boxShadow:xi,overflow:"hidden",[`${wi}-menu`]:{maxHeight:Mi,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Oi,"&:empty::after":{display:"block",padding:`${Cn}px 0`,color:Ri,fontSize:yr,textAlign:"center",content:'"Not Found"'}},[`${Vr}-tree`]:{paddingBlock:`${Cn}px 0`,paddingInline:Cn,[Ci]:{padding:0},[`${Ci}-treenode ${Ci}-node-content-wrapper:hover`]:{backgroundColor:Ji},[`${Ci}-treenode-checkbox-checked ${Ci}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:sa}}},[`${Vr}-search`]:{padding:Cn,borderBottom:Xi,"&-input":{input:{minWidth:tn},[$t]:{color:Ri}}},[`${Vr}-checkall`]:{width:"100%",marginBottom:Mn,marginInlineStart:Mn},[`${Vr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Cn-Kn}px ${Cn}px`,overflow:"hidden",borderTop:Xi}})}},{[`${Vt}-dropdown ${Vr}, ${Vr}-submenu`]:{[`${Vt}-checkbox-wrapper + span`]:{paddingInlineStart:Cn,color:Sn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},ac=At=>{const{componentCls:It,lineWidth:Vt,colorSplit:$t,motionDurationSlow:ln,zIndexTableFixed:tn,tableBg:Mn,zIndexTableSticky:Cn}=At,Sn=$t;return{[`${It}-wrapper`]:{[`
${It}-cell-fix-left,
${It}-cell-fix-right
`]:{position:"sticky !important",zIndex:tn,background:Mn},[`
${It}-cell-fix-left-first::after,
${It}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Vt,width:30,transform:"translateX(100%)",transition:`box-shadow ${ln}`,content:'""',pointerEvents:"none"},[`${It}-cell-fix-left-all::after`]:{display:"none"},[`
${It}-cell-fix-right-first::after,
${It}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-Vt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ln}`,content:'""',pointerEvents:"none"},[`${It}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Cn+1,width:30,transition:`box-shadow ${ln}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${It}-ping-left`]:{[`&:not(${It}-has-fix-left) ${It}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Sn}`}},[`
${It}-cell-fix-left-first::after,
${It}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Sn}`},[`${It}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${It}-ping-right`]:{[`&:not(${It}-has-fix-right) ${It}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Sn}`}},[`
${It}-cell-fix-right-first::after,
${It}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Sn}`}}}}},Cu=At=>{const{componentCls:It,antCls:Vt}=At;return{[`${It}-wrapper`]:{[`${It}-pagination${Vt}-pagination`]:{margin:`${At.margin}px 0`},[`${It}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:At.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Pl=At=>{const{componentCls:It,tableRadius:Vt}=At;return{[`${It}-wrapper`]:{[It]:{[`${It}-title, ${It}-header`]:{borderRadius:`${Vt}px ${Vt}px 0 0`},[`${It}-title + ${It}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${It}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Vt,borderStartEndRadius:Vt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Vt},"> *:last-child":{borderStartEndRadius:Vt}}},"&-footer":{borderRadius:`0 0 ${Vt}px ${Vt}px`}}}}},Yu=At=>{const{componentCls:It}=At;return{[`${It}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${It}-pagination-left`]:{justifyContent:"flex-end"},[`${It}-pagination-right`]:{justifyContent:"flex-start"},[`${It}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${It}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${It}-row-indent`]:{float:"right"}}}}},nu=At=>{const{componentCls:It,antCls:Vt,iconCls:$t,fontSizeIcon:ln,padding:tn,paddingXS:Mn,tableHeaderIconColor:Cn,tableHeaderIconColorHover:Sn,tableSelectionColumnWidth:Kn}=At;return{[`${It}-wrapper`]:{[`${It}-selection-col`]:{width:Kn,[`&${It}-selection-col-with-dropdown`]:{width:Kn+ln+tn/4}},[`${It}-bordered ${It}-selection-col`]:{width:Kn+Mn*2,[`&${It}-selection-col-with-dropdown`]:{width:Kn+ln+tn/4+Mn*2}},[`
table tr th${It}-selection-column,
table tr td${It}-selection-column
`]:{paddingInlineEnd:At.paddingXS,paddingInlineStart:At.paddingXS,textAlign:"center",[`${Vt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${It}-selection-column${It}-cell-fix-left`]:{zIndex:At.zIndexTableFixed+1},[`table tr th${It}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${It}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${It}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${At.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${At.tablePaddingHorizontal/4}px`,[$t]:{color:Cn,fontSize:ln,verticalAlign:"baseline","&:hover":{color:Sn}}}}}},sc=At=>{const{componentCls:It}=At,Vt=($t,ln,tn,Mn)=>({[`${It}${It}-${$t}`]:{fontSize:Mn,[`
${It}-title,
${It}-footer,
${It}-cell,
${It}-thead > tr > th,
${It}-tbody > tr > th,
${It}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${ln}px ${tn}px`},[`${It}-filter-trigger`]:{marginInlineEnd:`-${tn/2}px`},[`${It}-expanded-row-fixed`]:{margin:`-${ln}px -${tn}px`},[`${It}-tbody`]:{[`${It}-wrapper:only-child ${It}`]:{marginBlock:`-${ln}px`,marginInline:`${At.tableExpandColumnWidth-tn}px -${tn}px`}},[`${It}-selection-column`]:{paddingInlineStart:`${tn/4}px`}}});return{[`${It}-wrapper`]:Object.assign(Object.assign({},Vt("middle",At.tablePaddingVerticalMiddle,At.tablePaddingHorizontalMiddle,At.tableFontSizeMiddle)),Vt("small",At.tablePaddingVerticalSmall,At.tablePaddingHorizontalSmall,At.tableFontSizeSmall))}},Hc=At=>{const{componentCls:It,marginXXS:Vt,fontSizeIcon:$t,tableHeaderIconColor:ln,tableHeaderIconColorHover:tn}=At;return{[`${It}-wrapper`]:{[`${It}-thead th${It}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${At.motionDurationSlow}`,"&:hover":{background:At.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:At.colorPrimary},[`
&${It}-cell-fix-left:hover,
&${It}-cell-fix-right:hover
`]:{background:At.tableFixedHeaderSortActiveBg}},[`${It}-thead th${It}-column-sort`]:{background:At.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${It}-column-sort`]:{background:At.tableBodySortBg},[`${It}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${It}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${It}-column-sorter`]:{marginInlineStart:Vt,color:ln,fontSize:0,transition:`color ${At.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:$t,"&.active":{color:At.colorPrimary}},[`${It}-column-sorter-up + ${It}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${It}-column-sorters:hover ${It}-column-sorter`]:{color:tn}}}},Gl=At=>{const{componentCls:It,opacityLoading:Vt,tableScrollThumbBg:$t,tableScrollThumbBgHover:ln,tableScrollThumbSize:tn,tableScrollBg:Mn,zIndexTableSticky:Cn,stickyScrollBarBorderRadius:Sn}=At,Kn=`${At.lineWidth}px ${At.lineType} ${At.tableBorderColor}`;return{[`${It}-wrapper`]:{[`${It}-sticky`]:{"&-holder":{position:"sticky",zIndex:Cn,background:At.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${tn}px !important`,zIndex:Cn,display:"flex",alignItems:"center",background:Mn,borderTop:Kn,opacity:Vt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:tn,backgroundColor:$t,borderRadius:Sn,transition:`all ${At.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ln}}}}}}},Ll=At=>{const{componentCls:It,lineWidth:Vt,tableBorderColor:$t}=At,ln=`${Vt}px ${At.lineType} ${$t}`;return{[`${It}-wrapper`]:{[`${It}-summary`]:{position:"relative",zIndex:At.zIndexTableFixed,background:At.tableBg,"> tr":{"> th, > td":{borderBottom:ln}}},[`div${It}-summary`]:{boxShadow:`0 -${Vt}px 0 ${$t}`}}}},Rl=At=>{const{componentCls:It}=At,Vt=`${At.lineWidth}px ${At.lineType} ${At.tableBorderColor}`,$t=`${It}-expanded-row-cell`;return{[`${It}-wrapper`]:{[`${It}-tbody-virtual`]:{[`${It}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${It}-cell`]:{borderBottom:Vt},[`${It}-expanded-row`]:{[`${$t}${$t}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${At.lineWidth}px)`,borderInlineEnd:"none"}}},[`${It}-bordered`]:{[`${It}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Vt,position:"absolute"},[`${It}-cell`]:{borderInlineEnd:Vt,[`&${It}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-At.lineWidth,borderInlineStart:Vt}}}}}}};const Ws=At=>{const{componentCls:It,fontWeightStrong:Vt,tablePaddingVertical:$t,tablePaddingHorizontal:ln,lineWidth:tn,lineType:Mn,tableBorderColor:Cn,tableFontSize:Sn,tableBg:Kn,tableRadius:rr,tableHeaderTextColor:Un,motionDurationMid:Er,tableHeaderBg:yr,tableHeaderCellSplitColor:Sr,tableRowHoverBg:ni,tableSelectedRowBg:Yr,tableSelectedRowHoverBg:ri,tableFooterTextColor:Jr,tableFooterBg:mi,paddingContentVerticalLG:Ri}=At,ji=`${tn}px ${Mn} ${Cn}`;return{[`${It}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Zo.dF)()),{[It]:Object.assign(Object.assign({},(0,Zo.Wf)(At)),{fontSize:Sn,background:Kn,borderRadius:`${rr}px ${rr}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${rr}px ${rr}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${It}-cell,
${It}-thead > tr > th,
${It}-tbody > tr > th,
${It}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Ri}px ${ln}px`,overflowWrap:"break-word"},[`${It}-title`]:{padding:`${$t}px ${ln}px`},[`${It}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Un,fontWeight:Vt,textAlign:"start",background:yr,borderBottom:ji,transition:`background ${Er} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${It}-selection-column):not(${It}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Sr,transform:"translateY(-50%)",transition:`background-color ${Er}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${It}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Er}, border-color ${Er}`,borderBottom:ji,[`
> ${It}-wrapper:only-child,
> ${It}-expanded-row-fixed > ${It}-wrapper:only-child
`]:{[It]:{marginBlock:`-${$t}px`,marginInline:`${At.tableExpandColumnWidth-ln}px -${ln}px`,[`${It}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Un,fontWeight:Vt,textAlign:"start",background:yr,borderBottom:ji,transition:`background ${Er} ease`},[`
&${It}-row:hover > th,
&${It}-row:hover > td,
> th${It}-cell-row-hover,
> td${It}-cell-row-hover
`]:{background:ni},[`&${It}-row-selected`]:{"> th, > td":{background:Yr},"&:hover > th, &:hover > td":{background:ri}}}},[`${It}-footer`]:{padding:`${$t}px ${ln}px`,color:Jr,background:mi}})}};var Xl=(0,nl.Z)("Table",At=>{const{colorTextHeading:It,colorSplit:Vt,colorIcon:$t,colorIconHover:ln,opacityLoading:tn,colorBgContainer:Mn,controlInteractiveSize:Cn,headerBg:Sn,headerColor:Kn,headerSortActiveBg:rr,headerSortHoverBg:Un,bodySortBg:Er,rowHoverBg:yr,rowSelectedBg:Sr,rowSelectedHoverBg:ni,rowExpandedBg:Yr,cellPaddingBlock:ri,cellPaddingInline:Jr,cellPaddingBlockMD:mi,cellPaddingInlineMD:Ri,cellPaddingBlockSM:ji,cellPaddingInlineSM:Mi,borderColor:Ji,footerBg:sa,footerColor:xi,headerBorderRadius:Oi,cellFontSize:wi,cellFontSizeMD:Vr,cellFontSizeSM:Ci,headerSplitColor:Xi,fixedHeaderSortActiveBg:ga,headerFilterHoverBg:Wi,filterDropdownBg:ai,expandIconBg:ra,selectionColumnWidth:la,stickyScrollBarBg:_a}=At,Ia=new ps.C($t),lo=new ps.C(ln),eo=2,oa=(0,rl.TS)(At,{tableFontSize:wi,tableBg:Mn,tableRadius:Oi,tablePaddingVertical:ri,tablePaddingHorizontal:Jr,tablePaddingVerticalMiddle:mi,tablePaddingHorizontalMiddle:Ri,tablePaddingVerticalSmall:ji,tablePaddingHorizontalSmall:Mi,tableBorderColor:Ji,tableHeaderTextColor:Kn,tableHeaderBg:Sn,tableFooterTextColor:xi,tableFooterBg:sa,tableHeaderCellSplitColor:Xi,tableHeaderSortBg:rr,tableHeaderSortHoverBg:Un,tableHeaderIconColor:Ia.clone().setAlpha(Ia.getAlpha()*tn).toRgbString(),tableHeaderIconColorHover:lo.clone().setAlpha(lo.getAlpha()*tn).toRgbString(),tableBodySortBg:Er,tableFixedHeaderSortActiveBg:ga,tableHeaderFilterActiveBg:Wi,tableFilterDropdownBg:ai,tableRowHoverBg:yr,tableSelectedRowBg:Sr,tableSelectedRowHoverBg:ni,zIndexTableFixed:eo,zIndexTableSticky:eo+1,tableFontSizeMiddle:Vr,tableFontSizeSmall:Ci,tableSelectionColumnWidth:la,tableExpandIconBg:ra,tableExpandColumnWidth:Cn+2*At.padding,tableExpandedRowBg:Yr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:_a,tableScrollThumbBgHover:It,tableScrollBg:Vt});return[Ws(oa),Cu(oa),Ll(oa),Hc(oa),wu(oa),Bl(oa),Pl(oa),qc(oa),Ll(oa),xu(oa),nu(oa),ac(oa),Gl(oa),yc(oa),sc(oa),Yu(oa),Rl(oa)]},At=>{const{colorFillAlter:It,colorBgContainer:Vt,colorTextHeading:$t,colorFillSecondary:ln,colorFillContent:tn,controlItemBgActive:Mn,controlItemBgActiveHover:Cn,padding:Sn,paddingSM:Kn,paddingXS:rr,colorBorderSecondary:Un,borderRadiusLG:Er,fontSize:yr,controlHeight:Sr,colorTextPlaceholder:ni}=At,Yr=new ps.C(ln).onBackground(Vt).toHexShortString(),ri=new ps.C(tn).onBackground(Vt).toHexShortString(),Jr=new ps.C(It).onBackground(Vt).toHexShortString();return{headerBg:Jr,headerColor:$t,headerSortActiveBg:Yr,headerSortHoverBg:ri,bodySortBg:Jr,rowHoverBg:Jr,rowSelectedBg:Mn,rowSelectedHoverBg:Cn,rowExpandedBg:It,cellPaddingBlock:Sn,cellPaddingInline:Sn,cellPaddingBlockMD:Kn,cellPaddingInlineMD:rr,cellPaddingBlockSM:rr,cellPaddingInlineSM:rr,borderColor:Un,headerBorderRadius:Er,footerBg:Jr,footerColor:$t,cellFontSize:yr,cellFontSizeMD:yr,cellFontSizeSM:yr,headerSplitColor:Un,fixedHeaderSortActiveBg:Yr,headerFilterHoverBg:tn,filterDropdownMenuBg:Vt,filterDropdownBg:Vt,expandIconBg:Vt,selectionColumnWidth:Sr,stickyScrollBarBg:ni,stickyScrollBarBorderRadius:100}});const ru=[],Eu=(At,It)=>{const{prefixCls:Vt,className:$t,rootClassName:ln,style:tn,size:Mn,bordered:Cn,dropdownPrefixCls:Sn,dataSource:Kn,pagination:rr,rowSelection:Un,rowKey:Er="key",rowClassName:yr,columns:Sr,children:ni,childrenColumnName:Yr,onChange:ri,getPopupContainer:Jr,loading:mi,expandIcon:Ri,expandable:ji,expandedRowRender:Mi,expandIconColumnIndex:Ji,indentSize:sa,scroll:xi,sortDirections:Oi,locale:wi,showSorterTooltip:Vr=!0,virtual:Ci}=At,Xi=ee.useMemo(()=>Sr||kt(ni),[Sr,ni]),ga=ee.useMemo(()=>Xi.some(Pa=>Pa.responsive),[Xi]),Wi=(0,xa.Z)(ga),ai=ee.useMemo(()=>{const Pa=new Set(Object.keys(Wi).filter(Ya=>Wi[Ya]));return Xi.filter(Ya=>!Ya.responsive||Ya.responsive.some(jo=>Pa.has(jo)))},[Xi,Wi]),ra=(0,Ai.Z)(At,["className","style","columns"]),{locale:la=wa.Z,direction:_a,table:Ia,renderEmpty:lo,getPrefixCls:eo,getPopupContainer:oa}=ee.useContext(ca.E_),Co=(0,Hi.Z)(Mn),Aa=Object.assign(Object.assign({},la.Table),wi),ao=Kn||ru,to=eo("table",Vt),Bo=eo("dropdown",Sn),Zi=Object.assign({childrenColumnName:Yr,expandIconColumnIndex:Ji},ji),{childrenColumnName:Fi="children"}=Zi,zi=ee.useMemo(()=>ao.some(Pa=>Pa==null?void 0:Pa[Fi])?"nest":Mi||ji&&ji.expandedRowRender?"row":null,[ao]),Pi={body:ee.useRef()},Ba=ee.useMemo(()=>typeof Er=="function"?Er:Pa=>Pa==null?void 0:Pa[Er],[Er]),[Ni]=hs(ao,Fi,Ba),ia={},ka=function(Pa,Ya){let jo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ja,Fo,rs;const Ms=Object.assign(Object.assign({},ia),Pa);jo&&((Ja=ia.resetPagination)===null||Ja===void 0||Ja.call(ia),!((Fo=Ms.pagination)===null||Fo===void 0)&&Fo.current&&(Ms.pagination.current=1),rr&&rr.onChange&&rr.onChange(1,(rs=Ms.pagination)===null||rs===void 0?void 0:rs.pageSize)),xi&&xi.scrollToFirstRowOnChange!==!1&&Pi.body.current&&(0,da.Z)(0,{getContainer:()=>Pi.body.current}),ri==null||ri(Ms.pagination,Ms.filters,Ms.sorter,{currentDataSource:Ao(Ka(ao,Ms.sorterStates,Fi),Ms.filterStates),action:Ya})},Ea=(Pa,Ya)=>{ka({sorter:Pa,sorterStates:Ya},"sort",!1)},[es,Po,Zs,Eo]=Ga({prefixCls:to,mergedColumns:ai,onSorterChange:Ea,sortDirections:Oi||["ascend","descend"],tableLocale:Aa,showSorterTooltip:Vr}),Qs=ee.useMemo(()=>Ka(ao,Po,Fi),[ao,Po]);ia.sorter=Eo(),ia.sorterStates=Po;const Mo=(Pa,Ya)=>{ka({filters:Pa,filterStates:Ya},"filter",!0)},[Uo,wl,Da]=Ho({prefixCls:to,locale:Aa,dropdownPrefixCls:Bo,mergedColumns:ai,onFilterChange:Mo,getPopupContainer:Jr||oa}),Zr=Ao(Qs,wl);ia.filters=Da,ia.filterStates=wl;const Fa=ee.useMemo(()=>{const Pa={};return Object.keys(Da).forEach(Ya=>{Da[Ya]!==null&&(Pa[Ya]=Da[Ya])}),Object.assign(Object.assign({},Zs),{filters:Pa})},[Zs,Da]),[Oo]=xs(Fa),Lo=(Pa,Ya)=>{ka({pagination:Object.assign(Object.assign({},ia.pagination),{current:Pa,pageSize:Ya})},"paginate")},[qi,Ua]=Ns(Zr.length,Lo,rr);ia.pagination=rr===!1?{}:vo(qi,rr),ia.resetPagination=Ua;const Vo=ee.useMemo(()=>{if(rr===!1||!qi.pageSize)return Zr;const{current:Pa=1,total:Ya,pageSize:jo=ko}=qi;return Zr.length<Ya?Zr.length>jo?Zr.slice((Pa-1)*jo,Pa*jo):Zr:Zr.slice((Pa-1)*jo,Pa*jo)},[!!rr,Zr,qi&&qi.current,qi&&qi.pageSize,qi&&qi.total]),[js,hl]=_s({prefixCls:to,data:Zr,pageData:Vo,getRowKey:Ba,getRecordByKey:Ni,expandType:zi,childrenColumnName:Fi,locale:Aa,getPopupContainer:Jr||oa},Un),ws=(Pa,Ya,jo)=>{let Ja;return typeof yr=="function"?Ja=Ie()(yr(Pa,Ya,jo)):Ja=Ie()(yr),Ie()({[`${to}-row-selected`]:hl.has(Ba(Pa,Ya))},Ja)};Zi.__PARENT_RENDER_ICON__=Zi.expandIcon,Zi.expandIcon=Zi.expandIcon||Ri||Yi(Aa),zi==="nest"&&Zi.expandIconColumnIndex===void 0?Zi.expandIconColumnIndex=Un?1:0:Zi.expandIconColumnIndex>0&&Un&&(Zi.expandIconColumnIndex-=1),typeof Zi.indentSize!="number"&&(Zi.indentSize=typeof sa=="number"?sa:15);const ts=ee.useCallback(Pa=>Oo(js(Uo(es(Pa)))),[es,Uo,js]);let al,ns;if(rr!==!1&&(qi!=null&&qi.total)){let Pa;qi.size?Pa=qi.size:Pa=Co==="small"||Co==="middle"?"small":void 0;const Ya=Fo=>ee.createElement(jr.Z,Object.assign({},qi,{className:Ie()(`${to}-pagination ${to}-pagination-${Fo}`,qi.className),size:Pa})),jo=_a==="rtl"?"left":"right",{position:Ja}=qi;if(Ja!==null&&Array.isArray(Ja)){const Fo=Ja.find(Cl=>Cl.includes("top")),rs=Ja.find(Cl=>Cl.includes("bottom")),Ms=Ja.every(Cl=>`${Cl}`=="none");!Fo&&!rs&&!Ms&&(ns=Ya(jo)),Fo&&(al=Ya(Fo.toLowerCase().replace("top",""))),rs&&(ns=Ya(rs.toLowerCase().replace("bottom","")))}else ns=Ya(jo)}let Ss;typeof mi=="boolean"?Ss={spinning:mi}:typeof mi=="object"&&(Ss=Object.assign({spinning:!0},mi));const[cs,co]=Xl(to),[,uo]=(0,Nr.Z)(),ms=Ie()(`${to}-wrapper`,Ia==null?void 0:Ia.className,{[`${to}-wrapper-rtl`]:_a==="rtl"},$t,ln,co),Sl=Object.assign(Object.assign({},Ia==null?void 0:Ia.style),tn),Us=wi&&wi.emptyText||(lo==null?void 0:lo("Table"))||ee.createElement($i.Z,{componentName:"Table"}),pl=Ci?Js:qo,_l={},iu=ee.useMemo(()=>{const{fontSize:Pa,lineHeight:Ya,padding:jo,paddingXS:Ja,paddingSM:Fo}=uo,rs=Math.floor(Pa*Ya);switch(Co){case"large":return jo*2+rs;case"small":return Ja*2+rs;default:return Fo*2+rs}},[uo,Co]);return Ci&&(_l.listItemHeight=iu),cs(ee.createElement("div",{ref:It,className:ms,style:Sl},ee.createElement(_r.Z,Object.assign({spinning:!1},Ss),al,ee.createElement(pl,Object.assign({},_l,ra,{columns:ai,direction:_a,expandable:Zi,prefixCls:to,className:Ie()({[`${to}-middle`]:Co==="middle",[`${to}-small`]:Co==="small",[`${to}-bordered`]:Cn,[`${to}-empty`]:ao.length===0}),data:Vo,rowKey:Ba,rowClassName:ws,emptyText:Us,internalHooks:bt,internalRefs:Pi,transformColumns:ts})),ns)))};var Au=ee.forwardRef(Eu);const $u=(At,It)=>{const Vt=ee.useRef(0);return Vt.current+=1,ee.createElement(Au,Object.assign({},At,{ref:It,_renderTimes:Vt.current}))},ks=ee.forwardRef($u);ks.SELECTION_COLUMN=yo,ks.EXPAND_COLUMN=Ne,ks.SELECTION_ALL=io,ks.SELECTION_INVERT=Wo,ks.SELECTION_NONE=Jo,ks.Column=Ir,ks.ColumnGroup=vi,ks.Summary=Ke;var Nl=ks,qu=Nl},99313:function(kn,Qt,Te){"use strict";Te.d(Qt,{default:function(){return Ht}});var Ne=Te(99267),bt=Te(18785),E=Te(62772),je=Te(92310),ve=Te.n(je),ne=Te(60499),ee=Te(18642),ie=Te(85899),oe=Te(72190),le=Te(43749),pe=Te(42244),re=Te(59301),ae=Te(49658),ce=Te(18929),de=Te(77900),me=(0,re.createContext)(null),we=re.forwardRef(function(kt,Rt){var Lt=kt.prefixCls,Bt=kt.className,Ut=kt.style,Yt=kt.id,hn=kt.active,fn=kt.tabKey,wn=kt.children;return re.createElement("div",{id:Yt&&"".concat(Yt,"-panel-").concat(fn),role:"tabpanel",tabIndex:hn?0:-1,"aria-labelledby":Yt&&"".concat(Yt,"-tab-").concat(fn),"aria-hidden":!hn,style:Ut,className:ve()(Lt,hn&&"".concat(Lt,"-active"),Bt),ref:Rt},wn)}),xe=we,Ae=["key","forceRender","style","className"];function ye(kt){var Rt=kt.id,Lt=kt.activeKey,Bt=kt.animated,Ut=kt.tabPosition,Yt=kt.destroyInactiveTabPane,hn=re.useContext(me),fn=hn.prefixCls,wn=hn.tabs,Ln=Bt.tabPane,Tn="".concat(fn,"-tabpane");return re.createElement("div",{className:ve()("".concat(fn,"-content-holder"))},re.createElement("div",{className:ve()("".concat(fn,"-content"),"".concat(fn,"-content-").concat(Ut),(0,ee.Z)({},"".concat(fn,"-content-animated"),Ln))},wn.map(function(zn){var nn=zn.key,In=zn.forceRender,Xt=zn.style,en=zn.className,sn=(0,pe.Z)(zn,Ae),mn=nn===Lt;return re.createElement(de.default,(0,ne.Z)({key:nn,visible:mn,forceRender:In,removeOnLeave:!!Yt,leavedClassName:"".concat(Tn,"-hidden")},Bt.tabPaneMotion),function(Bn,cn){var pn=Bn.style,Tt=Bn.className;return re.createElement(xe,(0,ne.Z)({},sn,{prefixCls:Tn,id:Rt,tabKey:nn,animated:Ln,active:mn,style:(0,ie.Z)((0,ie.Z)({},Xt),pn),className:ve()(en,Tt),ref:cn}))})})))}var Ee=Te(77654),Le=Te(29301),Ce=Te(6089),_e=Te(8654),Me={width:0,height:0,left:0,top:0};function De(kt,Rt,Lt){return(0,re.useMemo)(function(){for(var Bt,Ut=new Map,Yt=Rt.get((Bt=kt[0])===null||Bt===void 0?void 0:Bt.key)||Me,hn=Yt.left+Yt.width,fn=0;fn<kt.length;fn+=1){var wn=kt[fn].key,Ln=Rt.get(wn);if(!Ln){var Tn;Ln=Rt.get((Tn=kt[fn-1])===null||Tn===void 0?void 0:Tn.key)||Me}var zn=Ut.get(wn)||(0,ie.Z)({},Ln);zn.right=hn-zn.left-zn.width,Ut.set(wn,zn)}return Ut},[kt.map(function(Bt){return Bt.key}).join("_"),Rt,Lt])}function Se(kt,Rt){var Lt=re.useRef(kt),Bt=re.useState({}),Ut=(0,oe.Z)(Bt,2),Yt=Ut[1];function hn(fn){var wn=typeof fn=="function"?fn(Lt.current):fn;wn!==Lt.current&&Rt(wn,Lt.current),Lt.current=wn,Yt({})}return[Lt.current,hn]}var Be=.1,Re=.01,Xe=20,Ie=Math.pow(.995,Xe);function Ye(kt,Rt){var Lt=(0,re.useState)(),Bt=(0,oe.Z)(Lt,2),Ut=Bt[0],Yt=Bt[1],hn=(0,re.useState)(0),fn=(0,oe.Z)(hn,2),wn=fn[0],Ln=fn[1],Tn=(0,re.useState)(0),zn=(0,oe.Z)(Tn,2),nn=zn[0],In=zn[1],Xt=(0,re.useState)(),en=(0,oe.Z)(Xt,2),sn=en[0],mn=en[1],Bn=(0,re.useRef)();function cn(dn){var yn=dn.touches[0],bn=yn.screenX,_n=yn.screenY;Yt({x:bn,y:_n}),window.clearInterval(Bn.current)}function pn(dn){if(Ut){dn.preventDefault();var yn=dn.touches[0],bn=yn.screenX,_n=yn.screenY;Yt({x:bn,y:_n});var Qn=bn-Ut.x,ar=_n-Ut.y;Rt(Qn,ar);var gr=Date.now();Ln(gr),In(gr-wn),mn({x:Qn,y:ar})}}function Tt(){if(Ut&&(Yt(null),mn(null),sn)){var dn=sn.x/nn,yn=sn.y/nn,bn=Math.abs(dn),_n=Math.abs(yn);if(Math.max(bn,_n)<Be)return;var Qn=dn,ar=yn;Bn.current=window.setInterval(function(){if(Math.abs(Qn)<Re&&Math.abs(ar)<Re){window.clearInterval(Bn.current);return}Qn*=Ie,ar*=Ie,Rt(Qn*Xe,ar*Xe)},Xe)}}var Jt=(0,re.useRef)();function qt(dn){var yn=dn.deltaX,bn=dn.deltaY,_n=0,Qn=Math.abs(yn),ar=Math.abs(bn);Qn===ar?_n=Jt.current==="x"?yn:bn:Qn>ar?(_n=yn,Jt.current="x"):(_n=bn,Jt.current="y"),Rt(-_n,-_n)&&dn.preventDefault()}var un=(0,re.useRef)(null);un.current={onTouchStart:cn,onTouchMove:pn,onTouchEnd:Tt,onWheel:qt},re.useEffect(function(){function dn(Qn){un.current.onTouchStart(Qn)}function yn(Qn){un.current.onTouchMove(Qn)}function bn(Qn){un.current.onTouchEnd(Qn)}function _n(Qn){un.current.onWheel(Qn)}return document.addEventListener("touchmove",yn,{passive:!1}),document.addEventListener("touchend",bn,{passive:!1}),kt.current.addEventListener("touchstart",dn,{passive:!1}),kt.current.addEventListener("wheel",_n),function(){document.removeEventListener("touchmove",yn),document.removeEventListener("touchend",bn)}},[])}var Ge=Te(34280);function qe(kt){var Rt=(0,re.useState)(0),Lt=(0,oe.Z)(Rt,2),Bt=Lt[0],Ut=Lt[1],Yt=(0,re.useRef)(0),hn=(0,re.useRef)();return hn.current=kt,(0,Ge.o)(function(){var fn;(fn=hn.current)===null||fn===void 0||fn.call(hn)},[Bt]),function(){Yt.current===Bt&&(Yt.current+=1,Ut(Yt.current))}}function it(kt){var Rt=(0,re.useRef)([]),Lt=(0,re.useState)({}),Bt=(0,oe.Z)(Lt,2),Ut=Bt[1],Yt=(0,re.useRef)(typeof kt=="function"?kt():kt),hn=qe(function(){var wn=Yt.current;Rt.current.forEach(function(Ln){wn=Ln(wn)}),Rt.current=[],Yt.current=wn,Ut({})});function fn(wn){Rt.current.push(wn),hn()}return[Yt.current,fn]}var st={width:0,height:0,left:0,top:0,right:0};function Ve(kt,Rt,Lt,Bt,Ut,Yt,hn){var fn=hn.tabs,wn=hn.tabPosition,Ln=hn.rtl,Tn,zn,nn;return["top","bottom"].includes(wn)?(Tn="width",zn=Ln?"right":"left",nn=Math.abs(Lt)):(Tn="height",zn="top",nn=-Lt),(0,re.useMemo)(function(){if(!fn.length)return[0,0];for(var In=fn.length,Xt=In,en=0;en<In;en+=1){var sn=kt.get(fn[en].key)||st;if(sn[zn]+sn[Tn]>nn+Rt){Xt=en-1;break}}for(var mn=0,Bn=In-1;Bn>=0;Bn-=1){var cn=kt.get(fn[Bn].key)||st;if(cn[zn]<nn){mn=Bn+1;break}}return mn>=Xt?[0,0]:[mn,Xt]},[kt,Rt,Bt,Ut,Yt,nn,wn,fn.map(function(In){return In.key}).join("_"),Ln])}function Qe(kt){var Rt;return kt instanceof Map?(Rt={},kt.forEach(function(Lt,Bt){Rt[Bt]=Lt})):Rt=kt,JSON.stringify(Rt)}var nt="TABS_DQ";function dt(kt){return String(kt).replace(/"/g,nt)}function at(kt,Rt,Lt,Bt){return!(!Lt||Bt||kt===!1||kt===void 0&&(Rt===!1||Rt===null))}function tt(kt,Rt){var Lt=kt.prefixCls,Bt=kt.editable,Ut=kt.locale,Yt=kt.style;return!Bt||Bt.showAdd===!1?null:re.createElement("button",{ref:Rt,type:"button",className:"".concat(Lt,"-nav-add"),style:Yt,"aria-label":(Ut==null?void 0:Ut.addAriaLabel)||"Add tab",onClick:function(fn){Bt.onEdit("add",{event:fn})}},Bt.addIcon||"+")}var et=re.forwardRef(tt),ot=re.forwardRef(function(kt,Rt){var Lt=kt.position,Bt=kt.prefixCls,Ut=kt.extra;if(!Ut)return null;var Yt,hn={};return(0,le.Z)(Ut)==="object"&&!re.isValidElement(Ut)?hn=Ut:hn.right=Ut,Lt==="right"&&(Yt=hn.right),Lt==="left"&&(Yt=hn.left),Yt?re.createElement("div",{className:"".concat(Bt,"-extra-content"),ref:Rt},Yt):null}),yt=ot,pt=Te(31561),Pt=Te(15285),Mt=Te(10228);function ct(kt,Rt){var Lt=kt.prefixCls,Bt=kt.id,Ut=kt.tabs,Yt=kt.locale,hn=kt.mobile,fn=kt.moreIcon,wn=fn===void 0?"More":fn,Ln=kt.moreTransitionName,Tn=kt.style,zn=kt.className,nn=kt.editable,In=kt.tabBarGutter,Xt=kt.rtl,en=kt.removeAriaLabel,sn=kt.onTabClick,mn=kt.getPopupContainer,Bn=kt.popupClassName,cn=(0,re.useState)(!1),pn=(0,oe.Z)(cn,2),Tt=pn[0],Jt=pn[1],qt=(0,re.useState)(null),un=(0,oe.Z)(qt,2),dn=un[0],yn=un[1],bn="".concat(Bt,"-more-popup"),_n="".concat(Lt,"-dropdown"),Qn=dn!==null?"".concat(bn,"-").concat(dn):null,ar=Yt==null?void 0:Yt.dropdownAriaLabel;function gr(Rr,Cr){Rr.preventDefault(),Rr.stopPropagation(),nn.onEdit("remove",{key:Cr,event:Rr})}var mr=re.createElement(Pt.ZP,{onClick:function(Cr){var Ar=Cr.key,Gr=Cr.domEvent;sn(Ar,Gr),Jt(!1)},prefixCls:"".concat(_n,"-menu"),id:bn,tabIndex:-1,role:"listbox","aria-activedescendant":Qn,selectedKeys:[dn],"aria-label":ar!==void 0?ar:"expanded dropdown"},Ut.map(function(Rr){var Cr=Rr.closable,Ar=Rr.disabled,Gr=Rr.closeIcon,Kr=Rr.key,oi=Rr.label,Di=at(Cr,Gr,nn,Ar);return re.createElement(Pt.sN,{key:Kr,id:"".concat(bn,"-").concat(Kr),role:"option","aria-controls":Bt&&"".concat(Bt,"-panel-").concat(Kr),disabled:Ar},re.createElement("span",null,oi),Di&&re.createElement("button",{type:"button","aria-label":en||"remove",tabIndex:0,className:"".concat(_n,"-menu-item-remove"),onClick:function(or){or.stopPropagation(),gr(or,Kr)}},Gr||nn.removeIcon||"\xD7"))}));function zr(Rr){for(var Cr=Ut.filter(function(Di){return!Di.disabled}),Ar=Cr.findIndex(function(Di){return Di.key===dn})||0,Gr=Cr.length,Kr=0;Kr<Gr;Kr+=1){Ar=(Ar+Rr+Gr)%Gr;var oi=Cr[Ar];if(!oi.disabled){yn(oi.key);return}}}function Mr(Rr){var Cr=Rr.which;if(!Tt){[Mt.Z.DOWN,Mt.Z.SPACE,Mt.Z.ENTER].includes(Cr)&&(Jt(!0),Rr.preventDefault());return}switch(Cr){case Mt.Z.UP:zr(-1),Rr.preventDefault();break;case Mt.Z.DOWN:zr(1),Rr.preventDefault();break;case Mt.Z.ESC:Jt(!1);break;case Mt.Z.SPACE:case Mt.Z.ENTER:dn!==null&&sn(dn,Rr);break}}(0,re.useEffect)(function(){var Rr=document.getElementById(Qn);Rr&&Rr.scrollIntoView&&Rr.scrollIntoView(!1)},[dn]),(0,re.useEffect)(function(){Tt||yn(null)},[Tt]);var lr=(0,ee.Z)({},Xt?"marginRight":"marginLeft",In);Ut.length||(lr.visibility="hidden",lr.order=1);var ur=ve()((0,ee.Z)({},"".concat(_n,"-rtl"),Xt)),dr=hn?null:re.createElement(pt.Z,{prefixCls:_n,overlay:mr,trigger:["hover"],visible:Ut.length?Tt:!1,transitionName:Ln,onVisibleChange:Jt,overlayClassName:ve()(ur,Bn),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:mn},re.createElement("button",{type:"button",className:"".concat(Lt,"-nav-more"),style:lr,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":bn,id:"".concat(Bt,"-more"),"aria-expanded":Tt,onKeyDown:Mr},wn));return re.createElement("div",{className:ve()("".concat(Lt,"-nav-operations"),zn),style:Tn,ref:Rt},dr,re.createElement(et,{prefixCls:Lt,locale:Yt,editable:nn}))}var Je=re.memo(re.forwardRef(ct),function(kt,Rt){return Rt.tabMoving});function Ze(kt){var Rt,Lt=kt.prefixCls,Bt=kt.id,Ut=kt.active,Yt=kt.tab,hn=Yt.key,fn=Yt.label,wn=Yt.disabled,Ln=Yt.closeIcon,Tn=kt.closable,zn=kt.renderWrapper,nn=kt.removeAriaLabel,In=kt.editable,Xt=kt.onClick,en=kt.onFocus,sn=kt.style,mn="".concat(Lt,"-tab"),Bn=at(Tn,Ln,In,wn);function cn(Jt){wn||Xt(Jt)}function pn(Jt){Jt.preventDefault(),Jt.stopPropagation(),In.onEdit("remove",{key:hn,event:Jt})}var Tt=re.createElement("div",{key:hn,"data-node-key":dt(hn),className:ve()(mn,(Rt={},(0,ee.Z)(Rt,"".concat(mn,"-with-remove"),Bn),(0,ee.Z)(Rt,"".concat(mn,"-active"),Ut),(0,ee.Z)(Rt,"".concat(mn,"-disabled"),wn),Rt)),style:sn,onClick:cn},re.createElement("div",{role:"tab","aria-selected":Ut,id:Bt&&"".concat(Bt,"-tab-").concat(hn),className:"".concat(mn,"-btn"),"aria-controls":Bt&&"".concat(Bt,"-panel-").concat(hn),"aria-disabled":wn,tabIndex:wn?null:0,onClick:function(qt){qt.stopPropagation(),cn(qt)},onKeyDown:function(qt){[Mt.Z.SPACE,Mt.Z.ENTER].includes(qt.which)&&(qt.preventDefault(),cn(qt))},onFocus:en},fn),Bn&&re.createElement("button",{type:"button","aria-label":nn||"remove",tabIndex:0,className:"".concat(mn,"-remove"),onClick:function(qt){qt.stopPropagation(),pn(qt)}},Ln||In.removeIcon||"\xD7"));return zn?zn(Tt):Tt}var ue=Ze,he=Te(16089),He=function(Rt){var Lt=Rt.activeTabOffset,Bt=Rt.horizontal,Ut=Rt.rtl,Yt=Rt.indicatorSize,hn=(0,re.useState)(),fn=(0,oe.Z)(hn,2),wn=fn[0],Ln=fn[1],Tn=(0,re.useRef)(),zn=function(Xt){return typeof Yt=="function"?Yt(Xt):typeof Yt=="number"?Yt:Xt};function nn(){he.Z.cancel(Tn.current)}return(0,re.useEffect)(function(){var In={};return Lt&&(Bt?(Ut?(In.right=Lt.right+Lt.width/2,In.transform="translateX(50%)"):(In.left=Lt.left+Lt.width/2,In.transform="translateX(-50%)"),In.width=zn(Lt.width)):(In.top=Lt.top+Lt.height/2,In.transform="translateY(-50%)",In.height=zn(Lt.height))),nn(),Tn.current=(0,he.Z)(function(){Ln(In)}),nn},[Lt,Bt,Ut,Yt]),{style:wn}},We=He,fe=function(Rt){var Lt=Rt.current||{},Bt=Lt.offsetWidth,Ut=Bt===void 0?0:Bt,Yt=Lt.offsetHeight,hn=Yt===void 0?0:Yt;return[Ut,hn]},Pe=function(Rt,Lt){return Rt[Lt?0:1]};function Fe(kt,Rt){var Lt,Bt=re.useContext(me),Ut=Bt.prefixCls,Yt=Bt.tabs,hn=kt.className,fn=kt.style,wn=kt.id,Ln=kt.animated,Tn=kt.activeKey,zn=kt.rtl,nn=kt.extra,In=kt.editable,Xt=kt.locale,en=kt.tabPosition,sn=kt.tabBarGutter,mn=kt.children,Bn=kt.onTabClick,cn=kt.onTabScroll,pn=kt.indicatorSize,Tt=(0,re.useRef)(),Jt=(0,re.useRef)(),qt=(0,re.useRef)(),un=(0,re.useRef)(),dn=(0,re.useRef)(),yn=(0,re.useRef)(),bn=(0,re.useRef)(),_n=en==="top"||en==="bottom",Qn=Se(0,function(hi,ki){_n&&cn&&cn({direction:hi>ki?"left":"right"})}),ar=(0,oe.Z)(Qn,2),gr=ar[0],mr=ar[1],zr=Se(0,function(hi,ki){!_n&&cn&&cn({direction:hi>ki?"top":"bottom"})}),Mr=(0,oe.Z)(zr,2),lr=Mr[0],ur=Mr[1],dr=(0,re.useState)([0,0]),Rr=(0,oe.Z)(dr,2),Cr=Rr[0],Ar=Rr[1],Gr=(0,re.useState)([0,0]),Kr=(0,oe.Z)(Gr,2),oi=Kr[0],Di=Kr[1],Hr=(0,re.useState)([0,0]),or=(0,oe.Z)(Hr,2),ir=or[0],ti=or[1],Ur=(0,re.useState)([0,0]),ui=(0,oe.Z)(Ur,2),gi=ui[0],pi=ui[1],ei=it(new Map),li=(0,oe.Z)(ei,2),ta=li[0],Ir=li[1],Wr=De(Yt,ta,oi[0]),vi=Pe(Cr,_n),Ai=Pe(oi,_n),da=Pe(ir,_n),ca=Pe(gi,_n),$i=vi<Ai+da,Hi=$i?vi-ca:vi-da,xa="".concat(Ut,"-nav-operations-hidden"),wa=0,jr=0;_n&&zn?(wa=0,jr=Math.max(0,Ai-Hi)):(wa=Math.min(0,Hi-Ai),jr=0);function _r(hi){return hi<wa?wa:hi>jr?jr:hi}var Nr=(0,re.useRef)(),$r=(0,re.useState)(),Yi=(0,oe.Z)($r,2),fa=Yi[0],va=Yi[1];function pa(){va(Date.now())}function ua(){window.clearTimeout(Nr.current)}Ye(un,function(hi,ki){function na(bi,Si){bi(function(Gi){var Sa=_r(Gi+Si);return Sa})}return $i?(_n?na(mr,hi):na(ur,ki),ua(),pa(),!0):!1}),(0,re.useEffect)(function(){return ua(),fa&&(Nr.current=window.setTimeout(function(){va(0)},100)),ua},[fa]);var Ma=Ve(Wr,Hi,_n?gr:lr,Ai,da,ca,(0,ie.Z)((0,ie.Z)({},kt),{},{tabs:Yt})),Xa=(0,oe.Z)(Ma,2),Va=Xa[0],go=Xa[1],_i=(0,Ce.Z)(function(){var hi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn,ki=Wr.get(hi)||{width:0,height:0,left:0,right:0,top:0};if(_n){var na=gr;zn?ki.right<gr?na=ki.right:ki.right+ki.width>gr+Hi&&(na=ki.right+ki.width-Hi):ki.left<-gr?na=-ki.left:ki.left+ki.width>-gr+Hi&&(na=-(ki.left+ki.width-Hi)),ur(0),mr(_r(na))}else{var bi=lr;ki.top<-lr?bi=-ki.top:ki.top+ki.height>-lr+Hi&&(bi=-(ki.top+ki.height-Hi)),mr(0),ur(_r(bi))}}),Ui={};en==="top"||en==="bottom"?Ui[zn?"marginRight":"marginLeft"]=sn:Ui.marginTop=sn;var Oa=Yt.map(function(hi,ki){var na=hi.key;return re.createElement(ue,{id:wn,prefixCls:Ut,key:na,tab:hi,style:ki===0?void 0:Ui,closable:hi.closable,editable:In,active:na===Tn,renderWrapper:mn,removeAriaLabel:Xt==null?void 0:Xt.removeAriaLabel,onClick:function(Si){Bn(na,Si)},onFocus:function(){_i(na),pa(),un.current&&(zn||(un.current.scrollLeft=0),un.current.scrollTop=0)}})}),aa=function(){return Ir(function(){var ki=new Map;return Yt.forEach(function(na){var bi,Si=na.key,Gi=(bi=dn.current)===null||bi===void 0?void 0:bi.querySelector('[data-node-key="'.concat(dt(Si),'"]'));Gi&&ki.set(Si,{width:Gi.offsetWidth,height:Gi.offsetHeight,left:Gi.offsetLeft,top:Gi.offsetTop})}),ki})};(0,re.useEffect)(function(){aa()},[Yt.map(function(hi){return hi.key}).join("_")]);var ha=qe(function(){var hi=fe(Tt),ki=fe(Jt),na=fe(qt);Ar([hi[0]-ki[0]-na[0],hi[1]-ki[1]-na[1]]);var bi=fe(bn);ti(bi);var Si=fe(yn);pi(Si);var Gi=fe(dn);Di([Gi[0]-bi[0],Gi[1]-bi[1]]),aa()}),Pn=Yt.slice(0,Va),An=Yt.slice(go+1),xn=[].concat((0,Ee.Z)(Pn),(0,Ee.Z)(An)),Yn=Wr.get(Tn),fr=We({activeTabOffset:Yn,horizontal:_n,rtl:zn,indicatorSize:pn}),hr=fr.style;(0,re.useEffect)(function(){_i()},[Tn,wa,jr,Qe(Yn),Qe(Wr),_n]),(0,re.useEffect)(function(){ha()},[zn]);var Vn=!!xn.length,Br="".concat(Ut,"-nav-wrap"),di,Ii,fi,Or;return _n?zn?(Ii=gr>0,di=gr!==jr):(di=gr<0,Ii=gr!==wa):(fi=lr<0,Or=lr!==wa),re.createElement(Le.Z,{onResize:ha},re.createElement("div",{ref:(0,_e.x1)(Rt,Tt),role:"tablist",className:ve()("".concat(Ut,"-nav"),hn),style:fn,onKeyDown:function(){pa()}},re.createElement(yt,{ref:Jt,position:"left",extra:nn,prefixCls:Ut}),re.createElement(Le.Z,{onResize:ha},re.createElement("div",{className:ve()(Br,(Lt={},(0,ee.Z)(Lt,"".concat(Br,"-ping-left"),di),(0,ee.Z)(Lt,"".concat(Br,"-ping-right"),Ii),(0,ee.Z)(Lt,"".concat(Br,"-ping-top"),fi),(0,ee.Z)(Lt,"".concat(Br,"-ping-bottom"),Or),Lt)),ref:un},re.createElement(Le.Z,{onResize:ha},re.createElement("div",{ref:dn,className:"".concat(Ut,"-nav-list"),style:{transform:"translate(".concat(gr,"px, ").concat(lr,"px)"),transition:fa?"none":void 0}},Oa,re.createElement(et,{ref:bn,prefixCls:Ut,locale:Xt,editable:In,style:(0,ie.Z)((0,ie.Z)({},Oa.length===0?void 0:Ui),{},{visibility:Vn?"hidden":null})}),re.createElement("div",{className:ve()("".concat(Ut,"-ink-bar"),(0,ee.Z)({},"".concat(Ut,"-ink-bar-animated"),Ln.inkBar)),style:hr}))))),re.createElement(Je,(0,ne.Z)({},kt,{removeAriaLabel:Xt==null?void 0:Xt.removeAriaLabel,ref:yn,prefixCls:Ut,tabs:xn,className:!Vn&&xa,tabMoving:!!fa})),re.createElement(yt,{ref:qt,position:"right",extra:nn,prefixCls:Ut})))}var Ke=re.forwardRef(Fe),Ue=["renderTabBar"],ut=["label","key"];function vt(kt){var Rt=kt.renderTabBar,Lt=(0,pe.Z)(kt,Ue),Bt=re.useContext(me),Ut=Bt.tabs;if(Rt){var Yt=(0,ie.Z)((0,ie.Z)({},Lt),{},{panes:Ut.map(function(hn){var fn=hn.label,wn=hn.key,Ln=(0,pe.Z)(hn,ut);return re.createElement(xe,(0,ne.Z)({tab:fn,key:wn,tabKey:wn},Ln))})});return Rt(Yt,Ke)}return re.createElement(Ke,Lt)}var lt=Te(48736);function Dt(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Rt;return kt===!1?Rt={inkBar:!1,tabPane:!1}:kt===!0?Rt={inkBar:!0,tabPane:!1}:Rt=(0,ie.Z)({inkBar:!0},(0,le.Z)(kt)==="object"?kt:{}),Rt.tabPaneMotion&&Rt.tabPane===void 0&&(Rt.tabPane=!0),!Rt.tabPaneMotion&&Rt.tabPane&&(Rt.tabPane=!1),Rt}var Wt=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],wt=0;function zt(kt,Rt){var Lt,Bt=kt.id,Ut=kt.prefixCls,Yt=Ut===void 0?"rc-tabs":Ut,hn=kt.className,fn=kt.items,wn=kt.direction,Ln=kt.activeKey,Tn=kt.defaultActiveKey,zn=kt.editable,nn=kt.animated,In=kt.tabPosition,Xt=In===void 0?"top":In,en=kt.tabBarGutter,sn=kt.tabBarStyle,mn=kt.tabBarExtraContent,Bn=kt.locale,cn=kt.moreIcon,pn=kt.moreTransitionName,Tt=kt.destroyInactiveTabPane,Jt=kt.renderTabBar,qt=kt.onChange,un=kt.onTabClick,dn=kt.onTabScroll,yn=kt.getPopupContainer,bn=kt.popupClassName,_n=kt.indicatorSize,Qn=(0,pe.Z)(kt,Wt),ar=re.useMemo(function(){return(fn||[]).filter(function(pi){return pi&&(0,le.Z)(pi)==="object"&&"key"in pi})},[fn]),gr=wn==="rtl",mr=Dt(nn),zr=(0,re.useState)(!1),Mr=(0,oe.Z)(zr,2),lr=Mr[0],ur=Mr[1];(0,re.useEffect)(function(){ur((0,ae.Z)())},[]);var dr=(0,ce.Z)(function(){var pi;return(pi=ar[0])===null||pi===void 0?void 0:pi.key},{value:Ln,defaultValue:Tn}),Rr=(0,oe.Z)(dr,2),Cr=Rr[0],Ar=Rr[1],Gr=(0,re.useState)(function(){return ar.findIndex(function(pi){return pi.key===Cr})}),Kr=(0,oe.Z)(Gr,2),oi=Kr[0],Di=Kr[1];(0,re.useEffect)(function(){var pi=ar.findIndex(function(li){return li.key===Cr});if(pi===-1){var ei;pi=Math.max(0,Math.min(oi,ar.length-1)),Ar((ei=ar[pi])===null||ei===void 0?void 0:ei.key)}Di(pi)},[ar.map(function(pi){return pi.key}).join("_"),Cr,oi]);var Hr=(0,ce.Z)(null,{value:Bt}),or=(0,oe.Z)(Hr,2),ir=or[0],ti=or[1];(0,re.useEffect)(function(){Bt||(ti("rc-tabs-".concat(wt)),wt+=1)},[]);function Ur(pi,ei){un==null||un(pi,ei);var li=pi!==Cr;Ar(pi),li&&(qt==null||qt(pi))}var ui={id:ir,activeKey:Cr,animated:mr,tabPosition:Xt,rtl:gr,mobile:lr},gi=(0,ie.Z)((0,ie.Z)({},ui),{},{editable:zn,locale:Bn,moreIcon:cn,moreTransitionName:pn,tabBarGutter:en,onTabClick:Ur,onTabScroll:dn,extra:mn,style:sn,panes:null,getPopupContainer:yn,popupClassName:bn,indicatorSize:_n});return re.createElement(me.Provider,{value:{tabs:ar,prefixCls:Yt}},re.createElement("div",(0,ne.Z)({ref:Rt,id:Bt,className:ve()(Yt,"".concat(Yt,"-").concat(Xt),(Lt={},(0,ee.Z)(Lt,"".concat(Yt,"-mobile"),lr),(0,ee.Z)(Lt,"".concat(Yt,"-editable"),zn),(0,ee.Z)(Lt,"".concat(Yt,"-rtl"),gr),Lt),hn)},Qn),re.createElement(vt,(0,ne.Z)({},gi,{renderTabBar:Jt})),re.createElement(ye,(0,ne.Z)({destroyInactiveTabPane:Tt},ui,{animated:mr}))))}var Nt=re.forwardRef(zt),St=Nt,ft=St,Et=Te(36355),Ft=Te(19716),Zt=()=>null,rn=Te(62892);const En={motionAppear:!1,motionEnter:!0,motionLeave:!0};function On(kt){let Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Lt;return Rt===!1?Lt={inkBar:!1,tabPane:!1}:Rt===!0?Lt={inkBar:!0,tabPane:!0}:Lt=Object.assign({inkBar:!0},typeof Rt=="object"?Rt:{}),Lt.tabPane&&(Lt.tabPaneMotion=Object.assign(Object.assign({},En),{motionName:(0,rn.m)(kt,"switch")})),Lt}var Hn=Te(11592),Dn=function(kt,Rt){var Lt={};for(var Bt in kt)Object.prototype.hasOwnProperty.call(kt,Bt)&&Rt.indexOf(Bt)<0&&(Lt[Bt]=kt[Bt]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Bt=Object.getOwnPropertySymbols(kt);Ut<Bt.length;Ut++)Rt.indexOf(Bt[Ut])<0&&Object.prototype.propertyIsEnumerable.call(kt,Bt[Ut])&&(Lt[Bt[Ut]]=kt[Bt[Ut]]);return Lt};function jn(kt){return kt.filter(Rt=>Rt)}function Jn(kt,Rt){if(kt)return kt;const Lt=(0,Hn.Z)(Rt).map(Bt=>{if(re.isValidElement(Bt)){const{key:Ut,props:Yt}=Bt,hn=Yt||{},{tab:fn}=hn,wn=Dn(hn,["tab"]);return Object.assign(Object.assign({key:String(Ut)},wn),{label:fn})}return null});return jn(Lt)}var br=Te(17313),sr=Te(83116),Rn=Te(37613),Fn=Te(13826),er=kt=>{const{componentCls:Rt,motionDurationSlow:Lt}=kt;return[{[Rt]:{[`${Rt}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Lt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Lt}`}}}}},[(0,Fn.oN)(kt,"slide-up"),(0,Fn.oN)(kt,"slide-down")]]};const xr=kt=>{const{componentCls:Rt,tabsCardPadding:Lt,cardBg:Bt,cardGutter:Ut,colorBorderSecondary:Yt,itemSelectedColor:hn}=kt;return{[`${Rt}-card`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{[`${Rt}-tab`]:{margin:0,padding:Lt,background:Bt,border:`${kt.lineWidth}px ${kt.lineType} ${Yt}`,transition:`all ${kt.motionDurationSlow} ${kt.motionEaseInOut}`},[`${Rt}-tab-active`]:{color:hn,background:kt.colorBgContainer},[`${Rt}-ink-bar`]:{visibility:"hidden"}},[`&${Rt}-top, &${Rt}-bottom`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{[`${Rt}-tab + ${Rt}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Ut}px`}}}},[`&${Rt}-top`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{[`${Rt}-tab`]:{borderRadius:`${kt.borderRadiusLG}px ${kt.borderRadiusLG}px 0 0`},[`${Rt}-tab-active`]:{borderBottomColor:kt.colorBgContainer}}},[`&${Rt}-bottom`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{[`${Rt}-tab`]:{borderRadius:`0 0 ${kt.borderRadiusLG}px ${kt.borderRadiusLG}px`},[`${Rt}-tab-active`]:{borderTopColor:kt.colorBgContainer}}},[`&${Rt}-left, &${Rt}-right`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{[`${Rt}-tab + ${Rt}-tab`]:{marginTop:`${Ut}px`}}},[`&${Rt}-left`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{[`${Rt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${kt.borderRadiusLG}px 0 0 ${kt.borderRadiusLG}px`}},[`${Rt}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:kt.colorBgContainer}}}},[`&${Rt}-right`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{[`${Rt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${kt.borderRadiusLG}px ${kt.borderRadiusLG}px 0`}},[`${Rt}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:kt.colorBgContainer}}}}}}},cr=kt=>{const{componentCls:Rt,itemHoverColor:Lt,dropdownEdgeChildVerticalPadding:Bt}=kt;return{[`${Rt}-dropdown`]:Object.assign(Object.assign({},(0,br.Wf)(kt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:kt.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Rt}-dropdown-menu`]:{maxHeight:kt.tabsDropdownHeight,margin:0,padding:`${Bt}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:kt.colorBgContainer,backgroundClip:"padding-box",borderRadius:kt.borderRadiusLG,outline:"none",boxShadow:kt.boxShadowSecondary,"&-item":Object.assign(Object.assign({},br.vS),{display:"flex",alignItems:"center",minWidth:kt.tabsDropdownWidth,margin:0,padding:`${kt.paddingXXS}px ${kt.paddingSM}px`,color:kt.colorText,fontWeight:"normal",fontSize:kt.fontSize,lineHeight:kt.lineHeight,cursor:"pointer",transition:`all ${kt.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:kt.marginSM},color:kt.colorTextDescription,fontSize:kt.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Lt}},"&:hover":{background:kt.controlItemBgHover},"&-disabled":{"&, &:hover":{color:kt.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Tr=kt=>{const{componentCls:Rt,margin:Lt,colorBorderSecondary:Bt,horizontalMargin:Ut,verticalItemPadding:Yt,verticalItemMargin:hn}=kt;return{[`${Rt}-top, ${Rt}-bottom`]:{flexDirection:"column",[`> ${Rt}-nav, > div > ${Rt}-nav`]:{margin:Ut,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${kt.lineWidth}px ${kt.lineType} ${Bt}`,content:"''"},[`${Rt}-ink-bar`]:{height:kt.lineWidthBold,"&-animated":{transition:`width ${kt.motionDurationSlow}, left ${kt.motionDurationSlow},
right ${kt.motionDurationSlow}`}},[`${Rt}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:kt.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:kt.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:kt.boxShadowTabsOverflowRight},[`&${Rt}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Rt}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Rt}-top`]:{[`> ${Rt}-nav,
> div > ${Rt}-nav`]:{"&::before":{bottom:0},[`${Rt}-ink-bar`]:{bottom:0}}},[`${Rt}-bottom`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{order:1,marginTop:`${Lt}px`,marginBottom:0,"&::before":{top:0},[`${Rt}-ink-bar`]:{top:0}},[`> ${Rt}-content-holder, > div > ${Rt}-content-holder`]:{order:0}},[`${Rt}-left, ${Rt}-right`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{flexDirection:"column",minWidth:kt.controlHeight*1.25,[`${Rt}-tab`]:{padding:Yt,textAlign:"center"},[`${Rt}-tab + ${Rt}-tab`]:{margin:hn},[`${Rt}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:kt.controlHeight},"&::before":{top:0,boxShadow:kt.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:kt.boxShadowTabsOverflowBottom},[`&${Rt}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Rt}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Rt}-ink-bar`]:{width:kt.lineWidthBold,"&-animated":{transition:`height ${kt.motionDurationSlow}, top ${kt.motionDurationSlow}`}},[`${Rt}-nav-list, ${Rt}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Rt}-left`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{[`${Rt}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Rt}-content-holder, > div > ${Rt}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${kt.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${kt.lineWidth}px ${kt.lineType} ${kt.colorBorder}`},[`> ${Rt}-content > ${Rt}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:kt.paddingLG}}}},[`${Rt}-right`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{order:1,[`${Rt}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Rt}-content-holder, > div > ${Rt}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-kt.lineWidth},borderRight:{_skip_check_:!0,value:`${kt.lineWidth}px ${kt.lineType} ${kt.colorBorder}`},[`> ${Rt}-content > ${Rt}-tabpane`]:{paddingRight:{_skip_check_:!0,value:kt.paddingLG}}}}}},Dr=kt=>{const{componentCls:Rt,cardPaddingSM:Lt,cardPaddingLG:Bt,horizontalItemPaddingSM:Ut,horizontalItemPaddingLG:Yt}=kt;return{[Rt]:{"&-small":{[`> ${Rt}-nav`]:{[`${Rt}-tab`]:{padding:Ut,fontSize:kt.titleFontSizeSM}}},"&-large":{[`> ${Rt}-nav`]:{[`${Rt}-tab`]:{padding:Yt,fontSize:kt.titleFontSizeLG}}}},[`${Rt}-card`]:{[`&${Rt}-small`]:{[`> ${Rt}-nav`]:{[`${Rt}-tab`]:{padding:Lt}},[`&${Rt}-bottom`]:{[`> ${Rt}-nav ${Rt}-tab`]:{borderRadius:`0 0 ${kt.borderRadius}px ${kt.borderRadius}px`}},[`&${Rt}-top`]:{[`> ${Rt}-nav ${Rt}-tab`]:{borderRadius:`${kt.borderRadius}px ${kt.borderRadius}px 0 0`}},[`&${Rt}-right`]:{[`> ${Rt}-nav ${Rt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${kt.borderRadius}px ${kt.borderRadius}px 0`}}},[`&${Rt}-left`]:{[`> ${Rt}-nav ${Rt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${kt.borderRadius}px 0 0 ${kt.borderRadius}px`}}}},[`&${Rt}-large`]:{[`> ${Rt}-nav`]:{[`${Rt}-tab`]:{padding:Bt}}}}}},Xn=kt=>{const{componentCls:Rt,itemActiveColor:Lt,itemHoverColor:Bt,iconCls:Ut,tabsHorizontalItemMargin:Yt,horizontalItemPadding:hn,itemSelectedColor:fn,itemColor:wn}=kt,Ln=`${Rt}-tab`;return{[Ln]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:hn,fontSize:kt.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:wn,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Lt}},(0,br.Qy)(kt)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-kt.marginXXS},marginLeft:{_skip_check_:!0,value:kt.marginXS},color:kt.colorTextDescription,fontSize:kt.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${kt.motionDurationSlow}`,"&:hover":{color:kt.colorTextHeading}},"&:hover":{color:Bt},[`&${Ln}-active ${Ln}-btn`]:{color:fn,textShadow:kt.tabsActiveTextShadow},[`&${Ln}-disabled`]:{color:kt.colorTextDisabled,cursor:"not-allowed"},[`&${Ln}-disabled ${Ln}-btn, &${Ln}-disabled ${Rt}-remove`]:{"&:focus, &:active":{color:kt.colorTextDisabled}},[`& ${Ln}-remove ${Ut}`]:{margin:0},[Ut]:{marginRight:{_skip_check_:!0,value:kt.marginSM}}},[`${Ln} + ${Ln}`]:{margin:{_skip_check_:!0,value:Yt}}}},$n=kt=>{const{componentCls:Rt,tabsHorizontalItemMarginRTL:Lt,iconCls:Bt,cardGutter:Ut}=kt;return{[`${Rt}-rtl`]:{direction:"rtl",[`${Rt}-nav`]:{[`${Rt}-tab`]:{margin:{_skip_check_:!0,value:Lt},[`${Rt}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Bt]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${kt.marginSM}px`}},[`${Rt}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${kt.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${kt.marginXXS}px`},[Bt]:{margin:0}}}},[`&${Rt}-left`]:{[`> ${Rt}-nav`]:{order:1},[`> ${Rt}-content-holder`]:{order:0}},[`&${Rt}-right`]:{[`> ${Rt}-nav`]:{order:0},[`> ${Rt}-content-holder`]:{order:1}},[`&${Rt}-card${Rt}-top, &${Rt}-card${Rt}-bottom`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{[`${Rt}-tab + ${Rt}-tab`]:{marginRight:{_skip_check_:!0,value:Ut},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Rt}-dropdown-rtl`]:{direction:"rtl"},[`${Rt}-menu-item`]:{[`${Rt}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},wr=kt=>{const{componentCls:Rt,tabsCardPadding:Lt,cardHeight:Bt,cardGutter:Ut,itemHoverColor:Yt,itemActiveColor:hn,colorBorderSecondary:fn}=kt;return{[Rt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,br.Wf)(kt)),{display:"flex",[`> ${Rt}-nav, > div > ${Rt}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Rt}-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 ${kt.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Rt}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${kt.motionDurationSlow}`},[`${Rt}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Rt}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Rt}-nav-more`]:{position:"relative",padding:Lt,background:"transparent",border:0,color:kt.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:kt.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Rt}-nav-add`]:Object.assign({minWidth:Bt,marginLeft:{_skip_check_:!0,value:Ut},padding:`0 ${kt.paddingXS}px`,background:"transparent",border:`${kt.lineWidth}px ${kt.lineType} ${fn}`,borderRadius:`${kt.borderRadiusLG}px ${kt.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:kt.colorText,transition:`all ${kt.motionDurationSlow} ${kt.motionEaseInOut}`,"&:hover":{color:Yt},"&:active, &:focus:not(:focus-visible)":{color:hn}},(0,br.Qy)(kt))},[`${Rt}-extra-content`]:{flex:"none"},[`${Rt}-ink-bar`]:{position:"absolute",background:kt.inkBarColor,pointerEvents:"none"}}),Xn(kt)),{[`${Rt}-content`]:{position:"relative",width:"100%"},[`${Rt}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Rt}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Rt}-centered`]:{[`> ${Rt}-nav, > div > ${Rt}-nav`]:{[`${Rt}-nav-wrap`]:{[`&:not([class*='${Rt}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var nr=(0,sr.Z)("Tabs",kt=>{const Rt=(0,Rn.TS)(kt,{tabsCardPadding:kt.cardPadding||`${(kt.cardHeight-Math.round(kt.fontSize*kt.lineHeight))/2-kt.lineWidth}px ${kt.padding}px`,dropdownEdgeChildVerticalPadding:kt.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${kt.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${kt.horizontalItemGutter}px`});return[Dr(Rt),$n(Rt),Tr(Rt),cr(Rt),xr(Rt),wr(Rt),er(Rt)]},kt=>{const Rt=kt.controlHeightLG;return{zIndexPopup:kt.zIndexPopupBase+50,cardBg:kt.colorFillAlter,cardHeight:Rt,cardPadding:"",cardPaddingSM:`${kt.paddingXXS*1.5}px ${kt.padding}px`,cardPaddingLG:`${kt.paddingXS}px ${kt.padding}px ${kt.paddingXXS*1.5}px`,titleFontSize:kt.fontSize,titleFontSizeLG:kt.fontSizeLG,titleFontSizeSM:kt.fontSize,inkBarColor:kt.colorPrimary,horizontalMargin:`0 0 ${kt.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${kt.paddingSM}px 0`,horizontalItemPaddingSM:`${kt.paddingXS}px 0`,horizontalItemPaddingLG:`${kt.padding}px 0`,verticalItemPadding:`${kt.paddingXS}px ${kt.paddingLG}px`,verticalItemMargin:`${kt.margin}px 0 0 0`,itemColor:kt.colorText,itemSelectedColor:kt.colorPrimary,itemHoverColor:kt.colorPrimaryHover,itemActiveColor:kt.colorPrimaryActive,cardGutter:kt.marginXXS/2}}),Zn=function(kt,Rt){var Lt={};for(var Bt in kt)Object.prototype.hasOwnProperty.call(kt,Bt)&&Rt.indexOf(Bt)<0&&(Lt[Bt]=kt[Bt]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Bt=Object.getOwnPropertySymbols(kt);Ut<Bt.length;Ut++)Rt.indexOf(Bt[Ut])<0&&Object.prototype.propertyIsEnumerable.call(kt,Bt[Ut])&&(Lt[Bt[Ut]]=kt[Bt[Ut]]);return Lt};const Pr=kt=>{const{type:Rt,className:Lt,rootClassName:Bt,size:Ut,onEdit:Yt,hideAdd:hn,centered:fn,addIcon:wn,popupClassName:Ln,children:Tn,items:zn,animated:nn,style:In,indicatorSize:Xt}=kt,en=Zn(kt,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:sn,moreIcon:mn=re.createElement(bt.Z,null)}=en,{direction:Bn,tabs:cn,getPrefixCls:pn,getPopupContainer:Tt}=re.useContext(Et.E_),Jt=pn("tabs",sn),[qt,un]=nr(Jt);let dn;Rt==="editable-card"&&(dn={onEdit:(gr,mr)=>{let{key:zr,event:Mr}=mr;Yt==null||Yt(gr==="add"?Mr:zr,gr)},removeIcon:re.createElement(Ne.Z,null),addIcon:wn||re.createElement(E.Z,null),showAdd:hn!==!0});const yn=pn(),bn=Jn(zn,Tn),_n=On(Jt,nn),Qn=(0,Ft.Z)(Ut),ar=Object.assign(Object.assign({},cn==null?void 0:cn.style),In);return qt(re.createElement(ft,Object.assign({direction:Bn,getPopupContainer:Tt,moreTransitionName:`${yn}-slide-up`},en,{items:bn,className:ve()({[`${Jt}-${Qn}`]:Qn,[`${Jt}-card`]:["card","editable-card"].includes(Rt),[`${Jt}-editable-card`]:Rt==="editable-card",[`${Jt}-centered`]:fn},cn==null?void 0:cn.className,Lt,Bt,un),popupClassName:ve()(Ln,un),style:ar,editable:dn,moreIcon:mn,prefixCls:Jt,animated:_n,indicatorSize:Xt!=null?Xt:cn==null?void 0:cn.indicatorSize})))};Pr.TabPane=Zt;var Ht=Pr},17574:function(kn,Qt,Te){"use strict";Te.d(Qt,{default:function(){return Ve}});var Ne=Te(38028),bt=Te(77654),E=Te(52671),je=Te(8657),ve=Te(60499),ne=Te(59301),ee={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=ee,oe=Te(7657),le=function(nt,dt){return ne.createElement(oe.Z,(0,ve.Z)({},nt,{ref:dt,icon:ie}))},pe=ne.forwardRef(le),re=pe,ae=Te(92310),ce=Te.n(ae),de=Te(35654),me=Te(71430),we=Te(36355),xe=Te(56082),Ae=Te(62892),ye=Te(20648);const Ee=4;function Le(Qe){const{dropPosition:nt,dropLevelOffset:dt,prefixCls:at,indent:tt,direction:et="ltr"}=Qe,ot=et==="ltr"?"left":"right",yt=et==="ltr"?"right":"left",pt={[ot]:-dt*tt+Ee,[yt]:0};switch(nt){case-1:pt.top=-3;break;case 1:pt.bottom=-3;break;default:pt.bottom=-3,pt[ot]=tt+Ee;break}return ne.createElement("div",{style:pt,className:`${at}-drop-indicator`})}var Ce=Te(71997),Me=ne.forwardRef((Qe,nt)=>{const{getPrefixCls:dt,direction:at,virtual:tt,tree:et}=ne.useContext(we.E_),{prefixCls:ot,className:yt,showIcon:pt=!1,showLine:Pt,switcherIcon:Mt,blockNode:ct=!1,children:Je,checkable:Ze=!1,selectable:ue=!0,draggable:he,motion:He,style:We}=Qe,fe=dt("tree",ot),Pe=dt(),Fe=He!=null?He:Object.assign(Object.assign({},(0,Ae.Z)(Pe)),{motionAppear:!1}),Ke=Object.assign(Object.assign({},Qe),{checkable:Ze,selectable:ue,showIcon:pt,motion:Fe,blockNode:ct,showLine:!!Pt,dropIndicatorRender:Le}),[Ue,ut]=(0,ye.ZP)(fe),vt=ne.useMemo(()=>{if(!he)return!1;let Dt={};switch(typeof he){case"function":Dt.nodeDraggable=he;break;case"object":Dt=Object.assign({},he);break;default:break}return Dt.icon!==!1&&(Dt.icon=Dt.icon||ne.createElement(xe.Z,null)),Dt},[he]),lt=Dt=>ne.createElement(Ce.Z,{prefixCls:fe,switcherIcon:Mt,treeNodeProps:Dt,showLine:Pt});return Ue(ne.createElement(Ne.Z,Object.assign({itemHeight:20,ref:nt,virtual:tt},Ke,{style:Object.assign(Object.assign({},et==null?void 0:et.style),We),prefixCls:fe,className:ce()({[`${fe}-icon-hide`]:!pt,[`${fe}-block-node`]:ct,[`${fe}-unselectable`]:!ue,[`${fe}-rtl`]:at==="rtl"},et==null?void 0:et.className,yt,ut),direction:at,checkable:Ze&&ne.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:ue,switcherIcon:lt,draggable:vt}),Je))}),De;(function(Qe){Qe[Qe.None=0]="None",Qe[Qe.Start=1]="Start",Qe[Qe.End=2]="End"})(De||(De={}));function Se(Qe,nt){function dt(at){const{key:tt,children:et}=at;nt(tt,at)!==!1&&Se(et||[],nt)}Qe.forEach(dt)}function Be(Qe){let{treeData:nt,expandedKeys:dt,startKey:at,endKey:tt}=Qe;const et=[];let ot=De.None;if(at&&at===tt)return[at];if(!at||!tt)return[];function yt(pt){return pt===at||pt===tt}return Se(nt,pt=>{if(ot===De.End)return!1;if(yt(pt)){if(et.push(pt),ot===De.None)ot=De.Start;else if(ot===De.Start)return ot=De.End,!1}else ot===De.Start&&et.push(pt);return dt.includes(pt)}),et}function Re(Qe,nt){const dt=(0,bt.Z)(nt),at=[];return Se(Qe,(tt,et)=>{const ot=dt.indexOf(tt);return ot!==-1&&(at.push(et),dt.splice(ot,1)),!!dt.length}),at}var Xe=function(Qe,nt){var dt={};for(var at in Qe)Object.prototype.hasOwnProperty.call(Qe,at)&&nt.indexOf(at)<0&&(dt[at]=Qe[at]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,at=Object.getOwnPropertySymbols(Qe);tt<at.length;tt++)nt.indexOf(at[tt])<0&&Object.prototype.propertyIsEnumerable.call(Qe,at[tt])&&(dt[at[tt]]=Qe[at[tt]]);return dt};function Ie(Qe){const{isLeaf:nt,expanded:dt}=Qe;return nt?ne.createElement(E.Z,null):dt?ne.createElement(je.Z,null):ne.createElement(re,null)}function Ye(Qe){let{treeData:nt,children:dt}=Qe;return nt||(0,me.zn)(dt)}const Ge=(Qe,nt)=>{var{defaultExpandAll:dt,defaultExpandParent:at,defaultExpandedKeys:tt}=Qe,et=Xe(Qe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ot=ne.useRef(),yt=ne.useRef(),pt=()=>{const{keyEntities:vt}=(0,me.I8)(Ye(et));let lt;return dt?lt=Object.keys(vt):at?lt=(0,de.r7)(et.expandedKeys||tt||[],vt):lt=et.expandedKeys||tt,lt},[Pt,Mt]=ne.useState(et.selectedKeys||et.defaultSelectedKeys||[]),[ct,Je]=ne.useState(()=>pt());ne.useEffect(()=>{"selectedKeys"in et&&Mt(et.selectedKeys)},[et.selectedKeys]),ne.useEffect(()=>{"expandedKeys"in et&&Je(et.expandedKeys)},[et.expandedKeys]);const Ze=(vt,lt)=>{var Dt;return"expandedKeys"in et||Je(vt),(Dt=et.onExpand)===null||Dt===void 0?void 0:Dt.call(et,vt,lt)},ue=(vt,lt)=>{var Dt;const{multiple:Wt}=et,{node:wt,nativeEvent:zt}=lt,{key:Nt=""}=wt,St=Ye(et),ft=Object.assign(Object.assign({},lt),{selected:!0}),Et=(zt==null?void 0:zt.ctrlKey)||(zt==null?void 0:zt.metaKey),Ft=zt==null?void 0:zt.shiftKey;let Kt;Wt&&Et?(Kt=vt,ot.current=Nt,yt.current=Kt,ft.selectedNodes=Re(St,Kt)):Wt&&Ft?(Kt=Array.from(new Set([].concat((0,bt.Z)(yt.current||[]),(0,bt.Z)(Be({treeData:St,expandedKeys:ct,startKey:Nt,endKey:ot.current}))))),ft.selectedNodes=Re(St,Kt)):(Kt=[Nt],ot.current=Nt,yt.current=Kt,ft.selectedNodes=Re(St,Kt)),(Dt=et.onSelect)===null||Dt===void 0||Dt.call(et,Kt,ft),"selectedKeys"in et||Mt(Kt)},{getPrefixCls:he,direction:He}=ne.useContext(we.E_),{prefixCls:We,className:fe,showIcon:Pe=!0,expandAction:Fe="click"}=et,Ke=Xe(et,["prefixCls","className","showIcon","expandAction"]),Ue=he("tree",We),ut=ce()(`${Ue}-directory`,{[`${Ue}-directory-rtl`]:He==="rtl"},fe);return ne.createElement(Me,Object.assign({icon:Ie,ref:nt,blockNode:!0},Ke,{showIcon:Pe,expandAction:Fe,prefixCls:Ue,className:ut,expandedKeys:ct,selectedKeys:Pt,onSelect:ue,onExpand:Ze}))};var it=ne.forwardRef(Ge);const st=Me;st.DirectoryTree=it,st.TreeNode=Ne.O;var Ve=st},20648:function(kn,Qt,Te){"use strict";Te.d(Qt,{TM:function(){return ae},Yk:function(){return re}});var Ne=Te(36237),bt=Te(98447),E=Te(17313),je=Te(8378),ve=Te(37613),ne=Te(83116);const ee=new Ne.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ie=(ce,de)=>({[`.${ce}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${de.motionDurationSlow}`}}}),oe=(ce,de)=>({[`.${ce}-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=(ce,de)=>{const{treeCls:me,treeNodeCls:we,treeNodePadding:xe,titleHeight:Ae,nodeSelectedBg:ye,nodeHoverBg:Ee}=de,Le=de.paddingXS;return{[me]:Object.assign(Object.assign({},(0,E.Wf)(de)),{background:de.colorBgContainer,borderRadius:de.borderRadius,transition:`background-color ${de.motionDurationSlow}`,[`&${me}-rtl`]:{[`${me}-switcher`]:{"&_close":{[`${me}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${me}-active-focused)`]:Object.assign({},(0,E.oN)(de)),[`${me}-list-holder-inner`]:{alignItems:"flex-start"},[`&${me}-block-node`]:{[`${me}-list-holder-inner`]:{alignItems:"stretch",[`${me}-node-content-wrapper`]:{flex:"auto"},[`${we}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:xe,insetInlineStart:0,border:`1px solid ${de.colorPrimary}`,opacity:0,animationName:ee,animationDuration:de.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${we}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${xe}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${me}-node-content-wrapper`]:{color:de.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${me}-node-content-wrapper`]:Object.assign({},(0,E.oN)(de)),[`&:not(${we}-disabled).filter-node ${me}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${me}-draggable-icon`]:{flexShrink:0,width:Ae,lineHeight:`${Ae}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${de.motionDurationSlow}`,[`${we}:hover &`]:{opacity:.45}},[`&${we}-disabled`]:{[`${me}-draggable-icon`]:{visibility:"hidden"}}}},[`${me}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Ae}},[`${me}-draggable-icon`]:{visibility:"hidden"},[`${me}-switcher`]:Object.assign(Object.assign({},ie(ce,de)),{position:"relative",flex:"none",alignSelf:"stretch",width:Ae,margin:0,lineHeight:`${Ae}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${me}-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:Ae/2,bottom:-xe,marginInlineStart:-1,borderInlineEnd:`1px solid ${de.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Ae/2*.8,height:Ae/2,borderBottom:`1px solid ${de.colorBorder}`,content:'""'}}}),[`${me}-checkbox`]:{top:"initial",marginInlineEnd:Le},[`${me}-node-content-wrapper, ${me}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:Ae,margin:0,padding:`0 ${de.paddingXS/2}px`,color:"inherit",lineHeight:`${Ae}px`,background:"transparent",borderRadius:de.borderRadius,cursor:"pointer",transition:`all ${de.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Ee},[`&${me}-node-selected`]:{backgroundColor:ye},[`${me}-iconEle`]:{display:"inline-block",width:Ae,height:Ae,lineHeight:`${Ae}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${me}-unselectable ${me}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${me}-node-content-wrapper`]:Object.assign({lineHeight:`${Ae}px`,userSelect:"none"},oe(ce,de)),[`${we}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${de.colorPrimary}`}},"&-show-line":{[`${me}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ae/2,bottom:-xe,borderInlineEnd:`1px solid ${de.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${me}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${we}-leaf-last`]:{[`${me}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Ae/2}px !important`}}}}})}},pe=ce=>{const{treeCls:de,treeNodeCls:me,treeNodePadding:we,directoryNodeSelectedBg:xe,directoryNodeSelectedColor:Ae}=ce;return{[`${de}${de}-directory`]:{[me]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:we,insetInlineStart:0,transition:`background-color ${ce.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ce.controlItemBgHover}},"> *":{zIndex:1},[`${de}-switcher`]:{transition:`color ${ce.motionDurationMid}`},[`${de}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${de}-node-selected`]:{color:Ae,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:xe},[`${de}-switcher`]:{color:Ae},[`${de}-node-content-wrapper`]:{color:Ae,background:"transparent"}}}}}},re=(ce,de)=>{const me=`.${ce}`,we=`${me}-treenode`,xe=de.paddingXS/2,Ae=(0,ve.TS)(de,{treeCls:me,treeNodeCls:we,treeNodePadding:xe});return[le(ce,Ae),pe(Ae)]},ae=ce=>{const{controlHeightSM:de}=ce;return{titleHeight:de,nodeHoverBg:ce.controlItemBgHover,nodeSelectedBg:ce.controlItemBgActive}};Qt.ZP=(0,ne.Z)("Tree",(ce,de)=>{let{prefixCls:me}=de;return[{[ce.componentCls]:(0,bt.C2)(`${me}-checkbox`,ce)},re(me,ce),(0,je.Z)(ce)]},ce=>{const{colorTextLightSolid:de,colorPrimary:me}=ce;return Object.assign(Object.assign({},ae(ce)),{directoryNodeSelectedColor:de,directoryNodeSelectedBg:me})})},71997:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return we}});var Ne=Te(60499),bt=Te(59301),E={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"},je=E,ve=Te(7657),ne=function(Ae,ye){return bt.createElement(ve.Z,(0,Ne.Z)({},Ae,{ref:ye,icon:je}))},ee=bt.forwardRef(ne),ie=ee,oe=Te(52671),le=Te(58617),pe=Te(15075),re=Te(43531),ae=Te(92310),ce=Te.n(ae),de=Te(92343),we=xe=>{const{prefixCls:Ae,switcherIcon:ye,treeNodeProps:Ee,showLine:Le}=xe,{isLeaf:Ce,expanded:_e,loading:Me}=Ee;if(Me)return bt.createElement(le.Z,{className:`${Ae}-switcher-loading-icon`});let De;if(Le&&typeof Le=="object"&&(De=Le.showLeafIcon),Ce){if(!Le)return null;if(typeof De!="boolean"&&De){const Re=typeof De=="function"?De(Ee):De,Xe=`${Ae}-switcher-line-custom-icon`;return(0,de.l$)(Re)?(0,de.Tm)(Re,{className:ce()(Re.props.className||"",Xe)}):Re}return De?bt.createElement(oe.Z,{className:`${Ae}-switcher-line-icon`}):bt.createElement("span",{className:`${Ae}-switcher-leaf-line`})}const Se=`${Ae}-switcher-icon`,Be=typeof ye=="function"?ye(Ee):ye;return(0,de.l$)(Be)?(0,de.Tm)(Be,{className:ce()(Be.props.className||"",Se)}):Be!==void 0?Be:Le?_e?bt.createElement(pe.Z,{className:`${Ae}-switcher-line-icon`}):bt.createElement(re.Z,{className:`${Ae}-switcher-line-icon`}):bt.createElement(ie,{className:Se})}},54580:function(kn,Qt,Te){"use strict";Te.d(Qt,{default:function(){return In}});var Ne=Te(59301),bt=Te(77654),E=Te(92310),je=Te.n(E),ve=Te(60499),ne=Te(38705),ee=Te(17212),ie=Te(39153),oe=Te(55401),le=Te(18642),pe=Te(42244),re=Te(73001),ae=Te(43749),ce=Te(11576),de=Te(26112);function me(Xt,en){var sn="cannot ".concat(Xt.method," ").concat(Xt.action," ").concat(en.status,"'"),mn=new Error(sn);return mn.status=en.status,mn.method=Xt.method,mn.url=Xt.action,mn}function we(Xt){var en=Xt.responseText||Xt.response;if(!en)return en;try{return JSON.parse(en)}catch(sn){return en}}function xe(Xt){var en=new XMLHttpRequest;Xt.onProgress&&en.upload&&(en.upload.onprogress=function(cn){cn.total>0&&(cn.percent=cn.loaded/cn.total*100),Xt.onProgress(cn)});var sn=new FormData;Xt.data&&Object.keys(Xt.data).forEach(function(Bn){var cn=Xt.data[Bn];if(Array.isArray(cn)){cn.forEach(function(pn){sn.append("".concat(Bn,"[]"),pn)});return}sn.append(Bn,cn)}),Xt.file instanceof Blob?sn.append(Xt.filename,Xt.file,Xt.file.name):sn.append(Xt.filename,Xt.file),en.onerror=function(cn){Xt.onError(cn)},en.onload=function(){return en.status<200||en.status>=300?Xt.onError(me(Xt,en),we(en)):Xt.onSuccess(we(en),en)},en.open(Xt.method,Xt.action,!0),Xt.withCredentials&&"withCredentials"in en&&(en.withCredentials=!0);var mn=Xt.headers||{};return mn["X-Requested-With"]!==null&&en.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(mn).forEach(function(Bn){mn[Bn]!==null&&en.setRequestHeader(Bn,mn[Bn])}),en.send(sn),{abort:function(){en.abort()}}}var Ae=+new Date,ye=0;function Ee(){return"rc-upload-".concat(Ae,"-").concat(++ye)}var Le=Te(48736),Ce=function(Xt,en){if(Xt&&en){var sn=Array.isArray(en)?en:en.split(","),mn=Xt.name||"",Bn=Xt.type||"",cn=Bn.replace(/\/.*$/,"");return sn.some(function(pn){var Tt=pn.trim();if(/^\*(\/\*)?$/.test(pn))return!0;if(Tt.charAt(0)==="."){var Jt=mn.toLowerCase(),qt=Tt.toLowerCase(),un=[qt];return(qt===".jpg"||qt===".jpeg")&&(un=[".jpg",".jpeg"]),un.some(function(dn){return Jt.endsWith(dn)})}return/\/\*$/.test(Tt)?cn===Tt.replace(/\/.*$/,""):Bn===Tt?!0:/^\w+$/.test(Tt)?((0,Le.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Tt,"'.Skip for check.")),!0):!1})}return!0};function _e(Xt,en){var sn=Xt.createReader(),mn=[];function Bn(){sn.readEntries(function(cn){var pn=Array.prototype.slice.apply(cn);mn=mn.concat(pn);var Tt=!pn.length;Tt?en(mn):Bn()})}Bn()}var Me=function(en,sn,mn){var Bn=function cn(pn,Tt){pn&&(pn.path=Tt||"",pn.isFile?pn.file(function(Jt){mn(Jt)&&(pn.fullPath&&!Jt.webkitRelativePath&&(Object.defineProperties(Jt,{webkitRelativePath:{writable:!0}}),Jt.webkitRelativePath=pn.fullPath.replace(/^\//,""),Object.defineProperties(Jt,{webkitRelativePath:{writable:!1}})),sn([Jt]))}):pn.isDirectory&&_e(pn,function(Jt){Jt.forEach(function(qt){cn(qt,"".concat(Tt).concat(pn.name,"/"))})}))};en.forEach(function(cn){Bn(cn.webkitGetAsEntry())})},De=Me,Se=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Be=function(Xt){(0,ie.Z)(sn,Xt);var en=(0,oe.Z)(sn);function sn(){var mn;(0,ne.Z)(this,sn);for(var Bn=arguments.length,cn=new Array(Bn),pn=0;pn<Bn;pn++)cn[pn]=arguments[pn];return mn=en.call.apply(en,[this].concat(cn)),mn.state={uid:Ee()},mn.reqs={},mn.fileInput=void 0,mn._isMounted=void 0,mn.onChange=function(Tt){var Jt=mn.props,qt=Jt.accept,un=Jt.directory,dn=Tt.target.files,yn=(0,bt.Z)(dn).filter(function(bn){return!un||Ce(bn,qt)});mn.uploadFiles(yn),mn.reset()},mn.onClick=function(Tt){var Jt=mn.fileInput;if(Jt){var qt=Tt.target,un=mn.props.onClick;if(qt&&qt.tagName==="BUTTON"){var dn=Jt.parentNode;dn.focus(),qt.blur()}Jt.click(),un&&un(Tt)}},mn.onKeyDown=function(Tt){Tt.key==="Enter"&&mn.onClick(Tt)},mn.onFileDrop=function(Tt){var Jt=mn.props.multiple;if(Tt.preventDefault(),Tt.type!=="dragover")if(mn.props.directory)De(Array.prototype.slice.call(Tt.dataTransfer.items),mn.uploadFiles,function(un){return Ce(un,mn.props.accept)});else{var qt=(0,bt.Z)(Tt.dataTransfer.files).filter(function(un){return Ce(un,mn.props.accept)});Jt===!1&&(qt=qt.slice(0,1)),mn.uploadFiles(qt)}},mn.uploadFiles=function(Tt){var Jt=(0,bt.Z)(Tt),qt=Jt.map(function(un){return un.uid=Ee(),mn.processFile(un,Jt)});Promise.all(qt).then(function(un){var dn=mn.props.onBatchStart;dn==null||dn(un.map(function(yn){var bn=yn.origin,_n=yn.parsedFile;return{file:bn,parsedFile:_n}})),un.filter(function(yn){return yn.parsedFile!==null}).forEach(function(yn){mn.post(yn)})})},mn.processFile=function(){var Tt=(0,ce.Z)((0,re.Z)().mark(function Jt(qt,un){var dn,yn,bn,_n,Qn,ar,gr,mr,zr;return(0,re.Z)().wrap(function(lr){for(;;)switch(lr.prev=lr.next){case 0:if(dn=mn.props.beforeUpload,yn=qt,!dn){lr.next=14;break}return lr.prev=3,lr.next=6,dn(qt,un);case 6:yn=lr.sent,lr.next=12;break;case 9:lr.prev=9,lr.t0=lr.catch(3),yn=!1;case 12:if(yn!==!1){lr.next=14;break}return lr.abrupt("return",{origin:qt,parsedFile:null,action:null,data:null});case 14:if(bn=mn.props.action,typeof bn!="function"){lr.next=21;break}return lr.next=18,bn(qt);case 18:_n=lr.sent,lr.next=22;break;case 21:_n=bn;case 22:if(Qn=mn.props.data,typeof Qn!="function"){lr.next=29;break}return lr.next=26,Qn(qt);case 26:ar=lr.sent,lr.next=30;break;case 29:ar=Qn;case 30:return gr=((0,ae.Z)(yn)==="object"||typeof yn=="string")&&yn?yn:qt,gr instanceof File?mr=gr:mr=new File([gr],qt.name,{type:qt.type}),zr=mr,zr.uid=qt.uid,lr.abrupt("return",{origin:qt,data:ar,parsedFile:zr,action:_n});case 35:case"end":return lr.stop()}},Jt,null,[[3,9]])}));return function(Jt,qt){return Tt.apply(this,arguments)}}(),mn.saveFileInput=function(Tt){mn.fileInput=Tt},mn}return(0,ee.Z)(sn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Bn){var cn=this,pn=Bn.data,Tt=Bn.origin,Jt=Bn.action,qt=Bn.parsedFile;if(this._isMounted){var un=this.props,dn=un.onStart,yn=un.customRequest,bn=un.name,_n=un.headers,Qn=un.withCredentials,ar=un.method,gr=Tt.uid,mr=yn||xe,zr={action:Jt,filename:bn,data:pn,file:qt,headers:_n,withCredentials:Qn,method:ar||"post",onProgress:function(lr){var ur=cn.props.onProgress;ur==null||ur(lr,qt)},onSuccess:function(lr,ur){var dr=cn.props.onSuccess;dr==null||dr(lr,qt,ur),delete cn.reqs[gr]},onError:function(lr,ur){var dr=cn.props.onError;dr==null||dr(lr,ur,qt),delete cn.reqs[gr]}};dn(Tt),this.reqs[gr]=mr(zr)}}},{key:"reset",value:function(){this.setState({uid:Ee()})}},{key:"abort",value:function(Bn){var cn=this.reqs;if(Bn){var pn=Bn.uid?Bn.uid:Bn;cn[pn]&&cn[pn].abort&&cn[pn].abort(),delete cn[pn]}else Object.keys(cn).forEach(function(Tt){cn[Tt]&&cn[Tt].abort&&cn[Tt].abort(),delete cn[Tt]})}},{key:"render",value:function(){var Bn=this.props,cn=Bn.component,pn=Bn.prefixCls,Tt=Bn.className,Jt=Bn.disabled,qt=Bn.id,un=Bn.style,dn=Bn.multiple,yn=Bn.accept,bn=Bn.capture,_n=Bn.children,Qn=Bn.directory,ar=Bn.openFileDialogOnClick,gr=Bn.onMouseEnter,mr=Bn.onMouseLeave,zr=(0,pe.Z)(Bn,Se),Mr=je()((0,le.Z)((0,le.Z)((0,le.Z)({},pn,!0),"".concat(pn,"-disabled"),Jt),Tt,Tt)),lr=Qn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},ur=Jt?{}:{onClick:ar?this.onClick:function(){},onKeyDown:ar?this.onKeyDown:function(){},onMouseEnter:gr,onMouseLeave:mr,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return Ne.createElement(cn,(0,ve.Z)({},ur,{className:Mr,role:"button",style:un}),Ne.createElement("input",(0,ve.Z)({},(0,de.Z)(zr,{aria:!0,data:!0}),{id:qt,disabled:Jt,type:"file",ref:this.saveFileInput,onClick:function(Rr){return Rr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:yn},lr,{multiple:dn,onChange:this.onChange},bn!=null?{capture:bn}:{})),_n)}}]),sn}(Ne.Component),Re=Be;function Xe(){}var Ie=function(Xt){(0,ie.Z)(sn,Xt);var en=(0,oe.Z)(sn);function sn(){var mn;(0,ne.Z)(this,sn);for(var Bn=arguments.length,cn=new Array(Bn),pn=0;pn<Bn;pn++)cn[pn]=arguments[pn];return mn=en.call.apply(en,[this].concat(cn)),mn.uploader=void 0,mn.saveUploader=function(Tt){mn.uploader=Tt},mn}return(0,ee.Z)(sn,[{key:"abort",value:function(Bn){this.uploader.abort(Bn)}},{key:"render",value:function(){return Ne.createElement(Re,(0,ve.Z)({},this.props,{ref:this.saveUploader}))}}]),sn}(Ne.Component);Ie.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Xe,onError:Xe,onSuccess:Xe,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Ye=Ie,Ge=Ye,qe=Te(18929),it=Te(4676),st=Te(36355),Ve=Te(1684),Qe=Te(9763),nt=Te(31724),dt={icon:function(en,sn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:sn}},{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:en}}]}},name:"file",theme:"twotone"},at=dt,tt=Te(7657),et=function(en,sn){return Ne.createElement(tt.Z,(0,ve.Z)({},en,{ref:sn,icon:at}))},ot=Ne.forwardRef(et),yt=ot,pt=Te(58617),Pt={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"},Mt=Pt,ct=function(en,sn){return Ne.createElement(tt.Z,(0,ve.Z)({},en,{ref:sn,icon:Mt}))},Je=Ne.forwardRef(ct),Ze=Je,ue={icon:function(en,sn){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:en}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:sn}},{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:sn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:sn}},{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:en}}]}},name:"picture",theme:"twotone"},he=ue,He=function(en,sn){return Ne.createElement(tt.Z,(0,ve.Z)({},en,{ref:sn,icon:he}))},We=Ne.forwardRef(He),fe=We,Pe=Te(77900),Fe=Te(56762),Ke=Te(62892),Ue=Te(92343),ut=Te(3113);function vt(Xt){return Object.assign(Object.assign({},Xt),{lastModified:Xt.lastModified,lastModifiedDate:Xt.lastModifiedDate,name:Xt.name,size:Xt.size,type:Xt.type,uid:Xt.uid,percent:0,originFileObj:Xt})}function lt(Xt,en){const sn=(0,bt.Z)(en),mn=sn.findIndex(Bn=>{let{uid:cn}=Bn;return cn===Xt.uid});return mn===-1?sn.push(Xt):sn[mn]=Xt,sn}function Dt(Xt,en){const sn=Xt.uid!==void 0?"uid":"name";return en.filter(mn=>mn[sn]===Xt[sn])[0]}function Wt(Xt,en){const sn=Xt.uid!==void 0?"uid":"name",mn=en.filter(Bn=>Bn[sn]!==Xt[sn]);return mn.length===en.length?null:mn}const wt=function(){const en=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),mn=en[en.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(mn)||[""])[0]},zt=Xt=>Xt.indexOf("image/")===0,Nt=Xt=>{if(Xt.type&&!Xt.thumbUrl)return zt(Xt.type);const en=Xt.thumbUrl||Xt.url||"",sn=wt(en);return/^data:image\//.test(en)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(sn)?!0:!(/^data:/.test(en)||sn)},St=200;function ft(Xt){return new Promise(en=>{if(!Xt.type||!zt(Xt.type)){en("");return}const sn=document.createElement("canvas");sn.width=St,sn.height=St,sn.style.cssText=`position: fixed; left: 0; top: 0; width: ${St}px; height: ${St}px; z-index: 9999; display: none;`,document.body.appendChild(sn);const mn=sn.getContext("2d"),Bn=new Image;if(Bn.onload=()=>{const{width:cn,height:pn}=Bn;let Tt=St,Jt=St,qt=0,un=0;cn>pn?(Jt=pn*(St/cn),un=-(Jt-Tt)/2):(Tt=cn*(St/pn),qt=-(Tt-Jt)/2),mn.drawImage(Bn,qt,un,Tt,Jt);const dn=sn.toDataURL();document.body.removeChild(sn),window.URL.revokeObjectURL(Bn.src),en(dn)},Bn.crossOrigin="anonymous",Xt.type.startsWith("image/svg+xml")){const cn=new FileReader;cn.onload=()=>{cn.result&&(Bn.src=cn.result)},cn.readAsDataURL(Xt)}else if(Xt.type.startsWith("image/gif")){const cn=new FileReader;cn.onload=()=>{cn.result&&en(cn.result)},cn.readAsDataURL(Xt)}else Bn.src=window.URL.createObjectURL(Xt)})}var Et=Te(26227),Ft=Te(41464),Kt=Te(15277),Zt=Te(93948),rn=Te(6848),On=Ne.forwardRef((Xt,en)=>{let{prefixCls:sn,className:mn,style:Bn,locale:cn,listType:pn,file:Tt,items:Jt,progress:qt,iconRender:un,actionIconRender:dn,itemRender:yn,isImgUrl:bn,showPreviewIcon:_n,showRemoveIcon:Qn,showDownloadIcon:ar,previewIcon:gr,removeIcon:mr,downloadIcon:zr,onPreview:Mr,onDownload:lr,onClose:ur}=Xt;var dr,Rr;const{status:Cr}=Tt,[Ar,Gr]=Ne.useState(Cr);Ne.useEffect(()=>{Cr!=="removed"&&Gr(Cr)},[Cr]);const[Kr,oi]=Ne.useState(!1);Ne.useEffect(()=>{const ca=setTimeout(()=>{oi(!0)},300);return()=>{clearTimeout(ca)}},[]);const Di=un(Tt);let Hr=Ne.createElement("div",{className:`${sn}-icon`},Di);if(pn==="picture"||pn==="picture-card"||pn==="picture-circle")if(Ar==="uploading"||!Tt.thumbUrl&&!Tt.url){const ca=je()(`${sn}-list-item-thumbnail`,{[`${sn}-list-item-file`]:Ar!=="uploading"});Hr=Ne.createElement("div",{className:ca},Di)}else{const ca=bn!=null&&bn(Tt)?Ne.createElement("img",{src:Tt.thumbUrl||Tt.url,alt:Tt.name,className:`${sn}-list-item-image`,crossOrigin:Tt.crossOrigin}):Di,$i=je()(`${sn}-list-item-thumbnail`,{[`${sn}-list-item-file`]:bn&&!bn(Tt)});Hr=Ne.createElement("a",{className:$i,onClick:Hi=>Mr(Tt,Hi),href:Tt.url||Tt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},ca)}const or=je()(`${sn}-list-item`,`${sn}-list-item-${Ar}`),ir=typeof Tt.linkProps=="string"?JSON.parse(Tt.linkProps):Tt.linkProps,ti=Qn?dn((typeof mr=="function"?mr(Tt):mr)||Ne.createElement(Et.Z,null),()=>ur(Tt),sn,cn.removeFile):null,Ur=ar&&Ar==="done"?dn((typeof zr=="function"?zr(Tt):zr)||Ne.createElement(Ft.Z,null),()=>lr(Tt),sn,cn.downloadFile):null,ui=pn!=="picture-card"&&pn!=="picture-circle"&&Ne.createElement("span",{key:"download-delete",className:je()(`${sn}-list-item-actions`,{picture:pn==="picture"})},Ur,ti),gi=je()(`${sn}-list-item-name`),pi=Tt.url?[Ne.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:gi,title:Tt.name},ir,{href:Tt.url,onClick:ca=>Mr(Tt,ca)}),Tt.name),ui]:[Ne.createElement("span",{key:"view",className:gi,onClick:ca=>Mr(Tt,ca),title:Tt.name},Tt.name),ui],ei={pointerEvents:"none",opacity:.5},li=_n?Ne.createElement("a",{href:Tt.url||Tt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Tt.url||Tt.thumbUrl?void 0:ei,onClick:ca=>Mr(Tt,ca),title:cn.previewFile},typeof gr=="function"?gr(Tt):gr||Ne.createElement(Kt.Z,null)):null,ta=(pn==="picture-card"||pn==="picture-circle")&&Ar!=="uploading"&&Ne.createElement("span",{className:`${sn}-list-item-actions`},li,Ar==="done"&&Ur,ti),{getPrefixCls:Ir}=Ne.useContext(st.E_),Wr=Ir(),vi=Ne.createElement("div",{className:or},Hr,pi,ta,Kr&&Ne.createElement(Pe.default,{motionName:`${Wr}-fade`,visible:Ar==="uploading",motionDeadline:2e3},ca=>{let{className:$i}=ca;const Hi="percent"in Tt?Ne.createElement(Zt.Z,Object.assign({},qt,{type:"line",percent:Tt.percent,"aria-label":Tt["aria-label"],"aria-labelledby":Tt["aria-labelledby"]})):null;return Ne.createElement("div",{className:je()(`${sn}-list-item-progress`,$i)},Hi)})),Ai=Tt.response&&typeof Tt.response=="string"?Tt.response:((dr=Tt.error)===null||dr===void 0?void 0:dr.statusText)||((Rr=Tt.error)===null||Rr===void 0?void 0:Rr.message)||cn.uploadError,da=Ar==="error"?Ne.createElement(rn.Z,{title:Ai,getPopupContainer:ca=>ca.parentNode},vi):vi;return Ne.createElement("div",{className:je()(`${sn}-list-item-container`,mn),style:Bn,ref:en},yn?yn(da,Tt,Jt,{download:lr.bind(null,Tt),preview:Mr.bind(null,Tt),remove:ur.bind(null,Tt)}):da)});const Hn=(Xt,en)=>{const{listType:sn="text",previewFile:mn=ft,onPreview:Bn,onDownload:cn,onRemove:pn,locale:Tt,iconRender:Jt,isImageUrl:qt=Nt,prefixCls:un,items:dn=[],showPreviewIcon:yn=!0,showRemoveIcon:bn=!0,showDownloadIcon:_n=!1,removeIcon:Qn,previewIcon:ar,downloadIcon:gr,progress:mr={size:[-1,2],showInfo:!1},appendAction:zr,appendActionVisible:Mr=!0,itemRender:lr,disabled:ur}=Xt,dr=(0,Fe.Z)(),[Rr,Cr]=Ne.useState(!1);Ne.useEffect(()=>{sn!=="picture"&&sn!=="picture-card"&&sn!=="picture-circle"||(dn||[]).forEach(ei=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ei.originFileObj instanceof File||ei.originFileObj instanceof Blob)||ei.thumbUrl!==void 0||(ei.thumbUrl="",mn&&mn(ei.originFileObj).then(li=>{ei.thumbUrl=li||"",dr()}))})},[sn,dn,mn]),Ne.useEffect(()=>{Cr(!0)},[]);const Ar=(ei,li)=>{if(Bn)return li==null||li.preventDefault(),Bn(ei)},Gr=ei=>{typeof cn=="function"?cn(ei):ei.url&&window.open(ei.url)},Kr=ei=>{pn==null||pn(ei)},oi=ei=>{if(Jt)return Jt(ei,sn);const li=ei.status==="uploading",ta=qt&&qt(ei)?Ne.createElement(fe,null):Ne.createElement(yt,null);let Ir=li?Ne.createElement(pt.Z,null):Ne.createElement(Ze,null);return sn==="picture"?Ir=li?Ne.createElement(pt.Z,null):ta:(sn==="picture-card"||sn==="picture-circle")&&(Ir=li?Tt.uploading:ta),Ir},Di=(ei,li,ta,Ir)=>{const Wr={type:"text",size:"small",title:Ir,onClick:vi=>{li(),(0,Ue.l$)(ei)&&ei.props.onClick&&ei.props.onClick(vi)},className:`${ta}-list-item-action`,disabled:ur};if((0,Ue.l$)(ei)){const vi=(0,Ue.Tm)(ei,Object.assign(Object.assign({},ei.props),{onClick:()=>{}}));return Ne.createElement(ut.ZP,Object.assign({},Wr,{icon:vi}))}return Ne.createElement(ut.ZP,Object.assign({},Wr),Ne.createElement("span",null,ei))};Ne.useImperativeHandle(en,()=>({handlePreview:Ar,handleDownload:Gr}));const{getPrefixCls:Hr}=Ne.useContext(st.E_),or=Hr("upload",un),ir=Hr(),ti=je()(`${or}-list`,`${or}-list-${sn}`),Ur=(0,bt.Z)(dn.map(ei=>({key:ei.uid,file:ei})));let gi={motionDeadline:2e3,motionName:`${or}-${sn==="picture-card"||sn==="picture-circle"?"animate-inline":"animate"}`,keys:Ur,motionAppear:Rr};const pi=Ne.useMemo(()=>{const ei=Object.assign({},(0,Ke.Z)(ir));return delete ei.onAppearEnd,delete ei.onEnterEnd,delete ei.onLeaveEnd,ei},[ir]);return sn!=="picture-card"&&sn!=="picture-circle"&&(gi=Object.assign(Object.assign({},pi),gi)),Ne.createElement("div",{className:ti},Ne.createElement(Pe.CSSMotionList,Object.assign({},gi,{component:!1}),ei=>{let{key:li,file:ta,className:Ir,style:Wr}=ei;return Ne.createElement(On,{key:li,locale:Tt,prefixCls:or,className:Ir,style:Wr,file:ta,items:dn,progress:mr,listType:sn,isImgUrl:qt,showPreviewIcon:yn,showRemoveIcon:bn,showDownloadIcon:_n,removeIcon:Qn,previewIcon:ar,downloadIcon:gr,iconRender:oi,actionIconRender:Di,itemRender:lr,onPreview:Ar,onDownload:Gr,onClose:Kr})}),zr&&Ne.createElement(Pe.default,Object.assign({},gi,{visible:Mr,forceRender:!0}),ei=>{let{className:li,style:ta}=ei;return(0,Ue.Tm)(zr,Ir=>({className:je()(Ir.className,li),style:Object.assign(Object.assign(Object.assign({},ta),{pointerEvents:li?"none":void 0}),Ir.style)}))}))};var jn=Ne.forwardRef(Hn),Jn=Te(17313),br=Te(8378),sr=Te(83116),Rn=Te(37613),Gn=Xt=>{const{componentCls:en,iconCls:sn}=Xt;return{[`${en}-wrapper`]:{[`${en}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Xt.colorFillAlter,border:`${Xt.lineWidth}px dashed ${Xt.colorBorder}`,borderRadius:Xt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Xt.motionDurationSlow}`,[en]:{padding:`${Xt.padding}px 0`},[`${en}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${en}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${en}-disabled):hover`]:{borderColor:Xt.colorPrimaryHover},[`p${en}-drag-icon`]:{marginBottom:Xt.margin,[sn]:{color:Xt.colorPrimary,fontSize:Xt.uploadThumbnailSize}},[`p${en}-text`]:{margin:`0 0 ${Xt.marginXXS}px`,color:Xt.colorTextHeading,fontSize:Xt.fontSizeLG},[`p${en}-hint`]:{color:Xt.colorTextDescription,fontSize:Xt.fontSize},[`&${en}-disabled`]:{cursor:"not-allowed",[`p${en}-drag-icon ${sn},
p${en}-text,
p${en}-hint
`]:{color:Xt.colorTextDisabled}}}}}},xr=Xt=>{const{componentCls:en,antCls:sn,iconCls:mn,fontSize:Bn,lineHeight:cn}=Xt,pn=`${en}-list-item`,Tt=`${pn}-actions`,Jt=`${pn}-action`,qt=Math.round(Bn*cn);return{[`${en}-wrapper`]:{[`${en}-list`]:Object.assign(Object.assign({},(0,Jn.dF)()),{lineHeight:Xt.lineHeight,[pn]:{position:"relative",height:Xt.lineHeight*Bn,marginTop:Xt.marginXS,fontSize:Bn,display:"flex",alignItems:"center",transition:`background-color ${Xt.motionDurationSlow}`,"&:hover":{backgroundColor:Xt.controlItemBgHover},[`${pn}-name`]:Object.assign(Object.assign({},Jn.vS),{padding:`0 ${Xt.paddingXS}px`,lineHeight:cn,flex:"auto",transition:`all ${Xt.motionDurationSlow}`}),[Tt]:{[Jt]:{opacity:0},[`${Jt}${sn}-btn-sm`]:{height:qt,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${Jt}:focus-visible,
&.picture ${Jt}
`]:{opacity:1},[mn]:{color:Xt.actionsColor,transition:`all ${Xt.motionDurationSlow}`},[`&:hover ${mn}`]:{color:Xt.colorText}},[`${en}-icon ${mn}`]:{color:Xt.colorTextDescription,fontSize:Bn},[`${pn}-progress`]:{position:"absolute",bottom:-Xt.uploadProgressOffset,width:"100%",paddingInlineStart:Bn+Xt.paddingXS,fontSize:Bn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${pn}:hover ${Jt}`]:{opacity:1,color:Xt.colorText},[`${pn}-error`]:{color:Xt.colorError,[`${pn}-name, ${en}-icon ${mn}`]:{color:Xt.colorError},[Tt]:{[`${mn}, ${mn}:hover`]:{color:Xt.colorError},[Jt]:{opacity:1}}},[`${en}-list-item-container`]:{transition:`opacity ${Xt.motionDurationSlow}, height ${Xt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},cr=Te(36237),Tr=Te(1950);const Dr=new cr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Xn=new cr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var wr=Xt=>{const{componentCls:en}=Xt,sn=`${en}-animate-inline`;return[{[`${en}-wrapper`]:{[`${sn}-appear, ${sn}-enter, ${sn}-leave`]:{animationDuration:Xt.motionDurationSlow,animationTimingFunction:Xt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${sn}-appear, ${sn}-enter`]:{animationName:Dr},[`${sn}-leave`]:{animationName:Xn}}},{[`${en}-wrapper`]:(0,Tr.J$)(Xt)},Dr,Xn]},nr=Te(30071),Zn=Te(64993);const Pr=Xt=>{const{componentCls:en,iconCls:sn,uploadThumbnailSize:mn,uploadProgressOffset:Bn}=Xt,cn=`${en}-list`,pn=`${cn}-item`;return{[`${en}-wrapper`]:{[`
${cn}${cn}-picture,
${cn}${cn}-picture-card,
${cn}${cn}-picture-circle
`]:{[pn]:{position:"relative",height:mn+Xt.lineWidth*2+Xt.paddingXS*2,padding:Xt.paddingXS,border:`${Xt.lineWidth}px ${Xt.lineType} ${Xt.colorBorder}`,borderRadius:Xt.borderRadiusLG,"&:hover":{background:"transparent"},[`${pn}-thumbnail`]:Object.assign(Object.assign({},Jn.vS),{width:mn,height:mn,lineHeight:`${mn+Xt.paddingSM}px`,textAlign:"center",flex:"none",[sn]:{fontSize:Xt.fontSizeHeading2,color:Xt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${pn}-progress`]:{bottom:Bn,width:`calc(100% - ${Xt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:mn+Xt.paddingXS}},[`${pn}-error`]:{borderColor:Xt.colorError,[`${pn}-thumbnail ${sn}`]:{[`svg path[fill='${nr.blue[0]}']`]:{fill:Xt.colorErrorBg},[`svg path[fill='${nr.blue.primary}']`]:{fill:Xt.colorError}}},[`${pn}-uploading`]:{borderStyle:"dashed",[`${pn}-name`]:{marginBottom:Bn}}},[`${cn}${cn}-picture-circle ${pn}`]:{[`&, &::before, ${pn}-thumbnail`]:{borderRadius:"50%"}}}}},Ht=Xt=>{const{componentCls:en,iconCls:sn,fontSizeLG:mn,colorTextLightSolid:Bn}=Xt,cn=`${en}-list`,pn=`${cn}-item`,Tt=Xt.uploadPicCardSize;return{[`
${en}-wrapper${en}-picture-card-wrapper,
${en}-wrapper${en}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Jn.dF)()),{display:"inline-block",width:"100%",[`${en}${en}-select`]:{width:Tt,height:Tt,marginInlineEnd:Xt.marginXS,marginBottom:Xt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Xt.colorFillAlter,border:`${Xt.lineWidth}px dashed ${Xt.colorBorder}`,borderRadius:Xt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Xt.motionDurationSlow}`,[`> ${en}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${en}-disabled):hover`]:{borderColor:Xt.colorPrimary}},[`${cn}${cn}-picture-card, ${cn}${cn}-picture-circle`]:{[`${cn}-item-container`]:{display:"inline-block",width:Tt,height:Tt,marginBlock:`0 ${Xt.marginXS}px`,marginInline:`0 ${Xt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[pn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Xt.paddingXS*2}px)`,height:`calc(100% - ${Xt.paddingXS*2}px)`,backgroundColor:Xt.colorBgMask,opacity:0,transition:`all ${Xt.motionDurationSlow}`,content:'" "'}},[`${pn}:hover`]:{[`&::before, ${pn}-actions`]:{opacity:1}},[`${pn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Xt.motionDurationSlow}`,[`${sn}-eye, ${sn}-download, ${sn}-delete`]:{zIndex:10,width:mn,margin:`0 ${Xt.marginXXS}px`,fontSize:mn,cursor:"pointer",transition:`all ${Xt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${pn}-actions, ${pn}-actions:hover`]:{[`${sn}-eye, ${sn}-download, ${sn}-delete`]:{color:new Zn.C(Bn).setAlpha(.65).toRgbString(),"&:hover":{color:Bn}}},[`${pn}-thumbnail, ${pn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${pn}-name`]:{display:"none",textAlign:"center"},[`${pn}-file + ${pn}-name`]:{position:"absolute",bottom:Xt.margin,display:"block",width:`calc(100% - ${Xt.paddingXS*2}px)`},[`${pn}-uploading`]:{[`&${pn}`]:{backgroundColor:Xt.colorFillAlter},[`&::before, ${sn}-eye, ${sn}-download, ${sn}-delete`]:{display:"none"}},[`${pn}-progress`]:{bottom:Xt.marginXL,width:`calc(100% - ${Xt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${en}-wrapper${en}-picture-circle-wrapper`]:{[`${en}${en}-select`]:{borderRadius:"50%"}}}};var Rt=Xt=>{const{componentCls:en}=Xt;return{[`${en}-rtl`]:{direction:"rtl"}}};const Lt=Xt=>{const{componentCls:en,colorTextDisabled:sn}=Xt;return{[`${en}-wrapper`]:Object.assign(Object.assign({},(0,Jn.Wf)(Xt)),{[en]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${en}-select`]:{display:"inline-block"},[`${en}-disabled`]:{color:sn,cursor:"not-allowed"}})}};var Bt=(0,sr.Z)("Upload",Xt=>{const{fontSizeHeading3:en,fontSize:sn,lineHeight:mn,lineWidth:Bn,controlHeightLG:cn}=Xt,pn=Math.round(sn*mn),Tt=(0,Rn.TS)(Xt,{uploadThumbnailSize:en*2,uploadProgressOffset:pn/2+Bn,uploadPicCardSize:cn*2.55});return[Lt(Tt),Gn(Tt),Pr(Tt),Ht(Tt),xr(Tt),wr(Tt),Rt(Tt),(0,br.Z)(Tt)]},Xt=>({actionsColor:Xt.colorTextDescription})),Ut=function(Xt,en,sn,mn){function Bn(cn){return cn instanceof sn?cn:new sn(function(pn){pn(cn)})}return new(sn||(sn=Promise))(function(cn,pn){function Tt(un){try{qt(mn.next(un))}catch(dn){pn(dn)}}function Jt(un){try{qt(mn.throw(un))}catch(dn){pn(dn)}}function qt(un){un.done?cn(un.value):Bn(un.value).then(Tt,Jt)}qt((mn=mn.apply(Xt,en||[])).next())})};const Yt=`__LIST_IGNORE_${Date.now()}__`,hn=(Xt,en)=>{const{fileList:sn,defaultFileList:mn,onRemove:Bn,showUploadList:cn=!0,listType:pn="text",onPreview:Tt,onDownload:Jt,onChange:qt,onDrop:un,previewFile:dn,disabled:yn,locale:bn,iconRender:_n,isImageUrl:Qn,progress:ar,prefixCls:gr,className:mr,type:zr="select",children:Mr,style:lr,itemRender:ur,maxCount:dr,data:Rr={},multiple:Cr=!1,action:Ar="",accept:Gr="",supportServerRender:Kr=!0,rootClassName:oi}=Xt,Di=Ne.useContext(Ve.Z),Hr=yn!=null?yn:Di,[or,ir]=(0,qe.Z)(mn||[],{value:sn,postState:_i=>_i!=null?_i:[]}),[ti,Ur]=Ne.useState("drop"),ui=Ne.useRef(null);Ne.useMemo(()=>{const _i=Date.now();(sn||[]).forEach((Ui,Oa)=>{!Ui.uid&&!Object.isFrozen(Ui)&&(Ui.uid=`__AUTO__${_i}_${Oa}__`)})},[sn]);const gi=(_i,Ui,Oa)=>{let aa=(0,bt.Z)(Ui),ha=!1;dr===1?aa=aa.slice(-1):dr&&(ha=aa.length>dr,aa=aa.slice(0,dr)),(0,it.flushSync)(()=>{ir(aa)});const Pn={file:_i,fileList:aa};Oa&&(Pn.event=Oa),(!ha||aa.some(An=>An.uid===_i.uid))&&(0,it.flushSync)(()=>{qt==null||qt(Pn)})},pi=(_i,Ui)=>Ut(void 0,void 0,void 0,function*(){const{beforeUpload:Oa,transformFile:aa}=Xt;let ha=_i;if(Oa){const Pn=yield Oa(_i,Ui);if(Pn===!1)return!1;if(delete _i[Yt],Pn===Yt)return Object.defineProperty(_i,Yt,{value:!0,configurable:!0}),!1;typeof Pn=="object"&&Pn&&(ha=Pn)}return aa&&(ha=yield aa(ha)),ha}),ei=_i=>{const Ui=_i.filter(ha=>!ha.file[Yt]);if(!Ui.length)return;const Oa=Ui.map(ha=>vt(ha.file));let aa=(0,bt.Z)(or);Oa.forEach(ha=>{aa=lt(ha,aa)}),Oa.forEach((ha,Pn)=>{let An=ha;if(Ui[Pn].parsedFile)ha.status="uploading";else{const{originFileObj:xn}=ha;let Yn;try{Yn=new File([xn],xn.name,{type:xn.type})}catch(fr){Yn=new Blob([xn],{type:xn.type}),Yn.name=xn.name,Yn.lastModifiedDate=new Date,Yn.lastModified=new Date().getTime()}Yn.uid=ha.uid,An=Yn}gi(An,aa)})},li=(_i,Ui,Oa)=>{try{typeof _i=="string"&&(_i=JSON.parse(_i))}catch(Pn){}if(!Dt(Ui,or))return;const aa=vt(Ui);aa.status="done",aa.percent=100,aa.response=_i,aa.xhr=Oa;const ha=lt(aa,or);gi(aa,ha)},ta=(_i,Ui)=>{if(!Dt(Ui,or))return;const Oa=vt(Ui);Oa.status="uploading",Oa.percent=_i.percent;const aa=lt(Oa,or);gi(Oa,aa,_i)},Ir=(_i,Ui,Oa)=>{if(!Dt(Oa,or))return;const aa=vt(Oa);aa.error=_i,aa.response=Ui,aa.status="error";const ha=lt(aa,or);gi(aa,ha)},Wr=_i=>{let Ui;Promise.resolve(typeof Bn=="function"?Bn(_i):Bn).then(Oa=>{var aa;if(Oa===!1)return;const ha=Wt(_i,or);ha&&(Ui=Object.assign(Object.assign({},_i),{status:"removed"}),or==null||or.forEach(Pn=>{const An=Ui.uid!==void 0?"uid":"name";Pn[An]===Ui[An]&&!Object.isFrozen(Pn)&&(Pn.status="removed")}),(aa=ui.current)===null||aa===void 0||aa.abort(Ui),gi(Ui,ha))})},vi=_i=>{Ur(_i.type),_i.type==="drop"&&(un==null||un(_i))};Ne.useImperativeHandle(en,()=>({onBatchStart:ei,onSuccess:li,onProgress:ta,onError:Ir,fileList:or,upload:ui.current}));const{getPrefixCls:Ai,direction:da,upload:ca}=Ne.useContext(st.E_),$i=Ai("upload",gr),Hi=Object.assign(Object.assign({onBatchStart:ei,onError:Ir,onProgress:ta,onSuccess:li},Xt),{data:Rr,multiple:Cr,action:Ar,accept:Gr,supportServerRender:Kr,prefixCls:$i,disabled:Hr,beforeUpload:pi,onChange:void 0});delete Hi.className,delete Hi.style,(!Mr||Hr)&&delete Hi.id;const[xa,wa]=Bt($i),[jr]=(0,Qe.Z)("Upload",nt.Z.Upload),{showRemoveIcon:_r,showPreviewIcon:Nr,showDownloadIcon:$r,removeIcon:Yi,previewIcon:fa,downloadIcon:va}=typeof cn=="boolean"?{}:cn,pa=(_i,Ui)=>cn?Ne.createElement(jn,{prefixCls:$i,listType:pn,items:or,previewFile:dn,onPreview:Tt,onDownload:Jt,onRemove:Wr,showRemoveIcon:!Hr&&_r,showPreviewIcon:Nr,showDownloadIcon:$r,removeIcon:Yi,previewIcon:fa,downloadIcon:va,iconRender:_n,locale:Object.assign(Object.assign({},jr),bn),isImageUrl:Qn,progress:ar,appendAction:_i,appendActionVisible:Ui,itemRender:ur,disabled:Hr}):_i,ua=je()(`${$i}-wrapper`,mr,oi,wa,ca==null?void 0:ca.className,{[`${$i}-rtl`]:da==="rtl",[`${$i}-picture-card-wrapper`]:pn==="picture-card",[`${$i}-picture-circle-wrapper`]:pn==="picture-circle"}),Ma=Object.assign(Object.assign({},ca==null?void 0:ca.style),lr);if(zr==="drag"){const _i=je()(wa,$i,`${$i}-drag`,{[`${$i}-drag-uploading`]:or.some(Ui=>Ui.status==="uploading"),[`${$i}-drag-hover`]:ti==="dragover",[`${$i}-disabled`]:Hr,[`${$i}-rtl`]:da==="rtl"});return xa(Ne.createElement("span",{className:ua},Ne.createElement("div",{className:_i,style:Ma,onDrop:vi,onDragOver:vi,onDragLeave:vi},Ne.createElement(Ge,Object.assign({},Hi,{ref:ui,className:`${$i}-btn`}),Ne.createElement("div",{className:`${$i}-drag-container`},Mr))),pa()))}const Xa=je()($i,`${$i}-select`,{[`${$i}-disabled`]:Hr}),go=(_i=>Ne.createElement("div",{className:Xa,style:_i},Ne.createElement(Ge,Object.assign({},Hi,{ref:ui}))))(Mr?void 0:{display:"none"});return xa(pn==="picture-card"||pn==="picture-circle"?Ne.createElement("span",{className:ua},pa(go,!!Mr)):Ne.createElement("span",{className:ua},go,pa()))};var wn=Ne.forwardRef(hn),Ln=function(Xt,en){var sn={};for(var mn in Xt)Object.prototype.hasOwnProperty.call(Xt,mn)&&en.indexOf(mn)<0&&(sn[mn]=Xt[mn]);if(Xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bn=0,mn=Object.getOwnPropertySymbols(Xt);Bn<mn.length;Bn++)en.indexOf(mn[Bn])<0&&Object.prototype.propertyIsEnumerable.call(Xt,mn[Bn])&&(sn[mn[Bn]]=Xt[mn[Bn]]);return sn},zn=Ne.forwardRef((Xt,en)=>{var{style:sn,height:mn}=Xt,Bn=Ln(Xt,["style","height"]);return Ne.createElement(wn,Object.assign({ref:en},Bn,{type:"drag",style:Object.assign(Object.assign({},sn),{height:mn})}))});const nn=wn;nn.Dragger=zn,nn.LIST_IGNORE=Yt;var In=nn},99498:function(kn,Qt,Te){(function(Ne){Ne(Te(89780))})(function(Ne){Ne.defineOption("placeholder","",function(ie,oe,le){var pe=le&&le!=Ne.Init;if(oe&&!pe)ie.on("blur",ve),ie.on("change",ne),ie.on("swapDoc",ne),Ne.on(ie.getInputField(),"compositionupdate",ie.state.placeholderCompose=function(){je(ie)}),ne(ie);else if(!oe&&pe){ie.off("blur",ve),ie.off("change",ne),ie.off("swapDoc",ne),Ne.off(ie.getInputField(),"compositionupdate",ie.state.placeholderCompose),bt(ie);var re=ie.getWrapperElement();re.className=re.className.replace(" CodeMirror-empty","")}oe&&!ie.hasFocus()&&ve(ie)});function bt(ie){ie.state.placeholder&&(ie.state.placeholder.parentNode.removeChild(ie.state.placeholder),ie.state.placeholder=null)}function E(ie){bt(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 je(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?E(ie):bt(ie)},20)}function ve(ie){ee(ie)&&E(ie)}function ne(ie){var oe=ie.getWrapperElement(),le=ee(ie);oe.className=oe.className.replace(" CodeMirror-empty","")+(le?" CodeMirror-empty":""),le?E(ie):bt(ie)}function ee(ie){return ie.lineCount()===1&&ie.getLine(0)===""}})},25717:function(kn,Qt,Te){(function(Ne){Ne(Te(89780))})(function(Ne){var bt={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},E=Ne.Pos;Ne.defineOption("autoCloseBrackets",!1,function(de,me,we){we&&we!=Ne.Init&&(de.removeKeyMap(ve),de.state.closeBrackets=null),me&&(ne(je(me,"pairs")),de.state.closeBrackets=me,de.addKeyMap(ve))});function je(de,me){return me=="pairs"&&typeof de=="string"?de:typeof de=="object"&&de[me]!=null?de[me]:bt[me]}var ve={Backspace:oe,Enter:le};function ne(de){for(var me=0;me<de.length;me++){var we=de.charAt(me),xe="'"+we+"'";ve[xe]||(ve[xe]=ee(we))}}ne(bt.pairs+"`");function ee(de){return function(me){return re(me,de)}}function ie(de){var me=de.state.closeBrackets;if(!me||me.override)return me;var we=de.getModeAt(de.getCursor());return we.closeBrackets||me}function oe(de){var me=ie(de);if(!me||de.getOption("disableInput"))return Ne.Pass;for(var we=je(me,"pairs"),xe=de.listSelections(),Ae=0;Ae<xe.length;Ae++){if(!xe[Ae].empty())return Ne.Pass;var ye=ae(de,xe[Ae].head);if(!ye||we.indexOf(ye)%2!=0)return Ne.Pass}for(var Ae=xe.length-1;Ae>=0;Ae--){var Ee=xe[Ae].head;de.replaceRange("",E(Ee.line,Ee.ch-1),E(Ee.line,Ee.ch+1),"+delete")}}function le(de){var me=ie(de),we=me&&je(me,"explode");if(!we||de.getOption("disableInput"))return Ne.Pass;for(var xe=de.listSelections(),Ae=0;Ae<xe.length;Ae++){if(!xe[Ae].empty())return Ne.Pass;var ye=ae(de,xe[Ae].head);if(!ye||we.indexOf(ye)%2!=0)return Ne.Pass}de.operation(function(){var Ee=de.lineSeparator()||`
`;de.replaceSelection(Ee+Ee,null),de.execCommand("goCharLeft"),xe=de.listSelections();for(var Le=0;Le<xe.length;Le++){var Ce=xe[Le].head.line;de.indentLine(Ce,null,!0),de.indentLine(Ce+1,null,!0)}})}function pe(de){var me=Ne.cmpPos(de.anchor,de.head)>0;return{anchor:new E(de.anchor.line,de.anchor.ch+(me?-1:1)),head:new E(de.head.line,de.head.ch+(me?1:-1))}}function re(de,me){var we=ie(de);if(!we||de.getOption("disableInput"))return Ne.Pass;var xe=je(we,"pairs"),Ae=xe.indexOf(me);if(Ae==-1)return Ne.Pass;for(var ye=je(we,"closeBefore"),Ee=je(we,"triples"),Le=xe.charAt(Ae+1)==me,Ce=de.listSelections(),_e=Ae%2==0,Me,De=0;De<Ce.length;De++){var Se=Ce[De],Be=Se.head,Re,Xe=de.getRange(Be,E(Be.line,Be.ch+1));if(_e&&!Se.empty())Re="surround";else if((Le||!_e)&&Xe==me)Le&&ce(de,Be)?Re="both":Ee.indexOf(me)>=0&&de.getRange(Be,E(Be.line,Be.ch+3))==me+me+me?Re="skipThree":Re="skip";else if(Le&&Be.ch>1&&Ee.indexOf(me)>=0&&de.getRange(E(Be.line,Be.ch-2),Be)==me+me){if(Be.ch>2&&/\bstring/.test(de.getTokenTypeAt(E(Be.line,Be.ch-2))))return Ne.Pass;Re="addFour"}else if(Le){var Ie=Be.ch==0?" ":de.getRange(E(Be.line,Be.ch-1),Be);if(!Ne.isWordChar(Xe)&&Ie!=me&&!Ne.isWordChar(Ie))Re="both";else return Ne.Pass}else if(_e&&(Xe.length===0||/\s/.test(Xe)||ye.indexOf(Xe)>-1))Re="both";else return Ne.Pass;if(!Me)Me=Re;else if(Me!=Re)return Ne.Pass}var Ye=Ae%2?xe.charAt(Ae-1):me,Ge=Ae%2?me:xe.charAt(Ae+1);de.operation(function(){if(Me=="skip")de.execCommand("goCharRight");else if(Me=="skipThree")for(var qe=0;qe<3;qe++)de.execCommand("goCharRight");else if(Me=="surround"){for(var it=de.getSelections(),qe=0;qe<it.length;qe++)it[qe]=Ye+it[qe]+Ge;de.replaceSelections(it,"around"),it=de.listSelections().slice();for(var qe=0;qe<it.length;qe++)it[qe]=pe(it[qe]);de.setSelections(it)}else Me=="both"?(de.replaceSelection(Ye+Ge,null),de.triggerElectric(Ye+Ge),de.execCommand("goCharLeft")):Me=="addFour"&&(de.replaceSelection(Ye+Ye+Ye+Ye,"before"),de.execCommand("goCharRight"))})}function ae(de,me){var we=de.getRange(E(me.line,me.ch-1),E(me.line,me.ch+1));return we.length==2?we:null}function ce(de,me){var we=de.getTokenAt(E(me.line,me.ch+1));return/\bstring/.test(we.type)&&we.start==me.ch&&(me.ch==0||!/\bstring/.test(de.getTokenTypeAt(me)))}})},6313:function(kn,Qt,Te){(function(Ne){Ne(Te(89780),Te(32855))})(function(Ne){Ne.defineOption("autoCloseTags",!1,function(oe,le,pe){if(pe!=Ne.Init&&pe&&oe.removeKeyMap("autoCloseTags"),!!le){var re={name:"autoCloseTags"};(typeof le!="object"||le.whenClosing!==!1)&&(re["'/'"]=function(ae){return ne(ae)}),(typeof le!="object"||le.whenOpening!==!1)&&(re["'>'"]=function(ae){return je(ae)}),oe.addKeyMap(re)}});var bt=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],E=["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 je(oe){if(oe.getOption("disableInput"))return Ne.Pass;for(var le=oe.listSelections(),pe=[],re=oe.getOption("autoCloseTags"),ae=0;ae<le.length;ae++){if(!le[ae].empty())return Ne.Pass;var ce=le[ae].head,de=oe.getTokenAt(ce),me=Ne.innerMode(oe.getMode(),de.state),we=me.state,xe=me.mode.xmlCurrentTag&&me.mode.xmlCurrentTag(we),Ae=xe&&xe.name;if(!Ae)return Ne.Pass;var ye=me.mode.configuration=="html",Ee=typeof re=="object"&&re.dontCloseTags||ye&&bt,Le=typeof re=="object"&&re.indentTags||ye&&E;de.end>ce.ch&&(Ae=Ae.slice(0,Ae.length-de.end+ce.ch));var Ce=Ae.toLowerCase();if(!Ae||de.type=="string"&&(de.end!=ce.ch||!/[\"\']/.test(de.string.charAt(de.string.length-1))||de.string.length==1)||de.type=="tag"&&xe.close||de.string.indexOf("/")==ce.ch-de.start-1||Ee&&ee(Ee,Ce)>-1||ie(oe,me.mode.xmlCurrentContext&&me.mode.xmlCurrentContext(we)||[],Ae,ce,!0))return Ne.Pass;var _e=typeof re=="object"&&re.emptyTags;if(_e&&ee(_e,Ae)>-1){pe[ae]={text:"/>",newPos:Ne.Pos(ce.line,ce.ch+2)};continue}var Me=Le&&ee(Le,Ce)>-1;pe[ae]={indent:Me,text:">"+(Me?`
`:"")+"</"+Ae+">",newPos:Me?Ne.Pos(ce.line+1,0):Ne.Pos(ce.line,ce.ch+1)}}for(var De=typeof re=="object"&&re.dontIndentOnAutoClose,ae=le.length-1;ae>=0;ae--){var Se=pe[ae];oe.replaceRange(Se.text,le[ae].head,le[ae].anchor,"+insert");var Be=oe.listSelections().slice(0);Be[ae]={head:Se.newPos,anchor:Se.newPos},oe.setSelections(Be),!De&&Se.indent&&(oe.indentLine(Se.newPos.line,null,!0),oe.indentLine(Se.newPos.line+1,null,!0))}}function ve(oe,le){for(var pe=oe.listSelections(),re=[],ae=le?"/":"</",ce=oe.getOption("autoCloseTags"),de=typeof ce=="object"&&ce.dontIndentOnSlash,me=0;me<pe.length;me++){if(!pe[me].empty())return Ne.Pass;var we=pe[me].head,xe=oe.getTokenAt(we),Ae=Ne.innerMode(oe.getMode(),xe.state),ye=Ae.state;if(le&&(xe.type=="string"||xe.string.charAt(0)!="<"||xe.start!=we.ch-1))return Ne.Pass;var Ee,Le=Ae.mode.name!="xml"&&oe.getMode().name=="htmlmixed";if(Le&&Ae.mode.name=="javascript")Ee=ae+"script";else if(Le&&Ae.mode.name=="css")Ee=ae+"style";else{var Ce=Ae.mode.xmlCurrentContext&&Ae.mode.xmlCurrentContext(ye);if(!Ce||Ce.length&&ie(oe,Ce,Ce[Ce.length-1],we))return Ne.Pass;Ee=ae+Ce[Ce.length-1]}oe.getLine(we.line).charAt(xe.end)!=">"&&(Ee+=">"),re[me]=Ee}if(oe.replaceSelections(re),pe=oe.listSelections(),!de)for(var me=0;me<pe.length;me++)(me==pe.length-1||pe[me].head.line<pe[me+1].head.line)&&oe.indentLine(pe[me].head.line)}function ne(oe){return oe.getOption("disableInput")?Ne.Pass:ve(oe,!0)}Ne.commands.closeTag=function(oe){return ve(oe)};function ee(oe,le){if(oe.indexOf)return oe.indexOf(le);for(var pe=0,re=oe.length;pe<re;++pe)if(oe[pe]==le)return pe;return-1}function ie(oe,le,pe,re,ae){if(!Ne.scanForClosingTag)return!1;var ce=Math.min(oe.lastLine()+1,re.line+500),de=Ne.scanForClosingTag(oe,re,null,ce);if(!de||de.tag!=pe)return!1;for(var me=ae?1:0,we=le.length-1;we>=0&&le[we]==pe;we--)++me;re=de.to;for(var we=1;we<me;we++){var xe=Ne.scanForClosingTag(oe,re,null,ce);if(!xe||xe.tag!=pe)return!1;re=xe.to}return!0}})},32855:function(kn,Qt,Te){(function(Ne){Ne(Te(89780))})(function(Ne){"use strict";var bt=Ne.Pos;function E(we,xe){return we.line-xe.line||we.ch-xe.ch}var je="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=je+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ne=new RegExp("<(/?)(["+je+"]["+ve+"]*)","g");function ee(we,xe,Ae,ye){this.line=xe,this.ch=Ae,this.cm=we,this.text=we.getLine(xe),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,xe){var Ae=we.cm.getTokenTypeAt(bt(we.line,xe));return Ae&&/\btag\b/.test(Ae)}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 pe(we){for(;;){var xe=we.text.indexOf(">",we.ch);if(xe==-1){if(oe(we))continue;return}if(!ie(we,xe+1)){we.ch=xe+1;continue}var Ae=we.text.lastIndexOf("/",xe),ye=Ae>-1&&!/\S/.test(we.text.slice(Ae+1,xe));return we.ch=xe+1,ye?"selfClose":"regular"}}function re(we){for(;;){var xe=we.ch?we.text.lastIndexOf("<",we.ch-1):-1;if(xe==-1){if(le(we))continue;return}if(!ie(we,xe+1)){we.ch=xe;continue}ne.lastIndex=xe,we.ch=xe;var Ae=ne.exec(we.text);if(Ae&&Ae.index==xe)return Ae}}function ae(we){for(;;){ne.lastIndex=we.ch;var xe=ne.exec(we.text);if(!xe){if(oe(we))continue;return}if(!ie(we,xe.index+1)){we.ch=xe.index+1;continue}return we.ch=xe.index+xe[0].length,xe}}function ce(we){for(;;){var xe=we.ch?we.text.lastIndexOf(">",we.ch-1):-1;if(xe==-1){if(le(we))continue;return}if(!ie(we,xe+1)){we.ch=xe;continue}var Ae=we.text.lastIndexOf("/",xe),ye=Ae>-1&&!/\S/.test(we.text.slice(Ae+1,xe));return we.ch=xe+1,ye?"selfClose":"regular"}}function de(we,xe){for(var Ae=[];;){var ye=ae(we),Ee,Le=we.line,Ce=we.ch-(ye?ye[0].length:0);if(!ye||!(Ee=pe(we)))return;if(Ee!="selfClose")if(ye[1]){for(var _e=Ae.length-1;_e>=0;--_e)if(Ae[_e]==ye[2]){Ae.length=_e;break}if(_e<0&&(!xe||xe==ye[2]))return{tag:ye[2],from:bt(Le,Ce),to:bt(we.line,we.ch)}}else Ae.push(ye[2])}}function me(we,xe){for(var Ae=[];;){var ye=ce(we);if(!ye)return;if(ye=="selfClose"){re(we);continue}var Ee=we.line,Le=we.ch,Ce=re(we);if(!Ce)return;if(Ce[1])Ae.push(Ce[2]);else{for(var _e=Ae.length-1;_e>=0;--_e)if(Ae[_e]==Ce[2]){Ae.length=_e;break}if(_e<0&&(!xe||xe==Ce[2]))return{tag:Ce[2],from:bt(we.line,we.ch),to:bt(Ee,Le)}}}}Ne.registerHelper("fold","xml",function(we,xe){for(var Ae=new ee(we,xe.line,0);;){var ye=ae(Ae);if(!ye||Ae.line!=xe.line)return;var Ee=pe(Ae);if(!Ee)return;if(!ye[1]&&Ee!="selfClose"){var Le=bt(Ae.line,Ae.ch),Ce=de(Ae,ye[2]);return Ce&&E(Ce.from,Le)>0?{from:Le,to:Ce.from}:null}}}),Ne.findMatchingTag=function(we,xe,Ae){var ye=new ee(we,xe.line,xe.ch,Ae);if(!(ye.text.indexOf(">")==-1&&ye.text.indexOf("<")==-1)){var Ee=pe(ye),Le=Ee&&bt(ye.line,ye.ch),Ce=Ee&&re(ye);if(!(!Ee||!Ce||E(ye,xe)>0)){var _e={from:bt(ye.line,ye.ch),to:Le,tag:Ce[2]};return Ee=="selfClose"?{open:_e,close:null,at:"open"}:Ce[1]?{open:me(ye,Ce[2]),close:_e,at:"close"}:(ye=new ee(we,Le.line,Le.ch,Ae),{open:_e,close:de(ye,Ce[2]),at:"open"})}}},Ne.findEnclosingTag=function(we,xe,Ae,ye){for(var Ee=new ee(we,xe.line,xe.ch,Ae);;){var Le=me(Ee,ye);if(!Le)break;var Ce=new ee(we,xe.line,xe.ch,Ae),_e=de(Ce,Le.tag);if(_e)return{open:Le,close:_e}}},Ne.scanForClosingTag=function(we,xe,Ae,ye){var Ee=new ee(we,xe.line,xe.ch,ye?{from:0,to:ye}:null);return de(Ee,Ae)}})},89780:function(kn){(function(Qt,Te){kn.exports=Te()})(this,function(){"use strict";var Qt=navigator.userAgent,Te=navigator.platform,Ne=/gecko\/\d/i.test(Qt),bt=/MSIE \d/.test(Qt),E=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Qt),je=/Edge\/(\d+)/.exec(Qt),ve=bt||E||je,ne=ve&&(bt?document.documentMode||6:+(je||E)[1]),ee=!je&&/WebKit\//.test(Qt),ie=ee&&/Qt\/\d+\.\d+/.test(Qt),oe=!je&&/Chrome\//.test(Qt),le=/Opera\//.test(Qt),pe=/Apple Computer/.test(navigator.vendor),re=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Qt),ae=/PhantomJS/.test(Qt),ce=!je&&/AppleWebKit/.test(Qt)&&/Mobile\/\w+/.test(Qt),de=/Android/.test(Qt),me=ce||de||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Qt),we=ce||/Mac/.test(Te),xe=/\bCrOS\b/.test(Qt),Ae=/win/i.test(Te),ye=le&&Qt.match(/Version\/(\d*\.\d*)/);ye&&(ye=Number(ye[1])),ye&&ye>=15&&(le=!1,ee=!0);var Ee=we&&(ie||le&&(ye==null||ye<12.11)),Le=Ne||ve&&ne>=9;function Ce(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var _e=function(x,te){var be=x.className,ge=Ce(te).exec(be);if(ge){var Oe=be.slice(ge.index+ge[0].length);x.className=be.slice(0,ge.index)+(Oe?ge[1]+Oe:"")}};function Me(x){for(var te=x.childNodes.length;te>0;--te)x.removeChild(x.firstChild);return x}function De(x,te){return Me(x).appendChild(te)}function Se(x,te,be,ge){var Oe=document.createElement(x);if(be&&(Oe.className=be),ge&&(Oe.style.cssText=ge),typeof te=="string")Oe.appendChild(document.createTextNode(te));else if(te)for(var $e=0;$e<te.length;++$e)Oe.appendChild(te[$e]);return Oe}function Be(x,te,be,ge){var Oe=Se(x,te,be,ge);return Oe.setAttribute("role","presentation"),Oe}var Re;document.createRange?Re=function(x,te,be,ge){var Oe=document.createRange();return Oe.setEnd(ge||x,be),Oe.setStart(x,te),Oe}:Re=function(x,te,be){var ge=document.body.createTextRange();try{ge.moveToElementText(x.parentNode)}catch(Oe){return ge}return ge.collapse(!0),ge.moveEnd("character",be),ge.moveStart("character",te),ge};function Xe(x,te){if(te.nodeType==3&&(te=te.parentNode),x.contains)return x.contains(te);do if(te.nodeType==11&&(te=te.host),te==x)return!0;while(te=te.parentNode)}function Ie(){var x;try{x=document.activeElement}catch(te){x=document.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function Ye(x,te){var be=x.className;Ce(te).test(be)||(x.className+=(be?" ":"")+te)}function Ge(x,te){for(var be=x.split(" "),ge=0;ge<be.length;ge++)be[ge]&&!Ce(be[ge]).test(te)&&(te+=" "+be[ge]);return te}var qe=function(x){x.select()};ce?qe=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:ve&&(qe=function(x){try{x.select()}catch(te){}});function it(x){var te=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,te)}}function st(x,te,be){te||(te={});for(var ge in x)x.hasOwnProperty(ge)&&(be!==!1||!te.hasOwnProperty(ge))&&(te[ge]=x[ge]);return te}function Ve(x,te,be,ge,Oe){te==null&&(te=x.search(/[^\s\u00a0]/),te==-1&&(te=x.length));for(var $e=ge||0,mt=Oe||0;;){var Ct=x.indexOf(" ",$e);if(Ct<0||Ct>=te)return mt+(te-$e);mt+=Ct-$e,mt+=be-mt%be,$e=Ct+1}}var Qe=function(){this.id=null,this.f=null,this.time=0,this.handler=it(this.onTimeout,this)};Qe.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},Qe.prototype.set=function(x,te){this.f=te;var be=+new Date+x;(!this.id||be<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,x),this.time=be)};function nt(x,te){for(var be=0;be<x.length;++be)if(x[be]==te)return be;return-1}var dt=50,at={toString:function(){return"CodeMirror.Pass"}},tt={scroll:!1},et={origin:"*mouse"},ot={origin:"+move"};function yt(x,te,be){for(var ge=0,Oe=0;;){var $e=x.indexOf(" ",ge);$e==-1&&($e=x.length);var mt=$e-ge;if($e==x.length||Oe+mt>=te)return ge+Math.min(mt,te-Oe);if(Oe+=$e-ge,Oe+=be-Oe%be,ge=$e+1,Oe>=te)return ge}}var pt=[""];function Pt(x){for(;pt.length<=x;)pt.push(Mt(pt)+" ");return pt[x]}function Mt(x){return x[x.length-1]}function ct(x,te){for(var be=[],ge=0;ge<x.length;ge++)be[ge]=te(x[ge],ge);return be}function Je(x,te,be){for(var ge=0,Oe=be(te);ge<x.length&&be(x[ge])<=Oe;)ge++;x.splice(ge,0,te)}function Ze(){}function ue(x,te){var be;return Object.create?be=Object.create(x):(Ze.prototype=x,be=new Ze),te&&st(te,be),be}var he=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function He(x){return/\w/.test(x)||x>"\x80"&&(x.toUpperCase()!=x.toLowerCase()||he.test(x))}function We(x,te){return te?te.source.indexOf("\\w")>-1&&He(x)?!0:te.test(x):He(x)}function fe(x){for(var te in x)if(x.hasOwnProperty(te)&&x[te])return!1;return!0}var Pe=/[\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 Fe(x){return x.charCodeAt(0)>=768&&Pe.test(x)}function Ke(x,te,be){for(;(be<0?te>0:te<x.length)&&Fe(x.charAt(te));)te+=be;return te}function Ue(x,te,be){for(var ge=te>be?-1:1;;){if(te==be)return te;var Oe=(te+be)/2,$e=ge<0?Math.ceil(Oe):Math.floor(Oe);if($e==te)return x($e)?te:be;x($e)?be=$e:te=$e+ge}}function ut(x,te,be,ge){if(!x)return ge(te,be,"ltr",0);for(var Oe=!1,$e=0;$e<x.length;++$e){var mt=x[$e];(mt.from<be&&mt.to>te||te==be&&mt.to==te)&&(ge(Math.max(mt.from,te),Math.min(mt.to,be),mt.level==1?"rtl":"ltr",$e),Oe=!0)}Oe||ge(te,be,"ltr")}var vt=null;function lt(x,te,be){var ge;vt=null;for(var Oe=0;Oe<x.length;++Oe){var $e=x[Oe];if($e.from<te&&$e.to>te)return Oe;$e.to==te&&($e.from!=$e.to&&be=="before"?ge=Oe:vt=Oe),$e.from==te&&($e.from!=$e.to&&be!="before"?ge=Oe:vt=Oe)}return ge!=null?ge:vt}var Dt=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",te="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function be(_t){return _t<=247?x.charAt(_t):1424<=_t&&_t<=1524?"R":1536<=_t&&_t<=1785?te.charAt(_t-1536):1774<=_t&&_t<=2220?"r":8192<=_t&&_t<=8203?"w":_t==8204?"b":"L"}var ge=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Oe=/[stwN]/,$e=/[LRr]/,mt=/[Lb1n]/,Ct=/[1n]/;function Ot(_t,an,vn){this.level=_t,this.from=an,this.to=vn}return function(_t,an){var vn=an=="ltr"?"L":"R";if(_t.length==0||an=="ltr"&&!ge.test(_t))return!1;for(var Wn=_t.length,Nn=[],vr=0;vr<Wn;++vr)Nn.push(be(_t.charCodeAt(vr)));for(var Fr=0,si=vn;Fr<Wn;++Fr){var Ei=Nn[Fr];Ei=="m"?Nn[Fr]=si:si=Ei}for(var Ti=0,yi=vn;Ti<Wn;++Ti){var Bi=Nn[Ti];Bi=="1"&&yi=="r"?Nn[Ti]="n":$e.test(Bi)&&(yi=Bi,Bi=="r"&&(Nn[Ti]="R"))}for(var Qi=1,ea=Nn[0];Qi<Wn-1;++Qi){var Ra=Nn[Qi];Ra=="+"&&ea=="1"&&Nn[Qi+1]=="1"?Nn[Qi]="1":Ra==","&&ea==Nn[Qi+1]&&(ea=="1"||ea=="n")&&(Nn[Qi]=ea),ea=Ra}for(var xo=0;xo<Wn;++xo){var As=Nn[xo];if(As==",")Nn[xo]="N";else if(As=="%"){var zo=void 0;for(zo=xo+1;zo<Wn&&Nn[zo]=="%";++zo);for(var $s=xo&&Nn[xo-1]=="!"||zo<Wn&&Nn[zo]=="1"?"1":"N",el=xo;el<zo;++el)Nn[el]=$s;xo=zo-1}}for(var ds=0,tl=vn;ds<Wn;++ds){var ya=Nn[ds];tl=="L"&&ya=="1"?Nn[ds]="L":$e.test(ya)&&(tl=ya)}for(var Go=0;Go<Wn;++Go)if(Oe.test(Nn[Go])){var Ko=void 0;for(Ko=Go+1;Ko<Wn&&Oe.test(Nn[Ko]);++Ko);for(var Xo=(Go?Nn[Go-1]:vn)=="L",is=(Ko<Wn?Nn[Ko]:vn)=="L",Uc=Xo==is?Xo?"L":"R":vn,ll=Go;ll<Ko;++ll)Nn[ll]=Uc;Go=Ko-1}for(var Ds=[],no,gs=0;gs<Wn;)if(mt.test(Nn[gs])){var cd=gs;for(++gs;gs<Wn&&mt.test(Nn[gs]);++gs);Ds.push(new Ot(0,cd,gs))}else{var pc=gs,Mc=Ds.length,$l=an=="rtl"?1:0;for(++gs;gs<Wn&&Nn[gs]!="L";++gs);for(var fs=pc;fs<gs;)if(Ct.test(Nn[fs])){pc<fs&&(Ds.splice(Mc,0,new Ot(1,pc,fs)),Mc+=$l);var Vc=fs;for(++fs;fs<gs&&Ct.test(Nn[fs]);++fs);Ds.splice(Mc,0,new Ot(2,Vc,fs)),Mc+=$l,pc=fs}else++fs;pc<gs&&Ds.splice(Mc,0,new Ot(1,pc,gs))}return an=="ltr"&&(Ds[0].level==1&&(no=_t.match(/^\s+/))&&(Ds[0].from=no[0].length,Ds.unshift(new Ot(0,0,no[0].length))),Mt(Ds).level==1&&(no=_t.match(/\s+$/))&&(Mt(Ds).to-=no[0].length,Ds.push(new Ot(0,Wn-no[0].length,Wn)))),an=="rtl"?Ds.reverse():Ds}}();function Wt(x,te){var be=x.order;return be==null&&(be=x.order=Dt(x.text,te)),be}var wt=[],zt=function(x,te,be){if(x.addEventListener)x.addEventListener(te,be,!1);else if(x.attachEvent)x.attachEvent("on"+te,be);else{var ge=x._handlers||(x._handlers={});ge[te]=(ge[te]||wt).concat(be)}};function Nt(x,te){return x._handlers&&x._handlers[te]||wt}function St(x,te,be){if(x.removeEventListener)x.removeEventListener(te,be,!1);else if(x.detachEvent)x.detachEvent("on"+te,be);else{var ge=x._handlers,Oe=ge&&ge[te];if(Oe){var $e=nt(Oe,be);$e>-1&&(ge[te]=Oe.slice(0,$e).concat(Oe.slice($e+1)))}}}function ft(x,te){var be=Nt(x,te);if(be.length)for(var ge=Array.prototype.slice.call(arguments,2),Oe=0;Oe<be.length;++Oe)be[Oe].apply(null,ge)}function Et(x,te,be){return typeof te=="string"&&(te={type:te,preventDefault:function(){this.defaultPrevented=!0}}),ft(x,be||te.type,x,te),On(te)||te.codemirrorIgnore}function Ft(x){var te=x._handlers&&x._handlers.cursorActivity;if(te)for(var be=x.curOp.cursorActivityHandlers||(x.curOp.cursorActivityHandlers=[]),ge=0;ge<te.length;++ge)nt(be,te[ge])==-1&&be.push(te[ge])}function Kt(x,te){return Nt(x,te).length>0}function Zt(x){x.prototype.on=function(te,be){zt(this,te,be)},x.prototype.off=function(te,be){St(this,te,be)}}function rn(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function En(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function On(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function Hn(x){rn(x),En(x)}function Dn(x){return x.target||x.srcElement}function jn(x){var te=x.which;return te==null&&(x.button&1?te=1:x.button&2?te=3:x.button&4&&(te=2)),we&&x.ctrlKey&&te==1&&(te=3),te}var Jn=function(){if(ve&&ne<9)return!1;var x=Se("div");return"draggable"in x||"dragDrop"in x}(),br;function sr(x){if(br==null){var te=Se("span","\u200B");De(x,Se("span",[te,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(br=te.offsetWidth<=1&&te.offsetHeight>2&&!(ve&&ne<8))}var be=br?Se("span","\u200B"):Se("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return be.setAttribute("cm-text",""),be}var Rn;function Fn(x){if(Rn!=null)return Rn;var te=De(x,document.createTextNode("A\u062EA")),be=Re(te,0,1).getBoundingClientRect(),ge=Re(te,1,2).getBoundingClientRect();return Me(x),!be||be.left==be.right?!1:Rn=ge.right-be.right<3}var Gn=`
b`.split(/\n/).length!=3?function(x){for(var te=0,be=[],ge=x.length;te<=ge;){var Oe=x.indexOf(`
`,te);Oe==-1&&(Oe=x.length);var $e=x.slice(te,x.charAt(Oe-1)=="\r"?Oe-1:Oe),mt=$e.indexOf("\r");mt!=-1?(be.push($e.slice(0,mt)),te+=mt+1):(be.push($e),te=Oe+1)}return be}:function(x){return x.split(/\r\n?|\n/)},er=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(te){return!1}}:function(x){var te;try{te=x.ownerDocument.selection.createRange()}catch(be){}return!te||te.parentElement()!=x?!1:te.compareEndPoints("StartToEnd",te)!=0},xr=function(){var x=Se("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),cr=null;function Tr(x){if(cr!=null)return cr;var te=De(x,Se("span","x")),be=te.getBoundingClientRect(),ge=Re(te,0,1).getBoundingClientRect();return cr=Math.abs(be.left-ge.left)>1}var Dr={},Xn={};function $n(x,te){arguments.length>2&&(te.dependencies=Array.prototype.slice.call(arguments,2)),Dr[x]=te}function wr(x,te){Xn[x]=te}function nr(x){if(typeof x=="string"&&Xn.hasOwnProperty(x))x=Xn[x];else if(x&&typeof x.name=="string"&&Xn.hasOwnProperty(x.name)){var te=Xn[x.name];typeof te=="string"&&(te={name:te}),x=ue(te,x),x.name=te.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return nr("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return nr("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function Zn(x,te){te=nr(te);var be=Dr[te.name];if(!be)return Zn(x,"text/plain");var ge=be(x,te);if(Pr.hasOwnProperty(te.name)){var Oe=Pr[te.name];for(var $e in Oe)Oe.hasOwnProperty($e)&&(ge.hasOwnProperty($e)&&(ge["_"+$e]=ge[$e]),ge[$e]=Oe[$e])}if(ge.name=te.name,te.helperType&&(ge.helperType=te.helperType),te.modeProps)for(var mt in te.modeProps)ge[mt]=te.modeProps[mt];return ge}var Pr={};function Ht(x,te){var be=Pr.hasOwnProperty(x)?Pr[x]:Pr[x]={};st(te,be)}function kt(x,te){if(te===!0)return te;if(x.copyState)return x.copyState(te);var be={};for(var ge in te){var Oe=te[ge];Oe instanceof Array&&(Oe=Oe.concat([])),be[ge]=Oe}return be}function Rt(x,te){for(var be;x.innerMode&&(be=x.innerMode(te),!(!be||be.mode==x));)te=be.state,x=be.mode;return be||{mode:x,state:te}}function Lt(x,te,be){return x.startState?x.startState(te,be):!0}var Bt=function(x,te,be){this.pos=this.start=0,this.string=x,this.tabSize=te||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=be};Bt.prototype.eol=function(){return this.pos>=this.string.length},Bt.prototype.sol=function(){return this.pos==this.lineStart},Bt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Bt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Bt.prototype.eat=function(x){var te=this.string.charAt(this.pos),be;if(typeof x=="string"?be=te==x:be=te&&(x.test?x.test(te):x(te)),be)return++this.pos,te},Bt.prototype.eatWhile=function(x){for(var te=this.pos;this.eat(x););return this.pos>te},Bt.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},Bt.prototype.skipToEnd=function(){this.pos=this.string.length},Bt.prototype.skipTo=function(x){var te=this.string.indexOf(x,this.pos);if(te>-1)return this.pos=te,!0},Bt.prototype.backUp=function(x){this.pos-=x},Bt.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)},Bt.prototype.indentation=function(){return Ve(this.string,null,this.tabSize)-(this.lineStart?Ve(this.string,this.lineStart,this.tabSize):0)},Bt.prototype.match=function(x,te,be){if(typeof x=="string"){var ge=function(mt){return be?mt.toLowerCase():mt},Oe=this.string.substr(this.pos,x.length);if(ge(Oe)==ge(x))return te!==!1&&(this.pos+=x.length),!0}else{var $e=this.string.slice(this.pos).match(x);return $e&&$e.index>0?null:($e&&te!==!1&&(this.pos+=$e[0].length),$e)}},Bt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Bt.prototype.hideFirstChars=function(x,te){this.lineStart+=x;try{return te()}finally{this.lineStart-=x}},Bt.prototype.lookAhead=function(x){var te=this.lineOracle;return te&&te.lookAhead(x)},Bt.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function Ut(x,te){if(te-=x.first,te<0||te>=x.size)throw new Error("There is no line "+(te+x.first)+" in the document.");for(var be=x;!be.lines;)for(var ge=0;;++ge){var Oe=be.children[ge],$e=Oe.chunkSize();if(te<$e){be=Oe;break}te-=$e}return be.lines[te]}function Yt(x,te,be){var ge=[],Oe=te.line;return x.iter(te.line,be.line+1,function($e){var mt=$e.text;Oe==be.line&&(mt=mt.slice(0,be.ch)),Oe==te.line&&(mt=mt.slice(te.ch)),ge.push(mt),++Oe}),ge}function hn(x,te,be){var ge=[];return x.iter(te,be,function(Oe){ge.push(Oe.text)}),ge}function fn(x,te){var be=te-x.height;if(be)for(var ge=x;ge;ge=ge.parent)ge.height+=be}function wn(x){if(x.parent==null)return null;for(var te=x.parent,be=nt(te.lines,x),ge=te.parent;ge;te=ge,ge=ge.parent)for(var Oe=0;ge.children[Oe]!=te;++Oe)be+=ge.children[Oe].chunkSize();return be+te.first}function Ln(x,te){var be=x.first;e:do{for(var ge=0;ge<x.children.length;++ge){var Oe=x.children[ge],$e=Oe.height;if(te<$e){x=Oe;continue e}te-=$e,be+=Oe.chunkSize()}return be}while(!x.lines);for(var mt=0;mt<x.lines.length;++mt){var Ct=x.lines[mt],Ot=Ct.height;if(te<Ot)break;te-=Ot}return be+mt}function Tn(x,te){return te>=x.first&&te<x.first+x.size}function zn(x,te){return String(x.lineNumberFormatter(te+x.firstLineNumber))}function nn(x,te,be){if(be===void 0&&(be=null),!(this instanceof nn))return new nn(x,te,be);this.line=x,this.ch=te,this.sticky=be}function In(x,te){return x.line-te.line||x.ch-te.ch}function Xt(x,te){return x.sticky==te.sticky&&In(x,te)==0}function en(x){return nn(x.line,x.ch)}function sn(x,te){return In(x,te)<0?te:x}function mn(x,te){return In(x,te)<0?x:te}function Bn(x,te){return Math.max(x.first,Math.min(te,x.first+x.size-1))}function cn(x,te){if(te.line<x.first)return nn(x.first,0);var be=x.first+x.size-1;return te.line>be?nn(be,Ut(x,be).text.length):pn(te,Ut(x,te.line).text.length)}function pn(x,te){var be=x.ch;return be==null||be>te?nn(x.line,te):be<0?nn(x.line,0):x}function Tt(x,te){for(var be=[],ge=0;ge<te.length;ge++)be[ge]=cn(x,te[ge]);return be}var Jt=function(x,te){this.state=x,this.lookAhead=te},qt=function(x,te,be,ge){this.state=te,this.doc=x,this.line=be,this.maxLookAhead=ge||0,this.baseTokens=null,this.baseTokenPos=1};qt.prototype.lookAhead=function(x){var te=this.doc.getLine(this.line+x);return te!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),te},qt.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var te=this.baseTokens[this.baseTokenPos+1];return{type:te&&te.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},qt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},qt.fromSaved=function(x,te,be){return te instanceof Jt?new qt(x,kt(x.mode,te.state),be,te.lookAhead):new qt(x,kt(x.mode,te),be)},qt.prototype.save=function(x){var te=x!==!1?kt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Jt(te,this.maxLookAhead):te};function un(x,te,be,ge){var Oe=[x.state.modeGen],$e={};zr(x,te.text,x.doc.mode,be,function(_t,an){return Oe.push(_t,an)},$e,ge);for(var mt=be.state,Ct=function(_t){be.baseTokens=Oe;var an=x.state.overlays[_t],vn=1,Wn=0;be.state=!0,zr(x,te.text,an.mode,be,function(Nn,vr){for(var Fr=vn;Wn<Nn;){var si=Oe[vn];si>Nn&&Oe.splice(vn,1,Nn,Oe[vn+1],si),vn+=2,Wn=Math.min(Nn,si)}if(vr)if(an.opaque)Oe.splice(Fr,vn-Fr,Nn,"overlay "+vr),vn=Fr+2;else for(;Fr<vn;Fr+=2){var Ei=Oe[Fr+1];Oe[Fr+1]=(Ei?Ei+" ":"")+"overlay "+vr}},$e),be.state=mt,be.baseTokens=null,be.baseTokenPos=1},Ot=0;Ot<x.state.overlays.length;++Ot)Ct(Ot);return{styles:Oe,classes:$e.bgClass||$e.textClass?$e:null}}function dn(x,te,be){if(!te.styles||te.styles[0]!=x.state.modeGen){var ge=yn(x,wn(te)),Oe=te.text.length>x.options.maxHighlightLength&&kt(x.doc.mode,ge.state),$e=un(x,te,ge);Oe&&(ge.state=Oe),te.stateAfter=ge.save(!Oe),te.styles=$e.styles,$e.classes?te.styleClasses=$e.classes:te.styleClasses&&(te.styleClasses=null),be===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return te.styles}function yn(x,te,be){var ge=x.doc,Oe=x.display;if(!ge.mode.startState)return new qt(ge,!0,te);var $e=Mr(x,te,be),mt=$e>ge.first&&Ut(ge,$e-1).stateAfter,Ct=mt?qt.fromSaved(ge,mt,$e):new qt(ge,Lt(ge.mode),$e);return ge.iter($e,te,function(Ot){bn(x,Ot.text,Ct);var _t=Ct.line;Ot.stateAfter=_t==te-1||_t%5==0||_t>=Oe.viewFrom&&_t<Oe.viewTo?Ct.save():null,Ct.nextLine()}),be&&(ge.modeFrontier=Ct.line),Ct}function bn(x,te,be,ge){var Oe=x.doc.mode,$e=new Bt(te,x.options.tabSize,be);for($e.start=$e.pos=ge||0,te==""&&_n(Oe,be.state);!$e.eol();)Qn(Oe,$e,be.state),$e.start=$e.pos}function _n(x,te){if(x.blankLine)return x.blankLine(te);if(x.innerMode){var be=Rt(x,te);if(be.mode.blankLine)return be.mode.blankLine(be.state)}}function Qn(x,te,be,ge){for(var Oe=0;Oe<10;Oe++){ge&&(ge[0]=Rt(x,be).mode);var $e=x.token(te,be);if(te.pos>te.start)return $e}throw new Error("Mode "+x.name+" failed to advance stream.")}var ar=function(x,te,be){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=te||null,this.state=be};function gr(x,te,be,ge){var Oe=x.doc,$e=Oe.mode,mt;te=cn(Oe,te);var Ct=Ut(Oe,te.line),Ot=yn(x,te.line,be),_t=new Bt(Ct.text,x.options.tabSize,Ot),an;for(ge&&(an=[]);(ge||_t.pos<te.ch)&&!_t.eol();)_t.start=_t.pos,mt=Qn($e,_t,Ot.state),ge&&an.push(new ar(_t,mt,kt(Oe.mode,Ot.state)));return ge?an:new ar(_t,mt,Ot.state)}function mr(x,te){if(x)for(;;){var be=x.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!be)break;x=x.slice(0,be.index)+x.slice(be.index+be[0].length);var ge=be[1]?"bgClass":"textClass";te[ge]==null?te[ge]=be[2]:new RegExp("(?:^|\\s)"+be[2]+"(?:$|\\s)").test(te[ge])||(te[ge]+=" "+be[2])}return x}function zr(x,te,be,ge,Oe,$e,mt){var Ct=be.flattenSpans;Ct==null&&(Ct=x.options.flattenSpans);var Ot=0,_t=null,an=new Bt(te,x.options.tabSize,ge),vn,Wn=x.options.addModeClass&&[null];for(te==""&&mr(_n(be,ge.state),$e);!an.eol();){if(an.pos>x.options.maxHighlightLength?(Ct=!1,mt&&bn(x,te,ge,an.pos),an.pos=te.length,vn=null):vn=mr(Qn(be,an,ge.state,Wn),$e),Wn){var Nn=Wn[0].name;Nn&&(vn="m-"+(vn?Nn+" "+vn:Nn))}if(!Ct||_t!=vn){for(;Ot<an.start;)Ot=Math.min(an.start,Ot+5e3),Oe(Ot,_t);_t=vn}an.start=an.pos}for(;Ot<an.pos;){var vr=Math.min(an.pos,Ot+5e3);Oe(vr,_t),Ot=vr}}function Mr(x,te,be){for(var ge,Oe,$e=x.doc,mt=be?-1:te-(x.doc.mode.innerMode?1e3:100),Ct=te;Ct>mt;--Ct){if(Ct<=$e.first)return $e.first;var Ot=Ut($e,Ct-1),_t=Ot.stateAfter;if(_t&&(!be||Ct+(_t instanceof Jt?_t.lookAhead:0)<=$e.modeFrontier))return Ct;var an=Ve(Ot.text,null,x.options.tabSize);(Oe==null||ge>an)&&(Oe=Ct-1,ge=an)}return Oe}function lr(x,te){if(x.modeFrontier=Math.min(x.modeFrontier,te),!(x.highlightFrontier<te-10)){for(var be=x.first,ge=te-1;ge>be;ge--){var Oe=Ut(x,ge).stateAfter;if(Oe&&(!(Oe instanceof Jt)||ge+Oe.lookAhead<te)){be=ge+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,be)}}var ur=!1,dr=!1;function Rr(){ur=!0}function Cr(){dr=!0}function Ar(x,te,be){this.marker=x,this.from=te,this.to=be}function Gr(x,te){if(x)for(var be=0;be<x.length;++be){var ge=x[be];if(ge.marker==te)return ge}}function Kr(x,te){for(var be,ge=0;ge<x.length;++ge)x[ge]!=te&&(be||(be=[])).push(x[ge]);return be}function oi(x,te){x.markedSpans=x.markedSpans?x.markedSpans.concat([te]):[te],te.marker.attachLine(x)}function Di(x,te,be){var ge;if(x)for(var Oe=0;Oe<x.length;++Oe){var $e=x[Oe],mt=$e.marker,Ct=$e.from==null||(mt.inclusiveLeft?$e.from<=te:$e.from<te);if(Ct||$e.from==te&&mt.type=="bookmark"&&(!be||!$e.marker.insertLeft)){var Ot=$e.to==null||(mt.inclusiveRight?$e.to>=te:$e.to>te);(ge||(ge=[])).push(new Ar(mt,$e.from,Ot?null:$e.to))}}return ge}function Hr(x,te,be){var ge;if(x)for(var Oe=0;Oe<x.length;++Oe){var $e=x[Oe],mt=$e.marker,Ct=$e.to==null||(mt.inclusiveRight?$e.to>=te:$e.to>te);if(Ct||$e.from==te&&mt.type=="bookmark"&&(!be||$e.marker.insertLeft)){var Ot=$e.from==null||(mt.inclusiveLeft?$e.from<=te:$e.from<te);(ge||(ge=[])).push(new Ar(mt,Ot?null:$e.from-te,$e.to==null?null:$e.to-te))}}return ge}function or(x,te){if(te.full)return null;var be=Tn(x,te.from.line)&&Ut(x,te.from.line).markedSpans,ge=Tn(x,te.to.line)&&Ut(x,te.to.line).markedSpans;if(!be&&!ge)return null;var Oe=te.from.ch,$e=te.to.ch,mt=In(te.from,te.to)==0,Ct=Di(be,Oe,mt),Ot=Hr(ge,$e,mt),_t=te.text.length==1,an=Mt(te.text).length+(_t?Oe:0);if(Ct)for(var vn=0;vn<Ct.length;++vn){var Wn=Ct[vn];if(Wn.to==null){var Nn=Gr(Ot,Wn.marker);Nn?_t&&(Wn.to=Nn.to==null?null:Nn.to+an):Wn.to=Oe}}if(Ot)for(var vr=0;vr<Ot.length;++vr){var Fr=Ot[vr];if(Fr.to!=null&&(Fr.to+=an),Fr.from==null){var si=Gr(Ct,Fr.marker);si||(Fr.from=an,_t&&(Ct||(Ct=[])).push(Fr))}else Fr.from+=an,_t&&(Ct||(Ct=[])).push(Fr)}Ct&&(Ct=ir(Ct)),Ot&&Ot!=Ct&&(Ot=ir(Ot));var Ei=[Ct];if(!_t){var Ti=te.text.length-2,yi;if(Ti>0&&Ct)for(var Bi=0;Bi<Ct.length;++Bi)Ct[Bi].to==null&&(yi||(yi=[])).push(new Ar(Ct[Bi].marker,null,null));for(var Qi=0;Qi<Ti;++Qi)Ei.push(yi);Ei.push(Ot)}return Ei}function ir(x){for(var te=0;te<x.length;++te){var be=x[te];be.from!=null&&be.from==be.to&&be.marker.clearWhenEmpty!==!1&&x.splice(te--,1)}return x.length?x:null}function ti(x,te,be){var ge=null;if(x.iter(te.line,be.line+1,function(Nn){if(Nn.markedSpans)for(var vr=0;vr<Nn.markedSpans.length;++vr){var Fr=Nn.markedSpans[vr].marker;Fr.readOnly&&(!ge||nt(ge,Fr)==-1)&&(ge||(ge=[])).push(Fr)}}),!ge)return null;for(var Oe=[{from:te,to:be}],$e=0;$e<ge.length;++$e)for(var mt=ge[$e],Ct=mt.find(0),Ot=0;Ot<Oe.length;++Ot){var _t=Oe[Ot];if(!(In(_t.to,Ct.from)<0||In(_t.from,Ct.to)>0)){var an=[Ot,1],vn=In(_t.from,Ct.from),Wn=In(_t.to,Ct.to);(vn<0||!mt.inclusiveLeft&&!vn)&&an.push({from:_t.from,to:Ct.from}),(Wn>0||!mt.inclusiveRight&&!Wn)&&an.push({from:Ct.to,to:_t.to}),Oe.splice.apply(Oe,an),Ot+=an.length-3}}return Oe}function Ur(x){var te=x.markedSpans;if(te){for(var be=0;be<te.length;++be)te[be].marker.detachLine(x);x.markedSpans=null}}function ui(x,te){if(te){for(var be=0;be<te.length;++be)te[be].marker.attachLine(x);x.markedSpans=te}}function gi(x){return x.inclusiveLeft?-1:0}function pi(x){return x.inclusiveRight?1:0}function ei(x,te){var be=x.lines.length-te.lines.length;if(be!=0)return be;var ge=x.find(),Oe=te.find(),$e=In(ge.from,Oe.from)||gi(x)-gi(te);if($e)return-$e;var mt=In(ge.to,Oe.to)||pi(x)-pi(te);return mt||te.id-x.id}function li(x,te){var be=dr&&x.markedSpans,ge;if(be)for(var Oe=void 0,$e=0;$e<be.length;++$e)Oe=be[$e],Oe.marker.collapsed&&(te?Oe.from:Oe.to)==null&&(!ge||ei(ge,Oe.marker)<0)&&(ge=Oe.marker);return ge}function ta(x){return li(x,!0)}function Ir(x){return li(x,!1)}function Wr(x,te){var be=dr&&x.markedSpans,ge;if(be)for(var Oe=0;Oe<be.length;++Oe){var $e=be[Oe];$e.marker.collapsed&&($e.from==null||$e.from<te)&&($e.to==null||$e.to>te)&&(!ge||ei(ge,$e.marker)<0)&&(ge=$e.marker)}return ge}function vi(x,te,be,ge,Oe){var $e=Ut(x,te),mt=dr&&$e.markedSpans;if(mt)for(var Ct=0;Ct<mt.length;++Ct){var Ot=mt[Ct];if(Ot.marker.collapsed){var _t=Ot.marker.find(0),an=In(_t.from,be)||gi(Ot.marker)-gi(Oe),vn=In(_t.to,ge)||pi(Ot.marker)-pi(Oe);if(!(an>=0&&vn<=0||an<=0&&vn>=0)&&(an<=0&&(Ot.marker.inclusiveRight&&Oe.inclusiveLeft?In(_t.to,be)>=0:In(_t.to,be)>0)||an>=0&&(Ot.marker.inclusiveRight&&Oe.inclusiveLeft?In(_t.from,ge)<=0:In(_t.from,ge)<0)))return!0}}}function Ai(x){for(var te;te=ta(x);)x=te.find(-1,!0).line;return x}function da(x){for(var te;te=Ir(x);)x=te.find(1,!0).line;return x}function ca(x){for(var te,be;te=Ir(x);)x=te.find(1,!0).line,(be||(be=[])).push(x);return be}function $i(x,te){var be=Ut(x,te),ge=Ai(be);return be==ge?te:wn(ge)}function Hi(x,te){if(te>x.lastLine())return te;var be=Ut(x,te),ge;if(!xa(x,be))return te;for(;ge=Ir(be);)be=ge.find(1,!0).line;return wn(be)+1}function xa(x,te){var be=dr&&te.markedSpans;if(be){for(var ge=void 0,Oe=0;Oe<be.length;++Oe)if(ge=be[Oe],!!ge.marker.collapsed){if(ge.from==null)return!0;if(!ge.marker.widgetNode&&ge.from==0&&ge.marker.inclusiveLeft&&wa(x,te,ge))return!0}}}function wa(x,te,be){if(be.to==null){var ge=be.marker.find(1,!0);return wa(x,ge.line,Gr(ge.line.markedSpans,be.marker))}if(be.marker.inclusiveRight&&be.to==te.text.length)return!0;for(var Oe=void 0,$e=0;$e<te.markedSpans.length;++$e)if(Oe=te.markedSpans[$e],Oe.marker.collapsed&&!Oe.marker.widgetNode&&Oe.from==be.to&&(Oe.to==null||Oe.to!=be.from)&&(Oe.marker.inclusiveLeft||be.marker.inclusiveRight)&&wa(x,te,Oe))return!0}function jr(x){x=Ai(x);for(var te=0,be=x.parent,ge=0;ge<be.lines.length;++ge){var Oe=be.lines[ge];if(Oe==x)break;te+=Oe.height}for(var $e=be.parent;$e;be=$e,$e=be.parent)for(var mt=0;mt<$e.children.length;++mt){var Ct=$e.children[mt];if(Ct==be)break;te+=Ct.height}return te}function _r(x){if(x.height==0)return 0;for(var te=x.text.length,be,ge=x;be=ta(ge);){var Oe=be.find(0,!0);ge=Oe.from.line,te+=Oe.from.ch-Oe.to.ch}for(ge=x;be=Ir(ge);){var $e=be.find(0,!0);te-=ge.text.length-$e.from.ch,ge=$e.to.line,te+=ge.text.length-$e.to.ch}return te}function Nr(x){var te=x.display,be=x.doc;te.maxLine=Ut(be,be.first),te.maxLineLength=_r(te.maxLine),te.maxLineChanged=!0,be.iter(function(ge){var Oe=_r(ge);Oe>te.maxLineLength&&(te.maxLineLength=Oe,te.maxLine=ge)})}var $r=function(x,te,be){this.text=x,ui(this,te),this.height=be?be(this):1};$r.prototype.lineNo=function(){return wn(this)},Zt($r);function Yi(x,te,be,ge){x.text=te,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),Ur(x),ui(x,be);var Oe=ge?ge(x):1;Oe!=x.height&&fn(x,Oe)}function fa(x){x.parent=null,Ur(x)}var va={},pa={};function ua(x,te){if(!x||/^\s*$/.test(x))return null;var be=te.addModeClass?pa:va;return be[x]||(be[x]=x.replace(/\S+/g,"cm-$&"))}function Ma(x,te){var be=Be("span",null,null,ee?"padding-right: .1px":null),ge={pre:Be("pre",[be],"CodeMirror-line"),content:be,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};te.measure={};for(var Oe=0;Oe<=(te.rest?te.rest.length:0);Oe++){var $e=Oe?te.rest[Oe-1]:te.line,mt=void 0;ge.pos=0,ge.addToken=Va,Fn(x.display.measure)&&(mt=Wt($e,x.doc.direction))&&(ge.addToken=_i(ge.addToken,mt)),ge.map=[];var Ct=te!=x.display.externalMeasured&&wn($e);Oa($e,ge,dn(x,$e,Ct)),$e.styleClasses&&($e.styleClasses.bgClass&&(ge.bgClass=Ge($e.styleClasses.bgClass,ge.bgClass||"")),$e.styleClasses.textClass&&(ge.textClass=Ge($e.styleClasses.textClass,ge.textClass||""))),ge.map.length==0&&ge.map.push(0,0,ge.content.appendChild(sr(x.display.measure))),Oe==0?(te.measure.map=ge.map,te.measure.cache={}):((te.measure.maps||(te.measure.maps=[])).push(ge.map),(te.measure.caches||(te.measure.caches=[])).push({}))}if(ee){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(x,"renderLine",x,te.line,ge.pre),ge.pre.className&&(ge.textClass=Ge(ge.pre.className,ge.textClass||"")),ge}function Xa(x){var te=Se("span","\u2022","cm-invalidchar");return te.title="\\u"+x.charCodeAt(0).toString(16),te.setAttribute("aria-label",te.title),te}function Va(x,te,be,ge,Oe,$e,mt){if(te){var Ct=x.splitSpaces?go(te,x.trailingSpace):te,Ot=x.cm.state.specialChars,_t=!1,an;if(!Ot.test(te))x.col+=te.length,an=document.createTextNode(Ct),x.map.push(x.pos,x.pos+te.length,an),ve&&ne<9&&(_t=!0),x.pos+=te.length;else{an=document.createDocumentFragment();for(var vn=0;;){Ot.lastIndex=vn;var Wn=Ot.exec(te),Nn=Wn?Wn.index-vn:te.length-vn;if(Nn){var vr=document.createTextNode(Ct.slice(vn,vn+Nn));ve&&ne<9?an.appendChild(Se("span",[vr])):an.appendChild(vr),x.map.push(x.pos,x.pos+Nn,vr),x.col+=Nn,x.pos+=Nn}if(!Wn)break;vn+=Nn+1;var Fr=void 0;if(Wn[0]==" "){var si=x.cm.options.tabSize,Ei=si-x.col%si;Fr=an.appendChild(Se("span",Pt(Ei),"cm-tab")),Fr.setAttribute("role","presentation"),Fr.setAttribute("cm-text"," "),x.col+=Ei}else Wn[0]=="\r"||Wn[0]==`
`?(Fr=an.appendChild(Se("span",Wn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Fr.setAttribute("cm-text",Wn[0]),x.col+=1):(Fr=x.cm.options.specialCharPlaceholder(Wn[0]),Fr.setAttribute("cm-text",Wn[0]),ve&&ne<9?an.appendChild(Se("span",[Fr])):an.appendChild(Fr),x.col+=1);x.map.push(x.pos,x.pos+1,Fr),x.pos++}}if(x.trailingSpace=Ct.charCodeAt(te.length-1)==32,be||ge||Oe||_t||$e||mt){var Ti=be||"";ge&&(Ti+=ge),Oe&&(Ti+=Oe);var yi=Se("span",[an],Ti,$e);if(mt)for(var Bi in mt)mt.hasOwnProperty(Bi)&&Bi!="style"&&Bi!="class"&&yi.setAttribute(Bi,mt[Bi]);return x.content.appendChild(yi)}x.content.appendChild(an)}}function go(x,te){if(x.length>1&&!/ /.test(x))return x;for(var be=te,ge="",Oe=0;Oe<x.length;Oe++){var $e=x.charAt(Oe);$e==" "&&be&&(Oe==x.length-1||x.charCodeAt(Oe+1)==32)&&($e="\xA0"),ge+=$e,be=$e==" "}return ge}function _i(x,te){return function(be,ge,Oe,$e,mt,Ct,Ot){Oe=Oe?Oe+" cm-force-border":"cm-force-border";for(var _t=be.pos,an=_t+ge.length;;){for(var vn=void 0,Wn=0;Wn<te.length&&(vn=te[Wn],!(vn.to>_t&&vn.from<=_t));Wn++);if(vn.to>=an)return x(be,ge,Oe,$e,mt,Ct,Ot);x(be,ge.slice(0,vn.to-_t),Oe,$e,null,Ct,Ot),$e=null,ge=ge.slice(vn.to-_t),_t=vn.to}}}function Ui(x,te,be,ge){var Oe=!ge&&be.widgetNode;Oe&&x.map.push(x.pos,x.pos+te,Oe),!ge&&x.cm.display.input.needsContentAttribute&&(Oe||(Oe=x.content.appendChild(document.createElement("span"))),Oe.setAttribute("cm-marker",be.id)),Oe&&(x.cm.display.input.setUneditable(Oe),x.content.appendChild(Oe)),x.pos+=te,x.trailingSpace=!1}function Oa(x,te,be){var ge=x.markedSpans,Oe=x.text,$e=0;if(!ge){for(var mt=1;mt<be.length;mt+=2)te.addToken(te,Oe.slice($e,$e=be[mt]),ua(be[mt+1],te.cm.options));return}for(var Ct=Oe.length,Ot=0,_t=1,an="",vn,Wn,Nn=0,vr,Fr,si,Ei,Ti;;){if(Nn==Ot){vr=Fr=si=Wn="",Ti=null,Ei=null,Nn=1/0;for(var yi=[],Bi=void 0,Qi=0;Qi<ge.length;++Qi){var ea=ge[Qi],Ra=ea.marker;if(Ra.type=="bookmark"&&ea.from==Ot&&Ra.widgetNode)yi.push(Ra);else if(ea.from<=Ot&&(ea.to==null||ea.to>Ot||Ra.collapsed&&ea.to==Ot&&ea.from==Ot)){if(ea.to!=null&&ea.to!=Ot&&Nn>ea.to&&(Nn=ea.to,Fr=""),Ra.className&&(vr+=" "+Ra.className),Ra.css&&(Wn=(Wn?Wn+";":"")+Ra.css),Ra.startStyle&&ea.from==Ot&&(si+=" "+Ra.startStyle),Ra.endStyle&&ea.to==Nn&&(Bi||(Bi=[])).push(Ra.endStyle,ea.to),Ra.title&&((Ti||(Ti={})).title=Ra.title),Ra.attributes)for(var xo in Ra.attributes)(Ti||(Ti={}))[xo]=Ra.attributes[xo];Ra.collapsed&&(!Ei||ei(Ei.marker,Ra)<0)&&(Ei=ea)}else ea.from>Ot&&Nn>ea.from&&(Nn=ea.from)}if(Bi)for(var As=0;As<Bi.length;As+=2)Bi[As+1]==Nn&&(Fr+=" "+Bi[As]);if(!Ei||Ei.from==Ot)for(var zo=0;zo<yi.length;++zo)Ui(te,0,yi[zo]);if(Ei&&(Ei.from||0)==Ot){if(Ui(te,(Ei.to==null?Ct+1:Ei.to)-Ot,Ei.marker,Ei.from==null),Ei.to==null)return;Ei.to==Ot&&(Ei=!1)}}if(Ot>=Ct)break;for(var $s=Math.min(Ct,Nn);;){if(an){var el=Ot+an.length;if(!Ei){var ds=el>$s?an.slice(0,$s-Ot):an;te.addToken(te,ds,vn?vn+vr:vr,si,Ot+ds.length==Nn?Fr:"",Wn,Ti)}if(el>=$s){an=an.slice($s-Ot),Ot=$s;break}Ot=el,si=""}an=Oe.slice($e,$e=be[_t++]),vn=ua(be[_t++],te.cm.options)}}}function aa(x,te,be){this.line=te,this.rest=ca(te),this.size=this.rest?wn(Mt(this.rest))-be+1:1,this.node=this.text=null,this.hidden=xa(x,te)}function ha(x,te,be){for(var ge=[],Oe,$e=te;$e<be;$e=Oe){var mt=new aa(x.doc,Ut(x.doc,$e),$e);Oe=$e+mt.size,ge.push(mt)}return ge}var Pn=null;function An(x){Pn?Pn.ops.push(x):x.ownsGroup=Pn={ops:[x],delayedCallbacks:[]}}function xn(x){var te=x.delayedCallbacks,be=0;do{for(;be<te.length;be++)te[be].call(null);for(var ge=0;ge<x.ops.length;ge++){var Oe=x.ops[ge];if(Oe.cursorActivityHandlers)for(;Oe.cursorActivityCalled<Oe.cursorActivityHandlers.length;)Oe.cursorActivityHandlers[Oe.cursorActivityCalled++].call(null,Oe.cm)}}while(be<te.length)}function Yn(x,te){var be=x.ownsGroup;if(be)try{xn(be)}finally{Pn=null,te(be)}}var fr=null;function hr(x,te){var be=Nt(x,te);if(be.length){var ge=Array.prototype.slice.call(arguments,2),Oe;Pn?Oe=Pn.delayedCallbacks:fr?Oe=fr:(Oe=fr=[],setTimeout(Vn,0));for(var $e=function(Ct){Oe.push(function(){return be[Ct].apply(null,ge)})},mt=0;mt<be.length;++mt)$e(mt)}}function Vn(){var x=fr;fr=null;for(var te=0;te<x.length;++te)x[te]()}function Br(x,te,be,ge){for(var Oe=0;Oe<te.changes.length;Oe++){var $e=te.changes[Oe];$e=="text"?Or(x,te):$e=="gutter"?ki(x,te,be,ge):$e=="class"?hi(x,te):$e=="widget"&&na(x,te,ge)}te.changes=null}function di(x){return x.node==x.text&&(x.node=Se("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),ve&&ne<8&&(x.node.style.zIndex=2)),x.node}function Ii(x,te){var be=te.bgClass?te.bgClass+" "+(te.line.bgClass||""):te.line.bgClass;if(be&&(be+=" CodeMirror-linebackground"),te.background)be?te.background.className=be:(te.background.parentNode.removeChild(te.background),te.background=null);else if(be){var ge=di(te);te.background=ge.insertBefore(Se("div",null,be),ge.firstChild),x.display.input.setUneditable(te.background)}}function fi(x,te){var be=x.display.externalMeasured;return be&&be.line==te.line?(x.display.externalMeasured=null,te.measure=be.measure,be.built):Ma(x,te)}function Or(x,te){var be=te.text.className,ge=fi(x,te);te.text==te.node&&(te.node=ge.pre),te.text.parentNode.replaceChild(ge.pre,te.text),te.text=ge.pre,ge.bgClass!=te.bgClass||ge.textClass!=te.textClass?(te.bgClass=ge.bgClass,te.textClass=ge.textClass,hi(x,te)):be&&(te.text.className=be)}function hi(x,te){Ii(x,te),te.line.wrapClass?di(te).className=te.line.wrapClass:te.node!=te.text&&(te.node.className="");var be=te.textClass?te.textClass+" "+(te.line.textClass||""):te.line.textClass;te.text.className=be||""}function ki(x,te,be,ge){if(te.gutter&&(te.node.removeChild(te.gutter),te.gutter=null),te.gutterBackground&&(te.node.removeChild(te.gutterBackground),te.gutterBackground=null),te.line.gutterClass){var Oe=di(te);te.gutterBackground=Se("div",null,"CodeMirror-gutter-background "+te.line.gutterClass,"left: "+(x.options.fixedGutter?ge.fixedPos:-ge.gutterTotalWidth)+"px; width: "+ge.gutterTotalWidth+"px"),x.display.input.setUneditable(te.gutterBackground),Oe.insertBefore(te.gutterBackground,te.text)}var $e=te.line.gutterMarkers;if(x.options.lineNumbers||$e){var mt=di(te),Ct=te.gutter=Se("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?ge.fixedPos:-ge.gutterTotalWidth)+"px");if(x.display.input.setUneditable(Ct),mt.insertBefore(Ct,te.text),te.line.gutterClass&&(Ct.className+=" "+te.line.gutterClass),x.options.lineNumbers&&(!$e||!$e["CodeMirror-linenumbers"])&&(te.lineNumber=Ct.appendChild(Se("div",zn(x.options,be),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+ge.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px"))),$e)for(var Ot=0;Ot<x.display.gutterSpecs.length;++Ot){var _t=x.display.gutterSpecs[Ot].className,an=$e.hasOwnProperty(_t)&&$e[_t];an&&Ct.appendChild(Se("div",[an],"CodeMirror-gutter-elt","left: "+ge.gutterLeft[_t]+"px; width: "+ge.gutterWidth[_t]+"px"))}}}function na(x,te,be){te.alignable&&(te.alignable=null);for(var ge=Ce("CodeMirror-linewidget"),Oe=te.node.firstChild,$e=void 0;Oe;Oe=$e)$e=Oe.nextSibling,ge.test(Oe.className)&&te.node.removeChild(Oe);Si(x,te,be)}function bi(x,te,be,ge){var Oe=fi(x,te);return te.text=te.node=Oe.pre,Oe.bgClass&&(te.bgClass=Oe.bgClass),Oe.textClass&&(te.textClass=Oe.textClass),hi(x,te),ki(x,te,be,ge),Si(x,te,ge),te.node}function Si(x,te,be){if(Gi(x,te.line,te,be,!0),te.rest)for(var ge=0;ge<te.rest.length;ge++)Gi(x,te.rest[ge],te,be,!1)}function Gi(x,te,be,ge,Oe){if(te.widgets)for(var $e=di(be),mt=0,Ct=te.widgets;mt<Ct.length;++mt){var Ot=Ct[mt],_t=Se("div",[Ot.node],"CodeMirror-linewidget"+(Ot.className?" "+Ot.className:""));Ot.handleMouseEvents||_t.setAttribute("cm-ignore-events","true"),Sa(Ot,_t,be,ge),x.display.input.setUneditable(_t),Oe&&Ot.above?$e.insertBefore(_t,be.gutter||be.text):$e.appendChild(_t),hr(Ot,"redraw")}}function Sa(x,te,be,ge){if(x.noHScroll){(be.alignable||(be.alignable=[])).push(te);var Oe=ge.wrapperWidth;te.style.left=ge.fixedPos+"px",x.coverGutter||(Oe-=ge.gutterTotalWidth,te.style.paddingLeft=ge.gutterTotalWidth+"px"),te.style.width=Oe+"px"}x.coverGutter&&(te.style.zIndex=5,te.style.position="relative",x.noHScroll||(te.style.marginLeft=-ge.gutterTotalWidth+"px"))}function Na(x){if(x.height!=null)return x.height;var te=x.doc.cm;if(!te)return 0;if(!Xe(document.body,x.node)){var be="position: relative;";x.coverGutter&&(be+="margin-left: -"+te.display.gutters.offsetWidth+"px;"),x.noHScroll&&(be+="width: "+te.display.wrapper.clientWidth+"px;"),De(te.display.measure,Se("div",[x.node],null,be))}return x.height=x.node.parentNode.offsetHeight}function so(x,te){for(var be=Dn(te);be!=x.wrapper;be=be.parentNode)if(!be||be.nodeType==1&&be.getAttribute("cm-ignore-events")=="true"||be.parentNode==x.sizer&&be!=x.mover)return!0}function Do(x){return x.lineSpace.offsetTop}function Xs(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function ss(x){if(x.cachedPaddingH)return x.cachedPaddingH;var te=De(x.measure,Se("pre","x","CodeMirror-line-like")),be=window.getComputedStyle?window.getComputedStyle(te):te.currentStyle,ge={left:parseInt(be.paddingLeft),right:parseInt(be.paddingRight)};return!isNaN(ge.left)&&!isNaN(ge.right)&&(x.cachedPaddingH=ge),ge}function Ao(x){return dt-x.display.nativeBarWidth}function fo(x){return x.display.scroller.clientWidth-Ao(x)-x.display.barWidth}function Ls(x){return x.display.scroller.clientHeight-Ao(x)-x.display.barHeight}function Ho(x,te,be){var ge=x.options.lineWrapping,Oe=ge&&fo(x);if(!te.measure.heights||ge&&te.measure.width!=Oe){var $e=te.measure.heights=[];if(ge){te.measure.width=Oe;for(var mt=te.text.firstChild.getClientRects(),Ct=0;Ct<mt.length-1;Ct++){var Ot=mt[Ct],_t=mt[Ct+1];Math.abs(Ot.bottom-_t.bottom)>2&&$e.push((Ot.bottom+_t.top)/2-be.top)}}$e.push(be.bottom-be.top)}}function hs(x,te,be){if(x.line==te)return{map:x.measure.map,cache:x.measure.cache};for(var ge=0;ge<x.rest.length;ge++)if(x.rest[ge]==te)return{map:x.measure.maps[ge],cache:x.measure.caches[ge]};for(var Oe=0;Oe<x.rest.length;Oe++)if(wn(x.rest[Oe])>be)return{map:x.measure.maps[Oe],cache:x.measure.caches[Oe],before:!0}}function Ys(x,te){te=Ai(te);var be=wn(te),ge=x.display.externalMeasured=new aa(x.doc,te,be);ge.lineN=be;var Oe=ge.built=Ma(x,ge);return ge.text=Oe.pre,De(x.display.lineMeasure,Oe.pre),ge}function Rs(x,te,be,ge){return ja(x,vo(x,te),be,ge)}function ko(x,te){if(te>=x.display.viewFrom&&te<x.display.viewTo)return x.display.view[ps(x,te)];var be=x.display.externalMeasured;if(be&&te>=be.lineN&&te<be.lineN+be.size)return be}function vo(x,te){var be=wn(te),ge=ko(x,be);ge&&!ge.text?ge=null:ge&&ge.changes&&(Br(x,ge,be,Ga(x)),x.curOp.forceUpdate=!0),ge||(ge=Ys(x,te));var Oe=hs(ge,te,be);return{line:te,view:ge,rect:null,map:Oe.map,cache:Oe.cache,before:Oe.before,hasHeights:!1}}function ja(x,te,be,ge,Oe){te.before&&(be=-1);var $e=be+(ge||""),mt;return te.cache.hasOwnProperty($e)?mt=te.cache[$e]:(te.rect||(te.rect=te.view.text.getBoundingClientRect()),te.hasHeights||(Ho(x,te.view,te.rect),te.hasHeights=!0),mt=Ca(x,te,be,ge),mt.bogus||(te.cache[$e]=mt)),{left:mt.left,right:mt.right,top:Oe?mt.rtop:mt.top,bottom:Oe?mt.rbottom:mt.bottom}}var Ns={left:0,right:0,top:0,bottom:0};function ul(x,te,be){for(var ge,Oe,$e,mt,Ct,Ot,_t=0;_t<x.length;_t+=3)if(Ct=x[_t],Ot=x[_t+1],te<Ct?(Oe=0,$e=1,mt="left"):te<Ot?(Oe=te-Ct,$e=Oe+1):(_t==x.length-3||te==Ot&&x[_t+3]>te)&&($e=Ot-Ct,Oe=$e-1,te>=Ot&&(mt="right")),Oe!=null){if(ge=x[_t+2],Ct==Ot&&be==(ge.insertLeft?"left":"right")&&(mt=be),be=="left"&&Oe==0)for(;_t&&x[_t-2]==x[_t-3]&&x[_t-1].insertLeft;)ge=x[(_t-=3)+2],mt="left";if(be=="right"&&Oe==Ot-Ct)for(;_t<x.length-3&&x[_t+3]==x[_t+4]&&!x[_t+5].insertLeft;)ge=x[(_t+=3)+2],mt="right";break}return{node:ge,start:Oe,end:$e,collapse:mt,coverStart:Ct,coverEnd:Ot}}function ys(x,te){var be=Ns;if(te=="left")for(var ge=0;ge<x.length&&(be=x[ge]).left==be.right;ge++);else for(var Oe=x.length-1;Oe>=0&&(be=x[Oe]).left==be.right;Oe--);return be}function Ca(x,te,be,ge){var Oe=ul(te.map,be,ge),$e=Oe.node,mt=Oe.start,Ct=Oe.end,Ot=Oe.collapse,_t;if($e.nodeType==3){for(var an=0;an<4;an++){for(;mt&&Fe(te.line.text.charAt(Oe.coverStart+mt));)--mt;for(;Oe.coverStart+Ct<Oe.coverEnd&&Fe(te.line.text.charAt(Oe.coverStart+Ct));)++Ct;if(ve&&ne<9&&mt==0&&Ct==Oe.coverEnd-Oe.coverStart?_t=$e.parentNode.getBoundingClientRect():_t=ys(Re($e,mt,Ct).getClientRects(),ge),_t.left||_t.right||mt==0)break;Ct=mt,mt=mt-1,Ot="right"}ve&&ne<11&&(_t=ba(x.display.measure,_t))}else{mt>0&&(Ot=ge="right");var vn;x.options.lineWrapping&&(vn=$e.getClientRects()).length>1?_t=vn[ge=="right"?vn.length-1:0]:_t=$e.getBoundingClientRect()}if(ve&&ne<9&&!mt&&(!_t||!_t.left&&!_t.right)){var Wn=$e.parentNode.getClientRects()[0];Wn?_t={left:Wn.left,right:Wn.left+Ka(x.display),top:Wn.top,bottom:Wn.bottom}:_t=Ns}for(var Nn=_t.top-te.rect.top,vr=_t.bottom-te.rect.top,Fr=(Nn+vr)/2,si=te.view.measure.heights,Ei=0;Ei<si.length-1&&!(Fr<si[Ei]);Ei++);var Ti=Ei?si[Ei-1]:0,yi=si[Ei],Bi={left:(Ot=="right"?_t.right:_t.left)-te.rect.left,right:(Ot=="left"?_t.left:_t.right)-te.rect.left,top:Ti,bottom:yi};return!_t.left&&!_t.right&&(Bi.bogus=!0),x.options.singleCursorHeightPerLine||(Bi.rtop=Nn,Bi.rbottom=vr),Bi}function ba(x,te){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Tr(x))return te;var be=screen.logicalXDPI/screen.deviceXDPI,ge=screen.logicalYDPI/screen.deviceYDPI;return{left:te.left*be,right:te.right*be,top:te.top*ge,bottom:te.bottom*ge}}function $a(x){if(x.measure&&(x.measure.cache={},x.measure.heights=null,x.rest))for(var te=0;te<x.rest.length;te++)x.measure.caches[te]={}}function yo(x){x.display.externalMeasure=null,Me(x.display.lineMeasure);for(var te=0;te<x.display.view.length;te++)$a(x.display.view[te])}function io(x){yo(x),x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null,x.options.lineWrapping||(x.display.maxLineChanged=!0),x.display.lineNumChars=null}function Wo(){return oe&&de?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Jo(){return oe&&de?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function bs(x){var te=0;if(x.widgets)for(var be=0;be<x.widgets.length;++be)x.widgets[be].above&&(te+=Na(x.widgets[be]));return te}function Qo(x,te,be,ge,Oe){if(!Oe){var $e=bs(te);be.top+=$e,be.bottom+=$e}if(ge=="line")return be;ge||(ge="local");var mt=jr(te);if(ge=="local"?mt+=Do(x.display):mt-=x.display.viewOffset,ge=="page"||ge=="window"){var Ct=x.display.lineSpace.getBoundingClientRect();mt+=Ct.top+(ge=="window"?0:Jo());var Ot=Ct.left+(ge=="window"?0:Wo());be.left+=Ot,be.right+=Ot}return be.top+=mt,be.bottom+=mt,be}function Hs(x,te,be){if(be=="div")return te;var ge=te.left,Oe=te.top;if(be=="page")ge-=Wo(),Oe-=Jo();else if(be=="local"||!be){var $e=x.display.sizer.getBoundingClientRect();ge+=$e.left,Oe+=$e.top}var mt=x.display.lineSpace.getBoundingClientRect();return{left:ge-mt.left,top:Oe-mt.top}}function _s(x,te,be,ge,Oe){return ge||(ge=Ut(x.doc,te.line)),Qo(x,ge,Rs(x,ge,te.ch,Oe),be)}function $o(x,te,be,ge,Oe,$e){ge=ge||Ut(x.doc,te.line),Oe||(Oe=vo(x,ge));function mt(vr,Fr){var si=ja(x,Oe,vr,Fr?"right":"left",$e);return Fr?si.left=si.right:si.right=si.left,Qo(x,ge,si,be)}var Ct=Wt(ge,x.doc.direction),Ot=te.ch,_t=te.sticky;if(Ot>=ge.text.length?(Ot=ge.text.length,_t="before"):Ot<=0&&(Ot=0,_t="after"),!Ct)return mt(_t=="before"?Ot-1:Ot,_t=="before");function an(vr,Fr,si){var Ei=Ct[Fr],Ti=Ei.level==1;return mt(si?vr-1:vr,Ti!=si)}var vn=lt(Ct,Ot,_t),Wn=vt,Nn=an(Ot,vn,_t=="before");return Wn!=null&&(Nn.other=an(Ot,Wn,_t!="before")),Nn}function vc(x,te){var be=0;te=cn(x.doc,te),x.options.lineWrapping||(be=Ka(x.display)*te.ch);var ge=Ut(x.doc,te.line),Oe=jr(ge)+Do(x.display);return{left:be,right:be,top:Oe,bottom:Oe+ge.height}}function yl(x,te,be,ge,Oe){var $e=nn(x,te,be);return $e.xRel=Oe,ge&&($e.outside=ge),$e}function bl(x,te,be){var ge=x.doc;if(be+=x.display.viewOffset,be<0)return yl(ge.first,0,null,-1,-1);var Oe=Ln(ge,be),$e=ge.first+ge.size-1;if(Oe>$e)return yl(ge.first+ge.size-1,Ut(ge,$e).text.length,null,1,1);te<0&&(te=0);for(var mt=Ut(ge,Oe);;){var Ct=Qc(x,mt,Oe,te,be),Ot=Wr(mt,Ct.ch+(Ct.xRel>0||Ct.outside>0?1:0));if(!Ot)return Ct;var _t=Ot.find(1);if(_t.line==Oe)return _t;mt=Ut(ge,Oe=_t.line)}}function rc(x,te,be,ge){ge-=bs(te);var Oe=te.text.length,$e=Ue(function(mt){return ja(x,be,mt-1).bottom<=ge},Oe,0);return Oe=Ue(function(mt){return ja(x,be,mt).top>ge},$e,Oe),{begin:$e,end:Oe}}function Vl(x,te,be,ge){be||(be=vo(x,te));var Oe=Qo(x,te,ja(x,be,ge),"line").top;return rc(x,te,be,Oe)}function Il(x,te,be,ge){return x.bottom<=be?!1:x.top>be?!0:(ge?x.left:x.right)>te}function Qc(x,te,be,ge,Oe){Oe-=jr(te);var $e=vo(x,te),mt=bs(te),Ct=0,Ot=te.text.length,_t=!0,an=Wt(te,x.doc.direction);if(an){var vn=(x.options.lineWrapping?ic:dl)(x,te,be,$e,an,ge,Oe);_t=vn.level!=1,Ct=_t?vn.from:vn.to-1,Ot=_t?vn.to:vn.from-1}var Wn=null,Nn=null,vr=Ue(function(Qi){var ea=ja(x,$e,Qi);return ea.top+=mt,ea.bottom+=mt,Il(ea,ge,Oe,!1)?(ea.top<=Oe&&ea.left<=ge&&(Wn=Qi,Nn=ea),!0):!1},Ct,Ot),Fr,si,Ei=!1;if(Nn){var Ti=ge-Nn.left<Nn.right-ge,yi=Ti==_t;vr=Wn+(yi?0:1),si=yi?"after":"before",Fr=Ti?Nn.left:Nn.right}else{!_t&&(vr==Ot||vr==Ct)&&vr++,si=vr==0?"after":vr==te.text.length?"before":ja(x,$e,vr-(_t?1:0)).bottom+mt<=Oe==_t?"after":"before";var Bi=$o(x,nn(be,vr,si),"line",te,$e);Fr=Bi.left,Ei=Oe<Bi.top?-1:Oe>=Bi.bottom?1:0}return vr=Ke(te.text,vr,1),yl(be,vr,si,Ei,ge-Fr)}function dl(x,te,be,ge,Oe,$e,mt){var Ct=Ue(function(vn){var Wn=Oe[vn],Nn=Wn.level!=1;return Il($o(x,nn(be,Nn?Wn.to:Wn.from,Nn?"before":"after"),"line",te,ge),$e,mt,!0)},0,Oe.length-1),Ot=Oe[Ct];if(Ct>0){var _t=Ot.level!=1,an=$o(x,nn(be,_t?Ot.from:Ot.to,_t?"after":"before"),"line",te,ge);Il(an,$e,mt,!0)&&an.top>mt&&(Ot=Oe[Ct-1])}return Ot}function ic(x,te,be,ge,Oe,$e,mt){var Ct=rc(x,te,ge,mt),Ot=Ct.begin,_t=Ct.end;/\s/.test(te.text.charAt(_t-1))&&_t--;for(var an=null,vn=null,Wn=0;Wn<Oe.length;Wn++){var Nn=Oe[Wn];if(!(Nn.from>=_t||Nn.to<=Ot)){var vr=Nn.level!=1,Fr=ja(x,ge,vr?Math.min(_t,Nn.to)-1:Math.max(Ot,Nn.from)).right,si=Fr<$e?$e-Fr+1e9:Fr-$e;(!an||vn>si)&&(an=Nn,vn=si)}}return an||(an=Oe[Oe.length-1]),an.from<Ot&&(an={from:Ot,to:an.to,level:an.level}),an.to>_t&&(an={from:an.from,to:_t,level:an.level}),an}var fl;function xl(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(fl==null){fl=Se("pre",null,"CodeMirror-line-like");for(var te=0;te<49;++te)fl.appendChild(document.createTextNode("x")),fl.appendChild(Se("br"));fl.appendChild(document.createTextNode("x"))}De(x.measure,fl);var be=fl.offsetHeight/50;return be>3&&(x.cachedTextHeight=be),Me(x.measure),be||1}function Ka(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var te=Se("span","xxxxxxxxxx"),be=Se("pre",[te],"CodeMirror-line-like");De(x.measure,be);var ge=te.getBoundingClientRect(),Oe=(ge.right-ge.left)/10;return Oe>2&&(x.cachedCharWidth=Oe),Oe||10}function Ga(x){for(var te=x.display,be={},ge={},Oe=te.gutters.clientLeft,$e=te.gutters.firstChild,mt=0;$e;$e=$e.nextSibling,++mt){var Ct=x.display.gutterSpecs[mt].className;be[Ct]=$e.offsetLeft+$e.clientLeft+Oe,ge[Ct]=$e.clientWidth}return{fixedPos:qa(te),gutterTotalWidth:te.gutters.offsetWidth,gutterLeft:be,gutterWidth:ge,wrapperWidth:te.wrapper.clientWidth}}function qa(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function xs(x){var te=xl(x.display),be=x.options.lineWrapping,ge=be&&Math.max(5,x.display.scroller.clientWidth/Ka(x.display)-3);return function(Oe){if(xa(x.doc,Oe))return 0;var $e=0;if(Oe.widgets)for(var mt=0;mt<Oe.widgets.length;mt++)Oe.widgets[mt].height&&($e+=Oe.widgets[mt].height);return be?$e+(Math.ceil(Oe.text.length/ge)||1)*te:$e+te}}function qo(x){var te=x.doc,be=xs(x);te.iter(function(ge){var Oe=be(ge);Oe!=ge.height&&fn(ge,Oe)})}function Js(x,te,be,ge){var Oe=x.display;if(!be&&Dn(te).getAttribute("cm-not-content")=="true")return null;var $e,mt,Ct=Oe.lineSpace.getBoundingClientRect();try{$e=te.clientX-Ct.left,mt=te.clientY-Ct.top}catch(vn){return null}var Ot=bl(x,$e,mt),_t;if(ge&&Ot.xRel>0&&(_t=Ut(x.doc,Ot.line).text).length==Ot.ch){var an=Ve(_t,_t.length,x.options.tabSize)-_t.length;Ot=nn(Ot.line,Math.max(0,Math.round(($e-ss(x.display).left)/Ka(x.display))-an))}return Ot}function ps(x,te){if(te>=x.display.viewTo||(te-=x.display.viewFrom,te<0))return null;for(var be=x.display.view,ge=0;ge<be.length;ge++)if(te-=be[ge].size,te<0)return ge}function Zo(x,te,be,ge){te==null&&(te=x.doc.first),be==null&&(be=x.doc.first+x.doc.size),ge||(ge=0);var Oe=x.display;if(ge&&be<Oe.viewTo&&(Oe.updateLineNumbers==null||Oe.updateLineNumbers>te)&&(Oe.updateLineNumbers=te),x.curOp.viewChanged=!0,te>=Oe.viewTo)dr&&$i(x.doc,te)<Oe.viewTo&&rl(x);else if(be<=Oe.viewFrom)dr&&Hi(x.doc,be+ge)>Oe.viewFrom?rl(x):(Oe.viewFrom+=ge,Oe.viewTo+=ge);else if(te<=Oe.viewFrom&&be>=Oe.viewTo)rl(x);else if(te<=Oe.viewFrom){var $e=il(x,be,be+ge,1);$e?(Oe.view=Oe.view.slice($e.index),Oe.viewFrom=$e.lineN,Oe.viewTo+=ge):rl(x)}else if(be>=Oe.viewTo){var mt=il(x,te,te,-1);mt?(Oe.view=Oe.view.slice(0,mt.index),Oe.viewTo=mt.lineN):rl(x)}else{var Ct=il(x,te,te,-1),Ot=il(x,be,be+ge,1);Ct&&Ot?(Oe.view=Oe.view.slice(0,Ct.index).concat(ha(x,Ct.lineN,Ot.lineN)).concat(Oe.view.slice(Ot.index)),Oe.viewTo+=ge):rl(x)}var _t=Oe.externalMeasured;_t&&(be<_t.lineN?_t.lineN+=ge:te<_t.lineN+_t.size&&(Oe.externalMeasured=null))}function nl(x,te,be){x.curOp.viewChanged=!0;var ge=x.display,Oe=x.display.externalMeasured;if(Oe&&te>=Oe.lineN&&te<Oe.lineN+Oe.size&&(ge.externalMeasured=null),!(te<ge.viewFrom||te>=ge.viewTo)){var $e=ge.view[ps(x,te)];if($e.node!=null){var mt=$e.changes||($e.changes=[]);nt(mt,be)==-1&&mt.push(be)}}}function rl(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function il(x,te,be,ge){var Oe=ps(x,te),$e,mt=x.display.view;if(!dr||be==x.doc.first+x.doc.size)return{index:Oe,lineN:be};for(var Ct=x.display.viewFrom,Ot=0;Ot<Oe;Ot++)Ct+=mt[Ot].size;if(Ct!=te){if(ge>0){if(Oe==mt.length-1)return null;$e=Ct+mt[Oe].size-te,Oe++}else $e=Ct-te;te+=$e,be+=$e}for(;$i(x.doc,be)!=be;){if(Oe==(ge<0?0:mt.length-1))return null;be+=ge*mt[Oe-(ge<0?1:0)].size,Oe+=ge}return{index:Oe,lineN:be}}function Bl(x,te,be){var ge=x.display,Oe=ge.view;Oe.length==0||te>=ge.viewTo||be<=ge.viewFrom?(ge.view=ha(x,te,be),ge.viewFrom=te):(ge.viewFrom>te?ge.view=ha(x,te,ge.viewFrom).concat(ge.view):ge.viewFrom<te&&(ge.view=ge.view.slice(ps(x,te))),ge.viewFrom=te,ge.viewTo<be?ge.view=ge.view.concat(ha(x,ge.viewTo,be)):ge.viewTo>be&&(ge.view=ge.view.slice(0,ps(x,be)))),ge.viewTo=be}function $c(x){for(var te=x.display.view,be=0,ge=0;ge<te.length;ge++){var Oe=te[ge];!Oe.hidden&&(!Oe.node||Oe.changes)&&++be}return be}function yc(x){x.display.input.showSelection(x.display.input.prepareSelection())}function Xu(x,te){te===void 0&&(te=!0);for(var be=x.doc,ge={},Oe=ge.cursors=document.createDocumentFragment(),$e=ge.selection=document.createDocumentFragment(),mt=0;mt<be.sel.ranges.length;mt++)if(!(!te&&mt==be.sel.primIndex)){var Ct=be.sel.ranges[mt];if(!(Ct.from().line>=x.display.viewTo||Ct.to().line<x.display.viewFrom)){var Ot=Ct.empty();(Ot||x.options.showCursorWhenSelecting)&&xu(x,Ct.head,Oe),Ot||Dd(x,Ct,$e)}}return ge}function xu(x,te,be){var ge=$o(x,te,"div",null,null,!x.options.singleCursorHeightPerLine),Oe=be.appendChild(Se("div","\xA0","CodeMirror-cursor"));if(Oe.style.left=ge.left+"px",Oe.style.top=ge.top+"px",Oe.style.height=Math.max(0,ge.bottom-ge.top)*x.options.cursorHeight+"px",ge.other){var $e=be.appendChild(Se("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 zc(x,te){return x.top-te.top||x.left-te.left}function Dd(x,te,be){var ge=x.display,Oe=x.doc,$e=document.createDocumentFragment(),mt=ss(x.display),Ct=mt.left,Ot=Math.max(ge.sizerWidth,fo(x)-ge.sizer.offsetLeft)-mt.right,_t=Oe.direction=="ltr";function an(yi,Bi,Qi,ea){Bi<0&&(Bi=0),Bi=Math.round(Bi),ea=Math.round(ea),$e.appendChild(Se("div",null,"CodeMirror-selected","position: absolute; left: "+yi+`px;
top: `+Bi+"px; width: "+(Qi==null?Ot-yi:Qi)+`px;
height: `+(ea-Bi)+"px"))}function vn(yi,Bi,Qi){var ea=Ut(Oe,yi),Ra=ea.text.length,xo,As;function zo(ds,tl){return _s(x,nn(yi,ds),"div",ea,tl)}function $s(ds,tl,ya){var Go=Vl(x,ea,null,ds),Ko=tl=="ltr"==(ya=="after")?"left":"right",Xo=ya=="after"?Go.begin:Go.end-(/\s/.test(ea.text.charAt(Go.end-1))?2:1);return zo(Xo,Ko)[Ko]}var el=Wt(ea,Oe.direction);return ut(el,Bi||0,Qi==null?Ra:Qi,function(ds,tl,ya,Go){var Ko=ya=="ltr",Xo=zo(ds,Ko?"left":"right"),is=zo(tl-1,Ko?"right":"left"),Uc=Bi==null&&ds==0,ll=Qi==null&&tl==Ra,Ds=Go==0,no=!el||Go==el.length-1;if(is.top-Xo.top<=3){var gs=(_t?Uc:ll)&&Ds,cd=(_t?ll:Uc)&&no,pc=gs?Ct:(Ko?Xo:is).left,Mc=cd?Ot:(Ko?is:Xo).right;an(pc,Xo.top,Mc-pc,Xo.bottom)}else{var $l,fs,Vc,Os;Ko?($l=_t&&Uc&&Ds?Ct:Xo.left,fs=_t?Ot:$s(ds,ya,"before"),Vc=_t?Ct:$s(tl,ya,"after"),Os=_t&&ll&&no?Ot:is.right):($l=_t?$s(ds,ya,"before"):Ct,fs=!_t&&Uc&&Ds?Ot:Xo.right,Vc=!_t&&ll&&no?Ct:is.left,Os=_t?$s(tl,ya,"after"):Ot),an($l,Xo.top,fs-$l,Xo.bottom),Xo.bottom<is.top&&an(Ct,Xo.bottom,null,is.top),an(Vc,is.top,Os-Vc,is.bottom)}(!xo||zc(Xo,xo)<0)&&(xo=Xo),zc(is,xo)<0&&(xo=is),(!As||zc(Xo,As)<0)&&(As=Xo),zc(is,As)<0&&(As=is)}),{start:xo,end:As}}var Wn=te.from(),Nn=te.to();if(Wn.line==Nn.line)vn(Wn.line,Wn.ch,Nn.ch);else{var vr=Ut(Oe,Wn.line),Fr=Ut(Oe,Nn.line),si=Ai(vr)==Ai(Fr),Ei=vn(Wn.line,Wn.ch,si?vr.text.length+1:null).end,Ti=vn(Nn.line,si?0:null,Nn.ch).start;si&&(Ei.top<Ti.top-2?(an(Ei.right,Ei.top,null,Ei.bottom),an(Ct,Ti.top,Ti.left,Ti.bottom)):an(Ei.right,Ei.top,Ti.left-Ei.right,Ei.bottom)),Ei.bottom<Ti.top&&an(Ct,Ei.bottom,null,Ti.top)}be.appendChild($e)}function qc(x){if(x.state.focused){var te=x.display;clearInterval(te.blinker);var be=!0;te.cursorDiv.style.visibility="",x.options.cursorBlinkRate>0?te.blinker=setInterval(function(){x.hasFocus()||ac(x),te.cursorDiv.style.visibility=(be=!be)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(te.cursorDiv.style.visibility="hidden")}}function Kc(x){x.state.focused||(x.display.input.focus(),Su(x))}function wu(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,ac(x))},100)}function Su(x,te){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(ft(x,"focus",x,te),x.state.focused=!0,Ye(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),ee&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),qc(x))}function ac(x,te){x.state.delayingBlurEvent||(x.state.focused&&(ft(x,"blur",x,te),x.state.focused=!1,_e(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function eu(x){for(var te=x.display,be=te.lineDiv.offsetTop,ge=0;ge<te.view.length;ge++){var Oe=te.view[ge],$e=x.options.lineWrapping,mt=void 0,Ct=0;if(!Oe.hidden){if(ve&&ne<8){var Ot=Oe.node.offsetTop+Oe.node.offsetHeight;mt=Ot-be,be=Ot}else{var _t=Oe.node.getBoundingClientRect();mt=_t.bottom-_t.top,!$e&&Oe.text.firstChild&&(Ct=Oe.text.firstChild.getBoundingClientRect().right-_t.left-1)}var an=Oe.line.height-mt;if((an>.005||an<-.005)&&(fn(Oe.line,mt),Cu(Oe.line),Oe.rest))for(var vn=0;vn<Oe.rest.length;vn++)Cu(Oe.rest[vn]);if(Ct>x.display.sizerWidth){var Wn=Math.ceil(Ct/Ka(x.display));Wn>x.display.maxLineLength&&(x.display.maxLineLength=Wn,x.display.maxLine=Oe.line,x.display.maxLineChanged=!0)}}}}function Cu(x){if(x.widgets)for(var te=0;te<x.widgets.length;++te){var be=x.widgets[te],ge=be.node.parentNode;ge&&(be.height=ge.offsetHeight)}}function ls(x,te,be){var ge=be&&be.top!=null?Math.max(0,be.top):x.scroller.scrollTop;ge=Math.floor(ge-Do(x));var Oe=be&&be.bottom!=null?be.bottom:ge+x.wrapper.clientHeight,$e=Ln(te,ge),mt=Ln(te,Oe);if(be&&be.ensure){var Ct=be.ensure.from.line,Ot=be.ensure.to.line;Ct<$e?($e=Ct,mt=Ln(te,jr(Ut(te,Ct))+x.wrapper.clientHeight)):Math.min(Ot,te.lastLine())>=mt&&($e=Ln(te,jr(Ut(te,Ot))-x.wrapper.clientHeight),mt=Ot)}return{from:$e,to:Math.max(mt,$e+1)}}function Pl(x,te){if(!Et(x,"scrollCursorIntoView")){var be=x.display,ge=be.sizer.getBoundingClientRect(),Oe=null;if(te.top+ge.top<0?Oe=!0:te.bottom+ge.top>(window.innerHeight||document.documentElement.clientHeight)&&(Oe=!1),Oe!=null&&!ae){var $e=Se("div","\u200B",null,`position: absolute;
top: `+(te.top-be.viewOffset-Do(x.display))+`px;
height: `+(te.bottom-te.top+Ao(x)+be.barHeight)+`px;
left: `+te.left+"px; width: "+Math.max(2,te.right-te.left)+"px;");x.display.lineSpace.appendChild($e),$e.scrollIntoView(Oe),x.display.lineSpace.removeChild($e)}}}function oc(x,te,be,ge){ge==null&&(ge=0);var Oe;!x.options.lineWrapping&&te==be&&(te=te.ch?nn(te.line,te.sticky=="before"?te.ch-1:te.ch,"after"):te,be=te.sticky=="before"?nn(te.line,te.ch+1,"before"):te);for(var $e=0;$e<5;$e++){var mt=!1,Ct=$o(x,te),Ot=!be||be==te?Ct:$o(x,be);Oe={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 _t=tu(x,Oe),an=x.doc.scrollTop,vn=x.doc.scrollLeft;if(_t.scrollTop!=null&&(Gl(x,_t.scrollTop),Math.abs(x.doc.scrollTop-an)>1&&(mt=!0)),_t.scrollLeft!=null&&(Ll(x,_t.scrollLeft),Math.abs(x.doc.scrollLeft-vn)>1&&(mt=!0)),!mt)break}return Oe}function Yu(x,te){var be=tu(x,te);be.scrollTop!=null&&Gl(x,be.scrollTop),be.scrollLeft!=null&&Ll(x,be.scrollLeft)}function tu(x,te){var be=x.display,ge=xl(x.display);te.top<0&&(te.top=0);var Oe=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:be.scroller.scrollTop,$e=Ls(x),mt={};te.bottom-te.top>$e&&(te.bottom=te.top+$e);var Ct=x.doc.height+Xs(be),Ot=te.top<ge,_t=te.bottom>Ct-ge;if(te.top<Oe)mt.scrollTop=Ot?0:te.top;else if(te.bottom>Oe+$e){var an=Math.min(te.top,(_t?Ct:te.bottom)-$e);an!=Oe&&(mt.scrollTop=an)}var vn=x.options.fixedGutter?0:be.gutters.offsetWidth,Wn=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:be.scroller.scrollLeft-vn,Nn=fo(x)-be.gutters.offsetWidth,vr=te.right-te.left>Nn;return vr&&(te.right=te.left+Nn),te.left<10?mt.scrollLeft=0:te.left<Wn?mt.scrollLeft=Math.max(0,te.left+vn-(vr?0:10)):te.right>Nn+Wn-3&&(mt.scrollLeft=te.right+(vr?0:10)-Nn),mt}function nu(x,te){te!=null&&(Hc(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+te)}function bc(x){Hc(x);var te=x.getCursor();x.curOp.scrollToPos={from:te,to:te,margin:x.options.cursorScrollMargin}}function sc(x,te,be){(te!=null||be!=null)&&Hc(x),te!=null&&(x.curOp.scrollLeft=te),be!=null&&(x.curOp.scrollTop=be)}function Od(x,te){Hc(x),x.curOp.scrollToPos=te}function Hc(x){var te=x.curOp.scrollToPos;if(te){x.curOp.scrollToPos=null;var be=vc(x,te.from),ge=vc(x,te.to);Ju(x,be,ge,te.margin)}}function Ju(x,te,be,ge){var Oe=tu(x,{left:Math.min(te.left,be.left),top:Math.min(te.top,be.top)-ge,right:Math.max(te.right,be.right),bottom:Math.max(te.bottom,be.bottom)+ge});sc(x,Oe.scrollLeft,Oe.scrollTop)}function Gl(x,te){Math.abs(x.doc.scrollTop-te)<2||(Ne||ri(x,{top:te}),Qu(x,te,!0),Ne&&ri(x),Kn(x,100))}function Qu(x,te,be){te=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,te)),!(x.display.scroller.scrollTop==te&&!be)&&(x.doc.scrollTop=te,x.display.scrollbars.setScrollTop(te),x.display.scroller.scrollTop!=te&&(x.display.scroller.scrollTop=te))}function Ll(x,te,be,ge){te=Math.max(0,Math.min(te,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((be?te==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-te)<2)&&!ge)&&(x.doc.scrollLeft=te,ji(x),x.display.scroller.scrollLeft!=te&&(x.display.scroller.scrollLeft=te),x.display.scrollbars.setScrollLeft(te))}function xc(x){var te=x.display,be=te.gutters.offsetWidth,ge=Math.round(x.doc.height+Xs(x.display));return{clientHeight:te.scroller.clientHeight,viewHeight:te.wrapper.clientHeight,scrollWidth:te.scroller.scrollWidth,clientWidth:te.scroller.clientWidth,viewWidth:te.wrapper.clientWidth,barLeft:x.options.fixedGutter?be:0,docHeight:ge,scrollHeight:ge+Ao(x)+te.barHeight,nativeBarWidth:te.nativeBarWidth,gutterWidth:be}}var Rl=function(x,te,be){this.cm=be;var ge=this.vert=Se("div",[Se("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Oe=this.horiz=Se("div",[Se("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ge.tabIndex=Oe.tabIndex=-1,x(ge),x(Oe),zt(ge,"scroll",function(){ge.clientHeight&&te(ge.scrollTop,"vertical")}),zt(Oe,"scroll",function(){Oe.clientWidth&&te(Oe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ve&&ne<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Rl.prototype.update=function(x){var te=x.scrollWidth>x.clientWidth+1,be=x.scrollHeight>x.clientHeight+1,ge=x.nativeBarWidth;if(be){this.vert.style.display="block",this.vert.style.bottom=te?ge+"px":"0";var Oe=x.viewHeight-(te?ge:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+Oe)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(te){this.horiz.style.display="block",this.horiz.style.right=be?ge+"px":"0",this.horiz.style.left=x.barLeft+"px";var $e=x.viewWidth-x.barLeft-(be?ge:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+$e)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(ge==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:be?ge:0,bottom:te?ge:0}},Rl.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Rl.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Rl.prototype.zeroWidthHack=function(){var x=we&&!re?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Qe,this.disableVert=new Qe},Rl.prototype.enableZeroWidthBar=function(x,te,be){x.style.pointerEvents="auto";function ge(){var Oe=x.getBoundingClientRect(),$e=be=="vert"?document.elementFromPoint(Oe.right-1,(Oe.top+Oe.bottom)/2):document.elementFromPoint((Oe.right+Oe.left)/2,Oe.bottom-1);$e!=x?x.style.pointerEvents="none":te.set(1e3,ge)}te.set(1e3,ge)},Rl.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var Ws=function(){};Ws.prototype.update=function(){return{bottom:0,right:0}},Ws.prototype.setScrollLeft=function(){},Ws.prototype.setScrollTop=function(){},Ws.prototype.clear=function(){};function Xl(x,te){te||(te=xc(x));var be=x.display.barWidth,ge=x.display.barHeight;ru(x,te);for(var Oe=0;Oe<4&&be!=x.display.barWidth||ge!=x.display.barHeight;Oe++)be!=x.display.barWidth&&x.options.lineWrapping&&eu(x),ru(x,xc(x)),be=x.display.barWidth,ge=x.display.barHeight}function ru(x,te){var be=x.display,ge=be.scrollbars.update(te);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&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(be.gutterFiller.style.display="block",be.gutterFiller.style.height=ge.bottom+"px",be.gutterFiller.style.width=te.gutterWidth+"px"):be.gutterFiller.style.display=""}var Eu={native:Rl,null:Ws};function Au(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&_e(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new Eu[x.options.scrollbarStyle](function(te){x.display.wrapper.insertBefore(te,x.display.scrollbarFiller),zt(te,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),te.setAttribute("cm-not-content","true")},function(te,be){be=="horizontal"?Ll(x,te):Gl(x,te)},x),x.display.scrollbars.addClass&&Ye(x.display.wrapper,x.display.scrollbars.addClass)}var $u=0;function ks(x){x.curOp={cm:x,viewChanged:!1,startHeight:x.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++$u},An(x.curOp)}function Nl(x){var te=x.curOp;te&&Yn(te,function(be){for(var ge=0;ge<be.ops.length;ge++)be.ops[ge].cm.curOp=null;qu(be)})}function qu(x){for(var te=x.ops,be=0;be<te.length;be++)At(te[be]);for(var ge=0;ge<te.length;ge++)It(te[ge]);for(var Oe=0;Oe<te.length;Oe++)Vt(te[Oe]);for(var $e=0;$e<te.length;$e++)$t(te[$e]);for(var mt=0;mt<te.length;mt++)ln(te[mt])}function At(x){var te=x.cm,be=te.display;Er(te),x.updateMaxLine&&Nr(te),x.mustUpdate=x.viewChanged||x.forceUpdate||x.scrollTop!=null||x.scrollToPos&&(x.scrollToPos.from.line<be.viewFrom||x.scrollToPos.to.line>=be.viewTo)||be.maxLineChanged&&te.options.lineWrapping,x.update=x.mustUpdate&&new Un(te,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function It(x){x.updatedDisplay=x.mustUpdate&&ni(x.cm,x.update)}function Vt(x){var te=x.cm,be=te.display;x.updatedDisplay&&eu(te),x.barMeasure=xc(te),be.maxLineChanged&&!te.options.lineWrapping&&(x.adjustWidthTo=Rs(te,be.maxLine,be.maxLine.text.length).left+3,te.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(be.scroller.clientWidth,be.sizer.offsetLeft+x.adjustWidthTo+Ao(te)+te.display.barWidth),x.maxScrollLeft=Math.max(0,be.sizer.offsetLeft+x.adjustWidthTo-fo(te))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=be.input.prepareSelection())}function $t(x){var te=x.cm;x.adjustWidthTo!=null&&(te.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft<te.doc.scrollLeft&&Ll(te,Math.min(te.display.scroller.scrollLeft,x.maxScrollLeft),!0),te.display.maxLineChanged=!1);var be=x.focus&&x.focus==Ie();x.preparedSelection&&te.display.input.showSelection(x.preparedSelection,be),(x.updatedDisplay||x.startHeight!=te.doc.height)&&Xl(te,x.barMeasure),x.updatedDisplay&&Ri(te,x.barMeasure),x.selectionChanged&&qc(te),te.state.focused&&x.updateInput&&te.display.input.reset(x.typing),be&&Kc(x.cm)}function ln(x){var te=x.cm,be=te.display,ge=te.doc;if(x.updatedDisplay&&Yr(te,x.update),be.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(be.wheelStartX=be.wheelStartY=null),x.scrollTop!=null&&Qu(te,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&Ll(te,x.scrollLeft,!0,!0),x.scrollToPos){var Oe=oc(te,cn(ge,x.scrollToPos.from),cn(ge,x.scrollToPos.to),x.scrollToPos.margin);Pl(te,Oe)}var $e=x.maybeHiddenMarkers,mt=x.maybeUnhiddenMarkers;if($e)for(var Ct=0;Ct<$e.length;++Ct)$e[Ct].lines.length||ft($e[Ct],"hide");if(mt)for(var Ot=0;Ot<mt.length;++Ot)mt[Ot].lines.length&&ft(mt[Ot],"unhide");be.wrapper.offsetHeight&&(ge.scrollTop=te.display.scroller.scrollTop),x.changeObjs&&ft(te,"changes",te,x.changeObjs),x.update&&x.update.finish()}function tn(x,te){if(x.curOp)return te();ks(x);try{return te()}finally{Nl(x)}}function Mn(x,te){return function(){if(x.curOp)return te.apply(x,arguments);ks(x);try{return te.apply(x,arguments)}finally{Nl(x)}}}function Cn(x){return function(){if(this.curOp)return x.apply(this,arguments);ks(this);try{return x.apply(this,arguments)}finally{Nl(this)}}}function Sn(x){return function(){var te=this.cm;if(!te||te.curOp)return x.apply(this,arguments);ks(te);try{return x.apply(this,arguments)}finally{Nl(te)}}}function Kn(x,te){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(te,it(rr,x))}function rr(x){var te=x.doc;if(!(te.highlightFrontier>=x.display.viewTo)){var be=+new Date+x.options.workTime,ge=yn(x,te.highlightFrontier),Oe=[];te.iter(ge.line,Math.min(te.first+te.size,x.display.viewTo+500),function($e){if(ge.line>=x.display.viewFrom){var mt=$e.styles,Ct=$e.text.length>x.options.maxHighlightLength?kt(te.mode,ge.state):null,Ot=un(x,$e,ge,!0);Ct&&(ge.state=Ct),$e.styles=Ot.styles;var _t=$e.styleClasses,an=Ot.classes;an?$e.styleClasses=an:_t&&($e.styleClasses=null);for(var vn=!mt||mt.length!=$e.styles.length||_t!=an&&(!_t||!an||_t.bgClass!=an.bgClass||_t.textClass!=an.textClass),Wn=0;!vn&&Wn<mt.length;++Wn)vn=mt[Wn]!=$e.styles[Wn];vn&&Oe.push(ge.line),$e.stateAfter=ge.save(),ge.nextLine()}else $e.text.length<=x.options.maxHighlightLength&&bn(x,$e.text,ge),$e.stateAfter=ge.line%5==0?ge.save():null,ge.nextLine();if(+new Date>be)return Kn(x,x.options.workDelay),!0}),te.highlightFrontier=ge.line,te.modeFrontier=Math.max(te.modeFrontier,ge.line),Oe.length&&tn(x,function(){for(var $e=0;$e<Oe.length;$e++)nl(x,Oe[$e],"text")})}}var Un=function(x,te,be){var ge=x.display;this.viewport=te,this.visible=ls(ge,x.doc,te),this.editorIsHidden=!ge.wrapper.offsetWidth,this.wrapperHeight=ge.wrapper.clientHeight,this.wrapperWidth=ge.wrapper.clientWidth,this.oldDisplayWidth=fo(x),this.force=be,this.dims=Ga(x),this.events=[]};Un.prototype.signal=function(x,te){Kt(x,te)&&this.events.push(arguments)},Un.prototype.finish=function(){for(var x=0;x<this.events.length;x++)ft.apply(null,this.events[x])};function Er(x){var te=x.display;!te.scrollbarsClipped&&te.scroller.offsetWidth&&(te.nativeBarWidth=te.scroller.offsetWidth-te.scroller.clientWidth,te.heightForcer.style.height=Ao(x)+"px",te.sizer.style.marginBottom=-te.nativeBarWidth+"px",te.sizer.style.borderRightWidth=Ao(x)+"px",te.scrollbarsClipped=!0)}function yr(x){if(x.hasFocus())return null;var te=Ie();if(!te||!Xe(x.display.lineDiv,te))return null;var be={activeElt:te};if(window.getSelection){var ge=window.getSelection();ge.anchorNode&&ge.extend&&Xe(x.display.lineDiv,ge.anchorNode)&&(be.anchorNode=ge.anchorNode,be.anchorOffset=ge.anchorOffset,be.focusNode=ge.focusNode,be.focusOffset=ge.focusOffset)}return be}function Sr(x){if(!(!x||!x.activeElt||x.activeElt==Ie())&&(x.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(x.activeElt.nodeName)&&x.anchorNode&&Xe(document.body,x.anchorNode)&&Xe(document.body,x.focusNode))){var te=window.getSelection(),be=document.createRange();be.setEnd(x.anchorNode,x.anchorOffset),be.collapse(!1),te.removeAllRanges(),te.addRange(be),te.extend(x.focusNode,x.focusOffset)}}function ni(x,te){var be=x.display,ge=x.doc;if(te.editorIsHidden)return rl(x),!1;if(!te.force&&te.visible.from>=be.viewFrom&&te.visible.to<=be.viewTo&&(be.updateLineNumbers==null||be.updateLineNumbers>=be.viewTo)&&be.renderedView==be.view&&$c(x)==0)return!1;Mi(x)&&(rl(x),te.dims=Ga(x));var Oe=ge.first+ge.size,$e=Math.max(te.visible.from-x.options.viewportMargin,ge.first),mt=Math.min(Oe,te.visible.to+x.options.viewportMargin);be.viewFrom<$e&&$e-be.viewFrom<20&&($e=Math.max(ge.first,be.viewFrom)),be.viewTo>mt&&be.viewTo-mt<20&&(mt=Math.min(Oe,be.viewTo)),dr&&($e=$i(x.doc,$e),mt=Hi(x.doc,mt));var Ct=$e!=be.viewFrom||mt!=be.viewTo||be.lastWrapHeight!=te.wrapperHeight||be.lastWrapWidth!=te.wrapperWidth;Bl(x,$e,mt),be.viewOffset=jr(Ut(x.doc,be.viewFrom)),x.display.mover.style.top=be.viewOffset+"px";var Ot=$c(x);if(!Ct&&Ot==0&&!te.force&&be.renderedView==be.view&&(be.updateLineNumbers==null||be.updateLineNumbers>=be.viewTo))return!1;var _t=yr(x);return Ot>4&&(be.lineDiv.style.display="none"),Jr(x,be.updateLineNumbers,te.dims),Ot>4&&(be.lineDiv.style.display=""),be.renderedView=be.view,Sr(_t),Me(be.cursorDiv),Me(be.selectionDiv),be.gutters.style.height=be.sizer.style.minHeight=0,Ct&&(be.lastWrapHeight=te.wrapperHeight,be.lastWrapWidth=te.wrapperWidth,Kn(x,400)),be.updateLineNumbers=null,!0}function Yr(x,te){for(var be=te.viewport,ge=!0;;ge=!1){if(!ge||!x.options.lineWrapping||te.oldDisplayWidth==fo(x)){if(be&&be.top!=null&&(be={top:Math.min(x.doc.height+Xs(x.display)-Ls(x),be.top)}),te.visible=ls(x.display,x.doc,be),te.visible.from>=x.display.viewFrom&&te.visible.to<=x.display.viewTo)break}else ge&&(te.visible=ls(x.display,x.doc,be));if(!ni(x,te))break;eu(x);var Oe=xc(x);yc(x),Xl(x,Oe),Ri(x,Oe),te.force=!1}te.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(te.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function ri(x,te){var be=new Un(x,te);if(ni(x,be)){eu(x),Yr(x,be);var ge=xc(x);yc(x),Xl(x,ge),Ri(x,ge),be.finish()}}function Jr(x,te,be){var ge=x.display,Oe=x.options.lineNumbers,$e=ge.lineDiv,mt=$e.firstChild;function Ct(vr){var Fr=vr.nextSibling;return ee&&we&&x.display.currentWheelTarget==vr?vr.style.display="none":vr.parentNode.removeChild(vr),Fr}for(var Ot=ge.view,_t=ge.viewFrom,an=0;an<Ot.length;an++){var vn=Ot[an];if(!vn.hidden)if(!vn.node||vn.node.parentNode!=$e){var Wn=bi(x,vn,_t,be);$e.insertBefore(Wn,mt)}else{for(;mt!=vn.node;)mt=Ct(mt);var Nn=Oe&&te!=null&&te<=_t&&vn.lineNumber;vn.changes&&(nt(vn.changes,"gutter")>-1&&(Nn=!1),Br(x,vn,_t,be)),Nn&&(Me(vn.lineNumber),vn.lineNumber.appendChild(document.createTextNode(zn(x.options,_t)))),mt=vn.node.nextSibling}_t+=vn.size}for(;mt;)mt=Ct(mt)}function mi(x){var te=x.gutters.offsetWidth;x.sizer.style.marginLeft=te+"px"}function Ri(x,te){x.display.sizer.style.minHeight=te.docHeight+"px",x.display.heightForcer.style.top=te.docHeight+"px",x.display.gutters.style.height=te.docHeight+x.display.barHeight+Ao(x)+"px"}function ji(x){var te=x.display,be=te.view;if(!(!te.alignWidgets&&(!te.gutters.firstChild||!x.options.fixedGutter))){for(var ge=qa(te)-te.scroller.scrollLeft+x.doc.scrollLeft,Oe=te.gutters.offsetWidth,$e=ge+"px",mt=0;mt<be.length;mt++)if(!be[mt].hidden){x.options.fixedGutter&&(be[mt].gutter&&(be[mt].gutter.style.left=$e),be[mt].gutterBackground&&(be[mt].gutterBackground.style.left=$e));var Ct=be[mt].alignable;if(Ct)for(var Ot=0;Ot<Ct.length;Ot++)Ct[Ot].style.left=$e}x.options.fixedGutter&&(te.gutters.style.left=ge+Oe+"px")}}function Mi(x){if(!x.options.lineNumbers)return!1;var te=x.doc,be=zn(x.options,te.first+te.size-1),ge=x.display;if(be.length!=ge.lineNumChars){var Oe=ge.measure.appendChild(Se("div",[Se("div",be)],"CodeMirror-linenumber CodeMirror-gutter-elt")),$e=Oe.firstChild.offsetWidth,mt=Oe.offsetWidth-$e;return ge.lineGutter.style.width="",ge.lineNumInnerWidth=Math.max($e,ge.lineGutter.offsetWidth-mt)+1,ge.lineNumWidth=ge.lineNumInnerWidth+mt,ge.lineNumChars=ge.lineNumInnerWidth?be.length:-1,ge.lineGutter.style.width=ge.lineNumWidth+"px",mi(x.display),!0}return!1}function Ji(x,te){for(var be=[],ge=!1,Oe=0;Oe<x.length;Oe++){var $e=x[Oe],mt=null;if(typeof $e!="string"&&(mt=$e.style,$e=$e.className),$e=="CodeMirror-linenumbers")if(te)ge=!0;else continue;be.push({className:$e,style:mt})}return te&&!ge&&be.push({className:"CodeMirror-linenumbers",style:null}),be}function sa(x){var te=x.gutters,be=x.gutterSpecs;Me(te),x.lineGutter=null;for(var ge=0;ge<be.length;++ge){var Oe=be[ge],$e=Oe.className,mt=Oe.style,Ct=te.appendChild(Se("div",null,"CodeMirror-gutter "+$e));mt&&(Ct.style.cssText=mt),$e=="CodeMirror-linenumbers"&&(x.lineGutter=Ct,Ct.style.width=(x.lineNumWidth||1)+"px")}te.style.display=be.length?"":"none",mi(x)}function xi(x){sa(x.display),Zo(x),ji(x)}function Oi(x,te,be,ge){var Oe=this;this.input=be,Oe.scrollbarFiller=Se("div",null,"CodeMirror-scrollbar-filler"),Oe.scrollbarFiller.setAttribute("cm-not-content","true"),Oe.gutterFiller=Se("div",null,"CodeMirror-gutter-filler"),Oe.gutterFiller.setAttribute("cm-not-content","true"),Oe.lineDiv=Be("div",null,"CodeMirror-code"),Oe.selectionDiv=Se("div",null,null,"position: relative; z-index: 1"),Oe.cursorDiv=Se("div",null,"CodeMirror-cursors"),Oe.measure=Se("div",null,"CodeMirror-measure"),Oe.lineMeasure=Se("div",null,"CodeMirror-measure"),Oe.lineSpace=Be("div",[Oe.measure,Oe.lineMeasure,Oe.selectionDiv,Oe.cursorDiv,Oe.lineDiv],null,"position: relative; outline: none");var $e=Be("div",[Oe.lineSpace],"CodeMirror-lines");Oe.mover=Se("div",[$e],null,"position: relative"),Oe.sizer=Se("div",[Oe.mover],"CodeMirror-sizer"),Oe.sizerWidth=null,Oe.heightForcer=Se("div",null,null,"position: absolute; height: "+dt+"px; width: 1px;"),Oe.gutters=Se("div",null,"CodeMirror-gutters"),Oe.lineGutter=null,Oe.scroller=Se("div",[Oe.sizer,Oe.heightForcer,Oe.gutters],"CodeMirror-scroll"),Oe.scroller.setAttribute("tabIndex","-1"),Oe.wrapper=Se("div",[Oe.scrollbarFiller,Oe.gutterFiller,Oe.scroller],"CodeMirror"),ve&&ne<8&&(Oe.gutters.style.zIndex=-1,Oe.scroller.style.paddingRight=0),!ee&&!(Ne&&me)&&(Oe.scroller.draggable=!0),x&&(x.appendChild?x.appendChild(Oe.wrapper):x(Oe.wrapper)),Oe.viewFrom=Oe.viewTo=te.first,Oe.reportedViewFrom=Oe.reportedViewTo=te.first,Oe.view=[],Oe.renderedView=null,Oe.externalMeasured=null,Oe.viewOffset=0,Oe.lastWrapHeight=Oe.lastWrapWidth=0,Oe.updateLineNumbers=null,Oe.nativeBarWidth=Oe.barHeight=Oe.barWidth=0,Oe.scrollbarsClipped=!1,Oe.lineNumWidth=Oe.lineNumInnerWidth=Oe.lineNumChars=null,Oe.alignWidgets=!1,Oe.cachedCharWidth=Oe.cachedTextHeight=Oe.cachedPaddingH=null,Oe.maxLine=null,Oe.maxLineLength=0,Oe.maxLineChanged=!1,Oe.wheelDX=Oe.wheelDY=Oe.wheelStartX=Oe.wheelStartY=null,Oe.shift=!1,Oe.selForContextMenu=null,Oe.activeTouch=null,Oe.gutterSpecs=Ji(ge.gutters,ge.lineNumbers),sa(Oe),be.init(Oe)}var wi=0,Vr=null;ve?Vr=-.53:Ne?Vr=15:oe?Vr=-.7:pe&&(Vr=-1/3);function Ci(x){var te=x.wheelDeltaX,be=x.wheelDeltaY;return te==null&&x.detail&&x.axis==x.HORIZONTAL_AXIS&&(te=x.detail),be==null&&x.detail&&x.axis==x.VERTICAL_AXIS?be=x.detail:be==null&&(be=x.wheelDelta),{x:te,y:be}}function Xi(x){var te=Ci(x);return te.x*=Vr,te.y*=Vr,te}function ga(x,te){var be=Ci(te),ge=be.x,Oe=be.y,$e=x.display,mt=$e.scroller,Ct=mt.scrollWidth>mt.clientWidth,Ot=mt.scrollHeight>mt.clientHeight;if(ge&&Ct||Oe&&Ot){if(Oe&&we&&ee){e:for(var _t=te.target,an=$e.view;_t!=mt;_t=_t.parentNode)for(var vn=0;vn<an.length;vn++)if(an[vn].node==_t){x.display.currentWheelTarget=_t;break e}}if(ge&&!Ne&&!le&&Vr!=null){Oe&&Ot&&Gl(x,Math.max(0,mt.scrollTop+Oe*Vr)),Ll(x,Math.max(0,mt.scrollLeft+ge*Vr)),(!Oe||Oe&&Ot)&&rn(te),$e.wheelStartX=null;return}if(Oe&&Vr!=null){var Wn=Oe*Vr,Nn=x.doc.scrollTop,vr=Nn+$e.wrapper.clientHeight;Wn<0?Nn=Math.max(0,Nn+Wn-50):vr=Math.min(x.doc.height,vr+Wn+50),ri(x,{top:Nn,bottom:vr})}wi<20&&($e.wheelStartX==null?($e.wheelStartX=mt.scrollLeft,$e.wheelStartY=mt.scrollTop,$e.wheelDX=ge,$e.wheelDY=Oe,setTimeout(function(){if($e.wheelStartX!=null){var Fr=mt.scrollLeft-$e.wheelStartX,si=mt.scrollTop-$e.wheelStartY,Ei=si&&$e.wheelDY&&si/$e.wheelDY||Fr&&$e.wheelDX&&Fr/$e.wheelDX;$e.wheelStartX=$e.wheelStartY=null,Ei&&(Vr=(Vr*wi+Ei)/(wi+1),++wi)}},200)):($e.wheelDX+=ge,$e.wheelDY+=Oe))}}var Wi=function(x,te){this.ranges=x,this.primIndex=te};Wi.prototype.primary=function(){return this.ranges[this.primIndex]},Wi.prototype.equals=function(x){if(x==this)return!0;if(x.primIndex!=this.primIndex||x.ranges.length!=this.ranges.length)return!1;for(var te=0;te<this.ranges.length;te++){var be=this.ranges[te],ge=x.ranges[te];if(!Xt(be.anchor,ge.anchor)||!Xt(be.head,ge.head))return!1}return!0},Wi.prototype.deepCopy=function(){for(var x=[],te=0;te<this.ranges.length;te++)x[te]=new ai(en(this.ranges[te].anchor),en(this.ranges[te].head));return new Wi(x,this.primIndex)},Wi.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},Wi.prototype.contains=function(x,te){te||(te=x);for(var be=0;be<this.ranges.length;be++){var ge=this.ranges[be];if(In(te,ge.from())>=0&&In(x,ge.to())<=0)return be}return-1};var ai=function(x,te){this.anchor=x,this.head=te};ai.prototype.from=function(){return mn(this.anchor,this.head)},ai.prototype.to=function(){return sn(this.anchor,this.head)},ai.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ra(x,te,be){var ge=x&&x.options.selectionsMayTouch,Oe=te[be];te.sort(function(Wn,Nn){return In(Wn.from(),Nn.from())}),be=nt(te,Oe);for(var $e=1;$e<te.length;$e++){var mt=te[$e],Ct=te[$e-1],Ot=In(Ct.to(),mt.from());if(ge&&!mt.empty()?Ot>0:Ot>=0){var _t=mn(Ct.from(),mt.from()),an=sn(Ct.to(),mt.to()),vn=Ct.empty()?mt.from()==mt.head:Ct.from()==Ct.head;$e<=be&&--be,te.splice(--$e,2,new ai(vn?an:_t,vn?_t:an))}}return new Wi(te,be)}function la(x,te){return new Wi([new ai(x,te||x)],0)}function _a(x){return x.text?nn(x.from.line+x.text.length-1,Mt(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Ia(x,te){if(In(x,te.from)<0)return x;if(In(x,te.to)<=0)return _a(te);var be=x.line+te.text.length-(te.to.line-te.from.line)-1,ge=x.ch;return x.line==te.to.line&&(ge+=_a(te).ch-te.to.ch),nn(be,ge)}function lo(x,te){for(var be=[],ge=0;ge<x.sel.ranges.length;ge++){var Oe=x.sel.ranges[ge];be.push(new ai(Ia(Oe.anchor,te),Ia(Oe.head,te)))}return ra(x.cm,be,x.sel.primIndex)}function eo(x,te,be){return x.line==te.line?nn(be.line,x.ch-te.ch+be.ch):nn(be.line+(x.line-te.line),x.ch)}function oa(x,te,be){for(var ge=[],Oe=nn(x.first,0),$e=Oe,mt=0;mt<te.length;mt++){var Ct=te[mt],Ot=eo(Ct.from,Oe,$e),_t=eo(_a(Ct),Oe,$e);if(Oe=Ct.to,$e=_t,be=="around"){var an=x.sel.ranges[mt],vn=In(an.head,an.anchor)<0;ge[mt]=new ai(vn?_t:Ot,vn?Ot:_t)}else ge[mt]=new ai(Ot,Ot)}return new Wi(ge,x.sel.primIndex)}function Co(x){x.doc.mode=Zn(x.options,x.doc.modeOption),Aa(x)}function Aa(x){x.doc.iter(function(te){te.stateAfter&&(te.stateAfter=null),te.styles&&(te.styles=null)}),x.doc.modeFrontier=x.doc.highlightFrontier=x.doc.first,Kn(x,100),x.state.modeGen++,x.curOp&&Zo(x)}function ao(x,te){return te.from.ch==0&&te.to.ch==0&&Mt(te.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function to(x,te,be,ge){function Oe(Ti){return be?be[Ti]:null}function $e(Ti,yi,Bi){Yi(Ti,yi,Bi,ge),hr(Ti,"change",Ti,te)}function mt(Ti,yi){for(var Bi=[],Qi=Ti;Qi<yi;++Qi)Bi.push(new $r(_t[Qi],Oe(Qi),ge));return Bi}var Ct=te.from,Ot=te.to,_t=te.text,an=Ut(x,Ct.line),vn=Ut(x,Ot.line),Wn=Mt(_t),Nn=Oe(_t.length-1),vr=Ot.line-Ct.line;if(te.full)x.insert(0,mt(0,_t.length)),x.remove(_t.length,x.size-_t.length);else if(ao(x,te)){var Fr=mt(0,_t.length-1);$e(vn,vn.text,Nn),vr&&x.remove(Ct.line,vr),Fr.length&&x.insert(Ct.line,Fr)}else if(an==vn)if(_t.length==1)$e(an,an.text.slice(0,Ct.ch)+Wn+an.text.slice(Ot.ch),Nn);else{var si=mt(1,_t.length-1);si.push(new $r(Wn+an.text.slice(Ot.ch),Nn,ge)),$e(an,an.text.slice(0,Ct.ch)+_t[0],Oe(0)),x.insert(Ct.line+1,si)}else if(_t.length==1)$e(an,an.text.slice(0,Ct.ch)+_t[0]+vn.text.slice(Ot.ch),Oe(0)),x.remove(Ct.line+1,vr);else{$e(an,an.text.slice(0,Ct.ch)+_t[0],Oe(0)),$e(vn,Wn+vn.text.slice(Ot.ch),Nn);var Ei=mt(1,_t.length-1);vr>1&&x.remove(Ct.line+1,vr-1),x.insert(Ct.line+1,Ei)}hr(x,"change",x,te)}function Bo(x,te,be){function ge(Oe,$e,mt){if(Oe.linked)for(var Ct=0;Ct<Oe.linked.length;++Ct){var Ot=Oe.linked[Ct];if(Ot.doc!=$e){var _t=mt&&Ot.sharedHist;be&&!_t||(te(Ot.doc,_t),ge(Ot.doc,Oe,_t))}}}ge(x,null,!0)}function Zi(x,te){if(te.cm)throw new Error("This document is already in use.");x.doc=te,te.cm=x,qo(x),Co(x),Fi(x),x.options.lineWrapping||Nr(x),x.options.mode=te.modeOption,Zo(x)}function Fi(x){(x.doc.direction=="rtl"?Ye:_e)(x.display.lineDiv,"CodeMirror-rtl")}function zi(x){tn(x,function(){Fi(x),Zo(x)})}function Pi(x){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=x||1}function Ba(x,te){var be={from:en(te.from),to:_a(te),text:Yt(x,te.from,te.to)};return Zs(x,be,te.from.line,te.to.line+1),Bo(x,function(ge){return Zs(ge,be,te.from.line,te.to.line+1)},!0),be}function Ni(x){for(;x.length;){var te=Mt(x);if(te.ranges)x.pop();else break}}function ia(x,te){if(te)return Ni(x.done),Mt(x.done);if(x.done.length&&!Mt(x.done).ranges)return Mt(x.done);if(x.done.length>1&&!x.done[x.done.length-2].ranges)return x.done.pop(),Mt(x.done)}function ka(x,te,be,ge){var Oe=x.history;Oe.undone.length=0;var $e=+new Date,mt,Ct;if((Oe.lastOp==ge||Oe.lastOrigin==te.origin&&te.origin&&(te.origin.charAt(0)=="+"&&Oe.lastModTime>$e-(x.cm?x.cm.options.historyEventDelay:500)||te.origin.charAt(0)=="*"))&&(mt=ia(Oe,Oe.lastOp==ge)))Ct=Mt(mt.changes),In(te.from,te.to)==0&&In(te.from,Ct.to)==0?Ct.to=_a(te):mt.changes.push(Ba(x,te));else{var Ot=Mt(Oe.done);for((!Ot||!Ot.ranges)&&Po(x.sel,Oe.done),mt={changes:[Ba(x,te)],generation:Oe.generation},Oe.done.push(mt);Oe.done.length>Oe.undoDepth;)Oe.done.shift(),Oe.done[0].ranges||Oe.done.shift()}Oe.done.push(be),Oe.generation=++Oe.maxGeneration,Oe.lastModTime=Oe.lastSelTime=$e,Oe.lastOp=Oe.lastSelOp=ge,Oe.lastOrigin=Oe.lastSelOrigin=te.origin,Ct||ft(x,"historyAdded")}function Ea(x,te,be,ge){var Oe=te.charAt(0);return Oe=="*"||Oe=="+"&&be.ranges.length==ge.ranges.length&&be.somethingSelected()==ge.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function es(x,te,be,ge){var Oe=x.history,$e=ge&&ge.origin;be==Oe.lastSelOp||$e&&Oe.lastSelOrigin==$e&&(Oe.lastModTime==Oe.lastSelTime&&Oe.lastOrigin==$e||Ea(x,$e,Mt(Oe.done),te))?Oe.done[Oe.done.length-1]=te:Po(te,Oe.done),Oe.lastSelTime=+new Date,Oe.lastSelOrigin=$e,Oe.lastSelOp=be,ge&&ge.clearRedo!==!1&&Ni(Oe.undone)}function Po(x,te){var be=Mt(te);be&&be.ranges&&be.equals(x)||te.push(x)}function Zs(x,te,be,ge){var Oe=te["spans_"+x.id],$e=0;x.iter(Math.max(x.first,be),Math.min(x.first+x.size,ge),function(mt){mt.markedSpans&&((Oe||(Oe=te["spans_"+x.id]={}))[$e]=mt.markedSpans),++$e})}function Eo(x){if(!x)return null;for(var te,be=0;be<x.length;++be)x[be].marker.explicitlyCleared?te||(te=x.slice(0,be)):te&&te.push(x[be]);return te?te.length?te:null:x}function Qs(x,te){var be=te["spans_"+x.id];if(!be)return null;for(var ge=[],Oe=0;Oe<te.text.length;++Oe)ge.push(Eo(be[Oe]));return ge}function Mo(x,te){var be=Qs(x,te),ge=or(x,te);if(!be)return ge;if(!ge)return be;for(var Oe=0;Oe<be.length;++Oe){var $e=be[Oe],mt=ge[Oe];if($e&&mt)e:for(var Ct=0;Ct<mt.length;++Ct){for(var Ot=mt[Ct],_t=0;_t<$e.length;++_t)if($e[_t].marker==Ot.marker)continue e;$e.push(Ot)}else mt&&(be[Oe]=mt)}return be}function Uo(x,te,be){for(var ge=[],Oe=0;Oe<x.length;++Oe){var $e=x[Oe];if($e.ranges){ge.push(be?Wi.prototype.deepCopy.call($e):$e);continue}var mt=$e.changes,Ct=[];ge.push({changes:Ct});for(var Ot=0;Ot<mt.length;++Ot){var _t=mt[Ot],an=void 0;if(Ct.push({from:_t.from,to:_t.to,text:_t.text}),te)for(var vn in _t)(an=vn.match(/^spans_(\d+)$/))&&nt(te,Number(an[1]))>-1&&(Mt(Ct)[vn]=_t[vn],delete _t[vn])}}return ge}function wl(x,te,be,ge){if(ge){var Oe=x.anchor;if(be){var $e=In(te,Oe)<0;$e!=In(be,Oe)<0?(Oe=te,te=be):$e!=In(te,be)<0&&(te=be)}return new ai(Oe,te)}else return new ai(be||te,te)}function Da(x,te,be,ge,Oe){Oe==null&&(Oe=x.cm&&(x.cm.display.shift||x.extend)),Ua(x,new Wi([wl(x.sel.primary(),te,be,Oe)],0),ge)}function Zr(x,te,be){for(var ge=[],Oe=x.cm&&(x.cm.display.shift||x.extend),$e=0;$e<x.sel.ranges.length;$e++)ge[$e]=wl(x.sel.ranges[$e],te[$e],null,Oe);var mt=ra(x.cm,ge,x.sel.primIndex);Ua(x,mt,be)}function Fa(x,te,be,ge){var Oe=x.sel.ranges.slice(0);Oe[te]=be,Ua(x,ra(x.cm,Oe,x.sel.primIndex),ge)}function Oo(x,te,be,ge){Ua(x,la(te,be),ge)}function Lo(x,te,be){var ge={ranges:te.ranges,update:function(Oe){this.ranges=[];for(var $e=0;$e<Oe.length;$e++)this.ranges[$e]=new ai(cn(x,Oe[$e].anchor),cn(x,Oe[$e].head))},origin:be&&be.origin};return ft(x,"beforeSelectionChange",x,ge),x.cm&&ft(x.cm,"beforeSelectionChange",x.cm,ge),ge.ranges!=te.ranges?ra(x.cm,ge.ranges,ge.ranges.length-1):te}function qi(x,te,be){var ge=x.history.done,Oe=Mt(ge);Oe&&Oe.ranges?(ge[ge.length-1]=te,Vo(x,te,be)):Ua(x,te,be)}function Ua(x,te,be){Vo(x,te,be),es(x,x.sel,x.cm?x.cm.curOp.id:NaN,be)}function Vo(x,te,be){(Kt(x,"beforeSelectionChange")||x.cm&&Kt(x.cm,"beforeSelectionChange"))&&(te=Lo(x,te,be));var ge=be&&be.bias||(In(te.primary().head,x.sel.primary().head)<0?-1:1);js(x,ws(x,te,ge,!0)),!(be&&be.scroll===!1)&&x.cm&&bc(x.cm)}function js(x,te){te.equals(x.sel)||(x.sel=te,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,Ft(x.cm)),hr(x,"cursorActivity",x))}function hl(x){js(x,ws(x,x.sel,null,!1))}function ws(x,te,be,ge){for(var Oe,$e=0;$e<te.ranges.length;$e++){var mt=te.ranges[$e],Ct=te.ranges.length==x.sel.ranges.length&&x.sel.ranges[$e],Ot=al(x,mt.anchor,Ct&&Ct.anchor,be,ge),_t=al(x,mt.head,Ct&&Ct.head,be,ge);(Oe||Ot!=mt.anchor||_t!=mt.head)&&(Oe||(Oe=te.ranges.slice(0,$e)),Oe[$e]=new ai(Ot,_t))}return Oe?ra(x.cm,Oe,te.primIndex):te}function ts(x,te,be,ge,Oe){var $e=Ut(x,te.line);if($e.markedSpans)for(var mt=0;mt<$e.markedSpans.length;++mt){var Ct=$e.markedSpans[mt],Ot=Ct.marker,_t="selectLeft"in Ot?!Ot.selectLeft:Ot.inclusiveLeft,an="selectRight"in Ot?!Ot.selectRight:Ot.inclusiveRight;if((Ct.from==null||(_t?Ct.from<=te.ch:Ct.from<te.ch))&&(Ct.to==null||(an?Ct.to>=te.ch:Ct.to>te.ch))){if(Oe&&(ft(Ot,"beforeCursorEnter"),Ot.explicitlyCleared))if($e.markedSpans){--mt;continue}else break;if(!Ot.atomic)continue;if(be){var vn=Ot.find(ge<0?1:-1),Wn=void 0;if((ge<0?an:_t)&&(vn=ns(x,vn,-ge,vn&&vn.line==te.line?$e:null)),vn&&vn.line==te.line&&(Wn=In(vn,be))&&(ge<0?Wn<0:Wn>0))return ts(x,vn,te,ge,Oe)}var Nn=Ot.find(ge<0?-1:1);return(ge<0?_t:an)&&(Nn=ns(x,Nn,ge,Nn.line==te.line?$e:null)),Nn?ts(x,Nn,te,ge,Oe):null}}return te}function al(x,te,be,ge,Oe){var $e=ge||1,mt=ts(x,te,be,$e,Oe)||!Oe&&ts(x,te,be,$e,!0)||ts(x,te,be,-$e,Oe)||!Oe&&ts(x,te,be,-$e,!0);return mt||(x.cantEdit=!0,nn(x.first,0))}function ns(x,te,be,ge){return be<0&&te.ch==0?te.line>x.first?cn(x,nn(te.line-1)):null:be>0&&te.ch==(ge||Ut(x,te.line)).text.length?te.line<x.first+x.size-1?nn(te.line+1,0):null:new nn(te.line,te.ch+be)}function Ss(x){x.setSelection(nn(x.firstLine(),0),nn(x.lastLine()),tt)}function cs(x,te,be){var ge={canceled:!1,from:te.from,to:te.to,text:te.text,origin:te.origin,cancel:function(){return ge.canceled=!0}};return be&&(ge.update=function(Oe,$e,mt,Ct){Oe&&(ge.from=cn(x,Oe)),$e&&(ge.to=cn(x,$e)),mt&&(ge.text=mt),Ct!==void 0&&(ge.origin=Ct)}),ft(x,"beforeChange",x,ge),x.cm&&ft(x.cm,"beforeChange",x.cm,ge),ge.canceled?(x.cm&&(x.cm.curOp.updateInput=2),null):{from:ge.from,to:ge.to,text:ge.text,origin:ge.origin}}function co(x,te,be){if(x.cm){if(!x.cm.curOp)return Mn(x.cm,co)(x,te,be);if(x.cm.state.suppressEdits)return}if(!((Kt(x,"beforeChange")||x.cm&&Kt(x.cm,"beforeChange"))&&(te=cs(x,te,!0),!te))){var ge=ur&&!be&&ti(x,te.from,te.to);if(ge)for(var Oe=ge.length-1;Oe>=0;--Oe)uo(x,{from:ge[Oe].from,to:ge[Oe].to,text:Oe?[""]:te.text,origin:te.origin});else uo(x,te)}}function uo(x,te){if(!(te.text.length==1&&te.text[0]==""&&In(te.from,te.to)==0)){var be=lo(x,te);ka(x,te,be,x.cm?x.cm.curOp.id:NaN),Us(x,te,be,or(x,te));var ge=[];Bo(x,function(Oe,$e){!$e&&nt(ge,Oe.history)==-1&&(Ya(Oe.history,te),ge.push(Oe.history)),Us(Oe,te,null,or(Oe,te))})}}function ms(x,te,be){var ge=x.cm&&x.cm.state.suppressEdits;if(!(ge&&!be)){for(var Oe=x.history,$e,mt=x.sel,Ct=te=="undo"?Oe.done:Oe.undone,Ot=te=="undo"?Oe.undone:Oe.done,_t=0;_t<Ct.length&&($e=Ct[_t],!(be?$e.ranges&&!$e.equals(x.sel):!$e.ranges));_t++);if(_t!=Ct.length){for(Oe.lastOrigin=Oe.lastSelOrigin=null;;)if($e=Ct.pop(),$e.ranges){if(Po($e,Ot),be&&!$e.equals(x.sel)){Ua(x,$e,{clearRedo:!1});return}mt=$e}else if(ge){Ct.push($e);return}else break;var an=[];Po(mt,Ot),Ot.push({changes:an,generation:Oe.generation}),Oe.generation=$e.generation||++Oe.maxGeneration;for(var vn=Kt(x,"beforeChange")||x.cm&&Kt(x.cm,"beforeChange"),Wn=function(Fr){var si=$e.changes[Fr];if(si.origin=te,vn&&!cs(x,si,!1))return Ct.length=0,{};an.push(Ba(x,si));var Ei=Fr?lo(x,si):Mt(Ct);Us(x,si,Ei,Mo(x,si)),!Fr&&x.cm&&x.cm.scrollIntoView({from:si.from,to:_a(si)});var Ti=[];Bo(x,function(yi,Bi){!Bi&&nt(Ti,yi.history)==-1&&(Ya(yi.history,si),Ti.push(yi.history)),Us(yi,si,null,Mo(yi,si))})},Nn=$e.changes.length-1;Nn>=0;--Nn){var vr=Wn(Nn);if(vr)return vr.v}}}}function Sl(x,te){if(te!=0&&(x.first+=te,x.sel=new Wi(ct(x.sel.ranges,function(Oe){return new ai(nn(Oe.anchor.line+te,Oe.anchor.ch),nn(Oe.head.line+te,Oe.head.ch))}),x.sel.primIndex),x.cm)){Zo(x.cm,x.first,x.first-te,te);for(var be=x.cm.display,ge=be.viewFrom;ge<be.viewTo;ge++)nl(x.cm,ge,"gutter")}}function Us(x,te,be,ge){if(x.cm&&!x.cm.curOp)return Mn(x.cm,Us)(x,te,be,ge);if(te.to.line<x.first){Sl(x,te.text.length-1-(te.to.line-te.from.line));return}if(!(te.from.line>x.lastLine())){if(te.from.line<x.first){var Oe=te.text.length-1-(x.first-te.from.line);Sl(x,Oe),te={from:nn(x.first,0),to:nn(te.to.line+Oe,te.to.ch),text:[Mt(te.text)],origin:te.origin}}var $e=x.lastLine();te.to.line>$e&&(te={from:te.from,to:nn($e,Ut(x,$e).text.length),text:[te.text[0]],origin:te.origin}),te.removed=Yt(x,te.from,te.to),be||(be=lo(x,te)),x.cm?pl(x.cm,te,ge):to(x,te,ge),Vo(x,be,tt),x.cantEdit&&al(x,nn(x.firstLine(),0))&&(x.cantEdit=!1)}}function pl(x,te,be){var ge=x.doc,Oe=x.display,$e=te.from,mt=te.to,Ct=!1,Ot=$e.line;x.options.lineWrapping||(Ot=wn(Ai(Ut(ge,$e.line))),ge.iter(Ot,mt.line+1,function(Nn){if(Nn==Oe.maxLine)return Ct=!0,!0})),ge.sel.contains(te.from,te.to)>-1&&Ft(x),to(ge,te,be,xs(x)),x.options.lineWrapping||(ge.iter(Ot,$e.line+te.text.length,function(Nn){var vr=_r(Nn);vr>Oe.maxLineLength&&(Oe.maxLine=Nn,Oe.maxLineLength=vr,Oe.maxLineChanged=!0,Ct=!1)}),Ct&&(x.curOp.updateMaxLine=!0)),lr(ge,$e.line),Kn(x,400);var _t=te.text.length-(mt.line-$e.line)-1;te.full?Zo(x):$e.line==mt.line&&te.text.length==1&&!ao(x.doc,te)?nl(x,$e.line,"text"):Zo(x,$e.line,mt.line+1,_t);var an=Kt(x,"changes"),vn=Kt(x,"change");if(vn||an){var Wn={from:$e,to:mt,text:te.text,removed:te.removed,origin:te.origin};vn&&hr(x,"change",x,Wn),an&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(Wn)}x.display.selForContextMenu=null}function _l(x,te,be,ge,Oe){var $e;ge||(ge=be),In(ge,be)<0&&($e=[ge,be],be=$e[0],ge=$e[1]),typeof te=="string"&&(te=x.splitLines(te)),co(x,{from:be,to:ge,text:te,origin:Oe})}function iu(x,te,be,ge){be<x.line?x.line+=ge:te<x.line&&(x.line=te,x.ch=0)}function Pa(x,te,be,ge){for(var Oe=0;Oe<x.length;++Oe){var $e=x[Oe],mt=!0;if($e.ranges){$e.copied||($e=x[Oe]=$e.deepCopy(),$e.copied=!0);for(var Ct=0;Ct<$e.ranges.length;Ct++)iu($e.ranges[Ct].anchor,te,be,ge),iu($e.ranges[Ct].head,te,be,ge);continue}for(var Ot=0;Ot<$e.changes.length;++Ot){var _t=$e.changes[Ot];if(be<_t.from.line)_t.from=nn(_t.from.line+ge,_t.from.ch),_t.to=nn(_t.to.line+ge,_t.to.ch);else if(te<=_t.to.line){mt=!1;break}}mt||(x.splice(0,Oe+1),Oe=0)}}function Ya(x,te){var be=te.from.line,ge=te.to.line,Oe=te.text.length-(ge-be)-1;Pa(x.done,be,ge,Oe),Pa(x.undone,be,ge,Oe)}function jo(x,te,be,ge){var Oe=te,$e=te;return typeof te=="number"?$e=Ut(x,Bn(x,te)):Oe=wn(te),Oe==null?null:(ge($e,Oe)&&x.cm&&nl(x.cm,Oe,be),$e)}function Ja(x){this.lines=x,this.parent=null;for(var te=0,be=0;be<x.length;++be)x[be].parent=this,te+=x[be].height;this.height=te}Ja.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,te){for(var be=x,ge=x+te;be<ge;++be){var Oe=this.lines[be];this.height-=Oe.height,fa(Oe),hr(Oe,"delete")}this.lines.splice(x,te)},collapse:function(x){x.push.apply(x,this.lines)},insertInner:function(x,te,be){this.height+=be,this.lines=this.lines.slice(0,x).concat(te).concat(this.lines.slice(x));for(var ge=0;ge<te.length;++ge)te[ge].parent=this},iterN:function(x,te,be){for(var ge=x+te;x<ge;++x)if(be(this.lines[x]))return!0}};function Fo(x){this.children=x;for(var te=0,be=0,ge=0;ge<x.length;++ge){var Oe=x[ge];te+=Oe.chunkSize(),be+=Oe.height,Oe.parent=this}this.size=te,this.height=be,this.parent=null}Fo.prototype={chunkSize:function(){return this.size},removeInner:function(x,te){this.size-=te;for(var be=0;be<this.children.length;++be){var ge=this.children[be],Oe=ge.chunkSize();if(x<Oe){var $e=Math.min(te,Oe-x),mt=ge.height;if(ge.removeInner(x,$e),this.height-=mt-ge.height,Oe==$e&&(this.children.splice(be--,1),ge.parent=null),(te-=$e)==0)break;x=0}else x-=Oe}if(this.size-te<25&&(this.children.length>1||!(this.children[0]instanceof Ja))){var Ct=[];this.collapse(Ct),this.children=[new Ja(Ct)],this.children[0].parent=this}},collapse:function(x){for(var te=0;te<this.children.length;++te)this.children[te].collapse(x)},insertInner:function(x,te,be){this.size+=te.length,this.height+=be;for(var ge=0;ge<this.children.length;++ge){var Oe=this.children[ge],$e=Oe.chunkSize();if(x<=$e){if(Oe.insertInner(x,te,be),Oe.lines&&Oe.lines.length>50){for(var mt=Oe.lines.length%25+25,Ct=mt;Ct<Oe.lines.length;){var Ot=new Ja(Oe.lines.slice(Ct,Ct+=25));Oe.height-=Ot.height,this.children.splice(++ge,0,Ot),Ot.parent=this}Oe.lines=Oe.lines.slice(0,mt),this.maybeSpill()}break}x-=$e}},maybeSpill:function(){if(!(this.children.length<=10)){var x=this;do{var te=x.children.splice(x.children.length-5,5),be=new Fo(te);if(x.parent){x.size-=be.size,x.height-=be.height;var Oe=nt(x.parent.children,x);x.parent.children.splice(Oe+1,0,be)}else{var ge=new Fo(x.children);ge.parent=x,x.children=[ge,be],x=ge}be.parent=x.parent}while(x.children.length>10);x.parent.maybeSpill()}},iterN:function(x,te,be){for(var ge=0;ge<this.children.length;++ge){var Oe=this.children[ge],$e=Oe.chunkSize();if(x<$e){var mt=Math.min(te,$e-x);if(Oe.iterN(x,mt,be))return!0;if((te-=mt)==0)break;x=0}else x-=$e}}};var rs=function(x,te,be){if(be)for(var ge in be)be.hasOwnProperty(ge)&&(this[ge]=be[ge]);this.doc=x,this.node=te};rs.prototype.clear=function(){var x=this.doc.cm,te=this.line.widgets,be=this.line,ge=wn(be);if(!(ge==null||!te)){for(var Oe=0;Oe<te.length;++Oe)te[Oe]==this&&te.splice(Oe--,1);te.length||(be.widgets=null);var $e=Na(this);fn(be,Math.max(0,be.height-$e)),x&&(tn(x,function(){Ms(x,be,-$e),nl(x,ge,"widget")}),hr(x,"lineWidgetCleared",x,this,ge))}},rs.prototype.changed=function(){var x=this,te=this.height,be=this.doc.cm,ge=this.line;this.height=null;var Oe=Na(this)-te;Oe&&(xa(this.doc,ge)||fn(ge,ge.height+Oe),be&&tn(be,function(){be.curOp.forceUpdate=!0,Ms(be,ge,Oe),hr(be,"lineWidgetChanged",be,x,wn(ge))}))},Zt(rs);function Ms(x,te,be){jr(te)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&nu(x,be)}function Cl(x,te,be,ge){var Oe=new rs(x,be,ge),$e=x.cm;return $e&&Oe.noHScroll&&($e.display.alignWidgets=!0),jo(x,te,"widget",function(mt){var Ct=mt.widgets||(mt.widgets=[]);if(Oe.insertAt==null?Ct.push(Oe):Ct.splice(Math.min(Ct.length-1,Math.max(0,Oe.insertAt)),0,Oe),Oe.line=mt,$e&&!xa(x,mt)){var Ot=jr(mt)<x.scrollTop;fn(mt,mt.height+Na(Oe)),Ot&&nu($e,Oe.height),$e.curOp.forceUpdate=!0}return!0}),$e&&hr($e,"lineWidgetAdded",$e,Oe,typeof te=="number"?te:wn(te)),Oe}var ku=0,Yl=function(x,te){this.lines=[],this.type=te,this.doc=x,this.id=++ku};Yl.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,te=x&&!x.curOp;if(te&&ks(x),Kt(this,"clear")){var be=this.find();be&&hr(this,"clear",be.from,be.to)}for(var ge=null,Oe=null,$e=0;$e<this.lines.length;++$e){var mt=this.lines[$e],Ct=Gr(mt.markedSpans,this);x&&!this.collapsed?nl(x,wn(mt),"text"):x&&(Ct.to!=null&&(Oe=wn(mt)),Ct.from!=null&&(ge=wn(mt))),mt.markedSpans=Kr(mt.markedSpans,Ct),Ct.from==null&&this.collapsed&&!xa(this.doc,mt)&&x&&fn(mt,xl(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var Ot=0;Ot<this.lines.length;++Ot){var _t=Ai(this.lines[Ot]),an=_r(_t);an>x.display.maxLineLength&&(x.display.maxLine=_t,x.display.maxLineLength=an,x.display.maxLineChanged=!0)}ge!=null&&x&&this.collapsed&&Zo(x,ge,Oe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&hl(x.doc)),x&&hr(x,"markerCleared",x,this,ge,Oe),te&&Nl(x),this.parent&&this.parent.clear()}},Yl.prototype.find=function(x,te){x==null&&this.type=="bookmark"&&(x=1);for(var be,ge,Oe=0;Oe<this.lines.length;++Oe){var $e=this.lines[Oe],mt=Gr($e.markedSpans,this);if(mt.from!=null&&(be=nn(te?$e:wn($e),mt.from),x==-1))return be;if(mt.to!=null&&(ge=nn(te?$e:wn($e),mt.to),x==1))return ge}return be&&{from:be,to:ge}},Yl.prototype.changed=function(){var x=this,te=this.find(-1,!0),be=this,ge=this.doc.cm;!te||!ge||tn(ge,function(){var Oe=te.line,$e=wn(te.line),mt=ko(ge,$e);if(mt&&($a(mt),ge.curOp.selectionChanged=ge.curOp.forceUpdate=!0),ge.curOp.updateMaxLine=!0,!xa(be.doc,Oe)&&be.height!=null){var Ct=be.height;be.height=null;var Ot=Na(be)-Ct;Ot&&fn(Oe,Oe.height+Ot)}hr(ge,"markerChanged",ge,x)})},Yl.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var te=this.doc.cm.curOp;(!te.maybeHiddenMarkers||nt(te.maybeHiddenMarkers,this)==-1)&&(te.maybeUnhiddenMarkers||(te.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)},Yl.prototype.detachLine=function(x){if(this.lines.splice(nt(this.lines,x),1),!this.lines.length&&this.doc.cm){var te=this.doc.cm.curOp;(te.maybeHiddenMarkers||(te.maybeHiddenMarkers=[])).push(this)}},Zt(Yl);function El(x,te,be,ge,Oe){if(ge&&ge.shared)return ho(x,te,be,ge,Oe);if(x.cm&&!x.cm.curOp)return Mn(x.cm,El)(x,te,be,ge,Oe);var $e=new Yl(x,Oe),mt=In(te,be);if(ge&&st(ge,$e,!1),mt>0||mt==0&&$e.clearWhenEmpty!==!1)return $e;if($e.replacedWith&&($e.collapsed=!0,$e.widgetNode=Be("span",[$e.replacedWith],"CodeMirror-widget"),ge.handleMouseEvents||$e.widgetNode.setAttribute("cm-ignore-events","true"),ge.insertLeft&&($e.widgetNode.insertLeft=!0)),$e.collapsed){if(vi(x,te.line,te,be,$e)||te.line!=be.line&&vi(x,be.line,te,be,$e))throw new Error("Inserting collapsed marker partially overlapping an existing one");Cr()}$e.addToHistory&&ka(x,{from:te,to:be,origin:"markText"},x.sel,NaN);var Ct=te.line,Ot=x.cm,_t;if(x.iter(Ct,be.line+1,function(vn){Ot&&$e.collapsed&&!Ot.options.lineWrapping&&Ai(vn)==Ot.display.maxLine&&(_t=!0),$e.collapsed&&Ct!=te.line&&fn(vn,0),oi(vn,new Ar($e,Ct==te.line?te.ch:null,Ct==be.line?be.ch:null)),++Ct}),$e.collapsed&&x.iter(te.line,be.line+1,function(vn){xa(x,vn)&&fn(vn,0)}),$e.clearOnEnter&&zt($e,"beforeCursorEnter",function(){return $e.clear()}),$e.readOnly&&(Rr(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),$e.collapsed&&($e.id=++ku,$e.atomic=!0),Ot){if(_t&&(Ot.curOp.updateMaxLine=!0),$e.collapsed)Zo(Ot,te.line,be.line+1);else if($e.className||$e.startStyle||$e.endStyle||$e.css||$e.attributes||$e.title)for(var an=te.line;an<=be.line;an++)nl(Ot,an,"text");$e.atomic&&hl(Ot.doc),hr(Ot,"markerAdded",Ot,$e)}return $e}var Ta=function(x,te){this.markers=x,this.primary=te;for(var be=0;be<x.length;++be)x[be].parent=this};Ta.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();hr(this,"clear")}},Ta.prototype.find=function(x,te){return this.primary.find(x,te)},Zt(Ta);function ho(x,te,be,ge,Oe){ge=st(ge),ge.shared=!1;var $e=[El(x,te,be,ge,Oe)],mt=$e[0],Ct=ge.widgetNode;return Bo(x,function(Ot){Ct&&(ge.widgetNode=Ct.cloneNode(!0)),$e.push(El(Ot,cn(Ot,te),cn(Ot,be),ge,Oe));for(var _t=0;_t<Ot.linked.length;++_t)if(Ot.linked[_t].isParent)return;mt=Mt($e)}),new Ta($e,mt)}function ml(x){return x.findMarks(nn(x.first,0),x.clipPos(nn(x.lastLine())),function(te){return te.parent})}function lc(x,te){for(var be=0;be<te.length;be++){var ge=te[be],Oe=ge.find(),$e=x.clipPos(Oe.from),mt=x.clipPos(Oe.to);if(In($e,mt)){var Ct=El(x,$e,mt,ge.primary,ge.primary.type);ge.markers.push(Ct),Ct.parent=ge}}}function Vs(x){for(var te=function(ge){var Oe=x[ge],$e=[Oe.primary.doc];Bo(Oe.primary.doc,function(Ot){return $e.push(Ot)});for(var mt=0;mt<Oe.markers.length;mt++){var Ct=Oe.markers[mt];nt($e,Ct.doc)==-1&&(Ct.parent=null,Oe.markers.splice(mt--,1))}},be=0;be<x.length;be++)te(be)}var ed=0,Ro=function(x,te,be,ge,Oe){if(!(this instanceof Ro))return new Ro(x,te,be,ge,Oe);be==null&&(be=0),Fo.call(this,[new Ja([new $r("",null)])]),this.first=be,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=be;var $e=nn(be,0);this.sel=la($e),this.history=new Pi(null),this.id=++ed,this.modeOption=te,this.lineSep=ge,this.direction=Oe=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),to(this,{from:$e,to:$e,text:x}),Ua(this,la($e),tt)};Ro.prototype=ue(Fo.prototype,{constructor:Ro,iter:function(x,te,be){be?this.iterN(x-this.first,te-x,be):this.iterN(this.first,this.first+this.size,x)},insert:function(x,te){for(var be=0,ge=0;ge<te.length;++ge)be+=te[ge].height;this.insertInner(x-this.first,te,be)},remove:function(x,te){this.removeInner(x-this.first,te)},getValue:function(x){var te=hn(this,this.first,this.first+this.size);return x===!1?te:te.join(x||this.lineSeparator())},setValue:Sn(function(x){var te=nn(this.first,0),be=this.first+this.size-1;co(this,{from:te,to:nn(be,Ut(this,be).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&sc(this.cm,0,0),Ua(this,la(te),tt)}),replaceRange:function(x,te,be,ge){te=cn(this,te),be=be?cn(this,be):te,_l(this,x,te,be,ge)},getRange:function(x,te,be){var ge=Yt(this,cn(this,x),cn(this,te));return be===!1?ge:ge.join(be||this.lineSeparator())},getLine:function(x){var te=this.getLineHandle(x);return te&&te.text},getLineHandle:function(x){if(Tn(this,x))return Ut(this,x)},getLineNumber:function(x){return wn(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=Ut(this,x)),Ai(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return cn(this,x)},getCursor:function(x){var te=this.sel.primary(),be;return x==null||x=="head"?be=te.head:x=="anchor"?be=te.anchor:x=="end"||x=="to"||x===!1?be=te.to():be=te.from(),be},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Sn(function(x,te,be){Oo(this,cn(this,typeof x=="number"?nn(x,te||0):x),null,be)}),setSelection:Sn(function(x,te,be){Oo(this,cn(this,x),cn(this,te||x),be)}),extendSelection:Sn(function(x,te,be){Da(this,cn(this,x),te&&cn(this,te),be)}),extendSelections:Sn(function(x,te){Zr(this,Tt(this,x),te)}),extendSelectionsBy:Sn(function(x,te){var be=ct(this.sel.ranges,x);Zr(this,Tt(this,be),te)}),setSelections:Sn(function(x,te,be){if(x.length){for(var ge=[],Oe=0;Oe<x.length;Oe++)ge[Oe]=new ai(cn(this,x[Oe].anchor),cn(this,x[Oe].head));te==null&&(te=Math.min(x.length-1,this.sel.primIndex)),Ua(this,ra(this.cm,ge,te),be)}}),addSelection:Sn(function(x,te,be){var ge=this.sel.ranges.slice(0);ge.push(new ai(cn(this,x),cn(this,te||x))),Ua(this,ra(this.cm,ge,ge.length-1),be)}),getSelection:function(x){for(var te=this.sel.ranges,be,ge=0;ge<te.length;ge++){var Oe=Yt(this,te[ge].from(),te[ge].to());be=be?be.concat(Oe):Oe}return x===!1?be:be.join(x||this.lineSeparator())},getSelections:function(x){for(var te=[],be=this.sel.ranges,ge=0;ge<be.length;ge++){var Oe=Yt(this,be[ge].from(),be[ge].to());x!==!1&&(Oe=Oe.join(x||this.lineSeparator())),te[ge]=Oe}return te},replaceSelection:function(x,te,be){for(var ge=[],Oe=0;Oe<this.sel.ranges.length;Oe++)ge[Oe]=x;this.replaceSelections(ge,te,be||"+input")},replaceSelections:Sn(function(x,te,be){for(var ge=[],Oe=this.sel,$e=0;$e<Oe.ranges.length;$e++){var mt=Oe.ranges[$e];ge[$e]={from:mt.from(),to:mt.to(),text:this.splitLines(x[$e]),origin:be}}for(var Ct=te&&te!="end"&&oa(this,ge,te),Ot=ge.length-1;Ot>=0;Ot--)co(this,ge[Ot]);Ct?qi(this,Ct):this.cm&&bc(this.cm)}),undo:Sn(function(){ms(this,"undo")}),redo:Sn(function(){ms(this,"redo")}),undoSelection:Sn(function(){ms(this,"undo",!0)}),redoSelection:Sn(function(){ms(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,te=0,be=0,ge=0;ge<x.done.length;ge++)x.done[ge].ranges||++te;for(var Oe=0;Oe<x.undone.length;Oe++)x.undone[Oe].ranges||++be;return{undo:te,redo:be}},clearHistory:function(){var x=this;this.history=new Pi(this.history.maxGeneration),Bo(this,function(te){return te.history=x.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(x){return x&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(x){return this.history.generation==(x||this.cleanGeneration)},getHistory:function(){return{done:Uo(this.history.done),undone:Uo(this.history.undone)}},setHistory:function(x){var te=this.history=new Pi(this.history.maxGeneration);te.done=Uo(x.done.slice(0),null,!0),te.undone=Uo(x.undone.slice(0),null,!0)},setGutterMarker:Sn(function(x,te,be){return jo(this,x,"gutter",function(ge){var Oe=ge.gutterMarkers||(ge.gutterMarkers={});return Oe[te]=be,!be&&fe(Oe)&&(ge.gutterMarkers=null),!0})}),clearGutter:Sn(function(x){var te=this;this.iter(function(be){be.gutterMarkers&&be.gutterMarkers[x]&&jo(te,be,"gutter",function(){return be.gutterMarkers[x]=null,fe(be.gutterMarkers)&&(be.gutterMarkers=null),!0})})}),lineInfo:function(x){var te;if(typeof x=="number"){if(!Tn(this,x)||(te=x,x=Ut(this,x),!x))return null}else if(te=wn(x),te==null)return null;return{line:te,handle:x,text:x.text,gutterMarkers:x.gutterMarkers,textClass:x.textClass,bgClass:x.bgClass,wrapClass:x.wrapClass,widgets:x.widgets}},addLineClass:Sn(function(x,te,be){return jo(this,x,te=="gutter"?"gutter":"class",function(ge){var Oe=te=="text"?"textClass":te=="background"?"bgClass":te=="gutter"?"gutterClass":"wrapClass";if(!ge[Oe])ge[Oe]=be;else{if(Ce(be).test(ge[Oe]))return!1;ge[Oe]+=" "+be}return!0})}),removeLineClass:Sn(function(x,te,be){return jo(this,x,te=="gutter"?"gutter":"class",function(ge){var Oe=te=="text"?"textClass":te=="background"?"bgClass":te=="gutter"?"gutterClass":"wrapClass",$e=ge[Oe];if($e)if(be==null)ge[Oe]=null;else{var mt=$e.match(Ce(be));if(!mt)return!1;var Ct=mt.index+mt[0].length;ge[Oe]=$e.slice(0,mt.index)+(!mt.index||Ct==$e.length?"":" ")+$e.slice(Ct)||null}else return!1;return!0})}),addLineWidget:Sn(function(x,te,be){return Cl(this,x,te,be)}),removeLineWidget:function(x){x.clear()},markText:function(x,te,be){return El(this,cn(this,x),cn(this,te),be,be&&be.type||"range")},setBookmark:function(x,te){var be={replacedWith:te&&(te.nodeType==null?te.widget:te),insertLeft:te&&te.insertLeft,clearWhenEmpty:!1,shared:te&&te.shared,handleMouseEvents:te&&te.handleMouseEvents};return x=cn(this,x),El(this,x,x,be,"bookmark")},findMarksAt:function(x){x=cn(this,x);var te=[],be=Ut(this,x.line).markedSpans;if(be)for(var ge=0;ge<be.length;++ge){var Oe=be[ge];(Oe.from==null||Oe.from<=x.ch)&&(Oe.to==null||Oe.to>=x.ch)&&te.push(Oe.marker.parent||Oe.marker)}return te},findMarks:function(x,te,be){x=cn(this,x),te=cn(this,te);var ge=[],Oe=x.line;return this.iter(x.line,te.line+1,function($e){var mt=$e.markedSpans;if(mt)for(var Ct=0;Ct<mt.length;Ct++){var Ot=mt[Ct];!(Ot.to!=null&&Oe==x.line&&x.ch>=Ot.to||Ot.from==null&&Oe!=x.line||Ot.from!=null&&Oe==te.line&&Ot.from>=te.ch)&&(!be||be(Ot.marker))&&ge.push(Ot.marker.parent||Ot.marker)}++Oe}),ge},getAllMarks:function(){var x=[];return this.iter(function(te){var be=te.markedSpans;if(be)for(var ge=0;ge<be.length;++ge)be[ge].from!=null&&x.push(be[ge].marker)}),x},posFromIndex:function(x){var te,be=this.first,ge=this.lineSeparator().length;return this.iter(function(Oe){var $e=Oe.text.length+ge;if($e>x)return te=x,!0;x-=$e,++be}),cn(this,nn(be,te))},indexFromPos:function(x){x=cn(this,x);var te=x.ch;if(x.line<this.first||x.ch<0)return 0;var be=this.lineSeparator().length;return this.iter(this.first,x.line,function(ge){te+=ge.text.length+be}),te},copy:function(x){var te=new Ro(hn(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return te.scrollTop=this.scrollTop,te.scrollLeft=this.scrollLeft,te.sel=this.sel,te.extend=!1,x&&(te.history.undoDepth=this.history.undoDepth,te.setHistory(this.getHistory())),te},linkedDoc:function(x){x||(x={});var te=this.first,be=this.first+this.size;x.from!=null&&x.from>te&&(te=x.from),x.to!=null&&x.to<be&&(be=x.to);var ge=new Ro(hn(this,te,be),x.mode||this.modeOption,te,this.lineSep,this.direction);return x.sharedHist&&(ge.history=this.history),(this.linked||(this.linked=[])).push({doc:ge,sharedHist:x.sharedHist}),ge.linked=[{doc:this,isParent:!0,sharedHist:x.sharedHist}],lc(ge,ml(this)),ge},unlinkDoc:function(x){if(x instanceof ma&&(x=x.doc),this.linked)for(var te=0;te<this.linked.length;++te){var be=this.linked[te];if(be.doc==x){this.linked.splice(te,1),x.unlinkDoc(this),Vs(ml(this));break}}if(x.history==this.history){var ge=[x.id];Bo(x,function(Oe){return ge.push(Oe.id)},!0),x.history=new Pi(null),x.history.done=Uo(this.history.done,ge),x.history.undone=Uo(this.history.undone,ge)}},iterLinkedDocs:function(x){Bo(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):Gn(x)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Sn(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(te){return te.order=null}),this.cm&&zi(this.cm))})}),Ro.prototype.eachLine=Ro.prototype.iter;var Mu=0;function td(x){var te=this;if(wc(te),!(Et(te,x)||so(te.display,x))){rn(x),ve&&(Mu=+new Date);var be=Js(te,x,!0),ge=x.dataTransfer.files;if(!(!be||te.isReadOnly()))if(ge&&ge.length&&window.FileReader&&window.File)for(var Oe=ge.length,$e=Array(Oe),mt=0,Ct=function(){++mt==Oe&&Mn(te,function(){be=cn(te.doc,be);var Nn={from:be,to:be,text:te.doc.splitLines($e.filter(function(vr){return vr!=null}).join(te.doc.lineSeparator())),origin:"paste"};co(te.doc,Nn),qi(te.doc,la(cn(te.doc,be),cn(te.doc,_a(Nn))))})()},Ot=function(Nn,vr){if(te.options.allowDropFileTypes&&nt(te.options.allowDropFileTypes,Nn.type)==-1){Ct();return}var Fr=new FileReader;Fr.onerror=function(){return Ct()},Fr.onload=function(){var si=Fr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(si)){Ct();return}$e[vr]=si,Ct()},Fr.readAsText(Nn)},_t=0;_t<ge.length;_t++)Ot(ge[_t],_t);else{if(te.state.draggingText&&te.doc.sel.contains(be)>-1){te.state.draggingText(x),setTimeout(function(){return te.display.input.focus()},20);return}try{var an=x.dataTransfer.getData("Text");if(an){var vn;if(te.state.draggingText&&!te.state.draggingText.copy&&(vn=te.listSelections()),Vo(te.doc,la(be,be)),vn)for(var Wn=0;Wn<vn.length;++Wn)_l(te.doc,"",vn[Wn].anchor,vn[Wn].head,"drag");te.replaceSelection(an,"around","paste"),te.display.input.focus()}}catch(Nn){}}}}function au(x,te){if(ve&&(!x.state.draggingText||+new Date-Mu<100)){Hn(te);return}if(!(Et(x,te)||so(x.display,te))&&(te.dataTransfer.setData("Text",x.getSelection()),te.dataTransfer.effectAllowed="copyMove",te.dataTransfer.setDragImage&&!pe)){var be=Se("img",null,null,"position: fixed; left: 0; top: 0;");be.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",le&&(be.width=be.height=1,x.display.wrapper.appendChild(be),be._top=be.offsetTop),te.dataTransfer.setDragImage(be,0,0),le&&be.parentNode.removeChild(be)}}function ou(x,te){var be=Js(x,te);if(be){var ge=document.createDocumentFragment();xu(x,be,ge),x.display.dragCursor||(x.display.dragCursor=Se("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv)),De(x.display.dragCursor,ge)}}function wc(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function cc(x){if(document.getElementsByClassName){for(var te=document.getElementsByClassName("CodeMirror"),be=[],ge=0;ge<te.length;ge++){var Oe=te[ge].CodeMirror;Oe&&be.push(Oe)}be.length&&be[0].operation(function(){for(var $e=0;$e<be.length;$e++)x(be[$e])})}}var Qr=!1;function Tu(){Qr||(su(),Qr=!0)}function su(){var x;zt(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,cc(lu)},100))}),zt(window,"blur",function(){return cc(ac)})}function lu(x){var te=x.display;te.cachedCharWidth=te.cachedTextHeight=te.cachedPaddingH=null,te.scrollbarsClipped=!1,x.setSize()}for(var ol={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"},Jl=0;Jl<10;Jl++)ol[Jl+48]=ol[Jl+96]=String(Jl);for(var Sc=65;Sc<=90;Sc++)ol[Sc]=String.fromCharCode(Sc);for(var uc=1;uc<=12;uc++)ol[uc+111]=ol[uc+63235]="F"+uc;var oo={};oo.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"},oo.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"},oo.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"},oo.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"]},oo.default=we?oo.macDefault:oo.pcDefault;function nd(x){var te=x.split(/-(?!$)/);x=te[te.length-1];for(var be,ge,Oe,$e,mt=0;mt<te.length-1;mt++){var Ct=te[mt];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))Oe=!0;else throw new Error("Unrecognized modifier name: "+Ct)}return be&&(x="Alt-"+x),ge&&(x="Ctrl-"+x),$e&&(x="Cmd-"+x),Oe&&(x="Shift-"+x),x}function cu(x){var te={};for(var be in x)if(x.hasOwnProperty(be)){var ge=x[be];if(/^(name|fallthrough|(de|at)tach)$/.test(be))continue;if(ge=="..."){delete x[be];continue}for(var Oe=ct(be.split(" "),nd),$e=0;$e<Oe.length;$e++){var mt=void 0,Ct=void 0;$e==Oe.length-1?(Ct=Oe.join(" "),mt=ge):(Ct=Oe.slice(0,$e+1).join(" "),mt="...");var Ot=te[Ct];if(!Ot)te[Ct]=mt;else if(Ot!=mt)throw new Error("Inconsistent bindings for "+Ct)}delete x[be]}for(var _t in te)x[_t]=te[_t];return x}function Al(x,te,be,ge){te=Cs(te);var Oe=te.call?te.call(x,ge):te[x];if(Oe===!1)return"nothing";if(Oe==="...")return"multi";if(Oe!=null&&be(Oe))return"handled";if(te.fallthrough){if(Object.prototype.toString.call(te.fallthrough)!="[object Array]")return Al(x,te.fallthrough,be,ge);for(var $e=0;$e<te.fallthrough.length;$e++){var mt=Al(x,te.fallthrough[$e],be,ge);if(mt)return mt}}}function Wc(x){var te=typeof x=="string"?x:ol[x.keyCode];return te=="Ctrl"||te=="Alt"||te=="Shift"||te=="Mod"}function jl(x,te,be){var ge=x;return te.altKey&&ge!="Alt"&&(x="Alt-"+x),(Ee?te.metaKey:te.ctrlKey)&&ge!="Ctrl"&&(x="Ctrl-"+x),(Ee?te.ctrlKey:te.metaKey)&&ge!="Mod"&&(x="Cmd-"+x),!be&&te.shiftKey&&ge!="Shift"&&(x="Shift-"+x),x}function Fl(x,te){if(le&&x.keyCode==34&&x.char)return!1;var be=ol[x.keyCode];return be==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(be=x.code),jl(be,x,te))}function Cs(x){return typeof x=="string"?oo[x]:x}function Gs(x,te){for(var be=x.doc.sel.ranges,ge=[],Oe=0;Oe<be.length;Oe++){for(var $e=te(be[Oe]);ge.length&&In($e.from,Mt(ge).to)<=0;){var mt=ge.pop();if(In(mt.from,$e.from)<0){$e.from=mt.from;break}}ge.push($e)}tn(x,function(){for(var Ct=ge.length-1;Ct>=0;Ct--)_l(x.doc,"",ge[Ct].from,ge[Ct].to,"+delete");bc(x)})}function us(x,te,be){var ge=Ke(x.text,te+be,be);return ge<0||ge>x.text.length?null:ge}function kl(x,te,be){var ge=us(x,te.ch,be);return ge==null?null:new nn(te.line,ge,be<0?"after":"before")}function La(x,te,be,ge,Oe){if(x){te.doc.direction=="rtl"&&(Oe=-Oe);var $e=Wt(be,te.doc.direction);if($e){var mt=Oe<0?Mt($e):$e[0],Ct=Oe<0==(mt.level==1),Ot=Ct?"after":"before",_t;if(mt.level>0||te.doc.direction=="rtl"){var an=vo(te,be);_t=Oe<0?be.text.length-1:0;var vn=ja(te,an,_t).top;_t=Ue(function(Wn){return ja(te,an,Wn).top==vn},Oe<0==(mt.level==1)?mt.from:mt.to-1,_t),Ot=="before"&&(_t=us(be,_t,1))}else _t=Oe<0?mt.to:mt.from;return new nn(ge,_t,Ot)}}return new nn(ge,Oe<0?be.text.length:0,Oe<0?"before":"after")}function Wa(x,te,be,ge){var Oe=Wt(te,x.doc.direction);if(!Oe)return kl(te,be,ge);be.ch>=te.text.length?(be.ch=te.text.length,be.sticky="before"):be.ch<=0&&(be.ch=0,be.sticky="after");var $e=lt(Oe,be.ch,be.sticky),mt=Oe[$e];if(x.doc.direction=="ltr"&&mt.level%2==0&&(ge>0?mt.to>be.ch:mt.from<be.ch))return kl(te,be,ge);var Ct=function(Ei,Ti){return us(te,Ei instanceof nn?Ei.ch:Ei,Ti)},Ot,_t=function(Ei){return x.options.lineWrapping?(Ot=Ot||vo(x,te),Vl(x,te,Ot,Ei)):{begin:0,end:te.text.length}},an=_t(be.sticky=="before"?Ct(be,-1):be.ch);if(x.doc.direction=="rtl"||mt.level==1){var vn=mt.level==1==ge<0,Wn=Ct(be,vn?1:-1);if(Wn!=null&&(vn?Wn<=mt.to&&Wn<=an.end:Wn>=mt.from&&Wn>=an.begin)){var Nn=vn?"before":"after";return new nn(be.line,Wn,Nn)}}var vr=function(Ei,Ti,yi){for(var Bi=function(xo,As){return As?new nn(be.line,Ct(xo,1),"before"):new nn(be.line,xo,"after")};Ei>=0&&Ei<Oe.length;Ei+=Ti){var Qi=Oe[Ei],ea=Ti>0==(Qi.level!=1),Ra=ea?yi.begin:Ct(yi.end,-1);if(Qi.from<=Ra&&Ra<Qi.to||(Ra=ea?Qi.from:Ct(Qi.to,-1),yi.begin<=Ra&&Ra<yi.end))return Bi(Ra,ea)}},Fr=vr($e+ge,ge,an);if(Fr)return Fr;var si=ge>0?an.end:Ct(an.begin,-1);return si!=null&&!(ge>0&&si==te.text.length)&&(Fr=vr(ge>0?0:Oe.length-1,ge,_t(si)),Fr)?Fr:null}var Es={selectAll:Ss,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),tt)},killLine:function(x){return Gs(x,function(te){if(te.empty()){var be=Ut(x.doc,te.head.line).text.length;return te.head.ch==be&&te.head.line<x.lastLine()?{from:te.head,to:nn(te.head.line+1,0)}:{from:te.head,to:nn(te.head.line,be)}}else return{from:te.from(),to:te.to()}})},deleteLine:function(x){return Gs(x,function(te){return{from:nn(te.from().line,0),to:cn(x.doc,nn(te.to().line+1,0))}})},delLineLeft:function(x){return Gs(x,function(te){return{from:nn(te.from().line,0),to:te.from()}})},delWrappedLineLeft:function(x){return Gs(x,function(te){var be=x.charCoords(te.head,"div").top+5,ge=x.coordsChar({left:0,top:be},"div");return{from:ge,to:te.from()}})},delWrappedLineRight:function(x){return Gs(x,function(te){var be=x.charCoords(te.head,"div").top+5,ge=x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:be},"div");return{from:te.from(),to:ge}})},undo:function(x){return x.undo()},redo:function(x){return x.redo()},undoSelection:function(x){return x.undoSelection()},redoSelection:function(x){return x.redoSelection()},goDocStart:function(x){return x.extendSelection(nn(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(nn(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(te){return Ml(x,te.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(te){return Du(x,te.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(te){return Tl(x,te.head.line)},{origin:"+move",bias:-1})},goLineRight:function(x){return x.extendSelectionsBy(function(te){var be=x.cursorCoords(te.head,"div").top+5;return x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:be},"div")},ot)},goLineLeft:function(x){return x.extendSelectionsBy(function(te){var be=x.cursorCoords(te.head,"div").top+5;return x.coordsChar({left:0,top:be},"div")},ot)},goLineLeftSmart:function(x){return x.extendSelectionsBy(function(te){var be=x.cursorCoords(te.head,"div").top+5,ge=x.coordsChar({left:0,top:be},"div");return ge.ch<x.getLine(ge.line).search(/\S/)?Du(x,te.head):ge},ot)},goLineUp:function(x){return x.moveV(-1,"line")},goLineDown:function(x){return x.moveV(1,"line")},goPageUp:function(x){return x.moveV(-1,"page")},goPageDown:function(x){return x.moveV(1,"page")},goCharLeft:function(x){return x.moveH(-1,"char")},goCharRight:function(x){return x.moveH(1,"char")},goColumnLeft:function(x){return x.moveH(-1,"column")},goColumnRight:function(x){return x.moveH(1,"column")},goWordLeft:function(x){return x.moveH(-1,"word")},goGroupRight:function(x){return x.moveH(1,"group")},goGroupLeft:function(x){return x.moveH(-1,"group")},goWordRight:function(x){return x.moveH(1,"word")},delCharBefore:function(x){return x.deleteH(-1,"codepoint")},delCharAfter:function(x){return x.deleteH(1,"char")},delWordBefore:function(x){return x.deleteH(-1,"word")},delWordAfter:function(x){return x.deleteH(1,"word")},delGroupBefore:function(x){return x.deleteH(-1,"group")},delGroupAfter:function(x){return x.deleteH(1,"group")},indentAuto:function(x){return x.indentSelection("smart")},indentMore:function(x){return x.indentSelection("add")},indentLess:function(x){return x.indentSelection("subtract")},insertTab:function(x){return x.replaceSelection(" ")},insertSoftTab:function(x){for(var te=[],be=x.listSelections(),ge=x.options.tabSize,Oe=0;Oe<be.length;Oe++){var $e=be[Oe].from(),mt=Ve(x.getLine($e.line),$e.ch,ge);te.push(Pt(ge-mt%ge))}x.replaceSelections(te)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return tn(x,function(){for(var te=x.listSelections(),be=[],ge=0;ge<te.length;ge++)if(te[ge].empty()){var Oe=te[ge].head,$e=Ut(x.doc,Oe.line).text;if($e){if(Oe.ch==$e.length&&(Oe=new nn(Oe.line,Oe.ch-1)),Oe.ch>0)Oe=new nn(Oe.line,Oe.ch+1),x.replaceRange($e.charAt(Oe.ch-1)+$e.charAt(Oe.ch-2),nn(Oe.line,Oe.ch-2),Oe,"+transpose");else if(Oe.line>x.doc.first){var mt=Ut(x.doc,Oe.line-1).text;mt&&(Oe=new nn(Oe.line,1),x.replaceRange($e.charAt(0)+x.doc.lineSeparator()+mt.charAt(mt.length-1),nn(Oe.line-1,mt.length-1),Oe,"+transpose"))}}be.push(new ai(Oe,Oe))}x.setSelections(be)})},newlineAndIndent:function(x){return tn(x,function(){for(var te=x.listSelections(),be=te.length-1;be>=0;be--)x.replaceRange(x.doc.lineSeparator(),te[be].anchor,te[be].head,"+input");te=x.listSelections();for(var ge=0;ge<te.length;ge++)x.indentLine(te[ge].from().line,null,!0);bc(x)})},openLine:function(x){return x.replaceSelection(`
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function Ml(x,te){var be=Ut(x.doc,te),ge=Ai(be);return ge!=be&&(te=wn(ge)),La(!0,x,ge,te,1)}function Tl(x,te){var be=Ut(x.doc,te),ge=da(be);return ge!=be&&(te=wn(ge)),La(!0,x,be,te,-1)}function Du(x,te){var be=Ml(x,te.line),ge=Ut(x.doc,be.line),Oe=Wt(ge,x.doc.direction);if(!Oe||Oe[0].level==0){var $e=Math.max(be.ch,ge.text.search(/\S/)),mt=te.line==be.line&&te.ch<=$e&&te.ch;return nn(be.line,mt?0:$e,be.sticky)}return be}function No(x,te,be){if(typeof te=="string"&&(te=Es[te],!te))return!1;x.display.input.ensurePolled();var ge=x.display.shift,Oe=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),be&&(x.display.shift=!1),Oe=te(x)!=at}finally{x.display.shift=ge,x.state.suppressEdits=!1}return Oe}function sl(x,te,be){for(var ge=0;ge<x.state.keyMaps.length;ge++){var Oe=Al(te,x.state.keyMaps[ge],be,x);if(Oe)return Oe}return x.options.extraKeys&&Al(te,x.options.extraKeys,be,x)||Al(te,x.options.keyMap,be,x)}var Ou=new Qe;function Ql(x,te,be,ge){var Oe=x.state.keySeq;if(Oe){if(Wc(te))return"handled";if(/\'$/.test(te)?x.state.keySeq=null:Ou.set(50,function(){x.state.keySeq==Oe&&(x.state.keySeq=null,x.display.input.reset())}),rd(x,Oe+" "+te,be,ge))return!0}return rd(x,te,be,ge)}function rd(x,te,be,ge){var Oe=sl(x,te,ge);return Oe=="multi"&&(x.state.keySeq=te),Oe=="handled"&&hr(x,"keyHandled",x,te,be),(Oe=="handled"||Oe=="multi")&&(rn(be),qc(x)),!!Oe}function Ha(x,te){var be=Fl(te,!0);return be?te.shiftKey&&!x.state.keySeq?Ql(x,"Shift-"+be,te,function(ge){return No(x,ge,!0)})||Ql(x,be,te,function(ge){if(typeof ge=="string"?/^go[A-Z]/.test(ge):ge.motion)return No(x,ge)}):Ql(x,be,te,function(ge){return No(x,ge)}):!1}function uu(x,te,be){return Ql(x,"'"+be+"'",te,function(ge){return No(x,ge,!0)})}var dc=null;function Iu(x){var te=this;if(!(x.target&&x.target!=te.display.input.getField())&&(te.curOp.focus=Ie(),!Et(te,x))){ve&&ne<11&&x.keyCode==27&&(x.returnValue=!1);var be=x.keyCode;te.display.shift=be==16||x.shiftKey;var ge=Ha(te,x);le&&(dc=ge?be:null,!ge&&be==88&&!xr&&(we?x.metaKey:x.ctrlKey)&&te.replaceSelection("",null,"cut")),Ne&&!we&&!ge&&be==46&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut"),be==18&&!/\bCodeMirror-crosshair\b/.test(te.display.lineDiv.className)&&pr(te)}}function pr(x){var te=x.display.lineDiv;Ye(te,"CodeMirror-crosshair");function be(ge){(ge.keyCode==18||!ge.altKey)&&(_e(te,"CodeMirror-crosshair"),St(document,"keyup",be),St(document,"mouseover",be))}zt(document,"keyup",be),zt(document,"mouseover",be)}function pf(x){x.keyCode==16&&(this.doc.sel.shift=!1),Et(this,x)}function mf(x){var te=this;if(!(x.target&&x.target!=te.display.input.getField())&&!(so(te.display,x)||Et(te,x)||x.ctrlKey&&!x.altKey||we&&x.metaKey)){var be=x.keyCode,ge=x.charCode;if(le&&be==dc){dc=null,rn(x);return}if(!(le&&(!x.which||x.which<10)&&Ha(te,x))){var Oe=String.fromCharCode(ge==null?be:ge);Oe!="\b"&&(uu(te,x,Oe)||te.display.input.onKeyPress(x))}}}var Id=400,Bd=function(x,te,be){this.time=x,this.pos=te,this.button=be};Bd.prototype.compare=function(x,te,be){return this.time+Id>x&&In(te,this.pos)==0&&be==this.button};var fc,Bu;function ah(x,te){var be=+new Date;return Bu&&Bu.compare(be,x,te)?(fc=Bu=null,"triple"):fc&&fc.compare(be,x,te)?(Bu=new Bd(be,x,te),fc=null,"double"):(fc=new Bd(be,x,te),Bu=null,"single")}function Ts(x){var te=this,be=te.display;if(!(Et(te,x)||be.activeTouch&&be.input.supportsTouch())){if(be.input.ensurePolled(),be.shift=x.shiftKey,so(be,x)){ee||(be.scroller.draggable=!1,setTimeout(function(){return be.scroller.draggable=!0},100));return}if(!Fs(te,x)){var ge=Js(te,x),Oe=jn(x),$e=ge?ah(ge,Oe):"single";window.focus(),Oe==1&&te.state.selectingText&&te.state.selectingText(x),!(ge&&Cc(te,Oe,ge,$e,x))&&(Oe==1?ge?ad(te,ge,$e,x):Dn(x)==be.scroller&&rn(x):Oe==2?(ge&&Da(te.doc,ge),setTimeout(function(){return be.input.focus()},20)):Oe==3&&(Le?te.display.input.onContextMenu(x):wu(te)))}}}function Cc(x,te,be,ge,Oe){var $e="Click";return ge=="double"?$e="Double"+$e:ge=="triple"&&($e="Triple"+$e),$e=(te==1?"Left":te==2?"Middle":"Right")+$e,Ql(x,jl($e,Oe),Oe,function(mt){if(typeof mt=="string"&&(mt=Es[mt]),!mt)return!1;var Ct=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),Ct=mt(x,be)!=at}finally{x.state.suppressEdits=!1}return Ct})}function id(x,te,be){var ge=x.getOption("configureMouse"),Oe=ge?ge(x,te,be):{};if(Oe.unit==null){var $e=xe?be.shiftKey&&be.metaKey:be.altKey;Oe.unit=$e?"rectangle":te=="single"?"char":te=="double"?"word":"line"}return(Oe.extend==null||x.doc.extend)&&(Oe.extend=x.doc.extend||be.shiftKey),Oe.addNew==null&&(Oe.addNew=we?be.metaKey:be.ctrlKey),Oe.moveOnDrag==null&&(Oe.moveOnDrag=!(we?be.altKey:be.ctrlKey)),Oe}function ad(x,te,be,ge){ve?setTimeout(it(Kc,x),0):x.curOp.focus=Ie();var Oe=id(x,be,ge),$e=x.doc.sel,mt;x.options.dragDrop&&Jn&&!x.isReadOnly()&&be=="single"&&(mt=$e.contains(te))>-1&&(In((mt=$e.ranges[mt]).from(),te)<0||te.xRel>0)&&(In(mt.to(),te)>0||te.xRel<0)?oh(x,ge,te,Oe):Pd(x,ge,te,Oe)}function oh(x,te,be,ge){var Oe=x.display,$e=!1,mt=Mn(x,function(_t){ee&&(Oe.scroller.draggable=!1),x.state.draggingText=!1,St(Oe.wrapper.ownerDocument,"mouseup",mt),St(Oe.wrapper.ownerDocument,"mousemove",Ct),St(Oe.scroller,"dragstart",Ot),St(Oe.scroller,"drop",mt),$e||(rn(_t),ge.addNew||Da(x.doc,be,null,null,ge.extend),ee&&!pe||ve&&ne==9?setTimeout(function(){Oe.wrapper.ownerDocument.body.focus({preventScroll:!0}),Oe.input.focus()},20):Oe.input.focus())}),Ct=function(_t){$e=$e||Math.abs(te.clientX-_t.clientX)+Math.abs(te.clientY-_t.clientY)>=10},Ot=function(){return $e=!0};ee&&(Oe.scroller.draggable=!0),x.state.draggingText=mt,mt.copy=!ge.moveOnDrag,Oe.scroller.dragDrop&&Oe.scroller.dragDrop(),zt(Oe.wrapper.ownerDocument,"mouseup",mt),zt(Oe.wrapper.ownerDocument,"mousemove",Ct),zt(Oe.scroller,"dragstart",Ot),zt(Oe.scroller,"drop",mt),wu(x),setTimeout(function(){return Oe.input.focus()},20)}function gf(x,te,be){if(be=="char")return new ai(te,te);if(be=="word")return x.findWordAt(te);if(be=="line")return new ai(nn(te.line,0),cn(x.doc,nn(te.line+1,0)));var ge=be(x,te);return new ai(ge.from,ge.to)}function Pd(x,te,be,ge){var Oe=x.display,$e=x.doc;rn(te);var mt,Ct,Ot=$e.sel,_t=Ot.ranges;if(ge.addNew&&!ge.extend?(Ct=$e.sel.contains(be),Ct>-1?mt=_t[Ct]:mt=new ai(be,be)):(mt=$e.sel.primary(),Ct=$e.sel.primIndex),ge.unit=="rectangle")ge.addNew||(mt=new ai(be,be)),be=Js(x,te,!0,!0),Ct=-1;else{var an=gf(x,be,ge.unit);ge.extend?mt=wl(mt,an.anchor,an.head,ge.extend):mt=an}ge.addNew?Ct==-1?(Ct=_t.length,Ua($e,ra(x,_t.concat([mt]),Ct),{scroll:!1,origin:"*mouse"})):_t.length>1&&_t[Ct].empty()&&ge.unit=="char"&&!ge.extend?(Ua($e,ra(x,_t.slice(0,Ct).concat(_t.slice(Ct+1)),0),{scroll:!1,origin:"*mouse"}),Ot=$e.sel):Fa($e,Ct,mt,et):(Ct=0,Ua($e,new Wi([mt],0),et),Ot=$e.sel);var vn=be;function Wn(yi){if(In(vn,yi)!=0)if(vn=yi,ge.unit=="rectangle"){for(var Bi=[],Qi=x.options.tabSize,ea=Ve(Ut($e,be.line).text,be.ch,Qi),Ra=Ve(Ut($e,yi.line).text,yi.ch,Qi),xo=Math.min(ea,Ra),As=Math.max(ea,Ra),zo=Math.min(be.line,yi.line),$s=Math.min(x.lastLine(),Math.max(be.line,yi.line));zo<=$s;zo++){var el=Ut($e,zo).text,ds=yt(el,xo,Qi);xo==As?Bi.push(new ai(nn(zo,ds),nn(zo,ds))):el.length>ds&&Bi.push(new ai(nn(zo,ds),nn(zo,yt(el,As,Qi))))}Bi.length||Bi.push(new ai(be,be)),Ua($e,ra(x,Ot.ranges.slice(0,Ct).concat(Bi),Ct),{origin:"*mouse",scroll:!1}),x.scrollIntoView(yi)}else{var tl=mt,ya=gf(x,yi,ge.unit),Go=tl.anchor,Ko;In(ya.anchor,Go)>0?(Ko=ya.head,Go=mn(tl.from(),ya.anchor)):(Ko=ya.anchor,Go=sn(tl.to(),ya.head));var Xo=Ot.ranges.slice(0);Xo[Ct]=vf(x,new ai(cn($e,Go),Ko)),Ua($e,ra(x,Xo,Ct),et)}}var Nn=Oe.wrapper.getBoundingClientRect(),vr=0;function Fr(yi){var Bi=++vr,Qi=Js(x,yi,!0,ge.unit=="rectangle");if(Qi)if(In(Qi,vn)!=0){x.curOp.focus=Ie(),Wn(Qi);var ea=ls(Oe,$e);(Qi.line>=ea.to||Qi.line<ea.from)&&setTimeout(Mn(x,function(){vr==Bi&&Fr(yi)}),150)}else{var Ra=yi.clientY<Nn.top?-20:yi.clientY>Nn.bottom?20:0;Ra&&setTimeout(Mn(x,function(){vr==Bi&&(Oe.scroller.scrollTop+=Ra,Fr(yi))}),50)}}function si(yi){x.state.selectingText=!1,vr=1/0,yi&&(rn(yi),Oe.input.focus()),St(Oe.wrapper.ownerDocument,"mousemove",Ei),St(Oe.wrapper.ownerDocument,"mouseup",Ti),$e.history.lastSelOrigin=null}var Ei=Mn(x,function(yi){yi.buttons===0||!jn(yi)?si(yi):Fr(yi)}),Ti=Mn(x,si);x.state.selectingText=Ti,zt(Oe.wrapper.ownerDocument,"mousemove",Ei),zt(Oe.wrapper.ownerDocument,"mouseup",Ti)}function vf(x,te){var be=te.anchor,ge=te.head,Oe=Ut(x.doc,be.line);if(In(be,ge)==0&&be.sticky==ge.sticky)return te;var $e=Wt(Oe);if(!$e)return te;var mt=lt($e,be.ch,be.sticky),Ct=$e[mt];if(Ct.from!=be.ch&&Ct.to!=be.ch)return te;var Ot=mt+(Ct.from==be.ch==(Ct.level!=1)?0:1);if(Ot==0||Ot==$e.length)return te;var _t;if(ge.line!=be.line)_t=(ge.line-be.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var an=lt($e,ge.ch,ge.sticky),vn=an-mt||(ge.ch-be.ch)*(Ct.level==1?-1:1);an==Ot-1||an==Ot?_t=vn<0:_t=vn>0}var Wn=$e[Ot+(_t?-1:0)],Nn=_t==(Wn.level==1),vr=Nn?Wn.from:Wn.to,Fr=Nn?"after":"before";return be.ch==vr&&be.sticky==Fr?te:new ai(new nn(be.line,vr,Fr),ge)}function Pu(x,te,be,ge){var Oe,$e;if(te.touches)Oe=te.touches[0].clientX,$e=te.touches[0].clientY;else try{Oe=te.clientX,$e=te.clientY}catch(Wn){return!1}if(Oe>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;ge&&rn(te);var mt=x.display,Ct=mt.lineDiv.getBoundingClientRect();if($e>Ct.bottom||!Kt(x,be))return On(te);$e-=Ct.top-mt.viewOffset;for(var Ot=0;Ot<x.display.gutterSpecs.length;++Ot){var _t=mt.gutters.childNodes[Ot];if(_t&&_t.getBoundingClientRect().right>=Oe){var an=Ln(x.doc,$e),vn=x.display.gutterSpecs[Ot];return ft(x,be,x,an,vn.className,te),On(te)}}}function Fs(x,te){return Pu(x,te,"gutterClick",!0)}function Ec(x,te){so(x.display,te)||yf(x,te)||Et(x,te,"contextmenu")||Le||x.display.input.onContextMenu(te)}function yf(x,te){return Kt(x,"gutterContextMenu")?Pu(x,te,"gutterContextMenu",!1):!1}function Ld(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),io(x)}var Ac={toString:function(){return"CodeMirror.Init"}},bf={},od={};function sh(x){var te=x.optionHandlers;function be(ge,Oe,$e,mt){x.defaults[ge]=Oe,$e&&(te[ge]=mt?function(Ct,Ot,_t){_t!=Ac&&$e(Ct,Ot,_t)}:$e)}x.defineOption=be,x.Init=Ac,be("value","",function(ge,Oe){return ge.setValue(Oe)},!0),be("mode",null,function(ge,Oe){ge.doc.modeOption=Oe,Co(ge)},!0),be("indentUnit",2,Co,!0),be("indentWithTabs",!1),be("smartIndent",!0),be("tabSize",4,function(ge){Aa(ge),io(ge),Zo(ge)},!0),be("lineSeparator",null,function(ge,Oe){if(ge.doc.lineSep=Oe,!!Oe){var $e=[],mt=ge.doc.first;ge.doc.iter(function(Ot){for(var _t=0;;){var an=Ot.text.indexOf(Oe,_t);if(an==-1)break;_t=an+Oe.length,$e.push(nn(mt,an))}mt++});for(var Ct=$e.length-1;Ct>=0;Ct--)_l(ge.doc,Oe,$e[Ct],nn($e[Ct].line,$e[Ct].ch+Oe.length))}}),be("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ge,Oe,$e){ge.state.specialChars=new RegExp(Oe.source+(Oe.test(" ")?"":"| "),"g"),$e!=Ac&&ge.refresh()}),be("specialCharPlaceholder",Xa,function(ge){return ge.refresh()},!0),be("electricChars",!0),be("inputStyle",me?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),be("spellcheck",!1,function(ge,Oe){return ge.getInputField().spellcheck=Oe},!0),be("autocorrect",!1,function(ge,Oe){return ge.getInputField().autocorrect=Oe},!0),be("autocapitalize",!1,function(ge,Oe){return ge.getInputField().autocapitalize=Oe},!0),be("rtlMoveVisually",!Ae),be("wholeLineUpdateBefore",!0),be("theme","default",function(ge){Ld(ge),xi(ge)},!0),be("keyMap","default",function(ge,Oe,$e){var mt=Cs(Oe),Ct=$e!=Ac&&Cs($e);Ct&&Ct.detach&&Ct.detach(ge,mt),mt.attach&&mt.attach(ge,Ct||null)}),be("extraKeys",null),be("configureMouse",null),be("lineWrapping",!1,xf,!0),be("gutters",[],function(ge,Oe){ge.display.gutterSpecs=Ji(Oe,ge.options.lineNumbers),xi(ge)},!0),be("fixedGutter",!0,function(ge,Oe){ge.display.gutters.style.left=Oe?qa(ge.display)+"px":"0",ge.refresh()},!0),be("coverGutterNextToScrollbar",!1,function(ge){return Xl(ge)},!0),be("scrollbarStyle","native",function(ge){Au(ge),Xl(ge),ge.display.scrollbars.setScrollTop(ge.doc.scrollTop),ge.display.scrollbars.setScrollLeft(ge.doc.scrollLeft)},!0),be("lineNumbers",!1,function(ge,Oe){ge.display.gutterSpecs=Ji(ge.options.gutters,Oe),xi(ge)},!0),be("firstLineNumber",1,xi,!0),be("lineNumberFormatter",function(ge){return ge},xi,!0),be("showCursorWhenSelecting",!1,yc,!0),be("resetSelectionOnContextMenu",!0),be("lineWiseCopyCut",!0),be("pasteLinesPerSelection",!0),be("selectionsMayTouch",!1),be("readOnly",!1,function(ge,Oe){Oe=="nocursor"&&(ac(ge),ge.display.input.blur()),ge.display.input.readOnlyChanged(Oe)}),be("screenReaderLabel",null,function(ge,Oe){Oe=Oe===""?null:Oe,ge.display.input.screenReaderLabelChanged(Oe)}),be("disableInput",!1,function(ge,Oe){Oe||ge.display.input.reset()},!0),be("dragDrop",!0,lh),be("allowDropFileTypes",null),be("cursorBlinkRate",530),be("cursorScrollMargin",0),be("cursorHeight",1,yc,!0),be("singleCursorHeightPerLine",!0,yc,!0),be("workTime",100),be("workDelay",100),be("flattenSpans",!0,Aa,!0),be("addModeClass",!1,Aa,!0),be("pollInterval",100),be("undoDepth",200,function(ge,Oe){return ge.doc.history.undoDepth=Oe}),be("historyEventDelay",1250),be("viewportMargin",10,function(ge){return ge.refresh()},!0),be("maxHighlightLength",1e4,Aa,!0),be("moveInputWithCursor",!0,function(ge,Oe){Oe||ge.display.input.resetPosition()}),be("tabindex",null,function(ge,Oe){return ge.display.input.getField().tabIndex=Oe||""}),be("autofocus",null),be("direction","ltr",function(ge,Oe){return ge.doc.setDirection(Oe)},!0),be("phrases",null)}function lh(x,te,be){var ge=be&&be!=Ac;if(!te!=!ge){var Oe=x.display.dragFunctions,$e=te?zt:St;$e(x.display.scroller,"dragstart",Oe.start),$e(x.display.scroller,"dragenter",Oe.enter),$e(x.display.scroller,"dragover",Oe.over),$e(x.display.scroller,"dragleave",Oe.leave),$e(x.display.scroller,"drop",Oe.drop)}}function xf(x){x.options.lineWrapping?(Ye(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(_e(x.display.wrapper,"CodeMirror-wrap"),Nr(x)),qo(x),Zo(x),io(x),setTimeout(function(){return Xl(x)},100)}function ma(x,te){var be=this;if(!(this instanceof ma))return new ma(x,te);this.options=te=te?st(te):{},st(bf,te,!1);var ge=te.value;typeof ge=="string"?ge=new Ro(ge,te.mode,null,te.lineSeparator,te.direction):te.mode&&(ge.modeOption=te.mode),this.doc=ge;var Oe=new ma.inputStyles[te.inputStyle](this),$e=this.display=new Oi(x,ge,Oe,te);$e.wrapper.CodeMirror=this,Ld(this),te.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Au(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 Qe,keySeq:null,specialChars:null},te.autofocus&&!me&&$e.input.focus(),ve&&ne<11&&setTimeout(function(){return be.display.input.reset(!0)},20),ch(this),Tu(),ks(this),this.curOp.forceUpdate=!0,Zi(this,ge),te.autofocus&&!me||this.hasFocus()?setTimeout(function(){be.hasFocus()&&!be.state.focused&&Su(be)},20):ac(this);for(var mt in od)od.hasOwnProperty(mt)&&od[mt](this,te[mt],Ac);Mi(this),te.finishInit&&te.finishInit(this);for(var Ct=0;Ct<Rd.length;++Ct)Rd[Ct](this);Nl(this),ee&&te.lineWrapping&&getComputedStyle($e.lineDiv).textRendering=="optimizelegibility"&&($e.lineDiv.style.textRendering="auto")}ma.defaults=bf,ma.optionHandlers=od;function ch(x){var te=x.display;zt(te.scroller,"mousedown",Mn(x,Ts)),ve&&ne<11?zt(te.scroller,"dblclick",Mn(x,function(Ot){if(!Et(x,Ot)){var _t=Js(x,Ot);if(!(!_t||Fs(x,Ot)||so(x.display,Ot))){rn(Ot);var an=x.findWordAt(_t);Da(x.doc,an.anchor,an.head)}}})):zt(te.scroller,"dblclick",function(Ot){return Et(x,Ot)||rn(Ot)}),zt(te.scroller,"contextmenu",function(Ot){return Ec(x,Ot)}),zt(te.input.getField(),"contextmenu",function(Ot){te.scroller.contains(Ot.target)||Ec(x,Ot)});var be,ge={end:0};function Oe(){te.activeTouch&&(be=setTimeout(function(){return te.activeTouch=null},1e3),ge=te.activeTouch,ge.end=+new Date)}function $e(Ot){if(Ot.touches.length!=1)return!1;var _t=Ot.touches[0];return _t.radiusX<=1&&_t.radiusY<=1}function mt(Ot,_t){if(_t.left==null)return!0;var an=_t.left-Ot.left,vn=_t.top-Ot.top;return an*an+vn*vn>20*20}zt(te.scroller,"touchstart",function(Ot){if(!Et(x,Ot)&&!$e(Ot)&&!Fs(x,Ot)){te.input.ensurePolled(),clearTimeout(be);var _t=+new Date;te.activeTouch={start:_t,moved:!1,prev:_t-ge.end<=300?ge:null},Ot.touches.length==1&&(te.activeTouch.left=Ot.touches[0].pageX,te.activeTouch.top=Ot.touches[0].pageY)}}),zt(te.scroller,"touchmove",function(){te.activeTouch&&(te.activeTouch.moved=!0)}),zt(te.scroller,"touchend",function(Ot){var _t=te.activeTouch;if(_t&&!so(te,Ot)&&_t.left!=null&&!_t.moved&&new Date-_t.start<300){var an=x.coordsChar(te.activeTouch,"page"),vn;!_t.prev||mt(_t,_t.prev)?vn=new ai(an,an):!_t.prev.prev||mt(_t,_t.prev.prev)?vn=x.findWordAt(an):vn=new ai(nn(an.line,0),cn(x.doc,nn(an.line+1,0))),x.setSelection(vn.anchor,vn.head),x.focus(),rn(Ot)}Oe()}),zt(te.scroller,"touchcancel",Oe),zt(te.scroller,"scroll",function(){te.scroller.clientHeight&&(Gl(x,te.scroller.scrollTop),Ll(x,te.scroller.scrollLeft,!0),ft(x,"scroll",x))}),zt(te.scroller,"mousewheel",function(Ot){return ga(x,Ot)}),zt(te.scroller,"DOMMouseScroll",function(Ot){return ga(x,Ot)}),zt(te.wrapper,"scroll",function(){return te.wrapper.scrollTop=te.wrapper.scrollLeft=0}),te.dragFunctions={enter:function(Ot){Et(x,Ot)||Hn(Ot)},over:function(Ot){Et(x,Ot)||(ou(x,Ot),Hn(Ot))},start:function(Ot){return au(x,Ot)},drop:Mn(x,td),leave:function(Ot){Et(x,Ot)||wc(x)}};var Ct=te.input.getField();zt(Ct,"keyup",function(Ot){return pf.call(x,Ot)}),zt(Ct,"keydown",Mn(x,Iu)),zt(Ct,"keypress",Mn(x,mf)),zt(Ct,"focus",function(Ot){return Su(x,Ot)}),zt(Ct,"blur",function(Ot){return ac(x,Ot)})}var Rd=[];ma.defineInitHook=function(x){return Rd.push(x)};function zl(x,te,be,ge){var Oe=x.doc,$e;be==null&&(be="add"),be=="smart"&&(Oe.mode.indent?$e=yn(x,te).state:be="prev");var mt=x.options.tabSize,Ct=Ut(Oe,te),Ot=Ve(Ct.text,null,mt);Ct.stateAfter&&(Ct.stateAfter=null);var _t=Ct.text.match(/^\s*/)[0],an;if(!ge&&!/\S/.test(Ct.text))an=0,be="not";else if(be=="smart"&&(an=Oe.mode.indent($e,Ct.text.slice(_t.length),Ct.text),an==at||an>150)){if(!ge)return;be="prev"}be=="prev"?te>Oe.first?an=Ve(Ut(Oe,te-1).text,null,mt):an=0:be=="add"?an=Ot+x.options.indentUnit:be=="subtract"?an=Ot-x.options.indentUnit:typeof be=="number"&&(an=Ot+be),an=Math.max(0,an);var vn="",Wn=0;if(x.options.indentWithTabs)for(var Nn=Math.floor(an/mt);Nn;--Nn)Wn+=mt,vn+=" ";if(Wn<an&&(vn+=Pt(an-Wn)),vn!=_t)return _l(Oe,vn,nn(te,0),nn(te,_t.length),"+input"),Ct.stateAfter=null,!0;for(var vr=0;vr<Oe.sel.ranges.length;vr++){var Fr=Oe.sel.ranges[vr];if(Fr.head.line==te&&Fr.head.ch<_t.length){var si=nn(te,_t.length);Fa(Oe,vr,new ai(si,si));break}}}var Kl=null;function kc(x){Kl=x}function Nd(x,te,be,ge,Oe){var $e=x.doc;x.display.shift=!1,ge||(ge=$e.sel);var mt=+new Date-200,Ct=Oe=="paste"||x.state.pasteIncoming>mt,Ot=Gn(te),_t=null;if(Ct&&ge.ranges.length>1)if(Kl&&Kl.text.join(`
`)==te){if(ge.ranges.length%Kl.text.length==0){_t=[];for(var an=0;an<Kl.text.length;an++)_t.push($e.splitLines(Kl.text[an]))}}else Ot.length==ge.ranges.length&&x.options.pasteLinesPerSelection&&(_t=ct(Ot,function(Ei){return[Ei]}));for(var vn=x.curOp.updateInput,Wn=ge.ranges.length-1;Wn>=0;Wn--){var Nn=ge.ranges[Wn],vr=Nn.from(),Fr=Nn.to();Nn.empty()&&(be&&be>0?vr=nn(vr.line,vr.ch-be):x.state.overwrite&&!Ct?Fr=nn(Fr.line,Math.min(Ut($e,Fr.line).text.length,Fr.ch+Mt(Ot).length)):Ct&&Kl&&Kl.lineWise&&Kl.text.join(`
`)==Ot.join(`
`)&&(vr=Fr=nn(vr.line,0)));var si={from:vr,to:Fr,text:_t?_t[Wn%_t.length]:Ot,origin:Oe||(Ct?"paste":x.state.cutIncoming>mt?"cut":"+input")};co(x.doc,si),hr(x,"inputRead",x,si)}te&&!Ct&&jd(x,te),bc(x),x.curOp.updateInput<2&&(x.curOp.updateInput=vn),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function _d(x,te){var be=x.clipboardData&&x.clipboardData.getData("Text");if(be)return x.preventDefault(),!te.isReadOnly()&&!te.options.disableInput&&tn(te,function(){return Nd(te,be,0,null,"paste")}),!0}function jd(x,te){if(!(!x.options.electricChars||!x.options.smartIndent))for(var be=x.doc.sel,ge=be.ranges.length-1;ge>=0;ge--){var Oe=be.ranges[ge];if(!(Oe.head.ch>100||ge&&be.ranges[ge-1].head.line==Oe.head.line)){var $e=x.getModeAt(Oe.head),mt=!1;if($e.electricChars){for(var Ct=0;Ct<$e.electricChars.length;Ct++)if(te.indexOf($e.electricChars.charAt(Ct))>-1){mt=zl(x,Oe.head.line,"smart");break}}else $e.electricInput&&$e.electricInput.test(Ut(x.doc,Oe.head.line).text.slice(0,Oe.head.ch))&&(mt=zl(x,Oe.head.line,"smart"));mt&&hr(x,"electricInput",x,Oe.head.line)}}}function du(x){for(var te=[],be=[],ge=0;ge<x.doc.sel.ranges.length;ge++){var Oe=x.doc.sel.ranges[ge].head.line,$e={anchor:nn(Oe,0),head:nn(Oe+1,0)};be.push($e),te.push(x.getRange($e.anchor,$e.head))}return{text:te,ranges:be}}function wf(x,te,be,ge){x.setAttribute("autocorrect",be?"":"off"),x.setAttribute("autocapitalize",ge?"":"off"),x.setAttribute("spellcheck",!!te)}function Fd(){var x=Se("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),te=Se("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ee?x.style.width="1000px":x.setAttribute("wrap","off"),ce&&(x.style.border="1px solid black"),wf(x),te}function zd(x){var te=x.optionHandlers,be=x.helpers={};x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ge,Oe){var $e=this.options,mt=$e[ge];$e[ge]==Oe&&ge!="mode"||($e[ge]=Oe,te.hasOwnProperty(ge)&&Mn(this,te[ge])(this,Oe,mt),ft(this,"optionChange",this,ge))},getOption:function(ge){return this.options[ge]},getDoc:function(){return this.doc},addKeyMap:function(ge,Oe){this.state.keyMaps[Oe?"push":"unshift"](Cs(ge))},removeKeyMap:function(ge){for(var Oe=this.state.keyMaps,$e=0;$e<Oe.length;++$e)if(Oe[$e]==ge||Oe[$e].name==ge)return Oe.splice($e,1),!0},addOverlay:Cn(function(ge,Oe){var $e=ge.token?ge:x.getMode(this.options,ge);if($e.startState)throw new Error("Overlays may not be stateful.");Je(this.state.overlays,{mode:$e,modeSpec:ge,opaque:Oe&&Oe.opaque,priority:Oe&&Oe.priority||0},function(mt){return mt.priority}),this.state.modeGen++,Zo(this)}),removeOverlay:Cn(function(ge){for(var Oe=this.state.overlays,$e=0;$e<Oe.length;++$e){var mt=Oe[$e].modeSpec;if(mt==ge||typeof ge=="string"&&mt.name==ge){Oe.splice($e,1),this.state.modeGen++,Zo(this);return}}}),indentLine:Cn(function(ge,Oe,$e){typeof Oe!="string"&&typeof Oe!="number"&&(Oe==null?Oe=this.options.smartIndent?"smart":"prev":Oe=Oe?"add":"subtract"),Tn(this.doc,ge)&&zl(this,ge,Oe,$e)}),indentSelection:Cn(function(ge){for(var Oe=this.doc.sel.ranges,$e=-1,mt=0;mt<Oe.length;mt++){var Ct=Oe[mt];if(Ct.empty())Ct.head.line>$e&&(zl(this,Ct.head.line,ge,!0),$e=Ct.head.line,mt==this.doc.sel.primIndex&&bc(this));else{var Ot=Ct.from(),_t=Ct.to(),an=Math.max($e,Ot.line);$e=Math.min(this.lastLine(),_t.line-(_t.ch?0:1))+1;for(var vn=an;vn<$e;++vn)zl(this,vn,ge);var Wn=this.doc.sel.ranges;Ot.ch==0&&Oe.length==Wn.length&&Wn[mt].from().ch>0&&Fa(this.doc,mt,new ai(Ot,Wn[mt].to()),tt)}}}),getTokenAt:function(ge,Oe){return gr(this,ge,Oe)},getLineTokens:function(ge,Oe){return gr(this,nn(ge),Oe,!0)},getTokenTypeAt:function(ge){ge=cn(this.doc,ge);var Oe=dn(this,Ut(this.doc,ge.line)),$e=0,mt=(Oe.length-1)/2,Ct=ge.ch,Ot;if(Ct==0)Ot=Oe[2];else for(;;){var _t=$e+mt>>1;if((_t?Oe[_t*2-1]:0)>=Ct)mt=_t;else if(Oe[_t*2+1]<Ct)$e=_t+1;else{Ot=Oe[_t*2+2];break}}var an=Ot?Ot.indexOf("overlay "):-1;return an<0?Ot:an==0?null:Ot.slice(0,an-1)},getModeAt:function(ge){var Oe=this.doc.mode;return Oe.innerMode?x.innerMode(Oe,this.getTokenAt(ge).state).mode:Oe},getHelper:function(ge,Oe){return this.getHelpers(ge,Oe)[0]},getHelpers:function(ge,Oe){var $e=[];if(!be.hasOwnProperty(Oe))return $e;var mt=be[Oe],Ct=this.getModeAt(ge);if(typeof Ct[Oe]=="string")mt[Ct[Oe]]&&$e.push(mt[Ct[Oe]]);else if(Ct[Oe])for(var Ot=0;Ot<Ct[Oe].length;Ot++){var _t=mt[Ct[Oe][Ot]];_t&&$e.push(_t)}else Ct.helperType&&mt[Ct.helperType]?$e.push(mt[Ct.helperType]):mt[Ct.name]&&$e.push(mt[Ct.name]);for(var an=0;an<mt._global.length;an++){var vn=mt._global[an];vn.pred(Ct,this)&&nt($e,vn.val)==-1&&$e.push(vn.val)}return $e},getStateAfter:function(ge,Oe){var $e=this.doc;return ge=Bn($e,ge==null?$e.first+$e.size-1:ge),yn(this,ge+1,Oe).state},cursorCoords:function(ge,Oe){var $e,mt=this.doc.sel.primary();return ge==null?$e=mt.head:typeof ge=="object"?$e=cn(this.doc,ge):$e=ge?mt.from():mt.to(),$o(this,$e,Oe||"page")},charCoords:function(ge,Oe){return _s(this,cn(this.doc,ge),Oe||"page")},coordsChar:function(ge,Oe){return ge=Hs(this,ge,Oe||"page"),bl(this,ge.left,ge.top)},lineAtHeight:function(ge,Oe){return ge=Hs(this,{top:ge,left:0},Oe||"page").top,Ln(this.doc,ge+this.display.viewOffset)},heightAtLine:function(ge,Oe,$e){var mt=!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,mt=!0),Ct=Ut(this.doc,ge)}else Ct=ge;return Qo(this,Ct,{top:0,left:0},Oe||"page",$e||mt).top+(mt?this.doc.height-jr(Ct):0)},defaultTextHeight:function(){return xl(this.display)},defaultCharWidth:function(){return Ka(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ge,Oe,$e,mt,Ct){var Ot=this.display;ge=$o(this,cn(this.doc,ge));var _t=ge.bottom,an=ge.left;if(Oe.style.position="absolute",Oe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Oe),Ot.sizer.appendChild(Oe),mt=="over")_t=ge.top;else if(mt=="above"||mt=="near"){var vn=Math.max(Ot.wrapper.clientHeight,this.doc.height),Wn=Math.max(Ot.sizer.clientWidth,Ot.lineSpace.clientWidth);(mt=="above"||ge.bottom+Oe.offsetHeight>vn)&&ge.top>Oe.offsetHeight?_t=ge.top-Oe.offsetHeight:ge.bottom+Oe.offsetHeight<=vn&&(_t=ge.bottom),an+Oe.offsetWidth>Wn&&(an=Wn-Oe.offsetWidth)}Oe.style.top=_t+"px",Oe.style.left=Oe.style.right="",Ct=="right"?(an=Ot.sizer.clientWidth-Oe.offsetWidth,Oe.style.right="0px"):(Ct=="left"?an=0:Ct=="middle"&&(an=(Ot.sizer.clientWidth-Oe.offsetWidth)/2),Oe.style.left=an+"px"),$e&&Yu(this,{left:an,top:_t,right:an+Oe.offsetWidth,bottom:_t+Oe.offsetHeight})},triggerOnKeyDown:Cn(Iu),triggerOnKeyPress:Cn(mf),triggerOnKeyUp:pf,triggerOnMouseDown:Cn(Ts),execCommand:function(ge){if(Es.hasOwnProperty(ge))return Es[ge].call(null,this)},triggerElectric:Cn(function(ge){jd(this,ge)}),findPosH:function(ge,Oe,$e,mt){var Ct=1;Oe<0&&(Ct=-1,Oe=-Oe);for(var Ot=cn(this.doc,ge),_t=0;_t<Oe&&(Ot=sd(this.doc,Ot,Ct,$e,mt),!Ot.hitSide);++_t);return Ot},moveH:Cn(function(ge,Oe){var $e=this;this.extendSelectionsBy(function(mt){return $e.display.shift||$e.doc.extend||mt.empty()?sd($e.doc,mt.head,ge,Oe,$e.options.rtlMoveVisually):ge<0?mt.from():mt.to()},ot)}),deleteH:Cn(function(ge,Oe){var $e=this.doc.sel,mt=this.doc;$e.somethingSelected()?mt.replaceSelection("",null,"+delete"):Gs(this,function(Ct){var Ot=sd(mt,Ct.head,ge,Oe,!1);return ge<0?{from:Ot,to:Ct.head}:{from:Ct.head,to:Ot}})}),findPosV:function(ge,Oe,$e,mt){var Ct=1,Ot=mt;Oe<0&&(Ct=-1,Oe=-Oe);for(var _t=cn(this.doc,ge),an=0;an<Oe;++an){var vn=$o(this,_t,"div");if(Ot==null?Ot=vn.left:vn.left=Ot,_t=Sf(this,vn,Ct,$e),_t.hitSide)break}return _t},moveV:Cn(function(ge,Oe){var $e=this,mt=this.doc,Ct=[],Ot=!this.display.shift&&!mt.extend&&mt.sel.somethingSelected();if(mt.extendSelectionsBy(function(an){if(Ot)return ge<0?an.from():an.to();var vn=$o($e,an.head,"div");an.goalColumn!=null&&(vn.left=an.goalColumn),Ct.push(vn.left);var Wn=Sf($e,vn,ge,Oe);return Oe=="page"&&an==mt.sel.primary()&&nu($e,_s($e,Wn,"div").top-vn.top),Wn},ot),Ct.length)for(var _t=0;_t<mt.sel.ranges.length;_t++)mt.sel.ranges[_t].goalColumn=Ct[_t]}),findWordAt:function(ge){var Oe=this.doc,$e=Ut(Oe,ge.line).text,mt=ge.ch,Ct=ge.ch;if($e){var Ot=this.getHelper(ge,"wordChars");(ge.sticky=="before"||Ct==$e.length)&&mt?--mt:++Ct;for(var _t=$e.charAt(mt),an=We(_t,Ot)?function(vn){return We(vn,Ot)}:/\s/.test(_t)?function(vn){return/\s/.test(vn)}:function(vn){return!/\s/.test(vn)&&!We(vn)};mt>0&&an($e.charAt(mt-1));)--mt;for(;Ct<$e.length&&an($e.charAt(Ct));)++Ct}return new ai(nn(ge.line,mt),nn(ge.line,Ct))},toggleOverwrite:function(ge){ge!=null&&ge==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Ye(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()==Ie()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Cn(function(ge,Oe){sc(this,ge,Oe)}),getScrollInfo:function(){var ge=this.display.scroller;return{left:ge.scrollLeft,top:ge.scrollTop,height:ge.scrollHeight-Ao(this)-this.display.barHeight,width:ge.scrollWidth-Ao(this)-this.display.barWidth,clientHeight:Ls(this),clientWidth:fo(this)}},scrollIntoView:Cn(function(ge,Oe){ge==null?(ge={from:this.doc.sel.primary().head,to:null},Oe==null&&(Oe=this.options.cursorScrollMargin)):typeof ge=="number"?ge={from:nn(ge,0),to:null}:ge.from==null&&(ge={from:ge,to:null}),ge.to||(ge.to=ge.from),ge.margin=Oe||0,ge.from.line!=null?Od(this,ge):Ju(this,ge.from,ge.to,ge.margin)}),setSize:Cn(function(ge,Oe){var $e=this,mt=function(Ot){return typeof Ot=="number"||/^\d+$/.test(String(Ot))?Ot+"px":Ot};ge!=null&&(this.display.wrapper.style.width=mt(ge)),Oe!=null&&(this.display.wrapper.style.height=mt(Oe)),this.options.lineWrapping&&yo(this);var Ct=this.display.viewFrom;this.doc.iter(Ct,this.display.viewTo,function(Ot){if(Ot.widgets){for(var _t=0;_t<Ot.widgets.length;_t++)if(Ot.widgets[_t].noHScroll){nl($e,Ct,"widget");break}}++Ct}),this.curOp.forceUpdate=!0,ft(this,"refresh",this)}),operation:function(ge){return tn(this,ge)},startOperation:function(){return ks(this)},endOperation:function(){return Nl(this)},refresh:Cn(function(){var ge=this.display.cachedTextHeight;Zo(this),this.curOp.forceUpdate=!0,io(this),sc(this,this.doc.scrollLeft,this.doc.scrollTop),mi(this.display),(ge==null||Math.abs(ge-xl(this.display))>.5||this.options.lineWrapping)&&qo(this),ft(this,"refresh",this)}),swapDoc:Cn(function(ge){var Oe=this.doc;return Oe.cm=null,this.state.selectingText&&this.state.selectingText(),Zi(this,ge),io(this),this.display.input.reset(),sc(this,ge.scrollLeft,ge.scrollTop),this.curOp.forceScroll=!0,hr(this,"swapDoc",this,Oe),Oe}),phrase:function(ge){var Oe=this.options.phrases;return Oe&&Object.prototype.hasOwnProperty.call(Oe,ge)?Oe[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(x),x.registerHelper=function(ge,Oe,$e){be.hasOwnProperty(ge)||(be[ge]=x[ge]={_global:[]}),be[ge][Oe]=$e},x.registerGlobalHelper=function(ge,Oe,$e,mt){x.registerHelper(ge,Oe,mt),be[ge]._global.push({pred:$e,val:mt})}}function sd(x,te,be,ge,Oe){var $e=te,mt=be,Ct=Ut(x,te.line),Ot=Oe&&x.direction=="rtl"?-be:be;function _t(){var Ti=te.line+Ot;return Ti<x.first||Ti>=x.first+x.size?!1:(te=new nn(Ti,te.ch,te.sticky),Ct=Ut(x,Ti))}function an(Ti){var yi;if(ge=="codepoint"){var Bi=Ct.text.charCodeAt(te.ch+(ge>0?0:-1));isNaN(Bi)?yi=null:yi=new nn(te.line,Math.max(0,Math.min(Ct.text.length,te.ch+be*(Bi>=55296&&Bi<56320?2:1))),-be)}else Oe?yi=Wa(x.cm,Ct,te,be):yi=kl(Ct,te,be);if(yi==null)if(!Ti&&_t())te=La(Oe,x.cm,Ct,te.line,Ot);else return!1;else te=yi;return!0}if(ge=="char"||ge=="codepoint")an();else if(ge=="column")an(!0);else if(ge=="word"||ge=="group")for(var vn=null,Wn=ge=="group",Nn=x.cm&&x.cm.getHelper(te,"wordChars"),vr=!0;!(be<0&&!an(!vr));vr=!1){var Fr=Ct.text.charAt(te.ch)||`
`,si=We(Fr,Nn)?"w":Wn&&Fr==`
`?"n":!Wn||/\s/.test(Fr)?null:"p";if(Wn&&!vr&&!si&&(si="s"),vn&&vn!=si){be<0&&(be=1,an(),te.sticky="after");break}if(si&&(vn=si),be>0&&!an(!vr))break}var Ei=al(x,te,$e,mt,!0);return Xt($e,Ei)&&(Ei.hitSide=!0),Ei}function Sf(x,te,be,ge){var Oe=x.doc,$e=te.left,mt;if(ge=="page"){var Ct=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ot=Math.max(Ct-.5*xl(x.display),3);mt=(be>0?te.bottom:te.top)+be*Ot}else ge=="line"&&(mt=be>0?te.bottom+3:te.top-3);for(var _t;_t=bl(x,$e,mt),!!_t.outside;){if(be<0?mt<=0:mt>=Oe.height){_t.hitSide=!0;break}mt+=be*5}return _t}var po=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Qe,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};po.prototype.init=function(x){var te=this,be=this,ge=be.cm,Oe=be.div=x.lineDiv;wf(Oe,ge.options.spellcheck,ge.options.autocorrect,ge.options.autocapitalize);function $e(Ct){for(var Ot=Ct.target;Ot;Ot=Ot.parentNode){if(Ot==Oe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ot.className))break}return!1}zt(Oe,"paste",function(Ct){!$e(Ct)||Et(ge,Ct)||_d(Ct,ge)||ne<=11&&setTimeout(Mn(ge,function(){return te.updateFromDOM()}),20)}),zt(Oe,"compositionstart",function(Ct){te.composing={data:Ct.data,done:!1}}),zt(Oe,"compositionupdate",function(Ct){te.composing||(te.composing={data:Ct.data,done:!1})}),zt(Oe,"compositionend",function(Ct){te.composing&&(Ct.data!=te.composing.data&&te.readFromDOMSoon(),te.composing.done=!0)}),zt(Oe,"touchstart",function(){return be.forceCompositionEnd()}),zt(Oe,"input",function(){te.composing||te.readFromDOMSoon()});function mt(Ct){if(!(!$e(Ct)||Et(ge,Ct))){if(ge.somethingSelected())kc({lineWise:!1,text:ge.getSelections()}),Ct.type=="cut"&&ge.replaceSelection("",null,"cut");else if(ge.options.lineWiseCopyCut){var Ot=du(ge);kc({lineWise:!0,text:Ot.text}),Ct.type=="cut"&&ge.operation(function(){ge.setSelections(Ot.ranges,0,tt),ge.replaceSelection("",null,"cut")})}else return;if(Ct.clipboardData){Ct.clipboardData.clearData();var _t=Kl.text.join(`
`);if(Ct.clipboardData.setData("Text",_t),Ct.clipboardData.getData("Text")==_t){Ct.preventDefault();return}}var an=Fd(),vn=an.firstChild;ge.display.lineSpace.insertBefore(an,ge.display.lineSpace.firstChild),vn.value=Kl.text.join(`
`);var Wn=document.activeElement;qe(vn),setTimeout(function(){ge.display.lineSpace.removeChild(an),Wn.focus(),Wn==Oe&&be.showPrimarySelection()},50)}}zt(Oe,"copy",mt),zt(Oe,"cut",mt)},po.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},po.prototype.prepareSelection=function(){var x=Xu(this.cm,!1);return x.focus=document.activeElement==this.div,x},po.prototype.showSelection=function(x,te){!x||!this.cm.display.view.length||((x.focus||te)&&this.showPrimarySelection(),this.showMultipleSelections(x))},po.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},po.prototype.showPrimarySelection=function(){var x=this.getSelection(),te=this.cm,be=te.doc.sel.primary(),ge=be.from(),Oe=be.to();if(te.display.viewTo==te.display.viewFrom||ge.line>=te.display.viewTo||Oe.line<te.display.viewFrom){x.removeAllRanges();return}var $e=ld(te,x.anchorNode,x.anchorOffset),mt=ld(te,x.focusNode,x.focusOffset);if(!($e&&!$e.bad&&mt&&!mt.bad&&In(mn($e,mt),ge)==0&&In(sn($e,mt),Oe)==0)){var Ct=te.display.view,Ot=ge.line>=te.display.viewFrom&&Cf(te,ge)||{node:Ct[0].measure.map[2],offset:0},_t=Oe.line<te.display.viewTo&&Cf(te,Oe);if(!_t){var an=Ct[Ct.length-1].measure,vn=an.maps?an.maps[an.maps.length-1]:an.map;_t={node:vn[vn.length-1],offset:vn[vn.length-2]-vn[vn.length-3]}}if(!Ot||!_t){x.removeAllRanges();return}var Wn=x.rangeCount&&x.getRangeAt(0),Nn;try{Nn=Re(Ot.node,Ot.offset,_t.offset,_t.node)}catch(vr){}Nn&&(!Ne&&te.state.focused?(x.collapse(Ot.node,Ot.offset),Nn.collapsed||(x.removeAllRanges(),x.addRange(Nn))):(x.removeAllRanges(),x.addRange(Nn)),Wn&&x.anchorNode==null?x.addRange(Wn):Ne&&this.startGracePeriod()),this.rememberSelection()}},po.prototype.startGracePeriod=function(){var x=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){x.gracePeriod=!1,x.selectionChanged()&&x.cm.operation(function(){return x.cm.curOp.selectionChanged=!0})},20)},po.prototype.showMultipleSelections=function(x){De(this.cm.display.cursorDiv,x.cursors),De(this.cm.display.selectionDiv,x.selection)},po.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},po.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var te=x.getRangeAt(0).commonAncestorContainer;return Xe(this.div,te)},po.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},po.prototype.blur=function(){this.div.blur()},po.prototype.getField=function(){return this.div},po.prototype.supportsTouch=function(){return!0},po.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():tn(this.cm,function(){return x.cm.curOp.selectionChanged=!0});function te(){x.cm.state.focused&&(x.pollSelection(),x.polling.set(x.cm.options.pollInterval,te))}this.polling.set(this.cm.options.pollInterval,te)},po.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},po.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var x=this.getSelection(),te=this.cm;if(de&&oe&&this.cm.display.gutterSpecs.length&&uh(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var be=ld(te,x.anchorNode,x.anchorOffset),ge=ld(te,x.focusNode,x.focusOffset);be&&ge&&tn(te,function(){Ua(te.doc,la(be,ge),tt),(be.bad||ge.bad)&&(te.curOp.selectionChanged=!0)})}}},po.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var x=this.cm,te=x.display,be=x.doc.sel.primary(),ge=be.from(),Oe=be.to();if(ge.ch==0&&ge.line>x.firstLine()&&(ge=nn(ge.line-1,Ut(x.doc,ge.line-1).length)),Oe.ch==Ut(x.doc,Oe.line).text.length&&Oe.line<x.lastLine()&&(Oe=nn(Oe.line+1,0)),ge.line<te.viewFrom||Oe.line>te.viewTo-1)return!1;var $e,mt,Ct;ge.line==te.viewFrom||($e=ps(x,ge.line))==0?(mt=wn(te.view[0].line),Ct=te.view[0].node):(mt=wn(te.view[$e].line),Ct=te.view[$e-1].node.nextSibling);var Ot=ps(x,Oe.line),_t,an;if(Ot==te.view.length-1?(_t=te.viewTo-1,an=te.lineDiv.lastChild):(_t=wn(te.view[Ot+1].line)-1,an=te.view[Ot+1].node.previousSibling),!Ct)return!1;for(var vn=x.doc.splitLines(dh(x,Ct,an,mt,_t)),Wn=Yt(x.doc,nn(mt,0),nn(_t,Ut(x.doc,_t).text.length));vn.length>1&&Wn.length>1;)if(Mt(vn)==Mt(Wn))vn.pop(),Wn.pop(),_t--;else if(vn[0]==Wn[0])vn.shift(),Wn.shift(),mt++;else break;for(var Nn=0,vr=0,Fr=vn[0],si=Wn[0],Ei=Math.min(Fr.length,si.length);Nn<Ei&&Fr.charCodeAt(Nn)==si.charCodeAt(Nn);)++Nn;for(var Ti=Mt(vn),yi=Mt(Wn),Bi=Math.min(Ti.length-(vn.length==1?Nn:0),yi.length-(Wn.length==1?Nn:0));vr<Bi&&Ti.charCodeAt(Ti.length-vr-1)==yi.charCodeAt(yi.length-vr-1);)++vr;if(vn.length==1&&Wn.length==1&&mt==ge.line)for(;Nn&&Nn>ge.ch&&Ti.charCodeAt(Ti.length-vr-1)==yi.charCodeAt(yi.length-vr-1);)Nn--,vr++;vn[vn.length-1]=Ti.slice(0,Ti.length-vr).replace(/^\u200b+/,""),vn[0]=vn[0].slice(Nn).replace(/\u200b+$/,"");var Qi=nn(mt,Nn),ea=nn(_t,Wn.length?Mt(Wn).length-vr:0);if(vn.length>1||vn[0]||In(Qi,ea))return _l(x.doc,vn,Qi,ea,"+input"),!0},po.prototype.ensurePolled=function(){this.forceCompositionEnd()},po.prototype.reset=function(){this.forceCompositionEnd()},po.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},po.prototype.readFromDOMSoon=function(){var x=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(x.readDOMTimeout=null,x.composing)if(x.composing.done)x.composing=null;else return;x.updateFromDOM()},80))},po.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&tn(this.cm,function(){return Zo(x.cm)})},po.prototype.setUneditable=function(x){x.contentEditable="false"},po.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||Mn(this.cm,Nd)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},po.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},po.prototype.onContextMenu=function(){},po.prototype.resetPosition=function(){},po.prototype.needsContentAttribute=!0;function Cf(x,te){var be=ko(x,te.line);if(!be||be.hidden)return null;var ge=Ut(x.doc,te.line),Oe=hs(be,ge,te.line),$e=Wt(ge,x.doc.direction),mt="left";if($e){var Ct=lt($e,te.ch);mt=Ct%2?"right":"left"}var Ot=ul(Oe.map,te.ch,mt);return Ot.offset=Ot.collapse=="right"?Ot.end:Ot.start,Ot}function uh(x){for(var te=x;te;te=te.parentNode)if(/CodeMirror-gutter-wrapper/.test(te.className))return!0;return!1}function fu(x,te){return te&&(x.bad=!0),x}function dh(x,te,be,ge,Oe){var $e="",mt=!1,Ct=x.doc.lineSeparator(),Ot=!1;function _t(Nn){return function(vr){return vr.id==Nn}}function an(){mt&&($e+=Ct,Ot&&($e+=Ct),mt=Ot=!1)}function vn(Nn){Nn&&(an(),$e+=Nn)}function Wn(Nn){if(Nn.nodeType==1){var vr=Nn.getAttribute("cm-text");if(vr){vn(vr);return}var Fr=Nn.getAttribute("cm-marker"),si;if(Fr){var Ei=x.findMarks(nn(ge,0),nn(Oe+1,0),_t(+Fr));Ei.length&&(si=Ei[0].find(0))&&vn(Yt(x.doc,si.from,si.to).join(Ct));return}if(Nn.getAttribute("contenteditable")=="false")return;var Ti=/^(pre|div|p|li|table|br)$/i.test(Nn.nodeName);if(!/^br$/i.test(Nn.nodeName)&&Nn.textContent.length==0)return;Ti&&an();for(var yi=0;yi<Nn.childNodes.length;yi++)Wn(Nn.childNodes[yi]);/^(pre|p)$/i.test(Nn.nodeName)&&(Ot=!0),Ti&&(mt=!0)}else Nn.nodeType==3&&vn(Nn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Wn(te),te!=be;)te=te.nextSibling,Ot=!1;return $e}function ld(x,te,be){var ge;if(te==x.display.lineDiv){if(ge=x.display.lineDiv.childNodes[be],!ge)return fu(x.clipPos(nn(x.display.viewTo-1)),!0);te=null,be=0}else for(ge=te;;ge=ge.parentNode){if(!ge||ge==x.display.lineDiv)return null;if(ge.parentNode&&ge.parentNode==x.display.lineDiv)break}for(var Oe=0;Oe<x.display.view.length;Oe++){var $e=x.display.view[Oe];if($e.node==ge)return fh($e,te,be)}}function fh(x,te,be){var ge=x.text.firstChild,Oe=!1;if(!te||!Xe(ge,te))return fu(nn(wn(x.line),0),!0);if(te==ge&&(Oe=!0,te=ge.childNodes[be],be=0,!te)){var $e=x.rest?Mt(x.rest):x.line;return fu(nn(wn($e),$e.text.length),Oe)}var mt=te.nodeType==3?te:null,Ct=te;for(!mt&&te.childNodes.length==1&&te.firstChild.nodeType==3&&(mt=te.firstChild,be&&(be=mt.nodeValue.length));Ct.parentNode!=ge;)Ct=Ct.parentNode;var Ot=x.measure,_t=Ot.maps;function an(si,Ei,Ti){for(var yi=-1;yi<(_t?_t.length:0);yi++)for(var Bi=yi<0?Ot.map:_t[yi],Qi=0;Qi<Bi.length;Qi+=3){var ea=Bi[Qi+2];if(ea==si||ea==Ei){var Ra=wn(yi<0?x.line:x.rest[yi]),xo=Bi[Qi]+Ti;return(Ti<0||ea!=si)&&(xo=Bi[Qi+(Ti?1:0)]),nn(Ra,xo)}}}var vn=an(mt,Ct,be);if(vn)return fu(vn,Oe);for(var Wn=Ct.nextSibling,Nn=mt?mt.nodeValue.length-be:0;Wn;Wn=Wn.nextSibling){if(vn=an(Wn,Wn.firstChild,0),vn)return fu(nn(vn.line,vn.ch-Nn),Oe);Nn+=Wn.textContent.length}for(var vr=Ct.previousSibling,Fr=be;vr;vr=vr.previousSibling){if(vn=an(vr,vr.firstChild,-1),vn)return fu(nn(vn.line,vn.ch+Fr),Oe);Fr+=vr.textContent.length}}var bo=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new Qe,this.hasSelection=!1,this.composing=null};bo.prototype.init=function(x){var te=this,be=this,ge=this.cm;this.createField(x);var Oe=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild),ce&&(Oe.style.width="0px"),zt(Oe,"input",function(){ve&&ne>=9&&te.hasSelection&&(te.hasSelection=null),be.poll()}),zt(Oe,"paste",function(mt){Et(ge,mt)||_d(mt,ge)||(ge.state.pasteIncoming=+new Date,be.fastPoll())});function $e(mt){if(!Et(ge,mt)){if(ge.somethingSelected())kc({lineWise:!1,text:ge.getSelections()});else if(ge.options.lineWiseCopyCut){var Ct=du(ge);kc({lineWise:!0,text:Ct.text}),mt.type=="cut"?ge.setSelections(Ct.ranges,null,tt):(be.prevInput="",Oe.value=Ct.text.join(`
`),qe(Oe))}else return;mt.type=="cut"&&(ge.state.cutIncoming=+new Date)}}zt(Oe,"cut",$e),zt(Oe,"copy",$e),zt(x.scroller,"paste",function(mt){if(!(so(x,mt)||Et(ge,mt))){if(!Oe.dispatchEvent){ge.state.pasteIncoming=+new Date,be.focus();return}var Ct=new Event("paste");Ct.clipboardData=mt.clipboardData,Oe.dispatchEvent(Ct)}}),zt(x.lineSpace,"selectstart",function(mt){so(x,mt)||rn(mt)}),zt(Oe,"compositionstart",function(){var mt=ge.getCursor("from");be.composing&&be.composing.range.clear(),be.composing={start:mt,range:ge.markText(mt,ge.getCursor("to"),{className:"CodeMirror-composing"})}}),zt(Oe,"compositionend",function(){be.composing&&(be.poll(),be.composing.range.clear(),be.composing=null)})},bo.prototype.createField=function(x){this.wrapper=Fd(),this.textarea=this.wrapper.firstChild},bo.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},bo.prototype.prepareSelection=function(){var x=this.cm,te=x.display,be=x.doc,ge=Xu(x);if(x.options.moveInputWithCursor){var Oe=$o(x,be.sel.primary().head,"div"),$e=te.wrapper.getBoundingClientRect(),mt=te.lineDiv.getBoundingClientRect();ge.teTop=Math.max(0,Math.min(te.wrapper.clientHeight-10,Oe.top+mt.top-$e.top)),ge.teLeft=Math.max(0,Math.min(te.wrapper.clientWidth-10,Oe.left+mt.left-$e.left))}return ge},bo.prototype.showSelection=function(x){var te=this.cm,be=te.display;De(be.cursorDiv,x.cursors),De(be.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},bo.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var te=this.cm;if(te.somethingSelected()){this.prevInput="";var be=te.getSelection();this.textarea.value=be,te.state.focused&&qe(this.textarea),ve&&ne>=9&&(this.hasSelection=be)}else x||(this.prevInput=this.textarea.value="",ve&&ne>=9&&(this.hasSelection=null))}},bo.prototype.getField=function(){return this.textarea},bo.prototype.supportsTouch=function(){return!1},bo.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!me||Ie()!=this.textarea))try{this.textarea.focus()}catch(x){}},bo.prototype.blur=function(){this.textarea.blur()},bo.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},bo.prototype.receivedFocus=function(){this.slowPoll()},bo.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},bo.prototype.fastPoll=function(){var x=!1,te=this;te.pollingFast=!0;function be(){var ge=te.poll();!ge&&!x?(x=!0,te.polling.set(60,be)):(te.pollingFast=!1,te.slowPoll())}te.polling.set(20,be)},bo.prototype.poll=function(){var x=this,te=this.cm,be=this.textarea,ge=this.prevInput;if(this.contextMenuPending||!te.state.focused||er(be)&&!ge&&!this.composing||te.isReadOnly()||te.options.disableInput||te.state.keySeq)return!1;var Oe=be.value;if(Oe==ge&&!te.somethingSelected())return!1;if(ve&&ne>=9&&this.hasSelection===Oe||we&&/[\uf700-\uf7ff]/.test(Oe))return te.display.input.reset(),!1;if(te.doc.sel==te.display.selForContextMenu){var $e=Oe.charCodeAt(0);if($e==8203&&!ge&&(ge="\u200B"),$e==8666)return this.reset(),this.cm.execCommand("undo")}for(var mt=0,Ct=Math.min(ge.length,Oe.length);mt<Ct&&ge.charCodeAt(mt)==Oe.charCodeAt(mt);)++mt;return tn(te,function(){Nd(te,Oe.slice(mt),ge.length-mt,null,x.composing?"*compose":null),Oe.length>1e3||Oe.indexOf(`
`)>-1?be.value=x.prevInput="":x.prevInput=Oe,x.composing&&(x.composing.range.clear(),x.composing.range=te.markText(x.composing.start,te.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},bo.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},bo.prototype.onKeyPress=function(){ve&&ne>=9&&(this.hasSelection=null),this.fastPoll()},bo.prototype.onContextMenu=function(x){var te=this,be=te.cm,ge=be.display,Oe=te.textarea;te.contextMenuPending&&te.contextMenuPending();var $e=Js(be,x),mt=ge.scroller.scrollTop;if(!$e||le)return;var Ct=be.options.resetSelectionOnContextMenu;Ct&&be.doc.sel.contains($e)==-1&&Mn(be,Ua)(be.doc,la($e),tt);var Ot=Oe.style.cssText,_t=te.wrapper.style.cssText,an=te.wrapper.offsetParent.getBoundingClientRect();te.wrapper.style.cssText="position: static",Oe.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(x.clientY-an.top-5)+"px; left: "+(x.clientX-an.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 vn;ee&&(vn=window.scrollY),ge.input.focus(),ee&&window.scrollTo(null,vn),ge.input.reset(),be.somethingSelected()||(Oe.value=te.prevInput=" "),te.contextMenuPending=Nn,ge.selForContextMenu=be.doc.sel,clearTimeout(ge.detectingSelectAll);function Wn(){if(Oe.selectionStart!=null){var Fr=be.somethingSelected(),si="\u200B"+(Fr?Oe.value:"");Oe.value="\u21DA",Oe.value=si,te.prevInput=Fr?"":"\u200B",Oe.selectionStart=1,Oe.selectionEnd=si.length,ge.selForContextMenu=be.doc.sel}}function Nn(){if(te.contextMenuPending==Nn&&(te.contextMenuPending=!1,te.wrapper.style.cssText=_t,Oe.style.cssText=Ot,ve&&ne<9&&ge.scrollbars.setScrollTop(ge.scroller.scrollTop=mt),Oe.selectionStart!=null)){(!ve||ve&&ne<9)&&Wn();var Fr=0,si=function(){ge.selForContextMenu==be.doc.sel&&Oe.selectionStart==0&&Oe.selectionEnd>0&&te.prevInput=="\u200B"?Mn(be,Ss)(be):Fr++<10?ge.detectingSelectAll=setTimeout(si,500):(ge.selForContextMenu=null,ge.input.reset())};ge.detectingSelectAll=setTimeout(si,200)}}if(ve&&ne>=9&&Wn(),Le){Hn(x);var vr=function(){St(window,"mouseup",vr),setTimeout(Nn,20)};zt(window,"mouseup",vr)}else setTimeout(Nn,50)},bo.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},bo.prototype.setUneditable=function(){},bo.prototype.needsContentAttribute=!1;function Zc(x,te){if(te=te?st(te):{},te.value=x.value,!te.tabindex&&x.tabIndex&&(te.tabindex=x.tabIndex),!te.placeholder&&x.placeholder&&(te.placeholder=x.placeholder),te.autofocus==null){var be=Ie();te.autofocus=be==x||x.getAttribute("autofocus")!=null&&be==document.body}function ge(){x.value=Ct.getValue()}var Oe;if(x.form&&(zt(x.form,"submit",ge),!te.leaveSubmitMethodAlone)){var $e=x.form;Oe=$e.submit;try{var mt=$e.submit=function(){ge(),$e.submit=Oe,$e.submit(),$e.submit=mt}}catch(Ot){}}te.finishInit=function(Ot){Ot.save=ge,Ot.getTextArea=function(){return x},Ot.toTextArea=function(){Ot.toTextArea=isNaN,ge(),x.parentNode.removeChild(Ot.getWrapperElement()),x.style.display="",x.form&&(St(x.form,"submit",ge),!te.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=Oe))}},x.style.display="none";var Ct=ma(function(Ot){return x.parentNode.insertBefore(Ot,x.nextSibling)},te);return Ct}function hu(x){x.off=St,x.on=zt,x.wheelEventPixels=Xi,x.Doc=Ro,x.splitLines=Gn,x.countColumn=Ve,x.findColumn=yt,x.isWordChar=He,x.Pass=at,x.signal=ft,x.Line=$r,x.changeEnd=_a,x.scrollbarModel=Eu,x.Pos=nn,x.cmpPos=In,x.modes=Dr,x.mimeModes=Xn,x.resolveMode=nr,x.getMode=Zn,x.modeExtensions=Pr,x.extendMode=Ht,x.copyState=kt,x.startState=Lt,x.innerMode=Rt,x.commands=Es,x.keyMap=oo,x.keyName=Fl,x.isModifierKey=Wc,x.lookupKey=Al,x.normalizeKeyMap=cu,x.StringStream=Bt,x.SharedTextMarker=Ta,x.TextMarker=Yl,x.LineWidget=rs,x.e_preventDefault=rn,x.e_stopPropagation=En,x.e_stop=Hn,x.addClass=Ye,x.contains=Xe,x.rmClass=_e,x.keyNames=ol}sh(ma),zd(ma);var hc="iter insert remove copy getEditor constructor".split(" ");for(var Dl in Ro.prototype)Ro.prototype.hasOwnProperty(Dl)&&nt(hc,Dl)<0&&(ma.prototype[Dl]=function(x){return function(){return x.apply(this.doc,arguments)}}(Ro.prototype[Dl]));return Zt(Ro),ma.inputStyles={textarea:bo,contenteditable:po},ma.defineMode=function(x){!ma.defaults.mode&&x!="null"&&(ma.defaults.mode=x),$n.apply(this,arguments)},ma.defineMIME=wr,ma.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),ma.defineMIME("text/plain","null"),ma.defineExtension=function(x,te){ma.prototype[x]=te},ma.defineDocExtension=function(x,te){Ro.prototype[x]=te},ma.fromTextArea=Zc,hu(ma),ma.version="5.58.2",ma})},25419:function(kn,Qt,Te){(function(Ne){Ne(Te(89780),Te(15525),Te(98101))})(function(Ne){"use strict";Ne.defineMode("markdown",function(bt,E){var je=Ne.getMode(bt,"text/html"),ve=je.name=="null";function ne(Ve){if(Ne.findModeByName){var Qe=Ne.findModeByName(Ve);Qe&&(Ve=Qe.mime||Qe.mimes[0])}var nt=Ne.getMode(bt,Ve);return nt.name=="null"?null:nt}E.highlightFormatting===void 0&&(E.highlightFormatting=!1),E.maxBlockquoteDepth===void 0&&(E.maxBlockquoteDepth=0),E.taskLists===void 0&&(E.taskLists=!1),E.strikethrough===void 0&&(E.strikethrough=!1),E.emoji===void 0&&(E.emoji=!1),E.fencedCodeBlockHighlighting===void 0&&(E.fencedCodeBlockHighlighting=!0),E.fencedCodeBlockDefaultMode===void 0&&(E.fencedCodeBlockDefaultMode="text/plain"),E.xml===void 0&&(E.xml=!0),E.tokenTypeOverrides===void 0&&(E.tokenTypeOverrides={});var ee={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 ee)ee.hasOwnProperty(ie)&&E.tokenTypeOverrides[ie]&&(ee[ie]=E.tokenTypeOverrides[ie]);var oe=/^([*\-_])(?:\s*\1){2,}\s*$/,le=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,pe=/^\[(x| )\](?=\s)/i,re=E.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,ae=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ce=/^[^#!\[\]*_\\<>` "'(~:]+/,de=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,me=/^\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]/,xe=" ";function Ae(Ve,Qe,nt){return Qe.f=Qe.inline=nt,nt(Ve,Qe)}function ye(Ve,Qe,nt){return Qe.f=Qe.block=nt,nt(Ve,Qe)}function Ee(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 Qe=ve;if(!Qe){var nt=Ne.innerMode(je,Ve.htmlState);Qe=nt.mode.name=="xml"&&nt.state.tagStart===null&&!nt.state.context&&nt.state.tokenize.isInText}Qe&&(Ve.f=Be,Ve.block=Ce,Ve.htmlState=null)}return Ve.trailingSpace=0,Ve.trailingSpaceNewLine=!1,Ve.prevLine=Ve.thisLine,Ve.thisLine={stream:null},null}function Ce(Ve,Qe){var nt=Ve.column()===Qe.indentation,dt=Ee(Qe.prevLine.stream),at=Qe.indentedCode,tt=Qe.prevLine.hr,et=Qe.list!==!1,ot=(Qe.listStack[Qe.listStack.length-1]||0)+3;Qe.indentedCode=!1;var yt=Qe.indentation;if(Qe.indentationDiff===null&&(Qe.indentationDiff=Qe.indentation,et)){for(Qe.list=null;yt<Qe.listStack[Qe.listStack.length-1];)Qe.listStack.pop(),Qe.listStack.length?Qe.indentation=Qe.listStack[Qe.listStack.length-1]:Qe.list=!1;Qe.list!==!1&&(Qe.indentationDiff=yt-Qe.listStack[Qe.listStack.length-1])}var pt=!dt&&!tt&&!Qe.prevLine.header&&(!et||!at)&&!Qe.prevLine.fencedCodeEnd,Pt=(Qe.list===!1||tt||dt)&&Qe.indentation<=ot&&Ve.match(oe),Mt=null;if(Qe.indentationDiff>=4&&(at||Qe.prevLine.fencedCodeEnd||Qe.prevLine.header||dt))return Ve.skipToEnd(),Qe.indentedCode=!0,ee.code;if(Ve.eatSpace())return null;if(nt&&Qe.indentation<=ot&&(Mt=Ve.match(re))&&Mt[1].length<=6)return Qe.quote=0,Qe.header=Mt[1].length,Qe.thisLine.header=!0,E.highlightFormatting&&(Qe.formatting="header"),Qe.f=Qe.inline,De(Qe);if(Qe.indentation<=ot&&Ve.eat(">"))return Qe.quote=nt?1:Qe.quote+1,E.highlightFormatting&&(Qe.formatting="quote"),Ve.eatSpace(),De(Qe);if(!Pt&&!Qe.setext&&nt&&Qe.indentation<=ot&&(Mt=Ve.match(le))){var ct=Mt[1]?"ol":"ul";return Qe.indentation=yt+Ve.current().length,Qe.list=!0,Qe.quote=0,Qe.listStack.push(Qe.indentation),Qe.em=!1,Qe.strong=!1,Qe.code=!1,Qe.strikethrough=!1,E.taskLists&&Ve.match(pe,!1)&&(Qe.taskList=!0),Qe.f=Qe.inline,E.highlightFormatting&&(Qe.formatting=["list","list-"+ct]),De(Qe)}else{if(nt&&Qe.indentation<=ot&&(Mt=Ve.match(de,!0)))return Qe.quote=0,Qe.fencedEndRE=new RegExp(Mt[1]+"+ *$"),Qe.localMode=E.fencedCodeBlockHighlighting&&ne(Mt[2]||E.fencedCodeBlockDefaultMode),Qe.localMode&&(Qe.localState=Ne.startState(Qe.localMode)),Qe.f=Qe.block=Me,E.highlightFormatting&&(Qe.formatting="code-block"),Qe.code=-1,De(Qe);if(Qe.setext||(!pt||!et)&&!Qe.quote&&Qe.list===!1&&!Qe.code&&!Pt&&!me.test(Ve.string)&&(Mt=Ve.lookAhead(1))&&(Mt=Mt.match(ae)))return Qe.setext?(Qe.header=Qe.setext,Qe.setext=0,Ve.skipToEnd(),E.highlightFormatting&&(Qe.formatting="header")):(Qe.header=Mt[0].charAt(0)=="="?1:2,Qe.setext=Qe.header),Qe.thisLine.header=!0,Qe.f=Qe.inline,De(Qe);if(Pt)return Ve.skipToEnd(),Qe.hr=!0,Qe.thisLine.hr=!0,ee.hr;if(Ve.peek()==="[")return Ae(Ve,Qe,Ge)}return Ae(Ve,Qe,Qe.inline)}function _e(Ve,Qe){var nt=je.token(Ve,Qe.htmlState);if(!ve){var dt=Ne.innerMode(je,Qe.htmlState);(dt.mode.name=="xml"&&dt.state.tagStart===null&&!dt.state.context&&dt.state.tokenize.isInText||Qe.md_inside&&Ve.current().indexOf(">")>-1)&&(Qe.f=Be,Qe.block=Ce,Qe.htmlState=null)}return nt}function Me(Ve,Qe){var nt=Qe.listStack[Qe.listStack.length-1]||0,dt=Qe.indentation<nt,at=nt+3;if(Qe.fencedEndRE&&Qe.indentation<=at&&(dt||Ve.match(Qe.fencedEndRE))){E.highlightFormatting&&(Qe.formatting="code-block");var tt;return dt||(tt=De(Qe)),Qe.localMode=Qe.localState=null,Qe.block=Ce,Qe.f=Be,Qe.fencedEndRE=null,Qe.code=0,Qe.thisLine.fencedCodeEnd=!0,dt?ye(Ve,Qe,Qe.block):tt}else return Qe.localMode?Qe.localMode.token(Ve,Qe.localState):(Ve.skipToEnd(),ee.code)}function De(Ve){var Qe=[];if(Ve.formatting){Qe.push(ee.formatting),typeof Ve.formatting=="string"&&(Ve.formatting=[Ve.formatting]);for(var nt=0;nt<Ve.formatting.length;nt++)Qe.push(ee.formatting+"-"+Ve.formatting[nt]),Ve.formatting[nt]==="header"&&Qe.push(ee.formatting+"-"+Ve.formatting[nt]+"-"+Ve.header),Ve.formatting[nt]==="quote"&&(!E.maxBlockquoteDepth||E.maxBlockquoteDepth>=Ve.quote?Qe.push(ee.formatting+"-"+Ve.formatting[nt]+"-"+Ve.quote):Qe.push("error"))}if(Ve.taskOpen)return Qe.push("meta"),Qe.length?Qe.join(" "):null;if(Ve.taskClosed)return Qe.push("property"),Qe.length?Qe.join(" "):null;if(Ve.linkHref?Qe.push(ee.linkHref,"url"):(Ve.strong&&Qe.push(ee.strong),Ve.em&&Qe.push(ee.em),Ve.strikethrough&&Qe.push(ee.strikethrough),Ve.emoji&&Qe.push(ee.emoji),Ve.linkText&&Qe.push(ee.linkText),Ve.code&&Qe.push(ee.code),Ve.image&&Qe.push(ee.image),Ve.imageAltText&&Qe.push(ee.imageAltText,"link"),Ve.imageMarker&&Qe.push(ee.imageMarker)),Ve.header&&Qe.push(ee.header,ee.header+"-"+Ve.header),Ve.quote&&(Qe.push(ee.quote),!E.maxBlockquoteDepth||E.maxBlockquoteDepth>=Ve.quote?Qe.push(ee.quote+"-"+Ve.quote):Qe.push(ee.quote+"-"+E.maxBlockquoteDepth)),Ve.list!==!1){var dt=(Ve.listStack.length-1)%3;dt?dt===1?Qe.push(ee.list2):Qe.push(ee.list3):Qe.push(ee.list1)}return Ve.trailingSpaceNewLine?Qe.push("trailing-space-new-line"):Ve.trailingSpace&&Qe.push("trailing-space-"+(Ve.trailingSpace%2?"a":"b")),Qe.length?Qe.join(" "):null}function Se(Ve,Qe){if(Ve.match(ce,!0))return De(Qe)}function Be(Ve,Qe){var nt=Qe.text(Ve,Qe);if(typeof nt!="undefined")return nt;if(Qe.list)return Qe.list=null,De(Qe);if(Qe.taskList){var dt=Ve.match(pe,!0)[1]===" ";return dt?Qe.taskOpen=!0:Qe.taskClosed=!0,E.highlightFormatting&&(Qe.formatting="task"),Qe.taskList=!1,De(Qe)}if(Qe.taskOpen=!1,Qe.taskClosed=!1,Qe.header&&Ve.match(/^#+$/,!0))return E.highlightFormatting&&(Qe.formatting="header"),De(Qe);var at=Ve.next();if(Qe.linkTitle){Qe.linkTitle=!1;var tt=at;at==="("&&(tt=")"),tt=(tt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var et="^\\s*(?:[^"+tt+"\\\\]+|\\\\\\\\|\\\\.)"+tt;if(Ve.match(new RegExp(et),!0))return ee.linkHref}if(at==="`"){var ot=Qe.formatting;E.highlightFormatting&&(Qe.formatting="code"),Ve.eatWhile("`");var yt=Ve.current().length;if(Qe.code==0&&(!Qe.quote||yt==1))return Qe.code=yt,De(Qe);if(yt==Qe.code){var pt=De(Qe);return Qe.code=0,pt}else return Qe.formatting=ot,De(Qe)}else if(Qe.code)return De(Qe);if(at==="\\"&&(Ve.next(),E.highlightFormatting)){var Pt=De(Qe),Mt=ee.formatting+"-escape";return Pt?Pt+" "+Mt:Mt}if(at==="!"&&Ve.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Qe.imageMarker=!0,Qe.image=!0,E.highlightFormatting&&(Qe.formatting="image"),De(Qe);if(at==="["&&Qe.imageMarker&&Ve.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Qe.imageMarker=!1,Qe.imageAltText=!0,E.highlightFormatting&&(Qe.formatting="image"),De(Qe);if(at==="]"&&Qe.imageAltText){E.highlightFormatting&&(Qe.formatting="image");var Pt=De(Qe);return Qe.imageAltText=!1,Qe.image=!1,Qe.inline=Qe.f=Xe,Pt}if(at==="["&&!Qe.image)return Qe.linkText&&Ve.match(/^.*?\]/)||(Qe.linkText=!0,E.highlightFormatting&&(Qe.formatting="link")),De(Qe);if(at==="]"&&Qe.linkText){E.highlightFormatting&&(Qe.formatting="link");var Pt=De(Qe);return Qe.linkText=!1,Qe.inline=Qe.f=Ve.match(/\(.*?\)| ?\[.*?\]/,!1)?Xe:Be,Pt}if(at==="<"&&Ve.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Qe.f=Qe.inline=Re,E.highlightFormatting&&(Qe.formatting="link");var Pt=De(Qe);return Pt?Pt+=" ":Pt="",Pt+ee.linkInline}if(at==="<"&&Ve.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Qe.f=Qe.inline=Re,E.highlightFormatting&&(Qe.formatting="link");var Pt=De(Qe);return Pt?Pt+=" ":Pt="",Pt+ee.linkEmail}if(E.xml&&at==="<"&&Ve.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ct=Ve.string.indexOf(">",Ve.pos);if(ct!=-1){var Je=Ve.string.substring(Ve.start,ct);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Je)&&(Qe.md_inside=!0)}return Ve.backUp(1),Qe.htmlState=Ne.startState(je),ye(Ve,Qe,_e)}if(E.xml&&at==="<"&&Ve.match(/^\/\w*?>/))return Qe.md_inside=!1,"tag";if(at==="*"||at==="_"){for(var Ze=1,ue=Ve.pos==1?" ":Ve.string.charAt(Ve.pos-2);Ze<3&&Ve.eat(at);)Ze++;var he=Ve.peek()||" ",He=!/\s/.test(he)&&(!we.test(he)||/\s/.test(ue)||we.test(ue)),We=!/\s/.test(ue)&&(!we.test(ue)||/\s/.test(he)||we.test(he)),fe=null,Pe=null;if(Ze%2&&(!Qe.em&&He&&(at==="*"||!We||we.test(ue))?fe=!0:Qe.em==at&&We&&(at==="*"||!He||we.test(he))&&(fe=!1)),Ze>1&&(!Qe.strong&&He&&(at==="*"||!We||we.test(ue))?Pe=!0:Qe.strong==at&&We&&(at==="*"||!He||we.test(he))&&(Pe=!1)),Pe!=null||fe!=null){E.highlightFormatting&&(Qe.formatting=fe==null?"strong":Pe==null?"em":"strong em"),fe===!0&&(Qe.em=at),Pe===!0&&(Qe.strong=at);var pt=De(Qe);return fe===!1&&(Qe.em=!1),Pe===!1&&(Qe.strong=!1),pt}}else if(at===" "&&(Ve.eat("*")||Ve.eat("_"))){if(Ve.peek()===" ")return De(Qe);Ve.backUp(1)}if(E.strikethrough){if(at==="~"&&Ve.eatWhile(at)){if(Qe.strikethrough){E.highlightFormatting&&(Qe.formatting="strikethrough");var pt=De(Qe);return Qe.strikethrough=!1,pt}else if(Ve.match(/^[^\s]/,!1))return Qe.strikethrough=!0,E.highlightFormatting&&(Qe.formatting="strikethrough"),De(Qe)}else if(at===" "&&Ve.match(/^~~/,!0)){if(Ve.peek()===" ")return De(Qe);Ve.backUp(2)}}if(E.emoji&&at===":"&&Ve.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Qe.emoji=!0,E.highlightFormatting&&(Qe.formatting="emoji");var Fe=De(Qe);return Qe.emoji=!1,Fe}return at===" "&&(Ve.match(/^ +$/,!1)?Qe.trailingSpace++:Qe.trailingSpace&&(Qe.trailingSpaceNewLine=!0)),De(Qe)}function Re(Ve,Qe){var nt=Ve.next();if(nt===">"){Qe.f=Qe.inline=Be,E.highlightFormatting&&(Qe.formatting="link");var dt=De(Qe);return dt?dt+=" ":dt="",dt+ee.linkInline}return Ve.match(/^[^>]+/,!0),ee.linkInline}function Xe(Ve,Qe){if(Ve.eatSpace())return null;var nt=Ve.next();return nt==="("||nt==="["?(Qe.f=Qe.inline=Ye(nt==="("?")":"]"),E.highlightFormatting&&(Qe.formatting="link-string"),Qe.linkHref=!0,De(Qe)):"error"}var Ie={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ye(Ve){return function(Qe,nt){var dt=Qe.next();if(dt===Ve){nt.f=nt.inline=Be,E.highlightFormatting&&(nt.formatting="link-string");var at=De(nt);return nt.linkHref=!1,at}return Qe.match(Ie[Ve]),nt.linkHref=!0,De(nt)}}function Ge(Ve,Qe){return Ve.match(/^([^\]\\]|\\.)*\]:/,!1)?(Qe.f=qe,Ve.next(),E.highlightFormatting&&(Qe.formatting="link"),Qe.linkText=!0,De(Qe)):Ae(Ve,Qe,Be)}function qe(Ve,Qe){if(Ve.match(/^\]:/,!0)){Qe.f=Qe.inline=it,E.highlightFormatting&&(Qe.formatting="link");var nt=De(Qe);return Qe.linkText=!1,nt}return Ve.match(/^([^\]\\]|\\.)+/,!0),ee.linkText}function it(Ve,Qe){return Ve.eatSpace()?null:(Ve.match(/^[^\s]+/,!0),Ve.peek()===void 0?Qe.linkTitle=!0:Ve.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Qe.f=Qe.inline=Be,ee.linkHref+" url")}var st={startState:function(){return{f:Ce,prevLine:{stream:null},thisLine:{stream:null},block:Ce,htmlState:null,indentation:0,inline:Be,text:Se,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&&Ne.copyState(je,Ve.htmlState),indentation:Ve.indentation,localMode:Ve.localMode,localState:Ve.localMode?Ne.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,Qe){if(Qe.formatting=!1,Ve!=Qe.thisLine.stream){if(Qe.header=0,Qe.hr=!1,Ve.match(/^\s*$/,!0))return Le(Qe),null;if(Qe.prevLine=Qe.thisLine,Qe.thisLine={stream:Ve},Qe.taskList=!1,Qe.trailingSpace=0,Qe.trailingSpaceNewLine=!1,!Qe.localState&&(Qe.f=Qe.block,Qe.f!=_e)){var nt=Ve.match(/^\s*/,!0)[0].replace(/\t/g,xe).length;if(Qe.indentation=nt,Qe.indentationDiff=null,nt>0)return null}}return Qe.f(Ve,Qe)},innerMode:function(Ve){return Ve.block==_e?{state:Ve.htmlState,mode:je}:Ve.localState?{state:Ve.localState,mode:Ve.localMode}:{state:Ve,mode:st}},indent:function(Ve,Qe,nt){return Ve.block==_e&&je.indent?je.indent(Ve.htmlState,Qe,nt):Ve.localState&&Ve.localMode.indent?Ve.localMode.indent(Ve.localState,Qe,nt):Ne.Pass},blankLine:Le,getType:De,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return st},"xml"),Ne.defineMIME("text/markdown","markdown"),Ne.defineMIME("text/x-markdown","markdown")})},98101:function(kn,Qt,Te){(function(Ne){Ne(Te(89780))})(function(Ne){"use strict";Ne.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var bt=0;bt<Ne.modeInfo.length;bt++){var E=Ne.modeInfo[bt];E.mimes&&(E.mime=E.mimes[0])}Ne.findModeByMIME=function(je){je=je.toLowerCase();for(var ve=0;ve<Ne.modeInfo.length;ve++){var ne=Ne.modeInfo[ve];if(ne.mime==je)return ne;if(ne.mimes){for(var ee=0;ee<ne.mimes.length;ee++)if(ne.mimes[ee]==je)return ne}}if(/\+xml$/.test(je))return Ne.findModeByMIME("application/xml");if(/\+json$/.test(je))return Ne.findModeByMIME("application/json")},Ne.findModeByExtension=function(je){je=je.toLowerCase();for(var ve=0;ve<Ne.modeInfo.length;ve++){var ne=Ne.modeInfo[ve];if(ne.ext){for(var ee=0;ee<ne.ext.length;ee++)if(ne.ext[ee]==je)return ne}}},Ne.findModeByFileName=function(je){for(var ve=0;ve<Ne.modeInfo.length;ve++){var ne=Ne.modeInfo[ve];if(ne.file&&ne.file.test(je))return ne}var ee=je.lastIndexOf("."),ie=ee>-1&&je.substring(ee+1,je.length);if(ie)return Ne.findModeByExtension(ie)},Ne.findModeByName=function(je){je=je.toLowerCase();for(var ve=0;ve<Ne.modeInfo.length;ve++){var ne=Ne.modeInfo[ve];if(ne.name.toLowerCase()==je)return ne;if(ne.alias){for(var ee=0;ee<ne.alias.length;ee++)if(ne.alias[ee].toLowerCase()==je)return ne}}}})},67549:function(kn,Qt,Te){(function(Ne){Ne(Te(89780))})(function(Ne){"use strict";Ne.defineMode("stex",function(bt,E){"use strict";function je(ce,de){ce.cmdState.push(de)}function ve(ce){return ce.cmdState.length>0?ce.cmdState[ce.cmdState.length-1]:null}function ne(ce){var de=ce.cmdState.pop();de&&de.closeBracket()}function ee(ce){for(var de=ce.cmdState,me=de.length-1;me>=0;me--){var we=de[me];if(we.name!="DEFAULT")return we}return{styleIdentifier:function(){return null}}}function ie(ce,de,me){return function(){this.name=ce,this.bracketNo=0,this.style=de,this.styles=me,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(ce,de){ce.f=de}function pe(ce,de){var me;if(ce.match(/^\\[a-zA-Z@]+/)){var we=ce.current().slice(1);return me=oe.hasOwnProperty(we)?oe[we]:oe.DEFAULT,me=new me,je(de,me),le(de,ae),me.style}if(ce.match(/^\\[$&%#{}_]/)||ce.match(/^\\[,;!\/\\]/))return"tag";if(ce.match("\\["))return le(de,function(Ae,ye){return re(Ae,ye,"\\]")}),"keyword";if(ce.match("\\("))return le(de,function(Ae,ye){return re(Ae,ye,"\\)")}),"keyword";if(ce.match("$$"))return le(de,function(Ae,ye){return re(Ae,ye,"$$")}),"keyword";if(ce.match("$"))return le(de,function(Ae,ye){return re(Ae,ye,"$")}),"keyword";var xe=ce.next();if(xe=="%")return ce.skipToEnd(),"comment";if(xe=="}"||xe=="]"){if(me=ve(de),me)me.closeBracket(xe),le(de,ae);else return"error";return"bracket"}else return xe=="{"||xe=="["?(me=oe.DEFAULT,me=new me,je(de,me),"bracket"):/\d/.test(xe)?(ce.eatWhile(/[\w.%]/),"atom"):(ce.eatWhile(/[\w\-_]/),me=ee(de),me.name=="begin"&&(me.argument=ce.current()),me.styleIdentifier())}function re(ce,de,me){if(ce.eatSpace())return null;if(me&&ce.match(me))return le(de,pe),"keyword";if(ce.match(/^\\[a-zA-Z@]+/))return"tag";if(ce.match(/^[a-zA-Z]+/))return"variable-2";if(ce.match(/^\\[$&%#{}_]/)||ce.match(/^\\[,;!\/]/)||ce.match(/^[\^_&]/))return"tag";if(ce.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ce.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var we=ce.next();return we=="{"||we=="}"||we=="["||we=="]"||we=="("||we==")"?"bracket":we=="%"?(ce.skipToEnd(),"comment"):"error"}function ae(ce,de){var me=ce.peek(),we;return me=="{"||me=="["?(we=ve(de),we.openBracket(me),ce.eat(me),le(de,pe),"bracket"):/[ \t\r]/.test(me)?(ce.eat(me),null):(le(de,pe),ne(de),pe(ce,de))}return{startState:function(){var ce=E.inMathMode?function(de,me){return re(de,me)}:pe;return{cmdState:[],f:ce}},copyState:function(ce){return{cmdState:ce.cmdState.slice(),f:ce.f}},token:function(ce,de){return de.f(ce,de)},blankLine:function(ce){ce.f=pe,ce.cmdState.length=0},lineComment:"%"}}),Ne.defineMIME("text/x-stex","stex"),Ne.defineMIME("text/x-latex","stex")})},15525:function(kn,Qt,Te){(function(Ne){Ne(Te(89780))})(function(Ne){"use strict";var bt={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},E={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};Ne.defineMode("xml",function(je,ve){var ne=je.indentUnit,ee={},ie=ve.htmlMode?bt:E;for(var oe in ie)ee[oe]=ie[oe];for(var oe in ve)ee[oe]=ve[oe];var le,pe;function re(Re,Xe){function Ie(qe){return Xe.tokenize=qe,qe(Re,Xe)}var Ye=Re.next();if(Ye=="<")return Re.eat("!")?Re.eat("[")?Re.match("CDATA[")?Ie(de("atom","]]>")):null:Re.match("--")?Ie(de("comment","-->")):Re.match("DOCTYPE",!0,!0)?(Re.eatWhile(/[\w\._\-]/),Ie(me(1))):null:Re.eat("?")?(Re.eatWhile(/[\w\._\-]/),Xe.tokenize=de("meta","?>"),"meta"):(le=Re.eat("/")?"closeTag":"openTag",Xe.tokenize=ae,"tag bracket");if(Ye=="&"){var Ge;return Re.eat("#")?Re.eat("x")?Ge=Re.eatWhile(/[a-fA-F\d]/)&&Re.eat(";"):Ge=Re.eatWhile(/[\d]/)&&Re.eat(";"):Ge=Re.eatWhile(/[\w\.\-:]/)&&Re.eat(";"),Ge?"atom":"error"}else return Re.eatWhile(/[^&<]/),null}re.isInText=!0;function ae(Re,Xe){var Ie=Re.next();if(Ie==">"||Ie=="/"&&Re.eat(">"))return Xe.tokenize=re,le=Ie==">"?"endTag":"selfcloseTag","tag bracket";if(Ie=="=")return le="equals",null;if(Ie=="<"){Xe.tokenize=re,Xe.state=ye,Xe.tagName=Xe.tagStart=null;var Ye=Xe.tokenize(Re,Xe);return Ye?Ye+" tag error":"tag error"}else return/[\'\"]/.test(Ie)?(Xe.tokenize=ce(Ie),Xe.stringStartCol=Re.column(),Xe.tokenize(Re,Xe)):(Re.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ce(Re){var Xe=function(Ie,Ye){for(;!Ie.eol();)if(Ie.next()==Re){Ye.tokenize=ae;break}return"string"};return Xe.isInAttribute=!0,Xe}function de(Re,Xe){return function(Ie,Ye){for(;!Ie.eol();){if(Ie.match(Xe)){Ye.tokenize=re;break}Ie.next()}return Re}}function me(Re){return function(Xe,Ie){for(var Ye;(Ye=Xe.next())!=null;){if(Ye=="<")return Ie.tokenize=me(Re+1),Ie.tokenize(Xe,Ie);if(Ye==">")if(Re==1){Ie.tokenize=re;break}else return Ie.tokenize=me(Re-1),Ie.tokenize(Xe,Ie)}return"meta"}}function we(Re,Xe,Ie){this.prev=Re.context,this.tagName=Xe,this.indent=Re.indented,this.startOfLine=Ie,(ee.doNotIndent.hasOwnProperty(Xe)||Re.context&&Re.context.noIndent)&&(this.noIndent=!0)}function xe(Re){Re.context&&(Re.context=Re.context.prev)}function Ae(Re,Xe){for(var Ie;;){if(!Re.context||(Ie=Re.context.tagName,!ee.contextGrabbers.hasOwnProperty(Ie)||!ee.contextGrabbers[Ie].hasOwnProperty(Xe)))return;xe(Re)}}function ye(Re,Xe,Ie){return Re=="openTag"?(Ie.tagStart=Xe.column(),Ee):Re=="closeTag"?Le:ye}function Ee(Re,Xe,Ie){return Re=="word"?(Ie.tagName=Xe.current(),pe="tag",Me):ee.allowMissingTagName&&Re=="endTag"?(pe="tag bracket",Me(Re,Xe,Ie)):(pe="error",Ee)}function Le(Re,Xe,Ie){if(Re=="word"){var Ye=Xe.current();return Ie.context&&Ie.context.tagName!=Ye&&ee.implicitlyClosed.hasOwnProperty(Ie.context.tagName)&&xe(Ie),Ie.context&&Ie.context.tagName==Ye||ee.matchClosing===!1?(pe="tag",Ce):(pe="tag error",_e)}else return ee.allowMissingTagName&&Re=="endTag"?(pe="tag bracket",Ce(Re,Xe,Ie)):(pe="error",_e)}function Ce(Re,Xe,Ie){return Re!="endTag"?(pe="error",Ce):(xe(Ie),ye)}function _e(Re,Xe,Ie){return pe="error",Ce(Re,Xe,Ie)}function Me(Re,Xe,Ie){if(Re=="word")return pe="attribute",De;if(Re=="endTag"||Re=="selfcloseTag"){var Ye=Ie.tagName,Ge=Ie.tagStart;return Ie.tagName=Ie.tagStart=null,Re=="selfcloseTag"||ee.autoSelfClosers.hasOwnProperty(Ye)?Ae(Ie,Ye):(Ae(Ie,Ye),Ie.context=new we(Ie,Ye,Ge==Ie.indented)),ye}return pe="error",Me}function De(Re,Xe,Ie){return Re=="equals"?Se:(ee.allowMissing||(pe="error"),Me(Re,Xe,Ie))}function Se(Re,Xe,Ie){return Re=="string"?Be:Re=="word"&&ee.allowUnquoted?(pe="string",Me):(pe="error",Me(Re,Xe,Ie))}function Be(Re,Xe,Ie){return Re=="string"?Be:Me(Re,Xe,Ie)}return{startState:function(Re){var Xe={tokenize:re,state:ye,indented:Re||0,tagName:null,tagStart:null,context:null};return Re!=null&&(Xe.baseIndent=Re),Xe},token:function(Re,Xe){if(!Xe.tagName&&Re.sol()&&(Xe.indented=Re.indentation()),Re.eatSpace())return null;le=null;var Ie=Xe.tokenize(Re,Xe);return(Ie||le)&&Ie!="comment"&&(pe=null,Xe.state=Xe.state(le||Ie,Re,Xe),pe&&(Ie=pe=="error"?Ie+" error":pe)),Ie},indent:function(Re,Xe,Ie){var Ye=Re.context;if(Re.tokenize.isInAttribute)return Re.tagStart==Re.indented?Re.stringStartCol+1:Re.indented+ne;if(Ye&&Ye.noIndent)return Ne.Pass;if(Re.tokenize!=ae&&Re.tokenize!=re)return Ie?Ie.match(/^(\s*)/)[0].length:0;if(Re.tagName)return ee.multilineTagIndentPastTag!==!1?Re.tagStart+Re.tagName.length+2:Re.tagStart+ne*(ee.multilineTagIndentFactor||1);if(ee.alignCDATA&&/<!\[CDATA\[/.test(Xe))return 0;var Ge=Xe&&/^<(\/)?([\w_:\.-]*)/.exec(Xe);if(Ge&&Ge[1])for(;Ye;)if(Ye.tagName==Ge[2]){Ye=Ye.prev;break}else if(ee.implicitlyClosed.hasOwnProperty(Ye.tagName))Ye=Ye.prev;else break;else if(Ge)for(;Ye;){var qe=ee.contextGrabbers[Ye.tagName];if(qe&&qe.hasOwnProperty(Ge[2]))Ye=Ye.prev;else break}for(;Ye&&Ye.prev&&!Ye.startOfLine;)Ye=Ye.prev;return Ye?Ye.indent+ne:Re.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ee.htmlMode?"html":"xml",helperType:ee.htmlMode?"html":"xml",skipAttribute:function(Re){Re.state==Se&&(Re.state=Me)},xmlCurrentTag:function(Re){return Re.tagName?{name:Re.tagName,close:Re.type=="closeTag"}:null},xmlCurrentContext:function(Re){for(var Xe=[],Ie=Re.context;Ie;Ie=Ie.prev)Ie.tagName&&Xe.push(Ie.tagName);return Xe.reverse()}}}),Ne.defineMIME("text/xml","xml"),Ne.defineMIME("application/xml","xml"),Ne.mimeModes.hasOwnProperty("text/html")||Ne.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(kn,Qt,Te){"use strict";Te.d(Qt,{hP:function(){return Je}});var Ne=function(Ze,ue){return(Ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(he,He){he.__proto__=He}||function(he,He){for(var We in He)Object.prototype.hasOwnProperty.call(He,We)&&(he[We]=He[We])})(Ze,ue)};function bt(Ze,ue){function he(){this.constructor=Ze}Ne(Ze,ue),Ze.prototype=ue===null?Object.create(ue):(he.prototype=ue.prototype,new he)}function E(Ze,ue,he,He){return new(he||(he=Promise))(function(We,fe){function Pe(Ue){try{Ke(He.next(Ue))}catch(ut){fe(ut)}}function Fe(Ue){try{Ke(He.throw(Ue))}catch(ut){fe(ut)}}function Ke(Ue){var ut;Ue.done?We(Ue.value):(ut=Ue.value,ut instanceof he?ut:new he(function(vt){vt(ut)})).then(Pe,Fe)}Ke((He=He.apply(Ze,ue||[])).next())})}function je(Ze,ue){var he,He,We,fe,Pe={label:0,sent:function(){if(1&We[0])throw We[1];return We[1]},trys:[],ops:[]};return fe={next:Fe(0),throw:Fe(1),return:Fe(2)},typeof Symbol=="function"&&(fe[Symbol.iterator]=function(){return this}),fe;function Fe(Ke){return function(Ue){return function(ut){if(he)throw new TypeError("Generator is already executing.");for(;Pe;)try{if(he=1,He&&(We=2&ut[0]?He.return:ut[0]?He.throw||((We=He.return)&&We.call(He),0):He.next)&&!(We=We.call(He,ut[1])).done)return We;switch(He=0,We&&(ut=[2&ut[0],We.value]),ut[0]){case 0:case 1:We=ut;break;case 4:return Pe.label++,{value:ut[1],done:!1};case 5:Pe.label++,He=ut[1],ut=[0];continue;case 7:ut=Pe.ops.pop(),Pe.trys.pop();continue;default:if(We=Pe.trys,!((We=We.length>0&&We[We.length-1])||ut[0]!==6&&ut[0]!==2)){Pe=0;continue}if(ut[0]===3&&(!We||ut[1]>We[0]&&ut[1]<We[3])){Pe.label=ut[1];break}if(ut[0]===6&&Pe.label<We[1]){Pe.label=We[1],We=ut;break}if(We&&Pe.label<We[2]){Pe.label=We[2],Pe.ops.push(ut);break}We[2]&&Pe.ops.pop(),Pe.trys.pop();continue}ut=ue.call(Ze,Pe)}catch(vt){ut=[6,vt],He=0}finally{he=We=0}if(5&ut[0])throw ut[1];return{value:ut[0]?ut[1]:void 0,done:!0}}([Ke,Ue])}}}function ve(){for(var Ze=0,ue=0,he=arguments.length;ue<he;ue++)Ze+=arguments[ue].length;var He=Array(Ze),We=0;for(ue=0;ue<he;ue++)for(var fe=arguments[ue],Pe=0,Fe=fe.length;Pe<Fe;Pe++,We++)He[We]=fe[Pe];return He}var ne=function(){function Ze(){}return Ze.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Ze.setAttributes=function(ue,he){for(var He=0,We=he;He<We.length;He++){var fe=We[He],Pe=fe[0],Fe=fe[1];ue.setAttribute(Pe,Fe)}},Ze.createRect=function(ue,he,He){var We=document.createElementNS("http://www.w3.org/2000/svg","rect");return We.setAttribute("width",ue.toString()),We.setAttribute("height",he.toString()),He&&Ze.setAttributes(We,He),We},Ze.createLine=function(ue,he,He,We,fe){var Pe=document.createElementNS("http://www.w3.org/2000/svg","line");return Pe.setAttribute("x1",ue.toString()),Pe.setAttribute("y1",he.toString()),Pe.setAttribute("x2",He.toString()),Pe.setAttribute("y2",We.toString()),fe&&Ze.setAttributes(Pe,fe),Pe},Ze.createPolygon=function(ue,he){var He=document.createElementNS("http://www.w3.org/2000/svg","polygon");return He.setAttribute("points",ue),he&&Ze.setAttributes(He,he),He},Ze.createCircle=function(ue,he){var He=document.createElementNS("http://www.w3.org/2000/svg","circle");return He.setAttribute("cx",(ue/2).toString()),He.setAttribute("cy",(ue/2).toString()),He.setAttribute("r",ue.toString()),he&&Ze.setAttributes(He,he),He},Ze.createEllipse=function(ue,he,He){var We=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return We.setAttribute("cx",(ue/2).toString()),We.setAttribute("cy",(he/2).toString()),We.setAttribute("rx",(ue/2).toString()),We.setAttribute("ry",(he/2).toString()),He&&Ze.setAttributes(We,He),We},Ze.createGroup=function(ue){var he=document.createElementNS("http://www.w3.org/2000/svg","g");return ue&&Ze.setAttributes(he,ue),he},Ze.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Ze.createMarker=function(ue,he,He,We,fe,Pe,Fe){var Ke=document.createElementNS("http://www.w3.org/2000/svg","marker");return Ze.setAttributes(Ke,[["id",ue],["orient",he],["markerWidth",He.toString()],["markerHeight",We.toString()],["refX",fe.toString()],["refY",Pe.toString()]]),Ke.appendChild(Fe),Ke},Ze.createText=function(ue){var he=document.createElementNS("http://www.w3.org/2000/svg","text");return he.setAttribute("x","0"),he.setAttribute("y","0"),ue&&Ze.setAttributes(he,ue),he},Ze.createTSpan=function(ue,he){var He=document.createElementNS("http://www.w3.org/2000/svg","tspan");return He.textContent=ue,he&&Ze.setAttributes(He,he),He},Ze.createImage=function(ue){var he=document.createElementNS("http://www.w3.org/2000/svg","image");return ue&&Ze.setAttributes(he,ue),he},Ze.createPoint=function(ue,he){var He=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return He.x=ue,He.y=he,He},Ze.createPath=function(ue,he){var He=document.createElementNS("http://www.w3.org/2000/svg","path");return He.setAttribute("d",ue),he&&Ze.setAttributes(He,he),He},Ze}(),ee=function(){function Ze(){}return Ze.addKey=function(ue){Ze.key=ue},Object.defineProperty(Ze,"isLicensed",{get:function(){return!!Ze.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Ze.key)},enumerable:!1,configurable:!0}),Ze}(),ie=function(){function Ze(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Ze.prototype.rasterize=function(ue,he,He){var We=this;return new Promise(function(fe){var Pe=He!==void 0?He:document.createElement("canvas");ue===null&&(We.markersOnly=!0,We.naturalSize=!1);var Fe=document.createElementNS("http://www.w3.org/2000/svg","svg");Fe.setAttribute("xmlns","http://www.w3.org/2000/svg"),Fe.setAttribute("width",he.width.baseVal.valueAsString),Fe.setAttribute("height",he.height.baseVal.valueAsString),Fe.setAttribute("viewBox","0 0 "+he.viewBox.baseVal.width.toString()+" "+he.viewBox.baseVal.height.toString()),Fe.innerHTML=he.innerHTML,We.naturalSize===!0?(Fe.width.baseVal.value=ue.naturalWidth,Fe.height.baseVal.value=ue.naturalHeight):We.width!==void 0&&We.height!==void 0&&(Fe.width.baseVal.value=We.width,Fe.height.baseVal.value=We.height),Pe.width=Fe.width.baseVal.value,Pe.height=Fe.height.baseVal.value;var Ke=Fe.outerHTML,Ue=Pe.getContext("2d");We.markersOnly!==!0&&Ue.drawImage(ue,0,0,Pe.width,Pe.height);var ut=window.URL,vt=new Image(Pe.width,Pe.height);vt.setAttribute("crossOrigin","anonymous");var lt=new Blob([Ke],{type:"image/svg+xml"}),Dt=ut.createObjectURL(lt);vt.onload=function(){Ue.drawImage(vt,0,0),ut.revokeObjectURL(Dt);var Wt=Pe.toDataURL(We.imageType,We.imageQuality);fe(Wt)},vt.src=Dt})},Ze}(),oe=function(){},le=function(){function Ze(ue){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ue+"_"}return Object.defineProperty(Ze.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.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(Ze.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Ze.prototype.addClass=function(ue){return this.styleSheet===void 0&&this.addStyleSheet(),ue.name=""+this.classNamePrefix+ue.localName,this.classes.push(ue),this.styleSheet.sheet.insertRule("."+ue.name+" {"+ue.style+"}",this.styleSheet.sheet.cssRules.length),ue},Ze.prototype.addRule=function(ue){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ue),this.styleSheet.sheet.insertRule(ue.selector+" {"+ue.style+"}",this.styleSheet.sheet.cssRules.length)},Ze.prototype.addStyleSheet=function(){var ue;this.styleSheet=document.createElement("style"),((ue=this.styleSheetRoot)!==null&&ue!==void 0?ue:document.head).appendChild(this.styleSheet),this.addRule(new pe("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new pe("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new pe("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new re("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new re("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},Ze.prototype.removeStyleSheet=function(){var ue;this.styleSheet&&(((ue=this.styleSheetRoot)!==null&&ue!==void 0?ue:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Ze}(),pe=function(Ze,ue){this.selector=Ze,this.style=ue},re=function(Ze,ue){this.localName=Ze,this.style=ue},ae=function(){function Ze(ue,he,He,We,fe){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ue,this.displayMode=he,this.markerItems=He,this.uiStyleSettings=We,this.styles=fe,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Ze.prototype.show=function(ue){var he=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ue,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var He=document.createElement("div");He.className=this.toolbarBlockStyleClass.name,He.style.whiteSpace="nowrap",this.uiContainer.appendChild(He),this.addActionButton(He,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(He,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(He,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(He,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(He,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(He,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(He,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(He,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(fe){var Pe=document.createElement("div");Pe.className=""+he.toolbarButtonStyleClass.name,Pe.setAttribute("data-type-name",fe.typeName),Pe.innerHTML=fe.icon,Pe.addEventListener("click",function(){he.markerToolbarButtonClicked(Pe,fe)}),he.buttons.push(Pe),he.markerButtons.push(Pe)}),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 We=document.createElement("div");We.className=this.toolbarBlockStyleClass.name,We.style.whiteSpace="nowrap",We.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(We),this.addActionButton(We,'<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(We,'<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()},Ze.prototype.addButtonClickListener=function(ue){this.buttonClickListeners.push(ue)},Ze.prototype.removeButtonClickListener=function(ue){this.buttonClickListeners.indexOf(ue)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ue),1)},Ze.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Ze.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ue=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var he=0;he<this.markerButtons.length;he++)he<ue||he===ue&&this.markerButtons.length-1===ue?this.markerButtonBlock.appendChild(this.markerButtons[he]):(he===ue&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[he]))}},Ze.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")},Ze.prototype.resetButtonStyles=function(){var ue=this;this.buttons.forEach(function(he){he.className=he.className.replace(ue.uiStyleSettings.toolbarButtonStyleColorsClassName?ue.uiStyleSettings.toolbarButtonStyleColorsClassName:ue.toolbarButtonStyleColorsClass.name,"").trim(),he.className=he.className.replace(ue.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ue.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ue.toolbarActiveButtonStyleColorsClass.name,"").trim(),he.className+=" "+(ue.uiStyleSettings.toolbarButtonStyleColorsClassName?ue.uiStyleSettings.toolbarButtonStyleColorsClassName:ue.toolbarButtonStyleColorsClass.name)})},Ze.prototype.addActionButton=function(ue,he,He){var We=this,fe=document.createElement("div");switch(fe.className=""+this.toolbarButtonStyleClass.name,fe.innerHTML=he,fe.setAttribute("data-action",He),fe.addEventListener("click",function(){We.actionToolbarButtonClicked(fe,He)}),He){case"select":fe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":fe.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":fe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":fe.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":fe.style.fill=this.uiStyleSettings.closeButtonColor}ue.appendChild(fe),this.buttons.push(fe)},Ze.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new re("toolbar",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
height: `+this.uiStyleSettings.toolbarHeight+`px;
box-sizing: content-box;
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolbarStyleColorsClass=this.styles.addClass(new re("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new re("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new re("toolbar-overflow-block",`
position: absolute;
top: `+this.uiStyleSettings.toolbarHeight+`px;
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
z-index: 10;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new re("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var ue=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new re("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*ue)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*ue)+`px;
padding: `+ue+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new re("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new re("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new pe("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new pe("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},Ze.prototype.markerToolbarButtonClicked=function(ue,he){this.setActiveButton(ue),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(He){return He("marker",he)}),this.markerButtonOverflowBlock.style.display="none"},Ze.prototype.actionToolbarButtonClicked=function(ue,he){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(He){return He("action",he)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Ze.prototype.setActiveButton=function(ue){this.resetButtonStyles(),ue.className=ue.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ue.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Ze.prototype.setActiveMarkerButton=function(ue){var he=this.markerButtons.find(function(He){return He.getAttribute("data-type-name")===ue});he&&this.setActiveButton(he)},Ze.prototype.setCurrentMarker=function(ue){var he=this;this.currentMarker=ue,this.buttons.filter(function(He){return/delete|notes/.test(He.getAttribute("data-action"))}).forEach(function(He){he.currentMarker===void 0?(He.style.fillOpacity="0.4",He.style.pointerEvents="none"):(He.style.fillOpacity="1",He.style.pointerEvents="all")})},Ze}(),ce=function(){function Ze(ue,he,He,We){this.panels=[],this.panelButtons=[],this.markerjsContainer=ue,this.displayMode=he,this.uiStyleSettings=He,this.styles=We,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Ze.prototype.addStyles=function(){var ue;this.toolboxStyleClass=this.styles.addClass(new re("toolbox",`
width: 100%;
flex-shrink: 0;
display: flex;
flex-direction: column;
font-family: sans-serif;
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
box-sizing: content-box;
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
overflow: hidden;
`)),this.toolboxStyleColorsClass=this.styles.addClass(new re("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var he=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new re("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new re("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new re("toolbox-panel-row",`
display: flex;
`+(this.displayMode==="inline"?"position: absolute;":"")+`
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
cursor: default;
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
`+(this.displayMode==="inline"?"width: 100%;":"")+`
box-sizing: content-box;
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new re("toolbox-panel-row_colors",`
background-color: `+((ue=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ue!==void 0?ue:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new re("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*he)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*he)+`px;
padding: `+he+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new re("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new re("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new pe("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new pe("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},Ze.prototype.show=function(ue){var he;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ue,this.uiContainer.className=this.toolboxStyleClass.name+" "+((he=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&he!==void 0?he:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Ze.prototype.setPanelButtons=function(ue){var he,He,We=this;this.panels=ue,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((he=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&he!==void 0?he:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((He=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&He!==void 0?He:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(fe){var Pe;fe.uiStyleSettings=We.uiStyleSettings;var Fe=document.createElement("div");Fe.className=We.toolboxButtonStyleClass.name+" "+((Pe=We.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Pe!==void 0?Pe:We.toolboxButtonStyleColorsClass.name),Fe.innerHTML=fe.icon,Fe.title=fe.title,Fe.addEventListener("click",function(){We.panelButtonClick(fe)}),We.panelButtons.push(Fe),We.buttonRow.appendChild(Fe)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Ze.prototype.panelButtonClick=function(ue){var he=this,He=-1;if(ue!==this.activePanel){He=this.panels.indexOf(ue),this.panelRow.innerHTML="";var We=ue.getUi();We.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(We),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=ue}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){he.displayMode==="inline"?he.panelRow.style.display="none":he.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(fe,Pe){var Fe,Ke;fe.className=he.toolboxButtonStyleClass.name+" "+(Pe===He?""+((Fe=he.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Fe!==void 0?Fe:he.toolboxActiveButtonStyleColorsClass.name):""+((Ke=he.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Ke!==void 0?Ke:he.toolboxButtonStyleColorsClass.name))})},Ze}(),de=function(Ze,ue){this.title=Ze,this.icon=ue},me=function(Ze){function ue(he,He,We,fe){var Pe=Ze.call(this,he,fe||'<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 Pe.colors=[],Pe.addTransparent=!1,Pe.colorBoxes=[],Pe.colors=He,Pe.currentColor=We,Pe.setCurrentColor=Pe.setCurrentColor.bind(Pe),Pe.getColorBox=Pe.getColorBox.bind(Pe),Pe}return bt(ue,Ze),ue.prototype.getUi=function(){var he=this,He=document.createElement("div");return He.style.overflow="hidden",He.style.whiteSpace="nowrap",this.colors.forEach(function(We){var fe=he.getColorBox(We);He.appendChild(fe),he.colorBoxes.push(fe)}),He},ue.prototype.getColorBox=function(he){var He=this,We=this.uiStyleSettings.toolbarHeight/4,fe=this.uiStyleSettings.toolbarHeight-We,Pe=document.createElement("div");Pe.style.display="inline-block",Pe.style.boxSizing="content-box",Pe.style.width=fe-2+"px",Pe.style.height=fe-2+"px",Pe.style.padding="1px",Pe.style.marginRight="2px",Pe.style.marginBottom="2px",Pe.style.borderWidth="2px",Pe.style.borderStyle="solid",Pe.style.borderRadius=(fe+2)/2+"px",Pe.style.borderColor=he===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Pe.addEventListener("click",function(){He.setCurrentColor(he,Pe)});var Fe=document.createElement("div");return Fe.style.display="inline-block",Fe.style.width=fe-2+"px",Fe.style.height=fe-2+"px",Fe.style.backgroundColor=he,Fe.style.borderRadius=fe/2+"px",he==="transparent"&&(Fe.style.fill=this.uiStyleSettings.toolboxAccentColor,Fe.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>`),Pe.appendChild(Fe),Pe},ue.prototype.setCurrentColor=function(he,He){var We=this;this.currentColor=he,this.colorBoxes.forEach(function(fe){fe.style.borderColor=fe===He?We.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(he)},ue}(de),we=function(){function Ze(ue,he,He){this._state="new",this._isSelected=!1,this._container=ue,this._overlayContainer=he,this.globalSettings=He,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Ze.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Ze.prototype.ownsTarget=function(ue){return!1},Object.defineProperty(Ze.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Ze.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Ze.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Ze.prototype.pointerDown=function(ue,he){},Ze.prototype.dblClick=function(ue,he){},Ze.prototype.manipulate=function(ue){},Ze.prototype.pointerUp=function(ue){this.stateChanged()},Ze.prototype.dispose=function(){},Ze.prototype.addMarkerVisualToContainer=function(ue){this.container.childNodes.length>0?this.container.insertBefore(ue,this.container.childNodes[0]):this.container.appendChild(ue)},Ze.prototype.getState=function(){return{typeName:Ze.typeName,state:this.state,notes:this.notes}},Ze.prototype.restoreState=function(ue){this._state=ue.state,this.notes=ue.notes},Ze.prototype.scale=function(ue,he){},Ze.prototype.colorChanged=function(ue){this.onColorChanged&&this.onColorChanged(ue),this.stateChanged()},Ze.prototype.fillColorChanged=function(ue){this.onFillColorChanged&&this.onFillColorChanged(ue),this.stateChanged()},Ze.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ue=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ue.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ue)&&this.onStateChanged(this)}},Ze.typeName="MarkerBase",Ze}(),xe=function(){function Ze(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Ze.prototype.findGripByVisual=function(ue){return this.topLeft.ownsTarget(ue)?this.topLeft:this.topCenter.ownsTarget(ue)?this.topCenter:this.topRight.ownsTarget(ue)?this.topRight:this.centerLeft.ownsTarget(ue)?this.centerLeft:this.centerRight.ownsTarget(ue)?this.centerRight:this.bottomLeft.ownsTarget(ue)?this.bottomLeft:this.bottomCenter.ownsTarget(ue)?this.bottomCenter:this.bottomRight.ownsTarget(ue)?this.bottomRight:void 0},Ze}(),Ae=function(){function Ze(){this.GRIP_SIZE=10,this.visual=ne.createGroup(),this.visual.appendChild(ne.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(ne.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Ze.prototype.ownsTarget=function(ue){return ue===this.visual||ue===this.visual.childNodes[0]||ue===this.visual.childNodes[1]},Ze}(),ye=function(){function Ze(){}return Ze.toITransformMatrix=function(ue){return{a:ue.a,b:ue.b,c:ue.c,d:ue.d,e:ue.e,f:ue.f}},Ze.toSVGMatrix=function(ue,he){return ue.a=he.a,ue.b=he.b,ue.c=he.c,ue.d=he.d,ue.e=he.e,ue.f=he.f,ue},Ze}(),Ee=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.left=0,fe.top=0,fe.width=0,fe.height=0,fe.defaultSize={x:50,y:20},fe.offsetX=0,fe.offsetY=0,fe.rotationAngle=0,fe.CB_DISTANCE=10,fe._suppressMarkerCreateEvent=!1,fe.container.transform.baseVal.appendItem(ne.createTransform()),fe.setupControlBox(),fe}return bt(ue,Ze),Object.defineProperty(ue.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"visual",{get:function(){return this._visual},set:function(he){this._visual=he;var He=ne.createTransform();this._visual.transform.baseVal.appendItem(He)},enumerable:!1,configurable:!0}),ue.prototype.ownsTarget=function(he){return!!Ze.prototype.ownsTarget.call(this,he)||!!(this.controlGrips.findGripByVisual(he)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(he))},ue.prototype.pointerDown=function(he,He){Ze.prototype.pointerDown.call(this,he,He),this.state==="new"&&(this.left=he.x,this.top=he.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var We=this.unrotatePoint(he);if(this.manipulationStartX=We.x,this.manipulationStartY=We.y,this.offsetX=We.x-this.left,this.offsetY=We.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(He),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(He)){this.activeGrip=this.rotatorGrip;var fe=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=fe.x-this.width/2,this.top=fe.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Pe=this.container.transform.baseVal.getItem(0);Pe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Pe,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ue.prototype.pointerUp=function(he){var He=this.state;Ze.prototype.pointerUp.call(this,he),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(he),this._state="select",He==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ue.prototype.moveVisual=function(he){this.visual.style.transform="translate("+he.x+"px, "+he.y+"px)"},ue.prototype.manipulate=function(he){var He=this.unrotatePoint(he);this.state==="creating"?this.resize(he):this.state==="move"?(this.left=this.manipulationStartLeft+(He.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(He.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(He):this.state==="rotate"&&this.rotate(he)},ue.prototype.resize=function(he){var He=this.manipulationStartLeft,We=this.manipulationStartWidth,fe=this.manipulationStartTop,Pe=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:He=this.manipulationStartLeft+he.x-this.manipulationStartX,We=this.manipulationStartWidth+this.manipulationStartLeft-He;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:We=this.manipulationStartWidth+he.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:fe=this.manipulationStartTop+he.y-this.manipulationStartY,Pe=this.manipulationStartHeight+this.manipulationStartTop-fe;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Pe=this.manipulationStartHeight+he.y-this.manipulationStartY}We>=0?(this.left=He,this.width=We):(this.left=He+We,this.width=-We),Pe>=0?(this.top=fe,this.height=Pe):(this.top=fe+Pe,this.height=-Pe),this.setSize()},ue.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ue.prototype.rotate=function(he){if(Math.abs(he.x-this.centerX)>.1){var He=Math.sign(he.x-this.centerX);this.rotationAngle=180*Math.atan((he.y-this.centerY)/(he.x-this.centerX))/Math.PI+90*He,this.applyRotation()}},ue.prototype.applyRotation=function(){var he=this.container.transform.baseVal.getItem(0);he.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(he,0)},ue.prototype.rotatePoint=function(he){if(this.rotationAngle===0)return he;var He=this.container.getCTM(),We=ne.createPoint(he.x,he.y);return{x:(We=We.matrixTransform(He)).x,y:We.y}},ue.prototype.unrotatePoint=function(he){if(this.rotationAngle===0)return he;var He=this.container.getCTM();He=He.inverse();var We=ne.createPoint(he.x,he.y);return{x:(We=We.matrixTransform(He)).x,y:We.y}},ue.prototype.select=function(){Ze.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ue.prototype.deselect=function(){Ze.prototype.deselect.call(this),this.controlBox.style.display="none"},ue.prototype.setupControlBox=function(){this.controlBox=ne.createGroup();var he=ne.createTransform();he.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(he),this.container.appendChild(this.controlBox),this.controlRect=ne.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=ne.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 xe,this.addControlGrips(),this.controlBox.style.display="none"},ue.prototype.adjustControlBox=function(){var he=this.controlBox.transform.baseVal.getItem(0);he.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(he,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ue.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()},ue.prototype.createGrip=function(){var he=new Ae;return he.visual.transform.baseVal.appendItem(ne.createTransform()),this.controlBox.appendChild(he.visual),he},ue.prototype.positionGrips=function(){var he=this.controlGrips.topLeft.GRIP_SIZE,He=-he/2,We=He,fe=(this.width+this.CB_DISTANCE)/2-he/2,Pe=(this.height+this.CB_DISTANCE)/2-he/2,Fe=this.height+this.CB_DISTANCE-he/2,Ke=this.width+this.CB_DISTANCE-he/2;this.positionGrip(this.controlGrips.topLeft.visual,He,We),this.positionGrip(this.controlGrips.topCenter.visual,fe,We),this.positionGrip(this.controlGrips.topRight.visual,Ke,We),this.positionGrip(this.controlGrips.centerLeft.visual,He,Pe),this.positionGrip(this.controlGrips.centerRight.visual,Ke,Pe),this.positionGrip(this.controlGrips.bottomLeft.visual,He,Fe),this.positionGrip(this.controlGrips.bottomCenter.visual,fe,Fe),this.positionGrip(this.controlGrips.bottomRight.visual,Ke,Fe),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,fe,We-3*this.CB_DISTANCE)},ue.prototype.positionGrip=function(he,He,We){var fe=he.transform.baseVal.getItem(0);fe.setTranslate(He,We),he.transform.baseVal.replaceItem(fe,0)},ue.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ue.prototype.showControlBox=function(){this.controlBox.style.display=""},ue.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)},Ze.prototype.getState.call(this))},ue.prototype.restoreState=function(he){Ze.prototype.restoreState.call(this,he);var He=he;this.left=He.left,this.top=He.top,this.width=He.width,this.height=He.height,this.rotationAngle=He.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(ye.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,He.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(ye.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,He.containerTransformMatrix))},ue.prototype.scale=function(he,He){Ze.prototype.scale.call(this,he,He);var We=this.rotatePoint({x:this.left,y:this.top}),fe=this.unrotatePoint({x:We.x*he,y:We.y*He});this.left=fe.x,this.top=fe.y,this.width=this.width*he,this.height=this.height*He,this.adjustControlBox()},ue}(we),Le=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.fillColor="transparent",fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.opacity=1,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setFillColor=fe.setFillColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.createVisual=fe.createVisual.bind(fe),fe}return bt(ue,Ze),ue.prototype.ownsTarget=function(he){return!(!Ze.prototype.ownsTarget.call(this,he)&&he!==this.visual)},ue.prototype.createVisual=function(){this.visual=ne.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)},ue.prototype.pointerDown=function(he,He){Ze.prototype.pointerDown.call(this,he,He),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ue.prototype.manipulate=function(he){Ze.prototype.manipulate.call(this,he)},ue.prototype.resize=function(he){Ze.prototype.resize.call(this,he),this.setSize()},ue.prototype.setSize=function(){Ze.prototype.setSize.call(this),ne.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ue.prototype.pointerUp=function(he){Ze.prototype.pointerUp.call(this,he),this.setSize()},ue.prototype.setStrokeColor=function(he){this.strokeColor=he,this.visual&&ne.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(he),this.stateChanged()},ue.prototype.setFillColor=function(he){this.fillColor=he,this.visual&&ne.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ue.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.visual&&ne.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ue.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.visual&&ne.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ue.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ze.prototype.getState.call(this))},ue.prototype.restoreState=function(he){var He=he;this.fillColor=He.fillColor,this.strokeColor=He.strokeColor,this.strokeWidth=He.strokeWidth,this.strokeDasharray=He.strokeDasharray,this.opacity=He.opacity,this.createVisual(),Ze.prototype.restoreState.call(this,he),this.setSize()},ue.prototype.scale=function(he,He){Ze.prototype.scale.call(this,he,He),this.setSize()},ue.title="Rectangle marker",ue}(Ee),Ce=function(Ze){function ue(he,He,We,fe){var Pe=Ze.call(this,he,fe||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Pe.widths=[],Pe.widthBoxes=[],Pe.widths=He,Pe.currentWidth=We,Pe.setCurrentWidth=Pe.setCurrentWidth.bind(Pe),Pe}return bt(ue,Ze),ue.prototype.getUi=function(){var he=this,He=document.createElement("div");return He.style.display="flex",He.style.overflow="hidden",He.style.flexGrow="2",this.widths.forEach(function(We){var fe=document.createElement("div");fe.style.display="flex",fe.style.flexGrow="2",fe.style.alignItems="center",fe.style.justifyContent="space-between",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.borderColor=We===he.currentWidth?he.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){he.setCurrentWidth(We,fe)}),He.appendChild(fe);var Pe=document.createElement("div");Pe.innerText=We.toString(),Pe.style.marginRight="5px",fe.appendChild(Pe);var Fe=document.createElement("div");Fe.style.minHeight="20px",Fe.style.flexGrow="2",Fe.style.display="flex",Fe.style.alignItems="center";var Ke=document.createElement("hr");Ke.style.minWidth="20px",Ke.style.border="0px",Ke.style.borderTop=We+"px solid "+he.uiStyleSettings.toolboxColor,Ke.style.flexGrow="2",Fe.appendChild(Ke),fe.appendChild(Fe),he.widthBoxes.push(fe)}),He},ue.prototype.setCurrentWidth=function(he,He){var We=this;this.currentWidth=he,this.widthBoxes.forEach(function(fe){fe.style.borderColor=fe===He?We.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ue}(de),_e=function(Ze){function ue(he,He,We,fe){var Pe=Ze.call(this,he,fe||'<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 Pe.styles=[],Pe.styleBoxes=[],Pe.styles=He,Pe.currentStyle=We,Pe.setCurrentStyle=Pe.setCurrentStyle.bind(Pe),Pe}return bt(ue,Ze),ue.prototype.getUi=function(){var he=this,He=document.createElement("div");return He.style.display="flex",He.style.overflow="hidden",He.style.flexGrow="2",this.styles.forEach(function(We){var fe=document.createElement("div");fe.style.display="flex",fe.style.alignItems="center",fe.style.justifyContent="space-between",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.overflow="hidden",fe.style.maxWidth=100/he.styles.length-5+"%",fe.style.borderColor=We===he.currentStyle?he.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){he.setCurrentStyle(We,fe)}),He.appendChild(fe);var Pe=document.createElement("div");Pe.style.minHeight="20px",Pe.style.flexGrow="2",Pe.style.overflow="hidden";var Fe=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+he.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(We!==""?'stroke-dasharray="'+We+'"':"")+` />
</svg>`;Pe.innerHTML=Fe,fe.appendChild(Pe),he.styleBoxes.push(fe)}),He},ue.prototype.setCurrentStyle=function(he,He){var We=this;this.currentStyle=he,this.styleBoxes.forEach(function(fe){fe.style.borderColor=fe===He?We.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ue}(de),Me=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.strokeColor=We.defaultColor,fe.strokeWidth=We.defaultStrokeWidth,fe.strokeDasharray=We.defaultStrokeDasharray,fe.strokePanel=new me("Line color",We.defaultColorSet,We.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.strokeWidthPanel=new Ce("Line width",We.defaultStrokeWidths,We.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new _e("Line style",We.defaultStrokeDasharrays,We.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe}return bt(ue,Ze),Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Ze.prototype.getState.call(this);return he.typeName=ue.typeName,he},ue.typeName="FrameMarker",ue.title="Frame marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ue}(Le),De=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"},Se=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.x1=0,fe.y1=0,fe.x2=0,fe.y2=0,fe.defaultLength=50,fe.manipulationStartX=0,fe.manipulationStartY=0,fe.manipulationStartX1=0,fe.manipulationStartY1=0,fe.manipulationStartX2=0,fe.manipulationStartY2=0,fe.setupControlBox(),fe}return bt(ue,Ze),ue.prototype.ownsTarget=function(he){return!!Ze.prototype.ownsTarget.call(this,he)||!(!this.grip1.ownsTarget(he)&&!this.grip2.ownsTarget(he))},ue.prototype.pointerDown=function(he,He){Ze.prototype.pointerDown.call(this,he,He),this.manipulationStartX=he.x,this.manipulationStartY=he.y,this.state==="new"&&(this.x1=he.x,this.y1=he.y,this.x2=he.x,this.y2=he.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(He)?this.activeGrip=this.grip1:this.grip2.ownsTarget(He)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ue.prototype.pointerUp=function(he){var He=this.state;Ze.prototype.pointerUp.call(this,he),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(he),this._state="select",He==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ue.prototype.adjustVisual=function(){},ue.prototype.manipulate=function(he){this.state==="creating"?this.resize(he):this.state==="move"?(this.x1=this.manipulationStartX1+he.x-this.manipulationStartX,this.y1=this.manipulationStartY1+he.y-this.manipulationStartY,this.x2=this.manipulationStartX2+he.x-this.manipulationStartX,this.y2=this.manipulationStartY2+he.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(he)},ue.prototype.resize=function(he){switch(this.activeGrip){case this.grip1:this.x1=he.x,this.y1=he.y;break;case this.grip2:case void 0:this.x2=he.x,this.y2=he.y}this.adjustVisual(),this.adjustControlBox()},ue.prototype.select=function(){Ze.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ue.prototype.deselect=function(){Ze.prototype.deselect.call(this),this.controlBox.style.display="none"},ue.prototype.setupControlBox=function(){this.controlBox=ne.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ue.prototype.adjustControlBox=function(){this.positionGrips()},ue.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ue.prototype.createGrip=function(){var he=new Ae;return he.visual.transform.baseVal.appendItem(ne.createTransform()),this.controlBox.appendChild(he.visual),he},ue.prototype.positionGrips=function(){var he=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-he/2,this.y1-he/2),this.positionGrip(this.grip2.visual,this.x2-he/2,this.y2-he/2)},ue.prototype.positionGrip=function(he,He,We){var fe=he.transform.baseVal.getItem(0);fe.setTranslate(He,We),he.transform.baseVal.replaceItem(fe,0)},ue.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Ze.prototype.getState.call(this))},ue.prototype.restoreState=function(he){Ze.prototype.restoreState.call(this,he);var He=he;this.x1=He.x1,this.y1=He.y1,this.x2=He.x2,this.y2=He.y2},ue.prototype.scale=function(he,He){Ze.prototype.scale.call(this,he,He),this.x1=this.x1*he,this.y1=this.y1*He,this.x2=this.x2*he,this.y2=this.y2*He,this.adjustVisual(),this.adjustControlBox()},ue}(we),Be=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.strokeColor=We.defaultColor,fe.strokeWidth=We.defaultStrokeWidth,fe.strokeDasharray=We.defaultStrokeDasharray,fe.strokePanel=new me("Line color",We.defaultColorSet,We.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.strokeWidthPanel=new Ce("Line width",We.defaultStrokeWidths,We.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new _e("Line style",We.defaultStrokeDasharrays,We.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe}return bt(ue,Ze),ue.prototype.ownsTarget=function(he){return!(!Ze.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.selectorLine&&he!==this.visibleLine)},ue.prototype.createVisual=function(){this.visual=ne.createGroup(),this.selectorLine=ne.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=ne.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)},ue.prototype.pointerDown=function(he,He){Ze.prototype.pointerDown.call(this,he,He),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ue.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()),ne.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),ne.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),ne.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ue.prototype.setStrokeColor=function(he){this.strokeColor=he,this.adjustVisual(),this.colorChanged(he)},ue.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.adjustVisual()},ue.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Ze.prototype.getState.call(this));return he.typeName=ue.typeName,he},ue.prototype.restoreState=function(he){Ze.prototype.restoreState.call(this,he);var He=he;this.strokeColor=He.strokeColor,this.strokeWidth=He.strokeWidth,this.strokeDasharray=He.strokeDasharray,this.createVisual(),this.adjustVisual()},ue.typeName="LineMarker",ue.title="Line marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ue}(Se),Re=function(Ze){function ue(he,He,We,fe){var Pe=Ze.call(this,he,fe||'<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 Pe.fonts=[],Pe.fontBoxes=[],Pe.fonts=He,Pe.currentFont=We,Pe.setCurrentFont=Pe.setCurrentFont.bind(Pe),Pe}return bt(ue,Ze),ue.prototype.getUi=function(){var he=this,He=document.createElement("div");return He.style.overflow="hidden",He.style.flexGrow="2",this.fonts.forEach(function(We){var fe=document.createElement("div");fe.style.display="inline-block",fe.style.alignItems="center",fe.style.justifyContent="space-between",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.overflow="hidden",fe.style.maxWidth=100/he.fonts.length-5+"%",fe.style.borderColor=We===he.currentFont?he.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){he.setCurrentFont(We,fe)}),He.appendChild(fe);var Pe=document.createElement("div");Pe.style.display="flex",Pe.style.minHeight="20px",Pe.style.flexGrow="2",Pe.style.fontFamily=We,Pe.style.overflow="hidden";var Fe=document.createElement("div");Fe.style.whiteSpace="nowrap",Fe.style.overflow="hidden",Fe.style.textOverflow="ellipsis",Fe.innerHTML="The quick brown fox jumps over the lazy dog",Pe.appendChild(Fe),fe.appendChild(Pe),he.fontBoxes.push(fe)}),He},ue.prototype.setCurrentFont=function(he,He){var We=this;this.currentFont=he,this.fontBoxes.forEach(function(fe){fe.style.borderColor=fe===He?We.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ue}(de),Xe=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.color="transparent",fe.padding=5,fe.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",fe.text=fe.DEFAULT_TEXT,fe.isMoved=!1,fe.color=We.defaultColor,fe.fontFamily=We.defaultFontFamily,fe.defaultSize={x:100,y:30},fe.setColor=fe.setColor.bind(fe),fe.setFont=fe.setFont.bind(fe),fe.renderText=fe.renderText.bind(fe),fe.sizeText=fe.sizeText.bind(fe),fe.textEditDivClicked=fe.textEditDivClicked.bind(fe),fe.showTextEditor=fe.showTextEditor.bind(fe),fe.setSize=fe.setSize.bind(fe),fe.positionTextEditor=fe.positionTextEditor.bind(fe),fe.colorPanel=new me("Color",We.defaultColorSet,We.defaultColor),fe.colorPanel.onColorChanged=fe.setColor,fe.fontFamilyPanel=new Re("Font",We.defaultFontFamilies,We.defaultFontFamily),fe.fontFamilyPanel.onFontChanged=fe.setFont,fe}return bt(ue,Ze),ue.prototype.ownsTarget=function(he){if(Ze.prototype.ownsTarget.call(this,he)||he===this.visual||he===this.textElement||he===this.bgRectangle)return!0;var He=!1;return this.textElement.childNodes.forEach(function(We){We===he&&(He=!0)}),He},ue.prototype.createVisual=function(){this.visual=ne.createGroup(),this.bgRectangle=ne.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=ne.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(ne.createTransform()),this.textElement.transform.baseVal.appendItem(ne.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ue.prototype.pointerDown=function(he,He){Ze.prototype.pointerDown.call(this,he,He),this.isMoved=!1,this.pointerDownPoint=he,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ue.prototype.renderText=function(){var he=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(He){he.textElement.appendChild(ne.createTSpan(He.trim()===""?" ":He.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ue.prototype.getTextScale=function(){var he=this.textElement.getBBox(),He=1;if(he.width>0&&he.height>0){var We=(1*this.width-this.width*this.padding*2/100)/he.width,fe=(1*this.height-this.height*this.padding*2/100)/he.height;He=Math.min(We,fe)}return He},ue.prototype.getTextPosition=function(he){var He=this.textElement.getBBox(),We=0,fe=0;return He.width>0&&He.height>0&&(We=(this.width-He.width*he)/2,fe=this.height/2-He.height*he/2),{x:We,y:fe}},ue.prototype.sizeText=function(){var he=this.textElement.getBBox(),He=this.getTextScale(),We=this.getTextPosition(He);We.y-=he.y*He,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+We.x+"px, "+We.y+"px) scale("+He+", "+He+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(We.x,We.y),this.textElement.transform.baseVal.getItem(1).setScale(He,He))},ue.prototype.manipulate=function(he){Ze.prototype.manipulate.call(this,he),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(he.x-this.pointerDownPoint.x)>5||Math.abs(he.y-this.pointerDownPoint.y)>5)},ue.prototype.resize=function(he){Ze.prototype.resize.call(this,he),this.isMoved=!0,this.setSize(),this.sizeText()},ue.prototype.setSize=function(){Ze.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(ne.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ne.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ue.prototype.pointerUp=function(he){var He=this.state;He==="creating"&&(this._suppressMarkerCreateEvent=!0),Ze.prototype.pointerUp.call(this,he),this.setSize(),(He==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ue.prototype.showTextEditor=function(){var he=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(He){He.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var He=Number.parseFloat(he.textEditor.style.fontSize);he.textEditor.clientWidth>=Number.parseInt(he.textEditor.style.maxWidth)&&He>.9;)He-=.1,he.textEditor.style.fontSize=Math.max(He,.9)+"em"}),this.textEditor.addEventListener("keyup",function(He){He.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(He){if(He.clipboardData){var We=He.clipboardData.getData("text"),fe=window.getSelection();if(!fe.rangeCount)return!1;fe.deleteFromDocument(),fe.getRangeAt(0).insertNode(document.createTextNode(We)),He.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){he.textEditDivClicked(he.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ue.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var he=this.getTextScale(),He=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),We=this.textElement.getBBox(),fe={x:We.width*he,y:We.height*he};He.x-=fe.x/2,He.y-=fe.y/2,this.textEditor.style.top=He.y+"px",this.textEditor.style.left=He.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-He.x+"px",this.textEditor.style.fontSize=Math.max(16*he,12)+"px",this.textElement.style.display="none"}},ue.prototype.textEditDivClicked=function(he){this.text=he.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ue.prototype.select=function(){Ze.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ue.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Ze.prototype.deselect.call(this)},ue.prototype.dblClick=function(he,He){Ze.prototype.dblClick.call(this,he,He),this.showTextEditor()},ue.prototype.setColor=function(he){this.textElement&&ne.setAttributes(this.textElement,[["fill",he]]),this.color=he,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(he)},ue.prototype.setFont=function(he){this.textElement&&ne.setAttributes(this.textElement,[["font-family",he]]),this.fontFamily=he,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ue.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ue.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Ze.prototype.getState.call(this));return he.typeName=ue.typeName,he},ue.prototype.restoreState=function(he){var He=he;this.color=He.color,this.fontFamily=He.fontFamily,this.padding=He.padding,this.text=He.text,this.createVisual(),Ze.prototype.restoreState.call(this,he),this.setSize()},ue.prototype.scale=function(he,He){Ze.prototype.scale.call(this,he,He),this.setSize(),this.sizeText(),this.positionTextEditor()},ue.typeName="TextMarker",ue.title="Text marker",ue.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>',ue}(Ee),Ie=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.color="transparent",fe.lineWidth=3,fe.drawing=!1,fe.pixelRatio=1,fe.color=We.defaultColor,fe.lineWidth=We.defaultStrokeWidth,fe.pixelRatio=We.freehandPixelRatio,fe.setColor=fe.setColor.bind(fe),fe.addCanvas=fe.addCanvas.bind(fe),fe.finishCreation=fe.finishCreation.bind(fe),fe.setLineWidth=fe.setLineWidth.bind(fe),fe.colorPanel=new me("Color",We.defaultColorSet,We.defaultColor),fe.colorPanel.onColorChanged=fe.setColor,fe.lineWidthPanel=new Ce("Line width",We.defaultStrokeWidths,We.defaultStrokeWidth),fe.lineWidthPanel.onWidthChanged=fe.setLineWidth,fe}return bt(ue,Ze),ue.prototype.ownsTarget=function(he){return!(!Ze.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.drawingImage)},ue.prototype.createVisual=function(){this.visual=ne.createGroup(),this.drawingImage=ne.createImage(),this.visual.appendChild(this.drawingImage);var he=ne.createTransform();this.visual.transform.baseVal.appendItem(he),this.addMarkerVisualToContainer(this.visual)},ue.prototype.pointerDown=function(he,He){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(he.x,he.y),this.drawing=!0):Ze.prototype.pointerDown.call(this,he,He)},ue.prototype.manipulate=function(he){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(he.x,he.y),this.canvasContext.stroke()):Ze.prototype.manipulate.call(this,he)},ue.prototype.resize=function(he){Ze.prototype.resize.call(this,he),ne.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ne.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ue.prototype.pointerUp=function(he){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Ze.prototype.pointerUp.call(this,he)},ue.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)},ue.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Ze.prototype.select.call(this)},ue.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Ze.prototype.deselect.call(this)},ue.prototype.finishCreation=function(){for(var he=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),He=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],We=He[0],fe=He[1],Pe=He[2],Fe=He[3],Ke=!1,Ue=0;Ue<this.canvasElement.height;Ue++)for(var ut=0;ut<this.canvasElement.width;ut++)he.data[Ue*this.canvasElement.width*4+4*ut+3]>0&&(Ke=!0,Ue<fe&&(fe=Ue),ut<We&&(We=ut),Ue>Fe&&(Fe=Ue),ut>Pe&&(Pe=ut));if(Ke){this.left=We/this.pixelRatio,this.top=fe/this.pixelRatio,this.width=(Pe-We)/this.pixelRatio,this.height=(Fe-fe)/this.pixelRatio;var vt=document.createElement("canvas");vt.width=Pe-We,vt.height=Fe-fe,vt.getContext("2d").putImageData(this.canvasContext.getImageData(We,fe,Pe-We,Fe-fe),0,0),this.drawingImgUrl=vt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ue.prototype.setDrawingImage=function(){ne.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),ne.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ue.prototype.setColor=function(he){this.color=he,this.colorChanged(he)},ue.prototype.setLineWidth=function(he){this.lineWidth=he},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Object.assign({drawingImgUrl:this.drawingImgUrl},Ze.prototype.getState.call(this));return he.typeName=ue.typeName,he},ue.prototype.restoreState=function(he){this.createVisual(),Ze.prototype.restoreState.call(this,he),this.drawingImgUrl=he.drawingImgUrl,this.setDrawingImage()},ue.prototype.scale=function(he,He){Ze.prototype.scale.call(this,he,He),this.setDrawingImage()},ue.typeName="FreehandMarker",ue.title="Freehand marker",ue.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>',ue}(Ee),Ye=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,We||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return fe.typeBoxes=[],fe.currentType=He,fe.setCurrentType=fe.setCurrentType.bind(fe),fe}return bt(ue,Ze),ue.prototype.getUi=function(){var he=this,He=document.createElement("div");He.style.display="flex",He.style.overflow="hidden",He.style.flexGrow="2";for(var We=function(Fe){var Ke="both";switch(Fe){case 0:Ke="both";break;case 1:Ke="start";break;case 2:Ke="end";break;case 3:Ke="none"}var Ue=document.createElement("div");if(Ue.style.display="flex",Ue.style.flexGrow="2",Ue.style.alignItems="center",Ue.style.justifyContent="space-between",Ue.style.padding="5px",Ue.style.borderWidth="2px",Ue.style.borderStyle="solid",Ue.style.borderColor=Ke===fe.currentType?fe.uiStyleSettings.toolboxAccentColor:"transparent",Ue.addEventListener("click",function(){he.setCurrentType(Ke,Ue)}),He.appendChild(Ue),Ke==="both"||Ke==="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="`+(fe.uiStyleSettings!==void 0?fe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,ut.style.marginLeft="5px",Ue.appendChild(ut)}var vt=document.createElement("div");vt.style.display="flex",vt.style.alignItems="center",vt.style.minHeight="20px",vt.style.flexGrow="2";var lt=document.createElement("hr");if(lt.style.minWidth="20px",lt.style.border="0px",lt.style.borderTop="3px solid "+(fe.uiStyleSettings!==void 0?fe.uiStyleSettings.toolboxColor:"#eeeeee"),lt.style.flexGrow="2",vt.appendChild(lt),Ue.appendChild(vt),Ke==="both"||Ke==="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="`+(fe.uiStyleSettings!==void 0?fe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Dt.style.marginRight="5px",Ue.appendChild(Dt)}fe.typeBoxes.push(Ue)},fe=this,Pe=0;Pe<4;Pe++)We(Pe);return He},ue.prototype.setCurrentType=function(he,He){var We=this;this.currentType=he,this.typeBoxes.forEach(function(fe){fe.style.borderColor=fe===He?We.uiStyleSettings!==void 0?We.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ue}(de),Ge=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.arrowType="end",fe.arrowBaseHeight=10,fe.arrowBaseWidth=10,fe.getArrowPoints=fe.getArrowPoints.bind(fe),fe.setArrowType=fe.setArrowType.bind(fe),fe.arrowTypePanel=new Ye("Arrow type","end"),fe.arrowTypePanel.onArrowTypeChanged=fe.setArrowType,fe}return bt(ue,Ze),ue.prototype.ownsTarget=function(he){return!(!Ze.prototype.ownsTarget.call(this,he)&&he!==this.arrow1&&he!==this.arrow2)},ue.prototype.getArrowPoints=function(he,He){var We=this.arrowBaseWidth+2*this.strokeWidth,fe=this.arrowBaseHeight+2*this.strokeWidth;return he-We/2+","+(He+fe/2)+" "+he+","+(He-fe/2)+" "+(he+We/2)+","+(He+fe/2)},ue.prototype.createTips=function(){this.arrow1=ne.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(ne.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=ne.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(ne.createTransform()),this.visual.appendChild(this.arrow2)},ue.prototype.pointerDown=function(he,He){Ze.prototype.pointerDown.call(this,he,He),this.state==="creating"&&this.createTips()},ue.prototype.adjustVisual=function(){if(Ze.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",ne.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),ne.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var he=0;Math.abs(this.x1-this.x2)>.1&&(he=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var He=this.arrow1.transform.baseVal.getItem(0);He.setRotate(he,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(He,0);var We=this.arrow2.transform.baseVal.getItem(0);We.setRotate(he+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(We,0)}},ue.prototype.setArrowType=function(he){this.arrowType=he,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Object.assign({arrowType:this.arrowType},Ze.prototype.getState.call(this));return he.typeName=ue.typeName,he},ue.prototype.restoreState=function(he){Ze.prototype.restoreState.call(this,he);var He=he;this.arrowType=He.arrowType,this.createTips(),this.adjustVisual()},ue.typeName="ArrowMarker",ue.title="Arrow marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ue}(Be),qe=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.fillColor=We.defaultFillColor,fe.strokeWidth=0,fe.fillPanel=new me("Color",We.defaultColorSet,We.defaultFillColor),fe.fillPanel.onColorChanged=fe.setFillColor,fe}return bt(ue,Ze),Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Ze.prototype.getState.call(this);return he.typeName=ue.typeName,he},ue.typeName="CoverMarker",ue.title="Cover marker",ue.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ue}(Le),it=function(Ze){function ue(he,He,We,fe){var Pe=Ze.call(this,he,fe||'<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 Pe.opacities=[],Pe.opacityBoxes=[],Pe.opacities=He,Pe.currentOpacity=We,Pe.setCurrentOpacity=Pe.setCurrentOpacity.bind(Pe),Pe}return bt(ue,Ze),ue.prototype.getUi=function(){var he=this,He=document.createElement("div");return He.style.display="flex",He.style.overflow="hidden",He.style.flexGrow="2",He.style.justifyContent="space-between",this.opacities.forEach(function(We){var fe=document.createElement("div");fe.style.display="flex",fe.style.alignItems="center",fe.style.justifyContent="center",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.borderColor=We===he.currentOpacity?he.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){he.setCurrentOpacity(We,fe)}),He.appendChild(fe);var Pe=document.createElement("div");Pe.innerText=100*We+"%",fe.appendChild(Pe),he.opacityBoxes.push(fe)}),He},ue.prototype.setCurrentOpacity=function(he,He){var We=this;this.currentOpacity=he,this.opacityBoxes.forEach(function(fe){fe.style.borderColor=fe===He?We.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ue}(de),st=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.setOpacity=fe.setOpacity.bind(fe),fe.fillColor=We.defaultHighlightColor,fe.strokeWidth=0,fe.opacity=We.defaultHighlightOpacity,fe.fillPanel=new me("Color",We.defaultColorSet,fe.fillColor),fe.fillPanel.onColorChanged=fe.setFillColor,fe.opacityPanel=new it("Opacity",We.defaultOpacitySteps,fe.opacity),fe.opacityPanel.onOpacityChanged=fe.setOpacity,fe}return bt(ue,Ze),ue.prototype.setOpacity=function(he){this.opacity=he,this.visual&&ne.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Ze.prototype.getState.call(this);return he.typeName=ue.typeName,he},ue.typeName="HighlightMarker",ue.title="Highlight marker",ue.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>',ue}(qe),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>',Qe='<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(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.bgColor="transparent",fe.tipPosition={x:0,y:0},fe.tipBase1Position={x:0,y:0},fe.tipBase2Position={x:0,y:0},fe.tipMoving=!1,fe.color=We.defaultStrokeColor,fe.bgColor=We.defaultFillColor,fe.fontFamily=We.defaultFontFamily,fe.defaultSize={x:100,y:30},fe.setBgColor=fe.setBgColor.bind(fe),fe.getTipPoints=fe.getTipPoints.bind(fe),fe.positionTip=fe.positionTip.bind(fe),fe.setTipPoints=fe.setTipPoints.bind(fe),fe.colorPanel=new me("Text color",We.defaultColorSet,fe.color,Ve),fe.colorPanel.onColorChanged=fe.setColor,fe.bgColorPanel=new me("Fill color",We.defaultColorSet,fe.bgColor,Qe),fe.bgColorPanel.onColorChanged=fe.setBgColor,fe.fontFamilyPanel=new Re("Font",We.defaultFontFamilies,We.defaultFontFamily),fe.fontFamilyPanel.onFontChanged=fe.setFont,fe.tipGrip=new Ae,fe.tipGrip.visual.transform.baseVal.appendItem(ne.createTransform()),fe.controlBox.appendChild(fe.tipGrip.visual),fe}return bt(ue,Ze),ue.prototype.ownsTarget=function(he){return Ze.prototype.ownsTarget.call(this,he)||this.tipGrip.ownsTarget(he)||this.tip===he},ue.prototype.createTip=function(){ne.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=ne.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ue.prototype.pointerDown=function(he,He){this.state==="new"&&Ze.prototype.pointerDown.call(this,he,He),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(He)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Ze.prototype.pointerDown.call(this,he,He)},ue.prototype.pointerUp=function(he){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Ze.prototype.pointerUp.call(this,he);else{var He=this.state==="creating";Ze.prototype.pointerUp.call(this,he),this.setTipPoints(He),this.positionTip()}},ue.prototype.manipulate=function(he){if(this.tipMoving){var He=this.unrotatePoint(he);this.tipPosition={x:He.x-this.manipulationStartLeft,y:He.y-this.manipulationStartTop},this.positionTip()}else Ze.prototype.manipulate.call(this,he)},ue.prototype.setBgColor=function(he){this.bgRectangle&&this.tip&&(ne.setAttributes(this.bgRectangle,[["fill",he]]),ne.setAttributes(this.tip,[["fill",he]])),this.bgColor=he,this.fillColorChanged(he)},ue.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},ue.prototype.setTipPoints=function(he){he===void 0&&(he=!1);var He=Math.min(this.height/2,15),We=this.height/5;he&&(this.tipPosition={x:He+We/2,y:this.height+20});var fe=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?fe<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(We=this.width/5,He=Math.min(this.width/2,15),this.tipBase1Position={x:He,y:0},this.tipBase2Position={x:He+We,y:0}):(this.tipBase1Position={x:0,y:He},this.tipBase2Position={x:0,y:He+We}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?fe<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(We=this.width/5,He=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-He-We,y:0},this.tipBase2Position={x:this.width-He,y:0}):(this.tipBase1Position={x:this.width,y:He},this.tipBase2Position={x:this.width,y:He+We}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?fe<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(We=this.width/5,He=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-He-We,y:this.height},this.tipBase2Position={x:this.width-He,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-He-We},this.tipBase2Position={x:this.width,y:this.height-He}):fe<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(We=this.width/5,He=Math.min(this.width/2,15),this.tipBase1Position={x:He,y:this.height},this.tipBase2Position={x:He+We,y:this.height}):(this.tipBase1Position={x:0,y:this.height-He},this.tipBase2Position={x:0,y:this.height-He-We})},ue.prototype.resize=function(he){Ze.prototype.resize.call(this,he),this.positionTip()},ue.prototype.positionTip=function(){ne.setAttributes(this.tip,[["points",this.getTipPoints()]]);var he=this.tipGrip.visual.transform.baseVal.getItem(0);he.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(he,0)},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ue.prototype.select=function(){this.positionTip(),Ze.prototype.select.call(this)},ue.prototype.getState=function(){var he=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Ze.prototype.getState.call(this));return he.typeName=ue.typeName,he},ue.prototype.restoreState=function(he){var He=he;this.bgColor=He.bgColor,this.tipPosition=He.tipPosition,Ze.prototype.restoreState.call(this,he),this.createTip(),this.setTipPoints()},ue.prototype.scale=function(he,He){Ze.prototype.scale.call(this,he,He),this.tipPosition={x:this.tipPosition.x*he,y:this.tipPosition.y*He},this.positionTip()},ue.typeName="CalloutMarker",ue.title="Callout marker",ue.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>',ue}(Xe),dt=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.fillColor="transparent",fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.opacity=1,fe.strokeColor=We.defaultColor,fe.strokeWidth=We.defaultStrokeWidth,fe.strokeDasharray=We.defaultStrokeDasharray,fe.fillColor=We.defaultFillColor,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setFillColor=fe.setFillColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.setOpacity=fe.setOpacity.bind(fe),fe.createVisual=fe.createVisual.bind(fe),fe.strokePanel=new me("Line color",ve(We.defaultColorSet,["transparent"]),We.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.fillPanel=new me("Fill color",ve(We.defaultColorSet,["transparent"]),fe.fillColor,Qe),fe.fillPanel.onColorChanged=fe.setFillColor,fe.strokeWidthPanel=new Ce("Line width",We.defaultStrokeWidths,We.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new _e("Line style",We.defaultStrokeDasharrays,We.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe.opacityPanel=new it("Opacity",We.defaultOpacitySteps,fe.opacity),fe.opacityPanel.onOpacityChanged=fe.setOpacity,fe}return bt(ue,Ze),ue.prototype.ownsTarget=function(he){return!(!Ze.prototype.ownsTarget.call(this,he)&&he!==this.visual)},ue.prototype.createVisual=function(){this.visual=ne.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)},ue.prototype.pointerDown=function(he,He){Ze.prototype.pointerDown.call(this,he,He),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ue.prototype.manipulate=function(he){Ze.prototype.manipulate.call(this,he)},ue.prototype.resize=function(he){Ze.prototype.resize.call(this,he),this.setSize()},ue.prototype.setSize=function(){Ze.prototype.setSize.call(this),ne.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ue.prototype.pointerUp=function(he){Ze.prototype.pointerUp.call(this,he),this.setSize()},ue.prototype.setStrokeColor=function(he){this.strokeColor=he,this.visual&&ne.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(he),this.stateChanged()},ue.prototype.setFillColor=function(he){this.fillColor=he,this.visual&&ne.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(he),this.stateChanged()},ue.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.visual&&ne.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ue.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.visual&&ne.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ue.prototype.setOpacity=function(he){this.opacity=he,this.visual&&ne.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ze.prototype.getState.call(this));return he.typeName=ue.typeName,he},ue.prototype.restoreState=function(he){var He=he;this.fillColor=He.fillColor,this.strokeColor=He.strokeColor,this.strokeWidth=He.strokeWidth,this.strokeDasharray=He.strokeDasharray,this.opacity=He.opacity,this.createVisual(),Ze.prototype.restoreState.call(this,he),this.setSize()},ue.prototype.scale=function(he,He){Ze.prototype.scale.call(this,he,He),this.setSize()},ue.typeName="EllipseMarker",ue.title="Ellipse marker",ue.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>',ue}(Ee),at=function(Ze){function ue(he,He,We){return Ze.call(this,he,He,We)||this}return bt(ue,Ze),Object.defineProperty(ue.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ue.prototype.ownsTarget=function(he){return!(!Ze.prototype.ownsTarget.call(this,he)&&he!==this.tip1&&he!==this.tip2)},ue.prototype.createTips=function(){this.tip1=ne.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(ne.createTransform()),this.visual.appendChild(this.tip1),this.tip2=ne.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(ne.createTransform()),this.visual.appendChild(this.tip2)},ue.prototype.pointerDown=function(he,He){Ze.prototype.pointerDown.call(this,he,He),this.state==="creating"&&this.createTips()},ue.prototype.adjustVisual=function(){if(Ze.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(ne.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()]]),ne.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var he=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),He=this.tip1.transform.baseVal.getItem(0);He.setRotate(he,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(He,0);var We=this.tip2.transform.baseVal.getItem(0);We.setRotate(he+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(We,0)}},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Ze.prototype.getState.call(this);return he.typeName=ue.typeName,he},ue.prototype.restoreState=function(he){Ze.prototype.restoreState.call(this,he),this.createTips(),this.adjustVisual()},ue.typeName="MeasurementMarker",ue.title="Measurement marker",ue.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>',ue}(Be),tt=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.strokePanel.colors=We.defaultColorSet,fe.fillColor="transparent",fe}return bt(ue,Ze),Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Ze.prototype.getState.call(this);return he.typeName=ue.typeName,he},ue.typeName="EllipseFrameMarker",ue.title="Ellipse frame marker",ue.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>',ue}(dt),et=function(){function Ze(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Ze.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Ze.prototype.addUndoStep=function(ue){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ue)||(this.undoStack.push(ue),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ue)&&this.redoStack.splice(0,this.redoStack.length))},Ze.prototype.replaceLastUndoStep=function(ue){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ue)},Ze.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Ze.prototype.undo=function(){if(this.undoStack.length>1){var ue=this.undoStack.pop();return ue!==void 0&&this.redoStack.push(ue),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Ze.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Ze}(),ot=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.curveX=0,fe.curveY=0,fe.manipulationStartCurveX=0,fe.manipulationStartCurveY=0,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.positionGrips=fe.positionGrips.bind(fe),fe.addControlGrips=fe.addControlGrips.bind(fe),fe.adjustVisual=fe.adjustVisual.bind(fe),fe.setupControlBox=fe.setupControlBox.bind(fe),fe.resize=fe.resize.bind(fe),fe.strokeColor=We.defaultColor,fe.strokeWidth=We.defaultStrokeWidth,fe.strokeDasharray=We.defaultStrokeDasharray,fe.strokePanel=new me("Line color",We.defaultColorSet,We.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.strokeWidthPanel=new Ce("Line width",We.defaultStrokeWidths,We.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new _e("Line style",We.defaultStrokeDasharrays,We.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe}return bt(ue,Ze),ue.prototype.ownsTarget=function(he){return!(!Ze.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.selectorCurve&&he!==this.visibleCurve&&!this.curveGrip.ownsTarget(he))},ue.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ue.prototype.createVisual=function(){this.visual=ne.createGroup(),this.selectorCurve=ne.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=ne.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)},ue.prototype.pointerDown=function(he,He){Ze.prototype.pointerDown.call(this,he,He),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=he.x,this.curveY=he.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(He)&&(this.activeGrip=this.curveGrip,this._state="resize")},ue.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),ne.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),ne.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),ne.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ue.prototype.setupControlBox=function(){Ze.prototype.setupControlBox.call(this),this.curveControlLine1=ne.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=ne.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)},ue.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Ze.prototype.addControlGrips.call(this)},ue.prototype.positionGrips=function(){Ze.prototype.positionGrips.call(this);var he=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-he/2,this.curveY-he/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ue.prototype.manipulate=function(he){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+he.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+he.y-this.manipulationStartY),Ze.prototype.manipulate.call(this,he)},ue.prototype.resize=function(he){this.activeGrip===this.curveGrip&&(this.curveX=he.x,this.curveY=he.y),Ze.prototype.resize.call(this,he),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ue.prototype.setStrokeColor=function(he){this.strokeColor=he,this.adjustVisual(),this.colorChanged(he)},ue.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.adjustVisual()},ue.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.adjustVisual()},ue.prototype.scale=function(he,He){this.curveX=this.curveX*he,this.curveY=this.curveY*He,Ze.prototype.scale.call(this,he,He)},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Ze.prototype.getState.call(this));return he.typeName=ue.typeName,he},ue.prototype.restoreState=function(he){Ze.prototype.restoreState.call(this,he);var He=he;this.strokeColor=He.strokeColor,this.strokeWidth=He.strokeWidth,this.strokeDasharray=He.strokeDasharray,this.curveX=He.curveX,this.curveY=He.curveY,this.createVisual(),this.adjustVisual()},ue.typeName="CurveMarker",ue.title="Curve marker",ue.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>',ue}(Se),yt=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,He,We)||this;return fe.fillColor="transparent",fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.textColor="transparent",fe.fontSize="1rem",fe.isMoved=!1,fe.captionText="Caption",fe.PADDING=5,fe.captionBoxWidth=0,fe.captionBoxHeight=0,fe.strokeColor=We.defaultColor,fe.strokeWidth=We.defaultStrokeWidth,fe.strokeDasharray=We.defaultStrokeDasharray,fe.fillColor=We.defaultFillColor,fe.textColor=We.defaultStrokeColor,fe.fontFamily=We.defaultFontFamily,fe.fontSize=We.defaultCaptionFontSize,fe.captionText=We.defaultCaptionText,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setFillColor=fe.setFillColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.createVisual=fe.createVisual.bind(fe),fe.sizeCaption=fe.sizeCaption.bind(fe),fe.setCaptionText=fe.setCaptionText.bind(fe),fe.showTextEditor=fe.showTextEditor.bind(fe),fe.positionTextEditor=fe.positionTextEditor.bind(fe),fe.finishTextEditing=fe.finishTextEditing.bind(fe),fe.setFont=fe.setFont.bind(fe),fe.setTextColor=fe.setTextColor.bind(fe),fe.strokePanel=new me("Line color",ve(We.defaultColorSet,["transparent"]),fe.strokeColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.fillPanel=new me("Fill color",ve(We.defaultColorSet,["transparent"]),fe.fillColor,Qe),fe.fillPanel.onColorChanged=fe.setFillColor,fe.strokeWidthPanel=new Ce("Line width",We.defaultStrokeWidths,We.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new _e("Line style",We.defaultStrokeDasharrays,We.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe.fontFamilyPanel=new Re("Font",We.defaultFontFamilies,We.defaultFontFamily),fe.fontFamilyPanel.onFontChanged=fe.setFont,fe.textColorPanel=new me("Text color",We.defaultColorSet,fe.textColor,Ve),fe.textColorPanel.onColorChanged=fe.setTextColor,fe}return bt(ue,Ze),ue.prototype.ownsTarget=function(he){return!(!Ze.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.frame&&he!==this.captionBg&&he!==this.captionElement)},ue.prototype.createVisual=function(){this.visual=ne.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=ne.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=ne.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=ne.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()},ue.prototype.setCaptionText=function(he){this.captionText=he,this.captionElement.textContent=this.captionText,this.sizeCaption()},ue.prototype.pointerDown=function(he,He){Ze.prototype.pointerDown.call(this,he,He),this.isMoved=!1,this.pointerDownPoint=he,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ue.prototype.manipulate=function(he){Ze.prototype.manipulate.call(this,he),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(he.x-this.pointerDownPoint.x)>5||Math.abs(he.y-this.pointerDownPoint.y)>5)},ue.prototype.resize=function(he){Ze.prototype.resize.call(this,he),this.setSize()},ue.prototype.sizeCaption=function(){var he=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=he.width+2*this.PADDING,this.captionBoxHeight=he.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),ne.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')"]]),ne.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')"]])},ue.prototype.showTextEditor=function(){var he=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(He){He.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(He){He.key==="Enter"&&he.finishTextEditing(he.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(He){He.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){he.finishTextEditing(he.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){he.finishTextEditing(he.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ue.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"))},ue.prototype.finishTextEditing=function(he){this.setCaptionText(he.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ue.prototype.setFont=function(he){this.captionElement&&ne.setAttributes(this.captionElement,[["font-family",he]]),this.fontFamily=he,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ue.prototype.setTextColor=function(he){this.captionElement&&ne.setAttributes(this.captionElement,[["fill",he]]),this.textColor=he,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ue.prototype.setSize=function(){Ze.prototype.setSize.call(this),ne.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ue.prototype.pointerUp=function(he){Ze.prototype.pointerUp.call(this,he),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ue.prototype.dblClick=function(he,He){Ze.prototype.dblClick.call(this,he,He),this.showTextEditor()},ue.prototype.setStrokeColor=function(he){this.strokeColor=he,this.frame&&ne.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(he),this.stateChanged()},ue.prototype.setFillColor=function(he){this.fillColor=he,this.captionBg&&ne.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(he),this.stateChanged()},ue.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.frame&&ne.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ue.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.frame&&ne.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ue.prototype.getState=function(){var he=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Ze.prototype.getState.call(this));return he.typeName=this.typeName,he},ue.prototype.restoreState=function(he){var He=he;this.fillColor=He.fillColor,this.strokeColor=He.strokeColor,this.strokeWidth=He.strokeWidth,this.strokeDasharray=He.strokeDasharray,this.textColor=He.textColor,this.fontFamily=He.fontFamily,this.captionText=He.captionText,this.fontSize=He.fontSize,this.createVisual(),Ze.prototype.restoreState.call(this,he),this.setSize()},ue.prototype.scale=function(he,He){Ze.prototype.scale.call(this,he,He),this.setSize()},ue.typeName="CaptionFrameMarker",ue.title="Caption frame marker",ue.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>',ue}(Ee),pt=function(){function Ze(ue,he){he===void 0&&(he=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ue,this.cancelable=he}return Object.defineProperty(Ze.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Ze.prototype.preventDefault=function(){this._defaultPrevented=!0},Ze}(),Pt=function(Ze){function ue(he,He,We){var fe=Ze.call(this,he,!1)||this;return fe.dataUrl=He,fe.state=We,fe}return bt(ue,Ze),ue}(pt),Mt=function(Ze){function ue(he,He,We){We===void 0&&(We=!1);var fe=Ze.call(this,he,We)||this;return fe.marker=He,fe}return bt(ue,Ze),ue}(pt),ct=function(){function Ze(){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 Ze.prototype.addEventListener=function(ue,he){this[ue].push(he)},Ze.prototype.removeEventListener=function(ue,he){var He=this[ue].indexOf(he);He>-1&&this[ue].splice(He,1)},Ze}(),Je=function(){function Ze(ue){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new De,this._isOpen=!1,this.undoRedoManager=new et,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 ct,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Ze.instanceCounter++,this.styles=new le(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ue,this.targetRoot=document.body,this.width=ue.clientWidth,this.height=ue.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(Ze.prototype,"ALL_MARKER_TYPES",{get:function(){return[Me,Ie,Ge,Xe,tt,dt,st,nt,at,qe,Be,ot,yt]},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Me,Ie,Ge,Xe,dt,st,nt]},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Me,Ie,Ge,Xe,st]},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ue){var he=this;this._availableMarkerTypes.splice(0),ue.forEach(function(He){if(typeof He=="string"){var We=he.ALL_MARKER_TYPES.find(function(fe){return fe.typeName===He});We!==void 0&&he._availableMarkerTypes.push(We)}else he._availableMarkerTypes.push(He)})},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ze.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ue){this._zoomLevel=ue,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(Ze.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Ze.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ee.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Ze.prototype.show=function(){var ue=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(he){return he(new pt(ue))})},Ze.prototype.render=function(){return E(this,void 0,void 0,function(){var ue;return je(this,function(he){switch(he.label){case 0:return this.setCurrentMarker(),(ue=new ie).naturalSize=this.renderAtNaturalSize,ue.imageType=this.renderImageType,ue.imageQuality=this.renderImageQuality,ue.markersOnly=this.renderMarkersOnly,ue.width=this.renderWidth,ue.height=this.renderHeight,[4,ue.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return he.sent(),[4,ue.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,he.sent()]}})})},Ze.prototype.close=function(ue){var he=this;if(ue===void 0&&(ue=!1),this.isOpen){var He=!1;ue||this.eventListeners.beforeclose.forEach(function(We){var fe=new pt(he,!0);We(fe),fe.defaultPrevented&&(He=!0)}),He||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(We){return We(new pt(he))}),this.detachEvents(),this._isOpen=!1)}},Ze.prototype.addMarkersToToolbar=function(){for(var ue,he=[],He=0;He<arguments.length;He++)he[He]=arguments[He];(ue=this._availableMarkerTypes).push.apply(ue,he)},Ze.prototype.addRenderEventListener=function(ue){this.addEventListener("render",function(he){ue(he.dataUrl,he.state)})},Ze.prototype.removeRenderEventListener=function(ue){},Ze.prototype.addCloseEventListener=function(ue){this.addEventListener("close",function(){ue()})},Ze.prototype.removeCloseEventListener=function(ue){},Ze.prototype.setupResizeObserver=function(){var ue=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ue.resize(ue.target.clientWidth,ue.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ue.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Ze.prototype.onPopupTargetResize=function(){var ue=1*this.target.clientWidth/this.target.clientHeight,he=this.editorCanvas.clientWidth/ue>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ue:this.editorCanvas.clientWidth,He=he<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ue;this.resize(he,He)},Ze.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Ze.prototype.resize=function(ue,he){this._isResizing=!0;var He=ue/this.imageWidth,We=he/this.imageHeight;this.imageWidth=Math.round(ue),this.imageHeight=Math.round(he),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(He,We),this._isResizing=!1},Ze.prototype.scaleMarkers=function(ue,he){var He,We=this;this._currentMarker&&this._currentMarker instanceof Xe?this._currentMarker.scale(ue,he):(He=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(fe){fe!==We._currentMarker&&fe.scale(ue,he)}),He!==void 0&&this.setCurrentMarker(He)},Ze.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"},Ze.prototype.setTopLeft=function(){var ue=this.editingTarget.getBoundingClientRect(),he=this.editorCanvas.getBoundingClientRect();this.left=ue.left-he.left,this.top=ue.top-he.top},Ze.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)},Ze.prototype.addDefs=function(){for(var ue,he=[],He=0;He<arguments.length;He++)he[He]=arguments[He];this.defs=ne.createDefs(),this.addDefsToImage(),(ue=this.defs).append.apply(ue,he)},Ze.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Ze.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)},Ze.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Ze.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Ze.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)},Ze.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Ze.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)},Ze.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 ue=document.createElement("a");ue.href="https://markerjs.com/",ue.target="_blank",ue.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>',ue.title="Powered by marker.js",ue.style.display="grid",ue.style.alignItems="center",ue.style.justifyItems="center",ue.style.padding="3px",ue.style.width="20px",ue.style.height="20px",this.logoUI.appendChild(ue),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Ze.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")},Ze.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"},Ze.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Ze.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 ue=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=ue+"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 ce(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Ze.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Ze.prototype.removeMarker=function(ue){this.markerImage.removeChild(ue.container),this.markers.indexOf(ue)>-1&&this.markers.splice(this.markers.indexOf(ue),1),ue.dispose()},Ze.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())},Ze.prototype.toolbarButtonClicked=function(ue,he){if(ue==="marker"&&he!==void 0)this.createNewMarker(he);else if(ue==="action")switch(he){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Ze.prototype.deleteSelectedMarker=function(){var ue=this;if(this._currentMarker!==void 0){var he=!1;if(this.eventListeners.markerbeforedelete.forEach(function(We){var fe=new Mt(ue,ue._currentMarker,!0);We(fe),fe.defaultPrevented&&(he=!0)}),!he){var He=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(We){return We(new Mt(ue,He))})}}},Ze.prototype.clear=function(){var ue=this,he=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Pe){var Fe=new Mt(ue,void 0,!0);Pe(Fe),Fe.defaultPrevented&&(he=!0)}),!he)){this.setCurrentMarker();for(var He=function(Pe){var Fe=We.markers[Pe];We.setCurrentMarker(We.markers[Pe]),We._currentMarker.dispose(),We.markerImage.removeChild(We._currentMarker.container),We.markers.splice(We.markers.indexOf(We._currentMarker),1),We.eventListeners.markerdelete.forEach(function(Ke){return Ke(new Mt(ue,Fe))})},We=this,fe=this.markers.length-1;fe>=0;fe--)He(fe);this.addUndoStep()}},Object.defineProperty(Ze.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Ze.prototype.showNotesEditor=function(){var ue;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=(ue=this._currentMarker.notes)!==null&&ue!==void 0?ue:"",this.overlayContainer.appendChild(this.notesArea))},Ze.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)},Ze.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Ze.prototype.addUndoStep=function(){var ue=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var he=this.getState(),He=this.undoRedoManager.getLastUndoStep();if(!He||He.width===he.width&&He.height===he.height){var We=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(he),We<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(fe){return fe(new pt(ue))})}else this.undoRedoManager.replaceLastUndoStep(he),this.eventListeners.statechange.forEach(function(fe){return fe(new pt(ue))})}},Ze.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Ze.prototype.undoStep=function(){var ue=this,he=this.undoRedoManager.undo();he!==void 0&&(this.restoreState(he),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(He){return He(new pt(ue))}))},Ze.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Ze.prototype.redoStep=function(){var ue=this,he=this.undoRedoManager.redo();he!==void 0&&(this.restoreState(he),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(He){return He(new pt(ue))}))},Ze.prototype.stepZoom=function(){var ue=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ue<this.zoomSteps.length-1?this.zoomSteps[ue+1]:this.zoomSteps[0]},Ze.prototype.panTo=function(ue){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ue.x,top:this.prevPanPoint.y-ue.y}),this.prevPanPoint=ue},Ze.prototype.startRenderAndClose=function(){return E(this,void 0,void 0,function(){var ue,he,He=this;return je(this,function(We){switch(We.label){case 0:return[4,this.render()];case 1:return ue=We.sent(),he=this.getState(),this.eventListeners.render.forEach(function(fe){return fe(new Pt(He,ue,he))}),this.close(!0),[2]}})})},Ze.prototype.getState=function(ue){ue===!0&&this.setCurrentMarker();var he={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(He){return he.markers.push(He.getState())}),he},Ze.prototype.restoreState=function(ue){var he=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ue.markers.forEach(function(He){var We=he._availableMarkerTypes.find(function(Pe){return Pe.typeName===He.typeName});if(We!==void 0){var fe=he.addNewMarker(We);fe.restoreState(He),he.markers.push(fe)}}),ue.width&&ue.height&&(ue.width!==this.imageWidth||ue.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ue.width,this.imageHeight/ue.height),this.eventListeners.restorestate.forEach(function(He){return He(new pt(he))})},Ze.prototype.addNewMarker=function(ue){var he=ne.createGroup();return this.markerImage.appendChild(he),new ue(he,this.overlayContainer,this.settings)},Ze.prototype.createNewMarker=function(ue){var he,He=this;(he=typeof ue=="string"?this._availableMarkerTypes.find(function(We){return We.typeName===ue}):ue)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(he),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(he.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(We){return We(new Mt(He,He._currentMarker))}))},Ze.prototype.markerCreated=function(ue){var he=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ue),this.setCurrentMarker(ue),ue instanceof Ie&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Ie):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(He){return He(new Mt(he,he._currentMarker))})},Ze.prototype.colorChanged=function(ue){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ue,this.settings.defaultStrokeColor=ue)},Ze.prototype.fillColorChanged=function(ue){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ue)},Ze.prototype.markerStateChanged=function(ue){var he=this;this.eventListeners.markerchange.forEach(function(He){return He(new Mt(he,ue))})},Ze.prototype.setCurrentMarker=function(ue){var he=this;this._currentMarker!==ue&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(He){return He(new Mt(he,he._currentMarker))})),this._currentMarker=ue,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(He){return He(new Mt(he,he._currentMarker))}))},Ze.prototype.onPointerDown=function(ue){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ue.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var he=this.markers.find(function(He){return He.ownsTarget(ue.target)});he!==void 0?(this.setCurrentMarker(he),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ue.clientX,ue.clientY),ue.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ue.clientX,y:ue.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ue.clientX,ue.clientY))},Ze.prototype.onDblClick=function(ue){if(this._isFocused||this.focus(),this.mode==="select"){var he=this.markers.find(function(He){return He.ownsTarget(ue.target)});he!==void 0&&he!==this._currentMarker&&this.setCurrentMarker(he),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ue.clientX,ue.clientY),ue.target):this.setCurrentMarker()}},Ze.prototype.onPointerMove=function(ue){this.touchPoints!==1&&ue.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ue.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ue.clientX,ue.clientY)):this.zoomLevel>1&&this.panTo({x:ue.clientX,y:ue.clientY}))},Ze.prototype.onPointerUp=function(ue){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ue.clientX,ue.clientY)),this.isDragging=!1,this.addUndoStep()},Ze.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Ze.prototype.onKeyUp=function(ue){this._currentMarker===void 0||this.notesArea!==void 0||ue.key!=="Delete"&&ue.key!=="Backspace"||this.deleteSelectedMarker()},Ze.prototype.clientToLocalCoordinates=function(ue,he){var He=this.markerImage.getBoundingClientRect();return{x:(ue-He.left)/this.zoomLevel,y:(he-He.top)/this.zoomLevel}},Ze.prototype.onWindowResize=function(){this.positionUI()},Ze.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ue=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ue+"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()},Ze.prototype.addLicenseKey=function(ue){ee.addKey(ue)},Ze.prototype.addEventListener=function(ue,he){this.eventListeners.addEventListener(ue,he)},Ze.prototype.removeEventListener=function(ue,he){this.eventListeners.removeEventListener(ue,he)},Ze.prototype.renderState=function(ue){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ue),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Ze.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Ze.prototype.focus=function(){var ue=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(he){return he(new pt(ue))}))},Ze.prototype.blur=function(){var ue=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(he){return he(new pt(ue))}))},Ze.instanceCounter=0,Ze}()},5630:function(kn,Qt,Te){"use strict";var Ne=Te(60499),bt=Te(85899),E=Te(18642),je=Te(72190),ve=Te(42244),ne=Te(92310),ee=Te.n(ne),ie=Te(18929),oe=Te(59301),le=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],pe=(0,oe.forwardRef)(function(re,ae){var ce,de=re.prefixCls,me=de===void 0?"rc-checkbox":de,we=re.className,xe=re.style,Ae=re.checked,ye=re.disabled,Ee=re.defaultChecked,Le=Ee===void 0?!1:Ee,Ce=re.type,_e=Ce===void 0?"checkbox":Ce,Me=re.title,De=re.onChange,Se=(0,ve.Z)(re,le),Be=(0,oe.useRef)(null),Re=(0,ie.Z)(Le,{value:Ae}),Xe=(0,je.Z)(Re,2),Ie=Xe[0],Ye=Xe[1];(0,oe.useImperativeHandle)(ae,function(){return{focus:function(){var st;(st=Be.current)===null||st===void 0||st.focus()},blur:function(){var st;(st=Be.current)===null||st===void 0||st.blur()},input:Be.current}});var Ge=ee()(me,we,(ce={},(0,E.Z)(ce,"".concat(me,"-checked"),Ie),(0,E.Z)(ce,"".concat(me,"-disabled"),ye),ce)),qe=function(st){ye||("checked"in re||Ye(st.target.checked),De==null||De({target:(0,bt.Z)((0,bt.Z)({},re),{},{type:_e,checked:st.target.checked}),stopPropagation:function(){st.stopPropagation()},preventDefault:function(){st.preventDefault()},nativeEvent:st.nativeEvent}))};return oe.createElement("span",{className:Ge,title:Me,style:xe},oe.createElement("input",(0,Ne.Z)({},Se,{className:"".concat(me,"-input"),ref:Be,onChange:qe,disabled:ye,checked:!!Ie,type:_e})),oe.createElement("span",{className:"".concat(me,"-inner")}))});Qt.Z=pe},31561:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return _e}});var Ne=Te(60499),bt=Te(18642),E=Te(72190),je=Te(42244),ve=Te(35593),ne=Te(92310),ee=Te.n(ne),ie=Te(8654),oe=Te(59301),le=Te(10228),pe=Te(16089),re=le.Z.ESC,ae=le.Z.TAB;function ce(Me){var De=Me.visible,Se=Me.triggerRef,Be=Me.onVisibleChange,Re=Me.autoFocus,Xe=Me.overlayRef,Ie=oe.useRef(!1),Ye=function(){if(De){var st,Ve;(st=Se.current)===null||st===void 0||(Ve=st.focus)===null||Ve===void 0||Ve.call(st),Be==null||Be(!1)}},Ge=function(){var st;return(st=Xe.current)!==null&&st!==void 0&&st.focus?(Xe.current.focus(),Ie.current=!0,!0):!1},qe=function(st){switch(st.keyCode){case re:Ye();break;case ae:{var Ve=!1;Ie.current||(Ve=Ge()),Ve?st.preventDefault():Ye();break}}};oe.useEffect(function(){return De?(window.addEventListener("keydown",qe),Re&&(0,pe.Z)(Ge,3),function(){window.removeEventListener("keydown",qe),Ie.current=!1}):function(){Ie.current=!1}},[De])}var de=(0,oe.forwardRef)(function(Me,De){var Se=Me.overlay,Be=Me.arrow,Re=Me.prefixCls,Xe=(0,oe.useMemo)(function(){var Ye;return typeof Se=="function"?Ye=Se():Ye=Se,Ye},[Se]),Ie=(0,ie.sQ)(De,Xe==null?void 0:Xe.ref);return oe.createElement(oe.Fragment,null,Be&&oe.createElement("div",{className:"".concat(Re,"-arrow")}),oe.cloneElement(Xe,{ref:(0,ie.Yr)(Xe)?Ie:void 0}))}),me=de,we={adjustX:1,adjustY:1},xe=[0,0],Ae={topLeft:{points:["bl","tl"],overflow:we,offset:[0,-4],targetOffset:xe},top:{points:["bc","tc"],overflow:we,offset:[0,-4],targetOffset:xe},topRight:{points:["br","tr"],overflow:we,offset:[0,-4],targetOffset:xe},bottomLeft:{points:["tl","bl"],overflow:we,offset:[0,4],targetOffset:xe},bottom:{points:["tc","bc"],overflow:we,offset:[0,4],targetOffset:xe},bottomRight:{points:["tr","br"],overflow:we,offset:[0,4],targetOffset:xe}},ye=Ae,Ee=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Le(Me,De){var Se,Be=Me.arrow,Re=Be===void 0?!1:Be,Xe=Me.prefixCls,Ie=Xe===void 0?"rc-dropdown":Xe,Ye=Me.transitionName,Ge=Me.animation,qe=Me.align,it=Me.placement,st=it===void 0?"bottomLeft":it,Ve=Me.placements,Qe=Ve===void 0?ye:Ve,nt=Me.getPopupContainer,dt=Me.showAction,at=Me.hideAction,tt=Me.overlayClassName,et=Me.overlayStyle,ot=Me.visible,yt=Me.trigger,pt=yt===void 0?["hover"]:yt,Pt=Me.autoFocus,Mt=Me.overlay,ct=Me.children,Je=Me.onVisibleChange,Ze=(0,je.Z)(Me,Ee),ue=oe.useState(),he=(0,E.Z)(ue,2),He=he[0],We=he[1],fe="visible"in Me?ot:He,Pe=oe.useRef(null),Fe=oe.useRef(null),Ke=oe.useRef(null);oe.useImperativeHandle(De,function(){return Pe.current});var Ue=function(St){We(St),Je==null||Je(St)};ce({visible:fe,triggerRef:Ke,onVisibleChange:Ue,autoFocus:Pt,overlayRef:Fe});var ut=function(St){var ft=Me.onOverlayClick;We(!1),ft&&ft(St)},vt=function(){return oe.createElement(me,{ref:Fe,overlay:Mt,prefixCls:Ie,arrow:Re})},lt=function(){return typeof Mt=="function"?vt:vt()},Dt=function(){var St=Me.minOverlayWidthMatchTrigger,ft=Me.alignPoint;return"minOverlayWidthMatchTrigger"in Me?St:!ft},Wt=function(){var St=Me.openClassName;return St!==void 0?St:"".concat(Ie,"-open")},wt=oe.cloneElement(ct,{className:ee()((Se=ct.props)===null||Se===void 0?void 0:Se.className,fe&&Wt()),ref:(0,ie.Yr)(ct)?(0,ie.sQ)(Ke,ct.ref):void 0}),zt=at;return!zt&&pt.indexOf("contextMenu")!==-1&&(zt=["click"]),oe.createElement(ve.Z,(0,Ne.Z)({builtinPlacements:Qe},Ze,{prefixCls:Ie,ref:Pe,popupClassName:ee()(tt,(0,bt.Z)({},"".concat(Ie,"-show-arrow"),Re)),popupStyle:et,action:pt,showAction:dt,hideAction:zt,popupPlacement:st,popupAlign:qe,popupTransitionName:Ye,popupAnimation:Ge,popupVisible:fe,stretch:Dt()?"minWidth":"",popup:lt(),onPopupVisibleChange:Ue,onPopupClick:ut,getPopupContainer:nt}),wt)}var Ce=oe.forwardRef(Le),_e=Ce},93681:function(kn,Qt,Te){"use strict";Te.r(Qt),Te.d(Qt,{BaseInput:function(){return le},default:function(){return Ae}});var Ne=Te(60499),bt=Te(85899),E=Te(18642),je=Te(43749),ve=Te(92310),ne=Te.n(ve),ee=Te(59301),ie=Te(5643),oe=function(Ee){var Le,Ce,_e=Ee.inputElement,Me=Ee.prefixCls,De=Ee.prefix,Se=Ee.suffix,Be=Ee.addonBefore,Re=Ee.addonAfter,Xe=Ee.className,Ie=Ee.style,Ye=Ee.disabled,Ge=Ee.readOnly,qe=Ee.focused,it=Ee.triggerFocus,st=Ee.allowClear,Ve=Ee.value,Qe=Ee.handleReset,nt=Ee.hidden,dt=Ee.classes,at=Ee.classNames,tt=Ee.dataAttrs,et=Ee.styles,ot=Ee.components,yt=(ot==null?void 0:ot.affixWrapper)||"span",pt=(ot==null?void 0:ot.groupWrapper)||"span",Pt=(ot==null?void 0:ot.wrapper)||"span",Mt=(ot==null?void 0:ot.groupAddon)||"span",ct=(0,ee.useRef)(null),Je=function(vt){var lt;(lt=ct.current)!==null&&lt!==void 0&&lt.contains(vt.target)&&(it==null||it())},Ze=function(){var vt;if(!st)return null;var lt=!Ye&&!Ge&&Ve,Dt="".concat(Me,"-clear-icon"),Wt=(0,je.Z)(st)==="object"&&st!==null&&st!==void 0&&st.clearIcon?st.clearIcon:"\u2716";return ee.createElement("span",{onClick:Qe,onMouseDown:function(zt){return zt.preventDefault()},className:ne()(Dt,(vt={},(0,E.Z)(vt,"".concat(Dt,"-hidden"),!lt),(0,E.Z)(vt,"".concat(Dt,"-has-suffix"),!!Se),vt)),role:"button",tabIndex:-1},Wt)},ue=(0,ee.cloneElement)(_e,{value:Ve,hidden:nt,className:ne()((Le=_e.props)===null||Le===void 0?void 0:Le.className,!(0,ie.X3)(Ee)&&!(0,ie.He)(Ee)&&Xe)||null,style:(0,bt.Z)((0,bt.Z)({},(Ce=_e.props)===null||Ce===void 0?void 0:Ce.style),!(0,ie.X3)(Ee)&&!(0,ie.He)(Ee)?Ie:{})});if((0,ie.X3)(Ee)){var he,He="".concat(Me,"-affix-wrapper"),We=ne()(He,(he={},(0,E.Z)(he,"".concat(He,"-disabled"),Ye),(0,E.Z)(he,"".concat(He,"-focused"),qe),(0,E.Z)(he,"".concat(He,"-readonly"),Ge),(0,E.Z)(he,"".concat(He,"-input-with-clear-btn"),Se&&st&&Ve),he),!(0,ie.He)(Ee)&&Xe,dt==null?void 0:dt.affixWrapper,at==null?void 0:at.affixWrapper),fe=(Se||st)&&ee.createElement("span",{className:ne()("".concat(Me,"-suffix"),at==null?void 0:at.suffix),style:et==null?void 0:et.suffix},Ze(),Se);ue=ee.createElement(yt,(0,Ne.Z)({className:We,style:(0,bt.Z)((0,bt.Z)({},(0,ie.He)(Ee)?void 0:Ie),et==null?void 0:et.affixWrapper),hidden:!(0,ie.He)(Ee)&&nt,onClick:Je},tt==null?void 0:tt.affixWrapper,{ref:ct}),De&&ee.createElement("span",{className:ne()("".concat(Me,"-prefix"),at==null?void 0:at.prefix),style:et==null?void 0:et.prefix},De),(0,ee.cloneElement)(_e,{value:Ve,hidden:null}),fe)}if((0,ie.He)(Ee)){var Pe="".concat(Me,"-group"),Fe="".concat(Pe,"-addon"),Ke=ne()("".concat(Me,"-wrapper"),Pe,dt==null?void 0:dt.wrapper),Ue=ne()("".concat(Me,"-group-wrapper"),Xe,dt==null?void 0:dt.group);return ee.createElement(pt,{className:Ue,style:Ie,hidden:nt},ee.createElement(Pt,{className:Ke},Be&&ee.createElement(Mt,{className:Fe},Be),(0,ee.cloneElement)(ue,{hidden:null}),Re&&ee.createElement(Mt,{className:Fe},Re)))}return ue},le=oe,pe=Te(77654),re=Te(72190),ae=Te(42244),ce=Te(18929),de=Te(2738),me=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],we=(0,ee.forwardRef)(function(ye,Ee){var Le=ye.autoComplete,Ce=ye.onChange,_e=ye.onFocus,Me=ye.onBlur,De=ye.onPressEnter,Se=ye.onKeyDown,Be=ye.prefixCls,Re=Be===void 0?"rc-input":Be,Xe=ye.disabled,Ie=ye.htmlSize,Ye=ye.className,Ge=ye.maxLength,qe=ye.suffix,it=ye.showCount,st=ye.type,Ve=st===void 0?"text":st,Qe=ye.classes,nt=ye.classNames,dt=ye.styles,at=(0,ae.Z)(ye,me),tt=(0,ce.Z)(ye.defaultValue,{value:ye.value}),et=(0,re.Z)(tt,2),ot=et[0],yt=et[1],pt=(0,ee.useState)(!1),Pt=(0,re.Z)(pt,2),Mt=Pt[0],ct=Pt[1],Je=(0,ee.useRef)(null),Ze=function(Ue){Je.current&&(0,ie.nH)(Je.current,Ue)};(0,ee.useImperativeHandle)(Ee,function(){return{focus:Ze,blur:function(){var Ue;(Ue=Je.current)===null||Ue===void 0||Ue.blur()},setSelectionRange:function(Ue,ut,vt){var lt;(lt=Je.current)===null||lt===void 0||lt.setSelectionRange(Ue,ut,vt)},select:function(){var Ue;(Ue=Je.current)===null||Ue===void 0||Ue.select()},input:Je.current}}),(0,ee.useEffect)(function(){ct(function(Ke){return Ke&&Xe?!1:Ke})},[Xe]);var ue=function(Ue){ye.value===void 0&&yt(Ue.target.value),Je.current&&(0,ie.rJ)(Je.current,Ue,Ce)},he=function(Ue){De&&Ue.key==="Enter"&&De(Ue),Se==null||Se(Ue)},He=function(Ue){ct(!0),_e==null||_e(Ue)},We=function(Ue){ct(!1),Me==null||Me(Ue)},fe=function(Ue){yt(""),Ze(),Je.current&&(0,ie.rJ)(Je.current,Ue,Ce)},Pe=function(){var Ue=(0,de.Z)(ye,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return ee.createElement("input",(0,Ne.Z)({autoComplete:Le},Ue,{onChange:ue,onFocus:He,onBlur:We,onKeyDown:he,className:ne()(Re,(0,E.Z)({},"".concat(Re,"-disabled"),Xe),nt==null?void 0:nt.input),style:dt==null?void 0:dt.input,ref:Je,size:Ie,type:Ve}))},Fe=function(){var Ue=Number(Ge)>0;if(qe||it){var ut=(0,ie.D7)(ot),vt=(0,pe.Z)(ut).length,lt=(0,je.Z)(it)==="object"?it.formatter({value:ut,count:vt,maxLength:Ge}):"".concat(vt).concat(Ue?" / ".concat(Ge):"");return ee.createElement(ee.Fragment,null,!!it&&ee.createElement("span",{className:ne()("".concat(Re,"-show-count-suffix"),(0,E.Z)({},"".concat(Re,"-show-count-has-suffix"),!!qe),nt==null?void 0:nt.count),style:(0,bt.Z)({},dt==null?void 0:dt.count)},lt),qe)}return null};return ee.createElement(le,(0,Ne.Z)({},at,{prefixCls:Re,className:Ye,inputElement:Pe(),handleReset:fe,value:(0,ie.D7)(ot),focused:Mt,triggerFocus:Ze,suffix:Fe(),disabled:Xe,classes:Qe,classNames:nt,styles:dt}))}),xe=we,Ae=xe},5643:function(kn,Qt,Te){"use strict";Te.d(Qt,{D7:function(){return ve},He:function(){return Ne},X3:function(){return bt},nH:function(){return je},rJ:function(){return E}});function Ne(ne){return!!(ne.addonBefore||ne.addonAfter)}function bt(ne){return!!(ne.prefix||ne.suffix||ne.allowClear)}function E(ne,ee,ie,oe){if(ie){var le=ee;if(ee.type==="click"){var pe=ne.cloneNode(!0);le=Object.create(ee,{target:{value:pe},currentTarget:{value:pe}}),pe.value="",ie(le);return}if(oe!==void 0){le=Object.create(ee,{target:{value:ne},currentTarget:{value:ne}}),ne.value=oe,ie(le);return}ie(le)}}function je(ne,ee){if(ne){ne.focus(ee);var ie=ee||{},oe=ie.cursor;if(oe){var le=ne.value.length;switch(oe){case"start":ne.setSelectionRange(0,0);break;case"end":ne.setSelectionRange(le,le);break;default:ne.setSelectionRange(0,le)}}}}function ve(ne){return typeof ne=="undefined"||ne===null?"":String(ne)}},15285:function(kn,Qt,Te){"use strict";Te.d(Qt,{iz:function(){return zn},ck:function(){return Rn},BW:function(){return Tn},sN:function(){return Rn},Wd:function(){return Yt},ZP:function(){return pn},Xl:function(){return Se}});var Ne=Te(60499),bt=Te(18642),E=Te(85899),je=Te(77654),ve=Te(72190),ne=Te(42244),ee=Te(92310),ie=Te.n(ee),oe=Te(83836),le=Te(18929),pe=Te(13697),re=Te(48736),ae=Te(59301),ce=Te(4676),de=ae.createContext(null);function me(Tt,Jt){return Tt===void 0?null:"".concat(Tt,"-").concat(Jt)}function we(Tt){var Jt=ae.useContext(de);return me(Jt,Tt)}var xe=Te(80547),Ae=["children","locked"],ye=ae.createContext(null);function Ee(Tt,Jt){var qt=(0,E.Z)({},Tt);return Object.keys(Jt).forEach(function(un){var dn=Jt[un];dn!==void 0&&(qt[un]=dn)}),qt}function Le(Tt){var Jt=Tt.children,qt=Tt.locked,un=(0,ne.Z)(Tt,Ae),dn=ae.useContext(ye),yn=(0,xe.Z)(function(){return Ee(dn,un)},[dn,un],function(bn,_n){return!qt&&(bn[0]!==_n[0]||!(0,pe.Z)(bn[1],_n[1],!0))});return ae.createElement(ye.Provider,{value:yn},Jt)}var Ce=[],_e=ae.createContext(null);function Me(){return ae.useContext(_e)}var De=ae.createContext(Ce);function Se(Tt){var Jt=ae.useContext(De);return ae.useMemo(function(){return Tt!==void 0?[].concat((0,je.Z)(Jt),[Tt]):Jt},[Jt,Tt])}var Be=ae.createContext(null),Re=ae.createContext({}),Xe=Re,Ie=Te(29194);function Ye(Tt){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Ie.Z)(Tt)){var qt=Tt.nodeName.toLowerCase(),un=["input","select","textarea","button"].includes(qt)||Tt.isContentEditable||qt==="a"&&!!Tt.getAttribute("href"),dn=Tt.getAttribute("tabindex"),yn=Number(dn),bn=null;return dn&&!Number.isNaN(yn)?bn=yn:un&&bn===null&&(bn=0),un&&Tt.disabled&&(bn=null),bn!==null&&(bn>=0||Jt&&bn<0)}return!1}function Ge(Tt){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,qt=(0,je.Z)(Tt.querySelectorAll("*")).filter(function(un){return Ye(un,Jt)});return Ye(Tt,Jt)&&qt.unshift(Tt),qt}var qe=null;function it(){qe=document.activeElement}function st(){qe=null}function Ve(){if(qe)try{qe.focus()}catch(Tt){}}function Qe(Tt,Jt){if(Jt.keyCode===9){var qt=Ge(Tt),un=qt[Jt.shiftKey?0:qt.length-1],dn=un===document.activeElement||Tt===document.activeElement;if(dn){var yn=qt[Jt.shiftKey?qt.length-1:0];yn.focus(),Jt.preventDefault()}}}var nt=Te(10228),dt=Te(16089),at=nt.Z.LEFT,tt=nt.Z.RIGHT,et=nt.Z.UP,ot=nt.Z.DOWN,yt=nt.Z.ENTER,pt=nt.Z.ESC,Pt=nt.Z.HOME,Mt=nt.Z.END,ct=[et,ot,at,tt];function Je(Tt,Jt,qt,un){var dn,yn,bn,_n,Qn="prev",ar="next",gr="children",mr="parent";if(Tt==="inline"&&un===yt)return{inlineTrigger:!0};var zr=(dn={},(0,bt.Z)(dn,et,Qn),(0,bt.Z)(dn,ot,ar),dn),Mr=(yn={},(0,bt.Z)(yn,at,qt?ar:Qn),(0,bt.Z)(yn,tt,qt?Qn:ar),(0,bt.Z)(yn,ot,gr),(0,bt.Z)(yn,yt,gr),yn),lr=(bn={},(0,bt.Z)(bn,et,Qn),(0,bt.Z)(bn,ot,ar),(0,bt.Z)(bn,yt,gr),(0,bt.Z)(bn,pt,mr),(0,bt.Z)(bn,at,qt?gr:mr),(0,bt.Z)(bn,tt,qt?mr:gr),bn),ur={inline:zr,horizontal:Mr,vertical:lr,inlineSub:zr,horizontalSub:lr,verticalSub:lr},dr=(_n=ur["".concat(Tt).concat(Jt?"":"Sub")])===null||_n===void 0?void 0:_n[un];switch(dr){case Qn:return{offset:-1,sibling:!0};case ar:return{offset:1,sibling:!0};case mr:return{offset:-1,sibling:!1};case gr:return{offset:1,sibling:!1};default:return null}}function Ze(Tt){for(var Jt=Tt;Jt;){if(Jt.getAttribute("data-menu-list"))return Jt;Jt=Jt.parentElement}return null}function ue(Tt,Jt){for(var qt=Tt||document.activeElement;qt;){if(Jt.has(qt))return qt;qt=qt.parentElement}return null}function he(Tt,Jt){var qt=Ge(Tt,!0);return qt.filter(function(un){return Jt.has(un)})}function He(Tt,Jt,qt){var un=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Tt)return null;var dn=he(Tt,Jt),yn=dn.length,bn=dn.findIndex(function(_n){return qt===_n});return un<0?bn===-1?bn=yn-1:bn-=1:un>0&&(bn+=1),bn=(bn+yn)%yn,dn[bn]}var We=function(Jt,qt){var un=new Set,dn=new Map,yn=new Map;return Jt.forEach(function(bn){var _n=document.querySelector("[data-menu-id='".concat(me(qt,bn),"']"));_n&&(un.add(_n),yn.set(_n,bn),dn.set(bn,_n))}),{elements:un,key2element:dn,element2key:yn}};function fe(Tt,Jt,qt,un,dn,yn,bn,_n,Qn,ar){var gr=ae.useRef(),mr=ae.useRef();mr.current=Jt;var zr=function(){dt.Z.cancel(gr.current)};return ae.useEffect(function(){return function(){zr()}},[]),function(Mr){var lr=Mr.which;if([].concat(ct,[yt,pt,Pt,Mt]).includes(lr)){var ur=yn(),dr=We(ur,un),Rr=dr,Cr=Rr.elements,Ar=Rr.key2element,Gr=Rr.element2key,Kr=Ar.get(Jt),oi=ue(Kr,Cr),Di=Gr.get(oi),Hr=Je(Tt,bn(Di,!0).length===1,qt,lr);if(!Hr&&lr!==Pt&&lr!==Mt)return;(ct.includes(lr)||[Pt,Mt].includes(lr))&&Mr.preventDefault();var or=function(li){if(li){var ta=li,Ir=li.querySelector("a");Ir!=null&&Ir.getAttribute("href")&&(ta=Ir);var Wr=Gr.get(li);_n(Wr),zr(),gr.current=(0,dt.Z)(function(){mr.current===Wr&&ta.focus()})}};if([Pt,Mt].includes(lr)||Hr.sibling||!oi){var ir;!oi||Tt==="inline"?ir=dn.current:ir=Ze(oi);var ti,Ur=he(ir,Cr);lr===Pt?ti=Ur[0]:lr===Mt?ti=Ur[Ur.length-1]:ti=He(ir,Cr,oi,Hr.offset),or(ti)}else if(Hr.inlineTrigger)Qn(Di);else if(Hr.offset>0)Qn(Di,!0),zr(),gr.current=(0,dt.Z)(function(){dr=We(ur,un);var ei=oi.getAttribute("aria-controls"),li=document.getElementById(ei),ta=He(li,dr.elements);or(ta)},5);else if(Hr.offset<0){var ui=bn(Di,!0),gi=ui[ui.length-2],pi=Ar.get(gi);Qn(gi,!1),or(pi)}}ar==null||ar(Mr)}}function Pe(Tt){Promise.resolve().then(Tt)}var Fe="__RC_UTIL_PATH_SPLIT__",Ke=function(Jt){return Jt.join(Fe)},Ue=function(Jt){return Jt.split(Fe)},ut="rc-menu-more";function vt(){var Tt=ae.useState({}),Jt=(0,ve.Z)(Tt,2),qt=Jt[1],un=(0,ae.useRef)(new Map),dn=(0,ae.useRef)(new Map),yn=ae.useState([]),bn=(0,ve.Z)(yn,2),_n=bn[0],Qn=bn[1],ar=(0,ae.useRef)(0),gr=(0,ae.useRef)(!1),mr=function(){gr.current||qt({})},zr=(0,ae.useCallback)(function(Ar,Gr){var Kr=Ke(Gr);dn.current.set(Kr,Ar),un.current.set(Ar,Kr),ar.current+=1;var oi=ar.current;Pe(function(){oi===ar.current&&mr()})},[]),Mr=(0,ae.useCallback)(function(Ar,Gr){var Kr=Ke(Gr);dn.current.delete(Kr),un.current.delete(Ar)},[]),lr=(0,ae.useCallback)(function(Ar){Qn(Ar)},[]),ur=(0,ae.useCallback)(function(Ar,Gr){var Kr=un.current.get(Ar)||"",oi=Ue(Kr);return Gr&&_n.includes(oi[0])&&oi.unshift(ut),oi},[_n]),dr=(0,ae.useCallback)(function(Ar,Gr){return Ar.some(function(Kr){var oi=ur(Kr,!0);return oi.includes(Gr)})},[ur]),Rr=function(){var Gr=(0,je.Z)(un.current.keys());return _n.length&&Gr.push(ut),Gr},Cr=(0,ae.useCallback)(function(Ar){var Gr="".concat(un.current.get(Ar)).concat(Fe),Kr=new Set;return(0,je.Z)(dn.current.keys()).forEach(function(oi){oi.startsWith(Gr)&&Kr.add(dn.current.get(oi))}),Kr},[]);return ae.useEffect(function(){return function(){gr.current=!0}},[]),{registerPath:zr,unregisterPath:Mr,refreshOverflowKeys:lr,isSubPathKey:dr,getKeyPath:ur,getKeys:Rr,getSubPathKeys:Cr}}function lt(Tt){var Jt=ae.useRef(Tt);Jt.current=Tt;var qt=ae.useCallback(function(){for(var un,dn=arguments.length,yn=new Array(dn),bn=0;bn<dn;bn++)yn[bn]=arguments[bn];return(un=Jt.current)===null||un===void 0?void 0:un.call.apply(un,[Jt].concat(yn))},[]);return Tt?qt:void 0}var Dt=Math.random().toFixed(5).toString().slice(2),Wt=0;function wt(Tt){var Jt=(0,le.Z)(Tt,{value:Tt}),qt=(0,ve.Z)(Jt,2),un=qt[0],dn=qt[1];return ae.useEffect(function(){Wt+=1;var yn="".concat(Dt,"-").concat(Wt);dn("rc-menu-uuid-".concat(yn))},[]),un}var zt=Te(38705),Nt=Te(17212),St=Te(39153),ft=Te(55401),Et=Te(2738),Ft=Te(8654);function Kt(Tt,Jt,qt,un){var dn=ae.useContext(ye),yn=dn.activeKey,bn=dn.onActive,_n=dn.onInactive,Qn={active:yn===Tt};return Jt||(Qn.onMouseEnter=function(ar){qt==null||qt({key:Tt,domEvent:ar}),bn(Tt)},Qn.onMouseLeave=function(ar){un==null||un({key:Tt,domEvent:ar}),_n(Tt)}),Qn}function Zt(Tt){var Jt=ae.useContext(ye),qt=Jt.mode,un=Jt.rtl,dn=Jt.inlineIndent;if(qt!=="inline")return null;var yn=Tt;return un?{paddingRight:yn*dn}:{paddingLeft:yn*dn}}function rn(Tt){var Jt=Tt.icon,qt=Tt.props,un=Tt.children,dn;return Jt===null||Jt===!1?null:(typeof Jt=="function"?dn=ae.createElement(Jt,(0,E.Z)({},qt)):typeof Jt!="boolean"&&(dn=Jt),dn||un||null)}var En=["item"];function On(Tt){var Jt=Tt.item,qt=(0,ne.Z)(Tt,En);return Object.defineProperty(qt,"item",{get:function(){return(0,re.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),Jt}}),qt}var Hn=["title","attribute","elementRef"],Dn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],jn=["active"],Jn=function(Tt){(0,St.Z)(qt,Tt);var Jt=(0,ft.Z)(qt);function qt(){return(0,zt.Z)(this,qt),Jt.apply(this,arguments)}return(0,Nt.Z)(qt,[{key:"render",value:function(){var dn=this.props,yn=dn.title,bn=dn.attribute,_n=dn.elementRef,Qn=(0,ne.Z)(dn,Hn),ar=(0,Et.Z)(Qn,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,re.ZP)(!bn,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),ae.createElement(oe.Z.Item,(0,Ne.Z)({},bn,{title:typeof yn=="string"?yn:void 0},ar,{ref:_n}))}}]),qt}(ae.Component),br=ae.forwardRef(function(Tt,Jt){var qt,un=Tt.style,dn=Tt.className,yn=Tt.eventKey,bn=Tt.warnKey,_n=Tt.disabled,Qn=Tt.itemIcon,ar=Tt.children,gr=Tt.role,mr=Tt.onMouseEnter,zr=Tt.onMouseLeave,Mr=Tt.onClick,lr=Tt.onKeyDown,ur=Tt.onFocus,dr=(0,ne.Z)(Tt,Dn),Rr=we(yn),Cr=ae.useContext(ye),Ar=Cr.prefixCls,Gr=Cr.onItemClick,Kr=Cr.disabled,oi=Cr.overflowDisabled,Di=Cr.itemIcon,Hr=Cr.selectedKeys,or=Cr.onActive,ir=ae.useContext(Xe),ti=ir._internalRenderMenuItem,Ur="".concat(Ar,"-item"),ui=ae.useRef(),gi=ae.useRef(),pi=Kr||_n,ei=(0,Ft.x1)(Jt,gi),li=Se(yn),ta=function(Nr){return{key:yn,keyPath:(0,je.Z)(li).reverse(),item:ui.current,domEvent:Nr}},Ir=Qn||Di,Wr=Kt(yn,pi,mr,zr),vi=Wr.active,Ai=(0,ne.Z)(Wr,jn),da=Hr.includes(yn),ca=Zt(li.length),$i=function(Nr){if(!pi){var $r=ta(Nr);Mr==null||Mr(On($r)),Gr($r)}},Hi=function(Nr){if(lr==null||lr(Nr),Nr.which===nt.Z.ENTER){var $r=ta(Nr);Mr==null||Mr(On($r)),Gr($r)}},xa=function(Nr){or(yn),ur==null||ur(Nr)},wa={};Tt.role==="option"&&(wa["aria-selected"]=da);var jr=ae.createElement(Jn,(0,Ne.Z)({ref:ui,elementRef:ei,role:gr===null?"none":gr||"menuitem",tabIndex:_n?null:-1,"data-menu-id":oi&&Rr?null:Rr},dr,Ai,wa,{component:"li","aria-disabled":_n,style:(0,E.Z)((0,E.Z)({},ca),un),className:ie()(Ur,(qt={},(0,bt.Z)(qt,"".concat(Ur,"-active"),vi),(0,bt.Z)(qt,"".concat(Ur,"-selected"),da),(0,bt.Z)(qt,"".concat(Ur,"-disabled"),pi),qt),dn),onClick:$i,onKeyDown:Hi,onFocus:xa}),ar,ae.createElement(rn,{props:(0,E.Z)((0,E.Z)({},Tt),{},{isSelected:da}),icon:Ir}));return ti&&(jr=ti(jr,Tt,{selected:da})),jr});function sr(Tt,Jt){var qt=Tt.eventKey,un=Me(),dn=Se(qt);return ae.useEffect(function(){if(un)return un.registerPath(qt,dn),function(){un.unregisterPath(qt,dn)}},[dn]),un?null:ae.createElement(br,(0,Ne.Z)({},Tt,{ref:Jt}))}var Rn=ae.forwardRef(sr),Fn=["className","children"],Gn=function(Jt,qt){var un=Jt.className,dn=Jt.children,yn=(0,ne.Z)(Jt,Fn),bn=ae.useContext(ye),_n=bn.prefixCls,Qn=bn.mode,ar=bn.rtl;return ae.createElement("ul",(0,Ne.Z)({className:ie()(_n,ar&&"".concat(_n,"-rtl"),"".concat(_n,"-sub"),"".concat(_n,"-").concat(Qn==="inline"?"inline":"vertical"),un),role:"menu"},yn,{"data-menu-list":!0,ref:qt}),dn)},er=ae.forwardRef(Gn);er.displayName="SubMenuList";var xr=er,cr=Te(11592);function Tr(Tt,Jt){return(0,cr.Z)(Tt).map(function(qt,un){if(ae.isValidElement(qt)){var dn,yn,bn=qt.key,_n=(dn=(yn=qt.props)===null||yn===void 0?void 0:yn.eventKey)!==null&&dn!==void 0?dn:bn,Qn=_n==null;Qn&&(_n="tmp_key-".concat([].concat((0,je.Z)(Jt),[un]).join("-")));var ar={key:_n,eventKey:_n};return ae.cloneElement(qt,ar)}return qt})}var Dr=Te(35593),Xn={adjustX:1,adjustY:1},$n={topLeft:{points:["bl","tl"],overflow:Xn},topRight:{points:["br","tr"],overflow:Xn},bottomLeft:{points:["tl","bl"],overflow:Xn},bottomRight:{points:["tr","br"],overflow:Xn},leftTop:{points:["tr","tl"],overflow:Xn},leftBottom:{points:["br","bl"],overflow:Xn},rightTop:{points:["tl","tr"],overflow:Xn},rightBottom:{points:["bl","br"],overflow:Xn}},wr={topLeft:{points:["bl","tl"],overflow:Xn},topRight:{points:["br","tr"],overflow:Xn},bottomLeft:{points:["tl","bl"],overflow:Xn},bottomRight:{points:["tr","br"],overflow:Xn},rightTop:{points:["tr","tl"],overflow:Xn},rightBottom:{points:["br","bl"],overflow:Xn},leftTop:{points:["tl","tr"],overflow:Xn},leftBottom:{points:["bl","br"],overflow:Xn}},nr=null;function Zn(Tt,Jt,qt){if(Jt)return Jt;if(qt)return qt[Tt]||qt.other}var Pr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Ht(Tt){var Jt=Tt.prefixCls,qt=Tt.visible,un=Tt.children,dn=Tt.popup,yn=Tt.popupStyle,bn=Tt.popupClassName,_n=Tt.popupOffset,Qn=Tt.disabled,ar=Tt.mode,gr=Tt.onVisibleChange,mr=ae.useContext(ye),zr=mr.getPopupContainer,Mr=mr.rtl,lr=mr.subMenuOpenDelay,ur=mr.subMenuCloseDelay,dr=mr.builtinPlacements,Rr=mr.triggerSubMenuAction,Cr=mr.forceSubMenuRender,Ar=mr.rootClassName,Gr=mr.motion,Kr=mr.defaultMotions,oi=ae.useState(!1),Di=(0,ve.Z)(oi,2),Hr=Di[0],or=Di[1],ir=Mr?(0,E.Z)((0,E.Z)({},wr),dr):(0,E.Z)((0,E.Z)({},$n),dr),ti=Pr[ar],Ur=Zn(ar,Gr,Kr),ui=ae.useRef(Ur);ar!=="inline"&&(ui.current=Ur);var gi=(0,E.Z)((0,E.Z)({},ui.current),{},{leavedClassName:"".concat(Jt,"-hidden"),removeOnLeave:!1,motionAppear:!0}),pi=ae.useRef();return ae.useEffect(function(){return pi.current=(0,dt.Z)(function(){or(qt)}),function(){dt.Z.cancel(pi.current)}},[qt]),ae.createElement(Dr.Z,{prefixCls:Jt,popupClassName:ie()("".concat(Jt,"-popup"),(0,bt.Z)({},"".concat(Jt,"-rtl"),Mr),bn,Ar),stretch:ar==="horizontal"?"minWidth":null,getPopupContainer:zr,builtinPlacements:ir,popupPlacement:ti,popupVisible:Hr,popup:dn,popupStyle:yn,popupAlign:_n&&{offset:_n},action:Qn?[]:[Rr],mouseEnterDelay:lr,mouseLeaveDelay:ur,onPopupVisibleChange:gr,forceRender:Cr,popupMotion:gi,fresh:!0},un)}var kt=Te(77900);function Rt(Tt){var Jt=Tt.id,qt=Tt.open,un=Tt.keyPath,dn=Tt.children,yn="inline",bn=ae.useContext(ye),_n=bn.prefixCls,Qn=bn.forceSubMenuRender,ar=bn.motion,gr=bn.defaultMotions,mr=bn.mode,zr=ae.useRef(!1);zr.current=mr===yn;var Mr=ae.useState(!zr.current),lr=(0,ve.Z)(Mr,2),ur=lr[0],dr=lr[1],Rr=zr.current?qt:!1;ae.useEffect(function(){zr.current&&dr(!1)},[mr]);var Cr=(0,E.Z)({},Zn(yn,ar,gr));un.length>1&&(Cr.motionAppear=!1);var Ar=Cr.onVisibleChanged;return Cr.onVisibleChanged=function(Gr){return!zr.current&&!Gr&&dr(!0),Ar==null?void 0:Ar(Gr)},ur?null:ae.createElement(Le,{mode:yn,locked:!zr.current},ae.createElement(kt.default,(0,Ne.Z)({visible:Rr},Cr,{forceRender:Qn,removeOnLeave:!1,leavedClassName:"".concat(_n,"-hidden")}),function(Gr){var Kr=Gr.className,oi=Gr.style;return ae.createElement(xr,{id:Jt,className:Kr,style:oi},dn)}))}var Lt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Bt=["active"],Ut=function(Jt){var qt,un=Jt.style,dn=Jt.className,yn=Jt.title,bn=Jt.eventKey,_n=Jt.warnKey,Qn=Jt.disabled,ar=Jt.internalPopupClose,gr=Jt.children,mr=Jt.itemIcon,zr=Jt.expandIcon,Mr=Jt.popupClassName,lr=Jt.popupOffset,ur=Jt.popupStyle,dr=Jt.onClick,Rr=Jt.onMouseEnter,Cr=Jt.onMouseLeave,Ar=Jt.onTitleClick,Gr=Jt.onTitleMouseEnter,Kr=Jt.onTitleMouseLeave,oi=(0,ne.Z)(Jt,Lt),Di=we(bn),Hr=ae.useContext(ye),or=Hr.prefixCls,ir=Hr.mode,ti=Hr.openKeys,Ur=Hr.disabled,ui=Hr.overflowDisabled,gi=Hr.activeKey,pi=Hr.selectedKeys,ei=Hr.itemIcon,li=Hr.expandIcon,ta=Hr.onItemClick,Ir=Hr.onOpenChange,Wr=Hr.onActive,vi=ae.useContext(Xe),Ai=vi._internalRenderSubMenuItem,da=ae.useContext(Be),ca=da.isSubPathKey,$i=Se(),Hi="".concat(or,"-submenu"),xa=Ur||Qn,wa=ae.useRef(),jr=ae.useRef(),_r=mr!=null?mr:ei,Nr=zr!=null?zr:li,$r=ti.includes(bn),Yi=!ui&&$r,fa=ca(pi,bn),va=Kt(bn,xa,Gr,Kr),pa=va.active,ua=(0,ne.Z)(va,Bt),Ma=ae.useState(!1),Xa=(0,ve.Z)(Ma,2),Va=Xa[0],go=Xa[1],_i=function(fi){xa||go(fi)},Ui=function(fi){_i(!0),Rr==null||Rr({key:bn,domEvent:fi})},Oa=function(fi){_i(!1),Cr==null||Cr({key:bn,domEvent:fi})},aa=ae.useMemo(function(){return pa||(ir!=="inline"?Va||ca([gi],bn):!1)},[ir,pa,gi,Va,bn,ca]),ha=Zt($i.length),Pn=function(fi){xa||(Ar==null||Ar({key:bn,domEvent:fi}),ir==="inline"&&Ir(bn,!$r))},An=lt(function(Ii){dr==null||dr(On(Ii)),ta(Ii)}),xn=function(fi){ir!=="inline"&&Ir(bn,fi)},Yn=function(){Wr(bn)},fr=Di&&"".concat(Di,"-popup"),hr=ae.createElement("div",(0,Ne.Z)({role:"menuitem",style:ha,className:"".concat(Hi,"-title"),tabIndex:xa?null:-1,ref:wa,title:typeof yn=="string"?yn:null,"data-menu-id":ui&&Di?null:Di,"aria-expanded":Yi,"aria-haspopup":!0,"aria-controls":fr,"aria-disabled":xa,onClick:Pn,onFocus:Yn},ua),yn,ae.createElement(rn,{icon:ir!=="horizontal"?Nr:void 0,props:(0,E.Z)((0,E.Z)({},Jt),{},{isOpen:Yi,isSubMenu:!0})},ae.createElement("i",{className:"".concat(Hi,"-arrow")}))),Vn=ae.useRef(ir);if(ir!=="inline"&&$i.length>1?Vn.current="vertical":Vn.current=ir,!ui){var Br=Vn.current;hr=ae.createElement(Ht,{mode:Br,prefixCls:Hi,visible:!ar&&Yi&&ir!=="inline",popupClassName:Mr,popupOffset:lr,popupStyle:ur,popup:ae.createElement(Le,{mode:Br==="horizontal"?"vertical":Br},ae.createElement(xr,{id:fr,ref:jr},gr)),disabled:xa,onVisibleChange:xn},hr)}var di=ae.createElement(oe.Z.Item,(0,Ne.Z)({role:"none"},oi,{component:"li",style:un,className:ie()(Hi,"".concat(Hi,"-").concat(ir),dn,(qt={},(0,bt.Z)(qt,"".concat(Hi,"-open"),Yi),(0,bt.Z)(qt,"".concat(Hi,"-active"),aa),(0,bt.Z)(qt,"".concat(Hi,"-selected"),fa),(0,bt.Z)(qt,"".concat(Hi,"-disabled"),xa),qt)),onMouseEnter:Ui,onMouseLeave:Oa}),hr,!ui&&ae.createElement(Rt,{id:fr,open:Yi,keyPath:$i},gr));return Ai&&(di=Ai(di,Jt,{selected:fa,active:aa,open:Yi,disabled:xa})),ae.createElement(Le,{onItemClick:An,mode:ir==="horizontal"?"vertical":ir,itemIcon:_r,expandIcon:Nr},di)};function Yt(Tt){var Jt=Tt.eventKey,qt=Tt.children,un=Se(Jt),dn=Tr(qt,un),yn=Me();ae.useEffect(function(){if(yn)return yn.registerPath(Jt,un),function(){yn.unregisterPath(Jt,un)}},[un]);var bn;return yn?bn=dn:bn=ae.createElement(Ut,Tt,dn),ae.createElement(De.Provider,{value:un},bn)}var hn=Te(43749),fn=["className","title","eventKey","children"],wn=["children"],Ln=function(Jt){var qt=Jt.className,un=Jt.title,dn=Jt.eventKey,yn=Jt.children,bn=(0,ne.Z)(Jt,fn),_n=ae.useContext(ye),Qn=_n.prefixCls,ar="".concat(Qn,"-item-group");return ae.createElement("li",(0,Ne.Z)({role:"presentation"},bn,{onClick:function(mr){return mr.stopPropagation()},className:ie()(ar,qt)}),ae.createElement("div",{role:"presentation",className:"".concat(ar,"-title"),title:typeof un=="string"?un:void 0},un),ae.createElement("ul",{role:"group",className:"".concat(ar,"-list")},yn))};function Tn(Tt){var Jt=Tt.children,qt=(0,ne.Z)(Tt,wn),un=Se(qt.eventKey),dn=Tr(Jt,un),yn=Me();return yn?dn:ae.createElement(Ln,(0,Et.Z)(qt,["warnKey"]),dn)}function zn(Tt){var Jt=Tt.className,qt=Tt.style,un=ae.useContext(ye),dn=un.prefixCls,yn=Me();return yn?null:ae.createElement("li",{role:"separator",className:ie()("".concat(dn,"-item-divider"),Jt),style:qt})}var nn=["label","children","key","type"];function In(Tt){return(Tt||[]).map(function(Jt,qt){if(Jt&&(0,hn.Z)(Jt)==="object"){var un=Jt,dn=un.label,yn=un.children,bn=un.key,_n=un.type,Qn=(0,ne.Z)(un,nn),ar=bn!=null?bn:"tmp-".concat(qt);return yn||_n==="group"?_n==="group"?ae.createElement(Tn,(0,Ne.Z)({key:ar},Qn,{title:dn}),In(yn)):ae.createElement(Yt,(0,Ne.Z)({key:ar},Qn,{title:dn}),In(yn)):_n==="divider"?ae.createElement(zn,(0,Ne.Z)({key:ar},Qn)):ae.createElement(Rn,(0,Ne.Z)({key:ar},Qn),dn)}return null}).filter(function(Jt){return Jt})}function Xt(Tt,Jt,qt){var un=Tt;return Jt&&(un=In(Jt)),Tr(un,qt)}var en=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],sn=[],mn=ae.forwardRef(function(Tt,Jt){var qt,un,dn=Tt,yn=dn.prefixCls,bn=yn===void 0?"rc-menu":yn,_n=dn.rootClassName,Qn=dn.style,ar=dn.className,gr=dn.tabIndex,mr=gr===void 0?0:gr,zr=dn.items,Mr=dn.children,lr=dn.direction,ur=dn.id,dr=dn.mode,Rr=dr===void 0?"vertical":dr,Cr=dn.inlineCollapsed,Ar=dn.disabled,Gr=dn.disabledOverflow,Kr=dn.subMenuOpenDelay,oi=Kr===void 0?.1:Kr,Di=dn.subMenuCloseDelay,Hr=Di===void 0?.1:Di,or=dn.forceSubMenuRender,ir=dn.defaultOpenKeys,ti=dn.openKeys,Ur=dn.activeKey,ui=dn.defaultActiveFirst,gi=dn.selectable,pi=gi===void 0?!0:gi,ei=dn.multiple,li=ei===void 0?!1:ei,ta=dn.defaultSelectedKeys,Ir=dn.selectedKeys,Wr=dn.onSelect,vi=dn.onDeselect,Ai=dn.inlineIndent,da=Ai===void 0?24:Ai,ca=dn.motion,$i=dn.defaultMotions,Hi=dn.triggerSubMenuAction,xa=Hi===void 0?"hover":Hi,wa=dn.builtinPlacements,jr=dn.itemIcon,_r=dn.expandIcon,Nr=dn.overflowedIndicator,$r=Nr===void 0?"...":Nr,Yi=dn.overflowedIndicatorPopupClassName,fa=dn.getPopupContainer,va=dn.onClick,pa=dn.onOpenChange,ua=dn.onKeyDown,Ma=dn.openAnimation,Xa=dn.openTransitionName,Va=dn._internalRenderMenuItem,go=dn._internalRenderSubMenuItem,_i=(0,ne.Z)(dn,en),Ui=ae.useMemo(function(){return Xt(Mr,zr,sn)},[Mr,zr]),Oa=ae.useState(!1),aa=(0,ve.Z)(Oa,2),ha=aa[0],Pn=aa[1],An=ae.useRef(),xn=wt(ur),Yn=lr==="rtl",fr=(0,le.Z)(ir,{value:ti,postState:function(Ga){return Ga||sn}}),hr=(0,ve.Z)(fr,2),Vn=hr[0],Br=hr[1],di=function(Ga){var qa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function xs(){Br(Ga),pa==null||pa(Ga)}qa?(0,ce.flushSync)(xs):xs()},Ii=ae.useState(Vn),fi=(0,ve.Z)(Ii,2),Or=fi[0],hi=fi[1],ki=ae.useRef(!1),na=ae.useMemo(function(){return(Rr==="inline"||Rr==="vertical")&&Cr?["vertical",Cr]:[Rr,!1]},[Rr,Cr]),bi=(0,ve.Z)(na,2),Si=bi[0],Gi=bi[1],Sa=Si==="inline",Na=ae.useState(Si),so=(0,ve.Z)(Na,2),Do=so[0],Xs=so[1],ss=ae.useState(Gi),Ao=(0,ve.Z)(ss,2),fo=Ao[0],Ls=Ao[1];ae.useEffect(function(){Xs(Si),Ls(Gi),ki.current&&(Sa?Br(Or):di(sn))},[Si,Gi]);var Ho=ae.useState(0),hs=(0,ve.Z)(Ho,2),Ys=hs[0],Rs=hs[1],ko=Ys>=Ui.length-1||Do!=="horizontal"||Gr;ae.useEffect(function(){Sa&&hi(Vn)},[Vn]),ae.useEffect(function(){return ki.current=!0,function(){ki.current=!1}},[]);var vo=vt(),ja=vo.registerPath,Ns=vo.unregisterPath,ul=vo.refreshOverflowKeys,ys=vo.isSubPathKey,Ca=vo.getKeyPath,ba=vo.getKeys,$a=vo.getSubPathKeys,yo=ae.useMemo(function(){return{registerPath:ja,unregisterPath:Ns}},[ja,Ns]),io=ae.useMemo(function(){return{isSubPathKey:ys}},[ys]);ae.useEffect(function(){ul(ko?sn:Ui.slice(Ys+1).map(function(Ka){return Ka.key}))},[Ys,ko]);var Wo=(0,le.Z)(Ur||ui&&((qt=Ui[0])===null||qt===void 0?void 0:qt.key),{value:Ur}),Jo=(0,ve.Z)(Wo,2),bs=Jo[0],Qo=Jo[1],Hs=lt(function(Ka){Qo(Ka)}),_s=lt(function(){Qo(void 0)});(0,ae.useImperativeHandle)(Jt,function(){return{list:An.current,focus:function(Ga){var qa,xs=ba(),qo=We(xs,xn),Js=qo.elements,ps=qo.key2element,Zo=qo.element2key,nl=he(An.current,Js),rl=bs!=null?bs:nl[0]?Zo.get(nl[0]):(qa=Ui.find(function($c){return!$c.props.disabled}))===null||qa===void 0?void 0:qa.key,il=ps.get(rl);if(rl&&il){var Bl;il==null||(Bl=il.focus)===null||Bl===void 0||Bl.call(il,Ga)}}}});var $o=(0,le.Z)(ta||[],{value:Ir,postState:function(Ga){return Array.isArray(Ga)?Ga:Ga==null?sn:[Ga]}}),vc=(0,ve.Z)($o,2),yl=vc[0],bl=vc[1],rc=function(Ga){if(pi){var qa=Ga.key,xs=yl.includes(qa),qo;li?xs?qo=yl.filter(function(ps){return ps!==qa}):qo=[].concat((0,je.Z)(yl),[qa]):qo=[qa],bl(qo);var Js=(0,E.Z)((0,E.Z)({},Ga),{},{selectedKeys:qo});xs?vi==null||vi(Js):Wr==null||Wr(Js)}!li&&Vn.length&&Do!=="inline"&&di(sn)},Vl=lt(function(Ka){va==null||va(On(Ka)),rc(Ka)}),Il=lt(function(Ka,Ga){var qa=Vn.filter(function(qo){return qo!==Ka});if(Ga)qa.push(Ka);else if(Do!=="inline"){var xs=$a(Ka);qa=qa.filter(function(qo){return!xs.has(qo)})}(0,pe.Z)(Vn,qa,!0)||di(qa,!0)}),Qc=function(Ga,qa){var xs=qa!=null?qa:!Vn.includes(Ga);Il(Ga,xs)},dl=fe(Do,bs,Yn,xn,An,ba,Ca,Qo,Qc,ua);ae.useEffect(function(){Pn(!0)},[]);var ic=ae.useMemo(function(){return{_internalRenderMenuItem:Va,_internalRenderSubMenuItem:go}},[Va,go]),fl=Do!=="horizontal"||Gr?Ui:Ui.map(function(Ka,Ga){return ae.createElement(Le,{key:Ka.key,overflowDisabled:Ga>Ys},Ka)}),xl=ae.createElement(oe.Z,(0,Ne.Z)({id:ur,ref:An,prefixCls:"".concat(bn,"-overflow"),component:"ul",itemComponent:Rn,className:ie()(bn,"".concat(bn,"-root"),"".concat(bn,"-").concat(Do),ar,(un={},(0,bt.Z)(un,"".concat(bn,"-inline-collapsed"),fo),(0,bt.Z)(un,"".concat(bn,"-rtl"),Yn),un),_n),dir:lr,style:Qn,role:"menu",tabIndex:mr,data:fl,renderRawItem:function(Ga){return Ga},renderRawRest:function(Ga){var qa=Ga.length,xs=qa?Ui.slice(-qa):null;return ae.createElement(Yt,{eventKey:ut,title:$r,disabled:ko,internalPopupClose:qa===0,popupClassName:Yi},xs)},maxCount:Do!=="horizontal"||Gr?oe.Z.INVALIDATE:oe.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ga){Rs(Ga)},onKeyDown:dl},_i));return ae.createElement(Xe.Provider,{value:ic},ae.createElement(de.Provider,{value:xn},ae.createElement(Le,{prefixCls:bn,rootClassName:_n,mode:Do,openKeys:Vn,rtl:Yn,disabled:Ar,motion:ha?ca:null,defaultMotions:ha?$i:null,activeKey:bs,onActive:Hs,onInactive:_s,selectedKeys:yl,inlineIndent:da,subMenuOpenDelay:oi,subMenuCloseDelay:Hr,forceSubMenuRender:or,builtinPlacements:wa,triggerSubMenuAction:xa,getPopupContainer:fa,itemIcon:jr,expandIcon:_r,onItemClick:Vl,onOpenChange:Il},ae.createElement(Be.Provider,{value:io},xl),ae.createElement("div",{style:{display:"none"},"aria-hidden":!0},ae.createElement(_e.Provider,{value:yo},Ui)))))}),Bn=mn,cn=Bn;cn.Item=Rn,cn.SubMenu=Yt,cn.ItemGroup=Tn,cn.Divider=zn;var pn=cn},83836:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return it}});var Ne=Te(60499),bt=Te(85899),E=Te(72190),je=Te(42244),ve=Te(59301),ne=Te(92310),ee=Te.n(ne),ie=Te(29301),oe=Te(34280),le=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],pe=void 0;function re(st,Ve){var Qe=st.prefixCls,nt=st.invalidate,dt=st.item,at=st.renderItem,tt=st.responsive,et=st.responsiveDisabled,ot=st.registerSize,yt=st.itemKey,pt=st.className,Pt=st.style,Mt=st.children,ct=st.display,Je=st.order,Ze=st.component,ue=Ze===void 0?"div":Ze,he=(0,je.Z)(st,le),He=tt&&!ct;function We(Ue){ot(yt,Ue)}ve.useEffect(function(){return function(){We(null)}},[]);var fe=at&&dt!==pe?at(dt,{index:Je}):Mt,Pe;nt||(Pe={opacity:He?0:1,height:He?0:pe,overflowY:He?"hidden":pe,order:tt?Je:pe,pointerEvents:He?"none":pe,position:He?"absolute":pe});var Fe={};He&&(Fe["aria-hidden"]=!0);var Ke=ve.createElement(ue,(0,Ne.Z)({className:ee()(!nt&&Qe,pt),style:(0,bt.Z)((0,bt.Z)({},Pe),Pt)},Fe,he,{ref:Ve}),fe);return tt&&(Ke=ve.createElement(ie.Z,{onResize:function(ut){var vt=ut.offsetWidth;We(vt)},disabled:et},Ke)),Ke}var ae=ve.forwardRef(re);ae.displayName="Item";var ce=ae,de=Te(6089),me=Te(4676),we=Te(16089);function xe(st){if(typeof MessageChannel=="undefined")(0,we.Z)(st);else{var Ve=new MessageChannel;Ve.port1.onmessage=function(){return st()},Ve.port2.postMessage(void 0)}}function Ae(){var st=ve.useRef(null),Ve=function(nt){st.current||(st.current=[],xe(function(){(0,me.unstable_batchedUpdates)(function(){st.current.forEach(function(dt){dt()}),st.current=null})})),st.current.push(nt)};return Ve}function ye(st,Ve){var Qe=ve.useState(Ve),nt=(0,E.Z)(Qe,2),dt=nt[0],at=nt[1],tt=(0,de.Z)(function(et){st(function(){at(et)})});return[dt,tt]}var Ee=ve.createContext(null),Le=["component"],Ce=["className"],_e=["className"],Me=function(Ve,Qe){var nt=ve.useContext(Ee);if(!nt){var dt=Ve.component,at=dt===void 0?"div":dt,tt=(0,je.Z)(Ve,Le);return ve.createElement(at,(0,Ne.Z)({},tt,{ref:Qe}))}var et=nt.className,ot=(0,je.Z)(nt,Ce),yt=Ve.className,pt=(0,je.Z)(Ve,_e);return ve.createElement(Ee.Provider,{value:null},ve.createElement(ce,(0,Ne.Z)({ref:Qe,className:ee()(et,yt)},ot,pt)))},De=ve.forwardRef(Me);De.displayName="RawItem";var Se=De,Be=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Re="responsive",Xe="invalidate";function Ie(st){return"+ ".concat(st.length," ...")}function Ye(st,Ve){var Qe=st.prefixCls,nt=Qe===void 0?"rc-overflow":Qe,dt=st.data,at=dt===void 0?[]:dt,tt=st.renderItem,et=st.renderRawItem,ot=st.itemKey,yt=st.itemWidth,pt=yt===void 0?10:yt,Pt=st.ssr,Mt=st.style,ct=st.className,Je=st.maxCount,Ze=st.renderRest,ue=st.renderRawRest,he=st.prefix,He=st.suffix,We=st.component,fe=We===void 0?"div":We,Pe=st.itemComponent,Fe=st.onVisibleChange,Ke=(0,je.Z)(st,Be),Ue=Pt==="full",ut=Ae(),vt=ye(ut,null),lt=(0,E.Z)(vt,2),Dt=lt[0],Wt=lt[1],wt=Dt||0,zt=ye(ut,new Map),Nt=(0,E.Z)(zt,2),St=Nt[0],ft=Nt[1],Et=ye(ut,0),Ft=(0,E.Z)(Et,2),Kt=Ft[0],Zt=Ft[1],rn=ye(ut,0),En=(0,E.Z)(rn,2),On=En[0],Hn=En[1],Dn=ye(ut,0),jn=(0,E.Z)(Dn,2),Jn=jn[0],br=jn[1],sr=ye(ut,0),Rn=(0,E.Z)(sr,2),Fn=Rn[0],Gn=Rn[1],er=(0,ve.useState)(null),xr=(0,E.Z)(er,2),cr=xr[0],Tr=xr[1],Dr=(0,ve.useState)(null),Xn=(0,E.Z)(Dr,2),$n=Xn[0],wr=Xn[1],nr=ve.useMemo(function(){return $n===null&&Ue?Number.MAX_SAFE_INTEGER:$n||0},[$n,Dt]),Zn=(0,ve.useState)(!1),Pr=(0,E.Z)(Zn,2),Ht=Pr[0],kt=Pr[1],Rt="".concat(nt,"-item"),Lt=Math.max(Kt,On),Bt=Je===Re,Ut=at.length&&Bt,Yt=Je===Xe,hn=Ut||typeof Je=="number"&&at.length>Je,fn=(0,ve.useMemo)(function(){var yn=at;return Ut?Dt===null&&Ue?yn=at:yn=at.slice(0,Math.min(at.length,wt/pt)):typeof Je=="number"&&(yn=at.slice(0,Je)),yn},[at,pt,Dt,Je,Ut]),wn=(0,ve.useMemo)(function(){return Ut?at.slice(nr+1):at.slice(fn.length)},[at,fn,Ut,nr]),Ln=(0,ve.useCallback)(function(yn,bn){var _n;return typeof ot=="function"?ot(yn):(_n=ot&&(yn==null?void 0:yn[ot]))!==null&&_n!==void 0?_n:bn},[ot]),Tn=(0,ve.useCallback)(tt||function(yn){return yn},[tt]);function zn(yn,bn,_n){$n===yn&&(bn===void 0||bn===cr)||(wr(yn),_n||(kt(yn<at.length-1),Fe==null||Fe(yn)),bn!==void 0&&Tr(bn))}function nn(yn,bn){Wt(bn.clientWidth)}function In(yn,bn){ft(function(_n){var Qn=new Map(_n);return bn===null?Qn.delete(yn):Qn.set(yn,bn),Qn})}function Xt(yn,bn){Hn(bn),Zt(On)}function en(yn,bn){br(bn)}function sn(yn,bn){Gn(bn)}function mn(yn){return St.get(Ln(fn[yn],yn))}(0,oe.Z)(function(){if(wt&&typeof Lt=="number"&&fn){var yn=Jn+Fn,bn=fn.length,_n=bn-1;if(!bn){zn(0,null);return}for(var Qn=0;Qn<bn;Qn+=1){var ar=mn(Qn);if(Ue&&(ar=ar||0),ar===void 0){zn(Qn-1,void 0,!0);break}if(yn+=ar,_n===0&&yn<=wt||Qn===_n-1&&yn+mn(_n)<=wt){zn(_n,null);break}else if(yn+Lt>wt){zn(Qn-1,yn-ar-Fn+On);break}}He&&mn(0)+Fn>wt&&Tr(null)}},[wt,St,On,Jn,Fn,Ln,fn]);var Bn=Ht&&!!wn.length,cn={};cr!==null&&Ut&&(cn={position:"absolute",left:cr,top:0});var pn={prefixCls:Rt,responsive:Ut,component:Pe,invalidate:Yt},Tt=et?function(yn,bn){var _n=Ln(yn,bn);return ve.createElement(Ee.Provider,{key:_n,value:(0,bt.Z)((0,bt.Z)({},pn),{},{order:bn,item:yn,itemKey:_n,registerSize:In,display:bn<=nr})},et(yn,bn))}:function(yn,bn){var _n=Ln(yn,bn);return ve.createElement(ce,(0,Ne.Z)({},pn,{order:bn,key:_n,item:yn,renderItem:Tn,itemKey:_n,registerSize:In,display:bn<=nr}))},Jt={order:Bn?nr:Number.MAX_SAFE_INTEGER,className:"".concat(Rt,"-rest"),registerSize:Xt,display:Bn},qt=Ze||Ie,un=ue?ve.createElement(Ee.Provider,{value:(0,bt.Z)((0,bt.Z)({},pn),Jt)},ue(wn)):ve.createElement(ce,(0,Ne.Z)({},pn,Jt),typeof qt=="function"?qt(wn):qt),dn=ve.createElement(fe,(0,Ne.Z)({className:ee()(!Yt&&nt,ct),style:Mt,ref:Ve},Ke),he&&ve.createElement(ce,(0,Ne.Z)({},pn,{responsive:Bt,responsiveDisabled:!Ut,order:-1,className:"".concat(Rt,"-prefix"),registerSize:en,display:!0}),he),fn.map(Tt),hn?un:null,He&&ve.createElement(ce,(0,Ne.Z)({},pn,{responsive:Bt,responsiveDisabled:!Ut,order:nr,className:"".concat(Rt,"-suffix"),registerSize:sn,display:!0,style:cn}),He));return Bt?ve.createElement(ie.Z,{onResize:nn,disabled:!Ut},dn):dn}var Ge=ve.forwardRef(Ye);Ge.displayName="Overflow",Ge.Item=Se,Ge.RESPONSIVE=Re,Ge.INVALIDATE=Xe;var qe=Ge,it=qe},91735:function(kn,Qt){"use strict";Qt.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},17115:function(kn,Qt,Te){"use strict";Te.d(Qt,{ZP:function(){return ee}});var Ne=Te(72190),bt=Te(59301),E=Te(47273),je=0,ve=(0,E.Z)();function ne(){var ie;return ve?(ie=je,je+=1):ie="TEST_OR_SSR",ie}function ee(ie){var oe=bt.useState(),le=(0,Ne.Z)(oe,2),pe=le[0],re=le[1];return bt.useEffect(function(){re("rc_select_".concat(ne()))},[]),ie||pe}},77861:function(kn,Qt,Te){"use strict";Te.d(Qt,{Ac:function(){return Dt},Xo:function(){return On},Wx:function(){return Dn},ZP:function(){return Rt},lk:function(){return Ee}});var Ne=Te(60499),bt=Te(77654),E=Te(18642),je=Te(85899),ve=Te(72190),ne=Te(42244),ee=Te(43749),ie=Te(18929),oe=Te(48736),le=Te(59301),pe=Te(92310),re=Te.n(pe),ae=Te(34280),ce=Te(49658),de=Te(10228),me=Te(8654),we=function(Bt){var Ut=Bt.className,Yt=Bt.customizeIcon,hn=Bt.customizeIconProps,fn=Bt.onMouseDown,wn=Bt.onClick,Ln=Bt.children,Tn;return typeof Yt=="function"?Tn=Yt(hn):Tn=Yt,le.createElement("span",{className:Ut,onMouseDown:function(nn){nn.preventDefault(),fn&&fn(nn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:wn,"aria-hidden":!0},Tn!==void 0?Tn:le.createElement("span",{className:re()(Ut.split(/\s+/).map(function(zn){return"".concat(zn,"-icon")}))},Ln))},xe=we;function Ae(Lt,Bt,Ut,Yt,hn){var fn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,wn=arguments.length>6?arguments[6]:void 0,Ln=arguments.length>7?arguments[7]:void 0,Tn=le.useMemo(function(){if((0,ee.Z)(Yt)==="object")return Yt.clearIcon;if(hn)return hn},[Yt,hn]),zn=le.useMemo(function(){return!!(!fn&&Yt&&(Ut.length||wn)&&!(Ln==="combobox"&&wn===""))},[Yt,fn,Ut.length,wn,Ln]);return{allowClear:zn,clearIcon:le.createElement(xe,{className:"".concat(Lt,"-clear"),onMouseDown:Bt,customizeIcon:Tn},"\xD7")}}var ye=le.createContext(null);function Ee(){return le.useContext(ye)}function Le(){var Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Bt=le.useState(!1),Ut=(0,ve.Z)(Bt,2),Yt=Ut[0],hn=Ut[1],fn=le.useRef(null),wn=function(){window.clearTimeout(fn.current)};le.useEffect(function(){return wn},[]);var Ln=function(zn,nn){wn(),fn.current=window.setTimeout(function(){hn(zn),nn&&nn()},Lt)};return[Yt,Ln,wn]}function Ce(){var Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Bt=le.useRef(null),Ut=le.useRef(null);le.useEffect(function(){return function(){window.clearTimeout(Ut.current)}},[]);function Yt(hn){(hn||Bt.current===null)&&(Bt.current=hn),window.clearTimeout(Ut.current),Ut.current=window.setTimeout(function(){Bt.current=null},Lt)}return[function(){return Bt.current},Yt]}function _e(Lt,Bt,Ut,Yt){var hn=le.useRef(null);hn.current={open:Bt,triggerOpen:Ut,customizedTrigger:Yt},le.useEffect(function(){function fn(wn){var Ln;if(!((Ln=hn.current)!==null&&Ln!==void 0&&Ln.customizedTrigger)){var Tn=wn.target;Tn.shadowRoot&&wn.composed&&(Tn=wn.composedPath()[0]||Tn),hn.current.open&&Lt().filter(function(zn){return zn}).every(function(zn){return!zn.contains(Tn)&&zn!==Tn})&&hn.current.triggerOpen(!1)}}return window.addEventListener("mousedown",fn),function(){return window.removeEventListener("mousedown",fn)}},[])}var Me=Te(26112),De=Te(83836),Se=function(Bt,Ut){var Yt,hn,fn=Bt.prefixCls,wn=Bt.id,Ln=Bt.inputElement,Tn=Bt.disabled,zn=Bt.tabIndex,nn=Bt.autoFocus,In=Bt.autoComplete,Xt=Bt.editable,en=Bt.activeDescendantId,sn=Bt.value,mn=Bt.maxLength,Bn=Bt.onKeyDown,cn=Bt.onMouseDown,pn=Bt.onChange,Tt=Bt.onPaste,Jt=Bt.onCompositionStart,qt=Bt.onCompositionEnd,un=Bt.open,dn=Bt.attrs,yn=Ln||le.createElement("input",null),bn=yn,_n=bn.ref,Qn=bn.props,ar=Qn.onKeyDown,gr=Qn.onChange,mr=Qn.onMouseDown,zr=Qn.onCompositionStart,Mr=Qn.onCompositionEnd,lr=Qn.style;return(0,oe.Kp)(!("maxLength"in yn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),yn=le.cloneElement(yn,(0,je.Z)((0,je.Z)((0,je.Z)({type:"search"},Qn),{},{id:wn,ref:(0,me.sQ)(Ut,_n),disabled:Tn,tabIndex:zn,autoComplete:In||"off",autoFocus:nn,className:re()("".concat(fn,"-selection-search-input"),(Yt=yn)===null||Yt===void 0||(hn=Yt.props)===null||hn===void 0?void 0:hn.className),role:"combobox","aria-label":"Search","aria-expanded":un||!1,"aria-haspopup":"listbox","aria-owns":"".concat(wn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(wn,"_list"),"aria-activedescendant":un?en:void 0},dn),{},{value:Xt?sn:"",maxLength:mn,readOnly:!Xt,unselectable:Xt?null:"on",style:(0,je.Z)((0,je.Z)({},lr),{},{opacity:Xt?null:0}),onKeyDown:function(dr){Bn(dr),ar&&ar(dr)},onMouseDown:function(dr){cn(dr),mr&&mr(dr)},onChange:function(dr){pn(dr),gr&&gr(dr)},onCompositionStart:function(dr){Jt(dr),zr&&zr(dr)},onCompositionEnd:function(dr){qt(dr),Mr&&Mr(dr)},onPaste:Tt})),yn},Be=le.forwardRef(Se);Be.displayName="Input";var Re=Be;function Xe(Lt){return Array.isArray(Lt)?Lt:Lt!==void 0?[Lt]:[]}var Ie=typeof window!="undefined"&&window.document&&window.document.documentElement,Ye=Ie;function Ge(Lt){return Lt!=null}function qe(Lt){return!Lt&&Lt!==0}function it(Lt){return["string","number"].includes((0,ee.Z)(Lt))}function st(Lt){var Bt=void 0;return Lt&&(it(Lt.title)?Bt=Lt.title.toString():it(Lt.label)&&(Bt=Lt.label.toString())),Bt}function Ve(Lt,Bt){Ye?le.useLayoutEffect(Lt,Bt):le.useEffect(Lt,Bt)}function Qe(Lt){var Bt;return(Bt=Lt.key)!==null&&Bt!==void 0?Bt:Lt.value}var nt=function(Bt){Bt.preventDefault(),Bt.stopPropagation()},dt=function(Bt){var Ut=Bt.id,Yt=Bt.prefixCls,hn=Bt.values,fn=Bt.open,wn=Bt.searchValue,Ln=Bt.autoClearSearchValue,Tn=Bt.inputRef,zn=Bt.placeholder,nn=Bt.disabled,In=Bt.mode,Xt=Bt.showSearch,en=Bt.autoFocus,sn=Bt.autoComplete,mn=Bt.activeDescendantId,Bn=Bt.tabIndex,cn=Bt.removeIcon,pn=Bt.maxTagCount,Tt=Bt.maxTagTextLength,Jt=Bt.maxTagPlaceholder,qt=Jt===void 0?function(gi){return"+ ".concat(gi.length," ...")}:Jt,un=Bt.tagRender,dn=Bt.onToggleOpen,yn=Bt.onRemove,bn=Bt.onInputChange,_n=Bt.onInputPaste,Qn=Bt.onInputKeyDown,ar=Bt.onInputMouseDown,gr=Bt.onInputCompositionStart,mr=Bt.onInputCompositionEnd,zr=le.useRef(null),Mr=(0,le.useState)(0),lr=(0,ve.Z)(Mr,2),ur=lr[0],dr=lr[1],Rr=(0,le.useState)(!1),Cr=(0,ve.Z)(Rr,2),Ar=Cr[0],Gr=Cr[1],Kr="".concat(Yt,"-selection"),oi=fn||In==="multiple"&&Ln===!1||In==="tags"?wn:"",Di=In==="tags"||In==="multiple"&&Ln===!1||Xt&&(fn||Ar);Ve(function(){dr(zr.current.scrollWidth)},[oi]);function Hr(gi,pi,ei,li,ta){return le.createElement("span",{className:re()("".concat(Kr,"-item"),(0,E.Z)({},"".concat(Kr,"-item-disabled"),ei)),title:st(gi)},le.createElement("span",{className:"".concat(Kr,"-item-content")},pi),li&&le.createElement(xe,{className:"".concat(Kr,"-item-remove"),onMouseDown:nt,onClick:ta,customizeIcon:cn},"\xD7"))}function or(gi,pi,ei,li,ta){var Ir=function(vi){nt(vi),dn(!fn)};return le.createElement("span",{onMouseDown:Ir},un({label:pi,value:gi,disabled:ei,closable:li,onClose:ta}))}function ir(gi){var pi=gi.disabled,ei=gi.label,li=gi.value,ta=!nn&&!pi,Ir=ei;if(typeof Tt=="number"&&(typeof ei=="string"||typeof ei=="number")){var Wr=String(Ir);Wr.length>Tt&&(Ir="".concat(Wr.slice(0,Tt),"..."))}var vi=function(da){da&&da.stopPropagation(),yn(gi)};return typeof un=="function"?or(li,Ir,pi,ta,vi):Hr(gi,Ir,pi,ta,vi)}function ti(gi){var pi=typeof qt=="function"?qt(gi):qt;return Hr({title:pi},pi,!1)}var Ur=le.createElement("div",{className:"".concat(Kr,"-search"),style:{width:ur},onFocus:function(){Gr(!0)},onBlur:function(){Gr(!1)}},le.createElement(Re,{ref:Tn,open:fn,prefixCls:Yt,id:Ut,inputElement:null,disabled:nn,autoFocus:en,autoComplete:sn,editable:Di,activeDescendantId:mn,value:oi,onKeyDown:Qn,onMouseDown:ar,onChange:bn,onPaste:_n,onCompositionStart:gr,onCompositionEnd:mr,tabIndex:Bn,attrs:(0,Me.Z)(Bt,!0)}),le.createElement("span",{ref:zr,className:"".concat(Kr,"-search-mirror"),"aria-hidden":!0},oi,"\xA0")),ui=le.createElement(De.Z,{prefixCls:"".concat(Kr,"-overflow"),data:hn,renderItem:ir,renderRest:ti,suffix:Ur,itemKey:Qe,maxCount:pn});return le.createElement(le.Fragment,null,ui,!hn.length&&!oi&&le.createElement("span",{className:"".concat(Kr,"-placeholder")},zn))},at=dt,tt=function(Bt){var Ut=Bt.inputElement,Yt=Bt.prefixCls,hn=Bt.id,fn=Bt.inputRef,wn=Bt.disabled,Ln=Bt.autoFocus,Tn=Bt.autoComplete,zn=Bt.activeDescendantId,nn=Bt.mode,In=Bt.open,Xt=Bt.values,en=Bt.placeholder,sn=Bt.tabIndex,mn=Bt.showSearch,Bn=Bt.searchValue,cn=Bt.activeValue,pn=Bt.maxLength,Tt=Bt.onInputKeyDown,Jt=Bt.onInputMouseDown,qt=Bt.onInputChange,un=Bt.onInputPaste,dn=Bt.onInputCompositionStart,yn=Bt.onInputCompositionEnd,bn=Bt.title,_n=le.useState(!1),Qn=(0,ve.Z)(_n,2),ar=Qn[0],gr=Qn[1],mr=nn==="combobox",zr=mr||mn,Mr=Xt[0],lr=Bn||"";mr&&cn&&!ar&&(lr=cn),le.useEffect(function(){mr&&gr(!1)},[mr,cn]);var ur=nn!=="combobox"&&!In&&!mn?!1:!!lr,dr=bn===void 0?st(Mr):bn,Rr=function(){if(Mr)return null;var Ar=ur?{visibility:"hidden"}:void 0;return le.createElement("span",{className:"".concat(Yt,"-selection-placeholder"),style:Ar},en)};return le.createElement(le.Fragment,null,le.createElement("span",{className:"".concat(Yt,"-selection-search")},le.createElement(Re,{ref:fn,prefixCls:Yt,id:hn,open:In,inputElement:Ut,disabled:wn,autoFocus:Ln,autoComplete:Tn,editable:zr,activeDescendantId:zn,value:lr,onKeyDown:Tt,onMouseDown:Jt,onChange:function(Ar){gr(!0),qt(Ar)},onPaste:un,onCompositionStart:dn,onCompositionEnd:yn,tabIndex:sn,attrs:(0,Me.Z)(Bt,!0),maxLength:mr?pn:void 0})),!mr&&Mr?le.createElement("span",{className:"".concat(Yt,"-selection-item"),title:dr,style:ur?{visibility:"hidden"}:void 0},Mr.label):null,Rr())},et=tt;function ot(Lt){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(Lt)}var yt=function(Bt,Ut){var Yt=(0,le.useRef)(null),hn=(0,le.useRef)(!1),fn=Bt.prefixCls,wn=Bt.open,Ln=Bt.mode,Tn=Bt.showSearch,zn=Bt.tokenWithEnter,nn=Bt.autoClearSearchValue,In=Bt.onSearch,Xt=Bt.onSearchSubmit,en=Bt.onToggleOpen,sn=Bt.onInputKeyDown,mn=Bt.domRef;le.useImperativeHandle(Ut,function(){return{focus:function(){Yt.current.focus()},blur:function(){Yt.current.blur()}}});var Bn=Ce(0),cn=(0,ve.Z)(Bn,2),pn=cn[0],Tt=cn[1],Jt=function(lr){var ur=lr.which;(ur===de.Z.UP||ur===de.Z.DOWN)&&lr.preventDefault(),sn&&sn(lr),ur===de.Z.ENTER&&Ln==="tags"&&!hn.current&&!wn&&(Xt==null||Xt(lr.target.value)),ot(ur)&&en(!0)},qt=function(){Tt(!0)},un=(0,le.useRef)(null),dn=function(lr){In(lr,!0,hn.current)!==!1&&en(!0)},yn=function(){hn.current=!0},bn=function(lr){hn.current=!1,Ln!=="combobox"&&dn(lr.target.value)},_n=function(lr){var ur=lr.target.value;if(zn&&un.current&&/[\r\n]/.test(un.current)){var dr=un.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ur=ur.replace(dr,un.current)}un.current=null,dn(ur)},Qn=function(lr){var ur=lr.clipboardData,dr=ur.getData("text");un.current=dr},ar=function(lr){var ur=lr.target;if(ur!==Yt.current){var dr=document.body.style.msTouchAction!==void 0;dr?setTimeout(function(){Yt.current.focus()}):Yt.current.focus()}},gr=function(lr){var ur=pn();lr.target!==Yt.current&&!ur&&Ln!=="combobox"&&lr.preventDefault(),(Ln!=="combobox"&&(!Tn||!ur)||!wn)&&(wn&&nn!==!1&&In("",!0,!1),en())},mr={inputRef:Yt,onInputKeyDown:Jt,onInputMouseDown:qt,onInputChange:_n,onInputPaste:Qn,onInputCompositionStart:yn,onInputCompositionEnd:bn},zr=Ln==="multiple"||Ln==="tags"?le.createElement(at,(0,Ne.Z)({},Bt,mr)):le.createElement(et,(0,Ne.Z)({},Bt,mr));return le.createElement("div",{ref:mn,className:"".concat(fn,"-selector"),onClick:ar,onMouseDown:gr},zr)},pt=le.forwardRef(yt);pt.displayName="Selector";var Pt=pt,Mt=Te(35593),ct=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Je=function(Bt){var Ut=Bt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ut,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ut,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ut,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ut,adjustY:1},htmlRegion:"scroll"}}},Ze=function(Bt,Ut){var Yt=Bt.prefixCls,hn=Bt.disabled,fn=Bt.visible,wn=Bt.children,Ln=Bt.popupElement,Tn=Bt.animation,zn=Bt.transitionName,nn=Bt.dropdownStyle,In=Bt.dropdownClassName,Xt=Bt.direction,en=Xt===void 0?"ltr":Xt,sn=Bt.placement,mn=Bt.builtinPlacements,Bn=Bt.dropdownMatchSelectWidth,cn=Bt.dropdownRender,pn=Bt.dropdownAlign,Tt=Bt.getPopupContainer,Jt=Bt.empty,qt=Bt.getTriggerDOMNode,un=Bt.onPopupVisibleChange,dn=Bt.onPopupMouseEnter,yn=(0,ne.Z)(Bt,ct),bn="".concat(Yt,"-dropdown"),_n=Ln;cn&&(_n=cn(Ln));var Qn=le.useMemo(function(){return mn||Je(Bn)},[mn,Bn]),ar=Tn?"".concat(bn,"-").concat(Tn):zn,gr=typeof Bn=="number",mr=le.useMemo(function(){return gr?null:Bn===!1?"minWidth":"width"},[Bn,gr]),zr=nn;gr&&(zr=(0,je.Z)((0,je.Z)({},zr),{},{width:Bn}));var Mr=le.useRef(null);return le.useImperativeHandle(Ut,function(){return{getPopupElement:function(){return Mr.current}}}),le.createElement(Mt.Z,(0,Ne.Z)({},yn,{showAction:un?["click"]:[],hideAction:un?["click"]:[],popupPlacement:sn||(en==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Qn,prefixCls:bn,popupTransitionName:ar,popup:le.createElement("div",{ref:Mr,onMouseEnter:dn},_n),stretch:mr,popupAlign:pn,popupVisible:fn,getPopupContainer:Tt,popupClassName:re()(In,(0,E.Z)({},"".concat(bn,"-empty"),Jt)),popupStyle:zr,getTriggerDOMNode:qt,onPopupVisibleChange:un}),wn)},ue=le.forwardRef(Ze);ue.displayName="SelectTrigger";var he=ue,He=Te(48745);function We(Lt,Bt){var Ut=Lt.key,Yt;return"value"in Lt&&(Yt=Lt.value),Ut!=null?Ut:Yt!==void 0?Yt:"rc-index-key-".concat(Bt)}function fe(Lt,Bt){var Ut=Lt||{},Yt=Ut.label,hn=Ut.value,fn=Ut.options,wn=Ut.groupLabel,Ln=Yt||(Bt?"children":"label");return{label:Ln,value:hn||"value",options:fn||"options",groupLabel:wn||Ln}}function Pe(Lt){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ut=Bt.fieldNames,Yt=Bt.childrenAsData,hn=[],fn=fe(Ut,!1),wn=fn.label,Ln=fn.value,Tn=fn.options,zn=fn.groupLabel;function nn(In,Xt){In.forEach(function(en){if(Xt||!(Tn in en)){var sn=en[Ln];hn.push({key:We(en,hn.length),groupOption:Xt,data:en,label:en[wn],value:sn})}else{var mn=en[zn];mn===void 0&&Yt&&(mn=en.label),hn.push({key:We(en,hn.length),group:!0,data:en,label:mn}),nn(en[Tn],!0)}})}return nn(Lt,!1),hn}function Fe(Lt){var Bt=(0,je.Z)({},Lt);return"props"in Bt||Object.defineProperty(Bt,"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`."),Bt}}),Bt}function Ke(Lt,Bt){if(!Bt||!Bt.length)return null;var Ut=!1;function Yt(fn,wn){var Ln=(0,He.Z)(wn),Tn=Ln[0],zn=Ln.slice(1);if(!Tn)return[fn];var nn=fn.split(Tn);return Ut=Ut||nn.length>1,nn.reduce(function(In,Xt){return[].concat((0,bt.Z)(In),(0,bt.Z)(Yt(Xt,zn)))},[]).filter(function(In){return In})}var hn=Yt(Lt,Bt);return Ut?hn:null}var Ue=["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 vt(Lt){return Lt==="tags"||Lt==="multiple"}var lt=le.forwardRef(function(Lt,Bt){var Ut,Yt,hn=Lt.id,fn=Lt.prefixCls,wn=Lt.className,Ln=Lt.showSearch,Tn=Lt.tagRender,zn=Lt.direction,nn=Lt.omitDomProps,In=Lt.displayValues,Xt=Lt.onDisplayValuesChange,en=Lt.emptyOptions,sn=Lt.notFoundContent,mn=sn===void 0?"Not Found":sn,Bn=Lt.onClear,cn=Lt.mode,pn=Lt.disabled,Tt=Lt.loading,Jt=Lt.getInputElement,qt=Lt.getRawInputElement,un=Lt.open,dn=Lt.defaultOpen,yn=Lt.onDropdownVisibleChange,bn=Lt.activeValue,_n=Lt.onActiveValueChange,Qn=Lt.activeDescendantId,ar=Lt.searchValue,gr=Lt.autoClearSearchValue,mr=Lt.onSearch,zr=Lt.onSearchSplit,Mr=Lt.tokenSeparators,lr=Lt.allowClear,ur=Lt.suffixIcon,dr=Lt.clearIcon,Rr=Lt.OptionList,Cr=Lt.animation,Ar=Lt.transitionName,Gr=Lt.dropdownStyle,Kr=Lt.dropdownClassName,oi=Lt.dropdownMatchSelectWidth,Di=Lt.dropdownRender,Hr=Lt.dropdownAlign,or=Lt.placement,ir=Lt.builtinPlacements,ti=Lt.getPopupContainer,Ur=Lt.showAction,ui=Ur===void 0?[]:Ur,gi=Lt.onFocus,pi=Lt.onBlur,ei=Lt.onKeyUp,li=Lt.onKeyDown,ta=Lt.onMouseDown,Ir=(0,ne.Z)(Lt,Ue),Wr=vt(cn),vi=(Ln!==void 0?Ln:Wr)||cn==="combobox",Ai=(0,je.Z)({},Ir);ut.forEach(function(Ca){delete Ai[Ca]}),nn==null||nn.forEach(function(Ca){delete Ai[Ca]});var da=le.useState(!1),ca=(0,ve.Z)(da,2),$i=ca[0],Hi=ca[1];le.useEffect(function(){Hi((0,ce.Z)())},[]);var xa=le.useRef(null),wa=le.useRef(null),jr=le.useRef(null),_r=le.useRef(null),Nr=le.useRef(null),$r=Le(),Yi=(0,ve.Z)($r,3),fa=Yi[0],va=Yi[1],pa=Yi[2];le.useImperativeHandle(Bt,function(){var Ca,ba;return{focus:(Ca=_r.current)===null||Ca===void 0?void 0:Ca.focus,blur:(ba=_r.current)===null||ba===void 0?void 0:ba.blur,scrollTo:function(yo){var io;return(io=Nr.current)===null||io===void 0?void 0:io.scrollTo(yo)}}});var ua=le.useMemo(function(){var Ca;if(cn!=="combobox")return ar;var ba=(Ca=In[0])===null||Ca===void 0?void 0:Ca.value;return typeof ba=="string"||typeof ba=="number"?String(ba):""},[ar,cn,In]),Ma=cn==="combobox"&&typeof Jt=="function"&&Jt()||null,Xa=typeof qt=="function"&&qt(),Va=(0,me.x1)(wa,Xa==null||(Ut=Xa.props)===null||Ut===void 0?void 0:Ut.ref),go=le.useState(!1),_i=(0,ve.Z)(go,2),Ui=_i[0],Oa=_i[1];(0,ae.Z)(function(){Oa(!0)},[]);var aa=(0,ie.Z)(!1,{defaultValue:dn,value:un}),ha=(0,ve.Z)(aa,2),Pn=ha[0],An=ha[1],xn=Ui?Pn:!1,Yn=!mn&&en;(pn||Yn&&xn&&cn==="combobox")&&(xn=!1);var fr=Yn?!1:xn,hr=le.useCallback(function(Ca){var ba=Ca!==void 0?Ca:!xn;pn||(An(ba),xn!==ba&&(yn==null||yn(ba)))},[pn,xn,An,yn]),Vn=le.useMemo(function(){return(Mr||[]).some(function(Ca){return[`
`,`\r
`].includes(Ca)})},[Mr]),Br=function(ba,$a,yo){var io=!0,Wo=ba;_n==null||_n(null);var Jo=yo?null:Ke(ba,Mr);return cn!=="combobox"&&Jo&&(Wo="",zr==null||zr(Jo),hr(!1),io=!1),mr&&ua!==Wo&&mr(Wo,{source:$a?"typing":"effect"}),io},di=function(ba){!ba||!ba.trim()||mr(ba,{source:"submit"})};le.useEffect(function(){!xn&&!Wr&&cn!=="combobox"&&Br("",!1,!1)},[xn]),le.useEffect(function(){Pn&&pn&&An(!1),pn&&va(!1)},[pn]);var Ii=Ce(),fi=(0,ve.Z)(Ii,2),Or=fi[0],hi=fi[1],ki=function(ba){var $a=Or(),yo=ba.which;if(yo===de.Z.ENTER&&(cn!=="combobox"&&ba.preventDefault(),xn||hr(!0)),hi(!!ua),yo===de.Z.BACKSPACE&&!$a&&Wr&&!ua&&In.length){for(var io=(0,bt.Z)(In),Wo=null,Jo=io.length-1;Jo>=0;Jo-=1){var bs=io[Jo];if(!bs.disabled){io.splice(Jo,1),Wo=bs;break}}Wo&&Xt(io,{type:"remove",values:[Wo]})}for(var Qo=arguments.length,Hs=new Array(Qo>1?Qo-1:0),_s=1;_s<Qo;_s++)Hs[_s-1]=arguments[_s];if(xn&&Nr.current){var $o;($o=Nr.current).onKeyDown.apply($o,[ba].concat(Hs))}li==null||li.apply(void 0,[ba].concat(Hs))},na=function(ba){for(var $a=arguments.length,yo=new Array($a>1?$a-1:0),io=1;io<$a;io++)yo[io-1]=arguments[io];if(xn&&Nr.current){var Wo;(Wo=Nr.current).onKeyUp.apply(Wo,[ba].concat(yo))}ei==null||ei.apply(void 0,[ba].concat(yo))},bi=function(ba){var $a=In.filter(function(yo){return yo!==ba});Xt($a,{type:"remove",values:[ba]})},Si=le.useRef(!1),Gi=function(){va(!0),pn||(gi&&!Si.current&&gi.apply(void 0,arguments),ui.includes("focus")&&hr(!0)),Si.current=!0},Sa=function(){va(!1,function(){Si.current=!1,hr(!1)}),!pn&&(ua&&(cn==="tags"?mr(ua,{source:"submit"}):cn==="multiple"&&mr("",{source:"blur"})),pi&&pi.apply(void 0,arguments))},Na=[];le.useEffect(function(){return function(){Na.forEach(function(Ca){return clearTimeout(Ca)}),Na.splice(0,Na.length)}},[]);var so=function(ba){var $a,yo=ba.target,io=($a=jr.current)===null||$a===void 0?void 0:$a.getPopupElement();if(io&&io.contains(yo)){var Wo=setTimeout(function(){var Hs=Na.indexOf(Wo);if(Hs!==-1&&Na.splice(Hs,1),pa(),!$i&&!io.contains(document.activeElement)){var _s;(_s=_r.current)===null||_s===void 0||_s.focus()}});Na.push(Wo)}for(var Jo=arguments.length,bs=new Array(Jo>1?Jo-1:0),Qo=1;Qo<Jo;Qo++)bs[Qo-1]=arguments[Qo];ta==null||ta.apply(void 0,[ba].concat(bs))},Do=le.useState({}),Xs=(0,ve.Z)(Do,2),ss=Xs[1];function Ao(){ss({})}var fo;Xa&&(fo=function(ba){hr(ba)}),_e(function(){var Ca;return[xa.current,(Ca=jr.current)===null||Ca===void 0?void 0:Ca.getPopupElement()]},fr,hr,!!Xa);var Ls=le.useMemo(function(){return(0,je.Z)((0,je.Z)({},Lt),{},{notFoundContent:mn,open:xn,triggerOpen:fr,id:hn,showSearch:vi,multiple:Wr,toggleOpen:hr})},[Lt,mn,fr,xn,hn,vi,Wr,hr]),Ho=!!ur||Tt,hs;Ho&&(hs=le.createElement(xe,{className:re()("".concat(fn,"-arrow"),(0,E.Z)({},"".concat(fn,"-arrow-loading"),Tt)),customizeIcon:ur,customizeIconProps:{loading:Tt,searchValue:ua,open:xn,focused:fa,showSearch:vi}}));var Ys=function(){var ba;Bn==null||Bn(),(ba=_r.current)===null||ba===void 0||ba.focus(),Xt([],{type:"clear",values:In}),Br("",!1,!1)},Rs=Ae(fn,Ys,In,lr,dr,pn,ua,cn),ko=Rs.allowClear,vo=Rs.clearIcon,ja=le.createElement(Rr,{ref:Nr}),Ns=re()(fn,wn,(Yt={},(0,E.Z)(Yt,"".concat(fn,"-focused"),fa),(0,E.Z)(Yt,"".concat(fn,"-multiple"),Wr),(0,E.Z)(Yt,"".concat(fn,"-single"),!Wr),(0,E.Z)(Yt,"".concat(fn,"-allow-clear"),lr),(0,E.Z)(Yt,"".concat(fn,"-show-arrow"),Ho),(0,E.Z)(Yt,"".concat(fn,"-disabled"),pn),(0,E.Z)(Yt,"".concat(fn,"-loading"),Tt),(0,E.Z)(Yt,"".concat(fn,"-open"),xn),(0,E.Z)(Yt,"".concat(fn,"-customize-input"),Ma),(0,E.Z)(Yt,"".concat(fn,"-show-search"),vi),Yt)),ul=le.createElement(he,{ref:jr,disabled:pn,prefixCls:fn,visible:fr,popupElement:ja,animation:Cr,transitionName:Ar,dropdownStyle:Gr,dropdownClassName:Kr,direction:zn,dropdownMatchSelectWidth:oi,dropdownRender:Di,dropdownAlign:Hr,placement:or,builtinPlacements:ir,getPopupContainer:ti,empty:en,getTriggerDOMNode:function(){return wa.current},onPopupVisibleChange:fo,onPopupMouseEnter:Ao},Xa?le.cloneElement(Xa,{ref:Va}):le.createElement(Pt,(0,Ne.Z)({},Lt,{domRef:wa,prefixCls:fn,inputElement:Ma,ref:_r,id:hn,showSearch:vi,autoClearSearchValue:gr,mode:cn,activeDescendantId:Qn,tagRender:Tn,values:In,open:xn,onToggleOpen:hr,activeValue:bn,searchValue:ua,onSearch:Br,onSearchSubmit:di,onRemove:bi,tokenWithEnter:Vn}))),ys;return Xa?ys=ul:ys=le.createElement("div",(0,Ne.Z)({className:Ns},Ai,{ref:xa,onMouseDown:so,onKeyDown:ki,onKeyUp:na,onFocus:Gi,onBlur:Sa}),fa&&!xn&&le.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(In.map(function(Ca){var ba=Ca.label,$a=Ca.value;return["number","string"].includes((0,ee.Z)(ba))?ba:$a}).join(", "))),ul,hs,ko&&vo),le.createElement(ye.Provider,{value:Ls},ys)}),Dt=lt,Wt=function(Lt,Bt){var Ut=le.useRef({values:new Map,options:new Map}),Yt=le.useMemo(function(){var fn=Ut.current,wn=fn.values,Ln=fn.options,Tn=Lt.map(function(In){if(In.label===void 0){var Xt;return(0,je.Z)((0,je.Z)({},In),{},{label:(Xt=wn.get(In.value))===null||Xt===void 0?void 0:Xt.label})}return In}),zn=new Map,nn=new Map;return Tn.forEach(function(In){zn.set(In.value,In),nn.set(In.value,Bt.get(In.value)||Ln.get(In.value))}),Ut.current.values=zn,Ut.current.options=nn,Tn},[Lt,Bt]),hn=le.useCallback(function(fn){return Bt.get(fn)||Ut.current.options.get(fn)},[Bt]);return[Yt,hn]};function wt(Lt,Bt){return Xe(Lt).join("").toUpperCase().includes(Bt)}var zt=function(Lt,Bt,Ut,Yt,hn){return le.useMemo(function(){if(!Ut||Yt===!1)return Lt;var fn=Bt.options,wn=Bt.label,Ln=Bt.value,Tn=[],zn=typeof Yt=="function",nn=Ut.toUpperCase(),In=zn?Yt:function(en,sn){return hn?wt(sn[hn],nn):sn[fn]?wt(sn[wn!=="children"?wn:"label"],nn):wt(sn[Ln],nn)},Xt=zn?function(en){return Fe(en)}:function(en){return en};return Lt.forEach(function(en){if(en[fn]){var sn=In(Ut,Xt(en));if(sn)Tn.push(en);else{var mn=en[fn].filter(function(Bn){return In(Ut,Xt(Bn))});mn.length&&Tn.push((0,je.Z)((0,je.Z)({},en),{},(0,E.Z)({},fn,mn)))}return}In(Ut,Xt(en))&&Tn.push(en)}),Tn},[Lt,Yt,hn,Ut,Bt])},Nt=Te(17115),St=Te(11592),ft=["children","value"],Et=["children"];function Ft(Lt){var Bt=Lt,Ut=Bt.key,Yt=Bt.props,hn=Yt.children,fn=Yt.value,wn=(0,ne.Z)(Yt,ft);return(0,je.Z)({key:Ut,value:fn!==void 0?fn:Ut,children:hn},wn)}function Kt(Lt){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,St.Z)(Lt).map(function(Ut,Yt){if(!le.isValidElement(Ut)||!Ut.type)return null;var hn=Ut,fn=hn.type.isSelectOptGroup,wn=hn.key,Ln=hn.props,Tn=Ln.children,zn=(0,ne.Z)(Ln,Et);return Bt||!fn?Ft(Ut):(0,je.Z)((0,je.Z)({key:"__RC_SELECT_GRP__".concat(wn===null?Yt:wn,"__"),label:wn},zn),{},{options:Kt(Tn)})}).filter(function(Ut){return Ut})}function Zt(Lt,Bt,Ut,Yt,hn){return le.useMemo(function(){var fn=Lt,wn=!Lt;wn&&(fn=Kt(Bt));var Ln=new Map,Tn=new Map,zn=function(Xt,en,sn){sn&&typeof sn=="string"&&Xt.set(en[sn],en)};function nn(In){for(var Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,en=0;en<In.length;en+=1){var sn=In[en];!sn[Ut.options]||Xt?(Ln.set(sn[Ut.value],sn),zn(Tn,sn,Ut.label),zn(Tn,sn,Yt),zn(Tn,sn,hn)):nn(sn[Ut.options],!0)}}return nn(fn),{options:fn,valueOptions:Ln,labelOptions:Tn}},[Lt,Bt,Ut,Yt,hn])}function rn(Lt){var Bt=le.useRef();Bt.current=Lt;var Ut=le.useCallback(function(){return Bt.current.apply(Bt,arguments)},[]);return Ut}var En=function(){return null};En.isSelectOptGroup=!0;var On=En,Hn=function(){return null};Hn.isSelectOption=!0;var Dn=Hn,jn=Te(80547),Jn=Te(2738),br=Te(48911),sr=le.createContext(null),Rn=sr;function Fn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Gn=["disabled","title","children","style","className"];function er(Lt){return typeof Lt=="string"||typeof Lt=="number"}var xr=function(Bt,Ut){var Yt=Ee(),hn=Yt.prefixCls,fn=Yt.id,wn=Yt.open,Ln=Yt.multiple,Tn=Yt.mode,zn=Yt.searchValue,nn=Yt.toggleOpen,In=Yt.notFoundContent,Xt=Yt.onPopupScroll,en=le.useContext(Rn),sn=en.flattenOptions,mn=en.onActiveValue,Bn=en.defaultActiveFirstOption,cn=en.onSelect,pn=en.menuItemSelectedIcon,Tt=en.rawValues,Jt=en.fieldNames,qt=en.virtual,un=en.direction,dn=en.listHeight,yn=en.listItemHeight,bn="".concat(hn,"-item"),_n=(0,jn.Z)(function(){return sn},[wn,sn],function(Hr,or){return or[0]&&Hr[1]!==or[1]}),Qn=le.useRef(null),ar=function(or){or.preventDefault()},gr=function(or){Qn.current&&Qn.current.scrollTo(typeof or=="number"?{index:or}:or)},mr=function(or){for(var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ti=_n.length,Ur=0;Ur<ti;Ur+=1){var ui=(or+Ur*ir+ti)%ti,gi=_n[ui],pi=gi.group,ei=gi.data;if(!pi&&!ei.disabled)return ui}return-1},zr=le.useState(function(){return mr(0)}),Mr=(0,ve.Z)(zr,2),lr=Mr[0],ur=Mr[1],dr=function(or){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ur(or);var ti={source:ir?"keyboard":"mouse"},Ur=_n[or];if(!Ur){mn(null,-1,ti);return}mn(Ur.value,or,ti)};(0,le.useEffect)(function(){dr(Bn!==!1?mr(0):-1)},[_n.length,zn]);var Rr=le.useCallback(function(Hr){return Tt.has(Hr)&&Tn!=="combobox"},[Tn,(0,bt.Z)(Tt).toString(),Tt.size]);(0,le.useEffect)(function(){var Hr=setTimeout(function(){if(!Ln&&wn&&Tt.size===1){var ir=Array.from(Tt)[0],ti=_n.findIndex(function(Ur){var ui=Ur.data;return ui.value===ir});ti!==-1&&(dr(ti),gr(ti))}});if(wn){var or;(or=Qn.current)===null||or===void 0||or.scrollTo(void 0)}return function(){return clearTimeout(Hr)}},[wn,zn,sn.length]);var Cr=function(or){or!==void 0&&cn(or,{selected:!Tt.has(or)}),Ln||nn(!1)};if(le.useImperativeHandle(Ut,function(){return{onKeyDown:function(or){var ir=or.which,ti=or.ctrlKey;switch(ir){case de.Z.N:case de.Z.P:case de.Z.UP:case de.Z.DOWN:{var Ur=0;if(ir===de.Z.UP?Ur=-1:ir===de.Z.DOWN?Ur=1:Fn()&&ti&&(ir===de.Z.N?Ur=1:ir===de.Z.P&&(Ur=-1)),Ur!==0){var ui=mr(lr+Ur,Ur);gr(ui),dr(ui,!0)}break}case de.Z.ENTER:{var gi=_n[lr];gi&&!gi.data.disabled?Cr(gi.value):Cr(void 0),wn&&or.preventDefault();break}case de.Z.ESC:nn(!1),wn&&or.stopPropagation()}},onKeyUp:function(){},scrollTo:function(or){gr(or)}}}),_n.length===0)return le.createElement("div",{role:"listbox",id:"".concat(fn,"_list"),className:"".concat(bn,"-empty"),onMouseDown:ar},In);var Ar=Object.keys(Jt).map(function(Hr){return Jt[Hr]}),Gr=function(or){return or.label};function Kr(Hr,or){var ir=Hr.group;return{role:ir?"presentation":"option",id:"".concat(fn,"_list_").concat(or)}}var oi=function(or){var ir=_n[or];if(!ir)return null;var ti=ir.data||{},Ur=ti.value,ui=ir.group,gi=(0,Me.Z)(ti,!0),pi=Gr(ir);return ir?le.createElement("div",(0,Ne.Z)({"aria-label":typeof pi=="string"&&!ui?pi:null},gi,{key:or},Kr(ir,or),{"aria-selected":Rr(Ur)}),Ur):null},Di={role:"listbox",id:"".concat(fn,"_list")};return le.createElement(le.Fragment,null,qt&&le.createElement("div",(0,Ne.Z)({},Di,{style:{height:0,width:0,overflow:"hidden"}}),oi(lr-1),oi(lr),oi(lr+1)),le.createElement(br.Z,{itemKey:"key",ref:Qn,data:_n,height:dn,itemHeight:yn,fullHeight:!1,onMouseDown:ar,onScroll:Xt,virtual:qt,direction:un,innerProps:qt?null:Di},function(Hr,or){var ir,ti=Hr.group,Ur=Hr.groupOption,ui=Hr.data,gi=Hr.label,pi=Hr.value,ei=ui.key;if(ti){var li,ta=(li=ui.title)!==null&&li!==void 0?li:er(gi)?gi.toString():void 0;return le.createElement("div",{className:re()(bn,"".concat(bn,"-group")),title:ta},gi!==void 0?gi:ei)}var Ir=ui.disabled,Wr=ui.title,vi=ui.children,Ai=ui.style,da=ui.className,ca=(0,ne.Z)(ui,Gn),$i=(0,Jn.Z)(ca,Ar),Hi=Rr(pi),xa="".concat(bn,"-option"),wa=re()(bn,xa,da,(ir={},(0,E.Z)(ir,"".concat(xa,"-grouped"),Ur),(0,E.Z)(ir,"".concat(xa,"-active"),lr===or&&!Ir),(0,E.Z)(ir,"".concat(xa,"-disabled"),Ir),(0,E.Z)(ir,"".concat(xa,"-selected"),Hi),ir)),jr=Gr(Hr),_r=!pn||typeof pn=="function"||Hi,Nr=typeof jr=="number"?jr:jr||pi,$r=er(Nr)?Nr.toString():void 0;return Wr!==void 0&&($r=Wr),le.createElement("div",(0,Ne.Z)({},(0,Me.Z)($i),qt?{}:Kr(Hr,or),{"aria-selected":Hi,className:wa,title:$r,onMouseMove:function(){lr===or||Ir||dr(or)},onClick:function(){Ir||Cr(pi)},style:Ai}),le.createElement("div",{className:"".concat(xa,"-content")},Nr),le.isValidElement(pn)||Hi,_r&&le.createElement(xe,{className:"".concat(bn,"-option-state"),customizeIcon:pn,customizeIconProps:{isSelected:Hi}},Hi?"\u2713":null))}))},cr=le.forwardRef(xr);cr.displayName="OptionList";var Tr=cr;function Dr(Lt){var Bt=Lt.mode,Ut=Lt.options,Yt=Lt.children,hn=Lt.backfill,fn=Lt.allowClear,wn=Lt.placeholder,Ln=Lt.getInputElement,Tn=Lt.showSearch,zn=Lt.onSearch,nn=Lt.defaultOpen,In=Lt.autoFocus,Xt=Lt.labelInValue,en=Lt.value,sn=Lt.inputValue,mn=Lt.optionLabelProp,Bn=isMultiple(Bt),cn=Tn!==void 0?Tn:Bn||Bt==="combobox",pn=Ut||convertChildrenToData(Yt);if(warning(Bt!=="tags"||pn.every(function(un){return!un.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Bt==="tags"||Bt==="combobox"){var Tt=pn.some(function(un){return un.options?un.options.some(function(dn){return typeof("value"in dn?dn.value:dn.key)=="number"}):typeof("value"in un?un.value:un.key)=="number"});warning(!Tt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Bt!=="combobox"||!mn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Bt==="combobox"||!hn,"`backfill` only works with `combobox` mode."),warning(Bt==="combobox"||!Ln,"`getInputElement` only work with `combobox` mode."),noteOnce(Bt!=="combobox"||!Ln||!fn||!wn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),zn&&!cn&&Bt!=="combobox"&&Bt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!nn||In,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),en!=null){var Jt=toArray(en);warning(!Xt||Jt.every(function(un){return _typeof(un)==="object"&&("key"in un||"value"in un)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Bn||Array.isArray(en),"`value` should be array when `mode` is `multiple` or `tags`")}if(Yt){var qt=null;toNodeArray(Yt).some(function(un){if(!React.isValidElement(un)||!un.type)return!1;var dn=un,yn=dn.type;if(yn.isSelectOption)return!1;if(yn.isSelectOptGroup){var bn=toNodeArray(un.props.children).every(function(_n){return!React.isValidElement(_n)||!un.type||_n.type.isSelectOption?!0:(qt=_n.type,!1)});return!bn}return qt=yn,!0}),qt&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(qt.displayName||qt.name||qt,"`.")),warning(sn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Xn(Lt,Bt){if(Lt){var Ut=function Yt(hn){for(var fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,wn=0;wn<hn.length;wn++){var Ln=hn[wn];if(Ln[Bt==null?void 0:Bt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!fn&&Array.isArray(Ln[Bt==null?void 0:Bt.options])&&Yt(Ln[Bt==null?void 0:Bt.options],!0))break}};Ut(Lt)}}var $n=null,wr=["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"],nr=["inputValue"];function Zn(Lt){return!Lt||(0,ee.Z)(Lt)!=="object"}var Pr=le.forwardRef(function(Lt,Bt){var Ut=Lt.id,Yt=Lt.mode,hn=Lt.prefixCls,fn=hn===void 0?"rc-select":hn,wn=Lt.backfill,Ln=Lt.fieldNames,Tn=Lt.inputValue,zn=Lt.searchValue,nn=Lt.onSearch,In=Lt.autoClearSearchValue,Xt=In===void 0?!0:In,en=Lt.onSelect,sn=Lt.onDeselect,mn=Lt.dropdownMatchSelectWidth,Bn=mn===void 0?!0:mn,cn=Lt.filterOption,pn=Lt.filterSort,Tt=Lt.optionFilterProp,Jt=Lt.optionLabelProp,qt=Lt.options,un=Lt.children,dn=Lt.defaultActiveFirstOption,yn=Lt.menuItemSelectedIcon,bn=Lt.virtual,_n=Lt.direction,Qn=Lt.listHeight,ar=Qn===void 0?200:Qn,gr=Lt.listItemHeight,mr=gr===void 0?20:gr,zr=Lt.value,Mr=Lt.defaultValue,lr=Lt.labelInValue,ur=Lt.onChange,dr=(0,ne.Z)(Lt,wr),Rr=(0,Nt.ZP)(Ut),Cr=vt(Yt),Ar=!!(!qt&&un),Gr=le.useMemo(function(){return cn===void 0&&Yt==="combobox"?!1:cn},[cn,Yt]),Kr=le.useMemo(function(){return fe(Ln,Ar)},[JSON.stringify(Ln),Ar]),oi=(0,ie.Z)("",{value:zn!==void 0?zn:Tn,postState:function(Yn){return Yn||""}}),Di=(0,ve.Z)(oi,2),Hr=Di[0],or=Di[1],ir=Zt(qt,un,Kr,Tt,Jt),ti=ir.valueOptions,Ur=ir.labelOptions,ui=ir.options,gi=le.useCallback(function(xn){var Yn=Xe(xn);return Yn.map(function(fr){var hr,Vn,Br,di,Ii;if(Zn(fr))hr=fr;else{var fi;Br=fr.key,Vn=fr.label,hr=(fi=fr.value)!==null&&fi!==void 0?fi:Br}var Or=ti.get(hr);if(Or){var hi;if(Vn===void 0&&(Vn=Or==null?void 0:Or[Jt||Kr.label]),Br===void 0&&(Br=(hi=Or==null?void 0:Or.key)!==null&&hi!==void 0?hi:hr),di=Or==null?void 0:Or.disabled,Ii=Or==null?void 0:Or.title,0)var ki}return{label:Vn,value:hr,key:Br,disabled:di,title:Ii}})},[Kr,Jt,ti]),pi=(0,ie.Z)(Mr,{value:zr}),ei=(0,ve.Z)(pi,2),li=ei[0],ta=ei[1],Ir=le.useMemo(function(){var xn,Yn=gi(li);return Yt==="combobox"&&qe((xn=Yn[0])===null||xn===void 0?void 0:xn.value)?[]:Yn},[li,gi,Yt]),Wr=Wt(Ir,ti),vi=(0,ve.Z)(Wr,2),Ai=vi[0],da=vi[1],ca=le.useMemo(function(){if(!Yt&&Ai.length===1){var xn=Ai[0];if(xn.value===null&&(xn.label===null||xn.label===void 0))return[]}return Ai.map(function(Yn){var fr;return(0,je.Z)((0,je.Z)({},Yn),{},{label:(fr=Yn.label)!==null&&fr!==void 0?fr:Yn.value})})},[Yt,Ai]),$i=le.useMemo(function(){return new Set(Ai.map(function(xn){return xn.value}))},[Ai]);le.useEffect(function(){if(Yt==="combobox"){var xn,Yn=(xn=Ai[0])===null||xn===void 0?void 0:xn.value;or(Ge(Yn)?String(Yn):"")}},[Ai]);var Hi=rn(function(xn,Yn){var fr,hr=Yn!=null?Yn:xn;return fr={},(0,E.Z)(fr,Kr.value,xn),(0,E.Z)(fr,Kr.label,hr),fr}),xa=le.useMemo(function(){if(Yt!=="tags")return ui;var xn=(0,bt.Z)(ui),Yn=function(hr){return ti.has(hr)};return(0,bt.Z)(Ai).sort(function(fr,hr){return fr.value<hr.value?-1:1}).forEach(function(fr){var hr=fr.value;Yn(hr)||xn.push(Hi(hr,fr.label))}),xn},[Hi,ui,ti,Ai,Yt]),wa=zt(xa,Kr,Hr,Gr,Tt),jr=le.useMemo(function(){return Yt!=="tags"||!Hr||wa.some(function(xn){return xn[Tt||"value"]===Hr})||wa.some(function(xn){return xn[Kr.value]===Hr})?wa:[Hi(Hr)].concat((0,bt.Z)(wa))},[Hi,Tt,Yt,wa,Hr,Kr]),_r=le.useMemo(function(){return pn?(0,bt.Z)(jr).sort(function(xn,Yn){return pn(xn,Yn)}):jr},[jr,pn]),Nr=le.useMemo(function(){return Pe(_r,{fieldNames:Kr,childrenAsData:Ar})},[_r,Kr,Ar]),$r=function(Yn){var fr=gi(Yn);if(ta(fr),ur&&(fr.length!==Ai.length||fr.some(function(Br,di){var Ii;return((Ii=Ai[di])===null||Ii===void 0?void 0:Ii.value)!==(Br==null?void 0:Br.value)}))){var hr=lr?fr:fr.map(function(Br){return Br.value}),Vn=fr.map(function(Br){return Fe(da(Br.value))});ur(Cr?hr:hr[0],Cr?Vn:Vn[0])}},Yi=le.useState(null),fa=(0,ve.Z)(Yi,2),va=fa[0],pa=fa[1],ua=le.useState(0),Ma=(0,ve.Z)(ua,2),Xa=Ma[0],Va=Ma[1],go=dn!==void 0?dn:Yt!=="combobox",_i=le.useCallback(function(xn,Yn){var fr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},hr=fr.source,Vn=hr===void 0?"keyboard":hr;Va(Yn),wn&&Yt==="combobox"&&xn!==null&&Vn==="keyboard"&&pa(String(xn))},[wn,Yt]),Ui=function(Yn,fr,hr){var Vn=function(){var Si,Gi=da(Yn);return[lr?{label:Gi==null?void 0:Gi[Kr.label],value:Yn,key:(Si=Gi==null?void 0:Gi.key)!==null&&Si!==void 0?Si:Yn}:Yn,Fe(Gi)]};if(fr&&en){var Br=Vn(),di=(0,ve.Z)(Br,2),Ii=di[0],fi=di[1];en(Ii,fi)}else if(!fr&&sn&&hr!=="clear"){var Or=Vn(),hi=(0,ve.Z)(Or,2),ki=hi[0],na=hi[1];sn(ki,na)}},Oa=rn(function(xn,Yn){var fr,hr=Cr?Yn.selected:!0;hr?fr=Cr?[].concat((0,bt.Z)(Ai),[xn]):[xn]:fr=Ai.filter(function(Vn){return Vn.value!==xn}),$r(fr),Ui(xn,hr),Yt==="combobox"?pa(""):(!vt||Xt)&&(or(""),pa(""))}),aa=function(Yn,fr){$r(Yn);var hr=fr.type,Vn=fr.values;(hr==="remove"||hr==="clear")&&Vn.forEach(function(Br){Ui(Br.value,!1,hr)})},ha=function(Yn,fr){if(or(Yn),pa(null),fr.source==="submit"){var hr=(Yn||"").trim();if(hr){var Vn=Array.from(new Set([].concat((0,bt.Z)($i),[hr])));$r(Vn),Ui(hr,!0),or("")}return}fr.source!=="blur"&&(Yt==="combobox"&&$r(Yn),nn==null||nn(Yn))},Pn=function(Yn){var fr=Yn;Yt!=="tags"&&(fr=Yn.map(function(Vn){var Br=Ur.get(Vn);return Br==null?void 0:Br.value}).filter(function(Vn){return Vn!==void 0}));var hr=Array.from(new Set([].concat((0,bt.Z)($i),(0,bt.Z)(fr))));$r(hr),hr.forEach(function(Vn){Ui(Vn,!0)})},An=le.useMemo(function(){var xn=bn!==!1&&Bn!==!1;return(0,je.Z)((0,je.Z)({},ir),{},{flattenOptions:Nr,onActiveValue:_i,defaultActiveFirstOption:go,onSelect:Oa,menuItemSelectedIcon:yn,rawValues:$i,fieldNames:Kr,virtual:xn,direction:_n,listHeight:ar,listItemHeight:mr,childrenAsData:Ar})},[ir,Nr,_i,go,Oa,yn,$i,Kr,bn,Bn,ar,mr,Ar]);return le.createElement(Rn.Provider,{value:An},le.createElement(Dt,(0,Ne.Z)({},dr,{id:Rr,prefixCls:fn,ref:Bt,omitDomProps:nr,mode:Yt,displayValues:ca,onDisplayValuesChange:aa,direction:_n,searchValue:Hr,onSearch:ha,autoClearSearchValue:Xt,onSearchSplit:Pn,dropdownMatchSelectWidth:Bn,OptionList:Tr,emptyOptions:!Nr.length,activeValue:va,activeDescendantId:"".concat(Rr,"_list_").concat(Xa)})))}),Ht=Pr;Ht.Option=Dn,Ht.OptGroup=On;var kt=Ht,Rt=kt},9296:function(kn,Qt,Te){"use strict";Te.r(Qt),Te.d(Qt,{ResizableTextArea:function(){return Be},default:function(){return qe}});var Ne=Te(60499),bt=Te(85899),E=Te(18642),je=Te(43749),ve=Te(72190),ne=Te(42244),ee=Te(77654),ie=Te(92310),oe=Te.n(ie),le=Te(93681),pe=Te(5643),re=Te(18929),ae=Te(59301),ce=Te(29301),de=Te(34280),me=Te(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;
`,xe=["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"],Ae={},ye;function Ee(it){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ve=it.getAttribute("id")||it.getAttribute("data-reactid")||it.getAttribute("name");if(st&&Ae[Ve])return Ae[Ve];var Qe=window.getComputedStyle(it),nt=Qe.getPropertyValue("box-sizing")||Qe.getPropertyValue("-moz-box-sizing")||Qe.getPropertyValue("-webkit-box-sizing"),dt=parseFloat(Qe.getPropertyValue("padding-bottom"))+parseFloat(Qe.getPropertyValue("padding-top")),at=parseFloat(Qe.getPropertyValue("border-bottom-width"))+parseFloat(Qe.getPropertyValue("border-top-width")),tt=xe.map(function(ot){return"".concat(ot,":").concat(Qe.getPropertyValue(ot))}).join(";"),et={sizingStyle:tt,paddingSize:dt,borderSize:at,boxSizing:nt};return st&&Ve&&(Ae[Ve]=et),et}function Le(it){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Qe=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)),it.getAttribute("wrap")?ye.setAttribute("wrap",it.getAttribute("wrap")):ye.removeAttribute("wrap");var nt=Ee(it,st),dt=nt.paddingSize,at=nt.borderSize,tt=nt.boxSizing,et=nt.sizingStyle;ye.setAttribute("style","".concat(et,";").concat(we)),ye.value=it.value||it.placeholder||"";var ot=void 0,yt=void 0,pt,Pt=ye.scrollHeight;if(tt==="border-box"?Pt+=at:tt==="content-box"&&(Pt-=dt),Ve!==null||Qe!==null){ye.value=" ";var Mt=ye.scrollHeight-dt;Ve!==null&&(ot=Mt*Ve,tt==="border-box"&&(ot=ot+dt+at),Pt=Math.max(ot,Pt)),Qe!==null&&(yt=Mt*Qe,tt==="border-box"&&(yt=yt+dt+at),pt=Pt>yt?"":"hidden",Pt=Math.min(yt,Pt))}var ct={height:Pt,overflowY:pt,resize:"none"};return ot&&(ct.minHeight=ot),yt&&(ct.maxHeight=yt),ct}var Ce=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],_e=0,Me=1,De=2,Se=ae.forwardRef(function(it,st){var Ve=it,Qe=Ve.prefixCls,nt=Ve.onPressEnter,dt=Ve.defaultValue,at=Ve.value,tt=Ve.autoSize,et=Ve.onResize,ot=Ve.className,yt=Ve.style,pt=Ve.disabled,Pt=Ve.onChange,Mt=Ve.onInternalAutoSize,ct=(0,ne.Z)(Ve,Ce),Je=(0,re.Z)(dt,{value:at,postState:function(On){return On!=null?On:""}}),Ze=(0,ve.Z)(Je,2),ue=Ze[0],he=Ze[1],He=function(On){he(On.target.value),Pt==null||Pt(On)},We=ae.useRef();ae.useImperativeHandle(st,function(){return{textArea:We.current}});var fe=ae.useMemo(function(){return tt&&(0,je.Z)(tt)==="object"?[tt.minRows,tt.maxRows]:[]},[tt]),Pe=(0,ve.Z)(fe,2),Fe=Pe[0],Ke=Pe[1],Ue=!!tt,ut=function(){try{if(document.activeElement===We.current){var On=We.current,Hn=On.selectionStart,Dn=On.selectionEnd,jn=On.scrollTop;We.current.setSelectionRange(Hn,Dn),We.current.scrollTop=jn}}catch(Jn){}},vt=ae.useState(De),lt=(0,ve.Z)(vt,2),Dt=lt[0],Wt=lt[1],wt=ae.useState(),zt=(0,ve.Z)(wt,2),Nt=zt[0],St=zt[1],ft=function(){Wt(_e)};(0,de.Z)(function(){Ue&&ft()},[at,Fe,Ke,Ue]),(0,de.Z)(function(){if(Dt===_e)Wt(Me);else if(Dt===Me){var En=Le(We.current,!1,Fe,Ke);Wt(De),St(En)}else ut()},[Dt]);var Et=ae.useRef(),Ft=function(){me.Z.cancel(Et.current)},Kt=function(On){Dt===De&&(et==null||et(On),tt&&(Ft(),Et.current=(0,me.Z)(function(){ft()})))};ae.useEffect(function(){return Ft},[]);var Zt=Ue?Nt:null,rn=(0,bt.Z)((0,bt.Z)({},yt),Zt);return(Dt===_e||Dt===Me)&&(rn.overflowY="hidden",rn.overflowX="hidden"),ae.createElement(ce.Z,{onResize:Kt,disabled:!(tt||et)},ae.createElement("textarea",(0,Ne.Z)({},ct,{ref:We,style:rn,className:oe()(Qe,ot,(0,E.Z)({},"".concat(Qe,"-disabled"),pt)),disabled:pt,value:ue,onChange:He})))}),Be=Se,Re=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Xe(it,st){return(0,ee.Z)(it||"").slice(0,st).join("")}function Ie(it,st,Ve,Qe){var nt=Ve;return it?nt=Xe(Ve,Qe):(0,ee.Z)(st||"").length<Ve.length&&(0,ee.Z)(Ve||"").length>Qe&&(nt=st),nt}var Ye=ae.forwardRef(function(it,st){var Ve,Qe=it.defaultValue,nt=it.value,dt=it.onFocus,at=it.onBlur,tt=it.onChange,et=it.allowClear,ot=it.maxLength,yt=it.onCompositionStart,pt=it.onCompositionEnd,Pt=it.suffix,Mt=it.prefixCls,ct=Mt===void 0?"rc-textarea":Mt,Je=it.classes,Ze=it.showCount,ue=it.className,he=it.style,He=it.disabled,We=it.hidden,fe=it.classNames,Pe=it.styles,Fe=it.onResize,Ke=(0,ne.Z)(it,Re),Ue=(0,re.Z)(Qe,{value:nt,defaultValue:Qe}),ut=(0,ve.Z)(Ue,2),vt=ut[0],lt=ut[1],Dt=(0,ae.useRef)(null),Wt=ae.useState(!1),wt=(0,ve.Z)(Wt,2),zt=wt[0],Nt=wt[1],St=ae.useState(!1),ft=(0,ve.Z)(St,2),Et=ft[0],Ft=ft[1],Kt=ae.useRef(),Zt=ae.useRef(0),rn=ae.useState(null),En=(0,ve.Z)(rn,2),On=En[0],Hn=En[1],Dn=function(){var Zn;(Zn=Dt.current)===null||Zn===void 0||Zn.textArea.focus()};(0,ae.useImperativeHandle)(st,function(){return{resizableTextArea:Dt.current,focus:Dn,blur:function(){var Zn;(Zn=Dt.current)===null||Zn===void 0||Zn.textArea.blur()}}}),(0,ae.useEffect)(function(){Nt(function(nr){return!He&&nr})},[He]);var jn=Number(ot)>0,Jn=function(Zn){Ft(!0),Kt.current=vt,Zt.current=Zn.currentTarget.selectionStart,yt==null||yt(Zn)},br=function(Zn){Ft(!1);var Pr=Zn.currentTarget.value;if(jn){var Ht,kt=Zt.current>=ot+1||Zt.current===((Ht=Kt.current)===null||Ht===void 0?void 0:Ht.length);Pr=Ie(kt,Kt.current,Pr,ot)}Pr!==vt&&(lt(Pr),(0,pe.rJ)(Zn.currentTarget,Zn,tt,Pr)),pt==null||pt(Zn)},sr=function(Zn){var Pr=Zn.target.value;if(!Et&&jn){var Ht=Zn.target.selectionStart>=ot+1||Zn.target.selectionStart===Pr.length||!Zn.target.selectionStart;Pr=Ie(Ht,vt,Pr,ot)}lt(Pr),(0,pe.rJ)(Zn.currentTarget,Zn,tt,Pr)},Rn=function(Zn){var Pr=Ke.onPressEnter,Ht=Ke.onKeyDown;Zn.key==="Enter"&&Pr&&Pr(Zn),Ht==null||Ht(Zn)},Fn=function(Zn){Nt(!0),dt==null||dt(Zn)},Gn=function(Zn){Nt(!1),at==null||at(Zn)},er=function(Zn){var Pr;lt(""),Dn(),(0,pe.rJ)((Pr=Dt.current)===null||Pr===void 0?void 0:Pr.textArea,Zn,tt)},xr=(0,pe.D7)(vt);!Et&&jn&&nt==null&&(xr=Xe(xr,ot));var cr=Pt,Tr;if(Ze){var Dr=(0,ee.Z)(xr).length;(0,je.Z)(Ze)==="object"?Tr=Ze.formatter({value:xr,count:Dr,maxLength:ot}):Tr="".concat(Dr).concat(jn?" / ".concat(ot):""),cr=ae.createElement(ae.Fragment,null,cr,ae.createElement("span",{className:oe()("".concat(ct,"-data-count"),fe==null?void 0:fe.count),style:Pe==null?void 0:Pe.count},Tr))}var Xn=function(Zn){var Pr;Fe==null||Fe(Zn),(Pr=Dt.current)!==null&&Pr!==void 0&&Pr.textArea.style.height&&Hn(!0)},$n=!Ke.autoSize&&!Ze&&!et,wr=ae.createElement(le.BaseInput,{value:xr,allowClear:et,handleReset:er,suffix:cr,prefixCls:ct,classes:{affixWrapper:oe()(Je==null?void 0:Je.affixWrapper,(Ve={},(0,E.Z)(Ve,"".concat(ct,"-show-count"),Ze),(0,E.Z)(Ve,"".concat(ct,"-textarea-allow-clear"),et),Ve))},disabled:He,focused:zt,className:ue,style:(0,bt.Z)((0,bt.Z)({},he),On&&!$n?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Tr=="string"?Tr:void 0}},hidden:We,inputElement:ae.createElement(Be,(0,Ne.Z)({},Ke,{onKeyDown:Rn,onChange:sr,onFocus:Fn,onBlur:Gn,onCompositionStart:Jn,onCompositionEnd:br,className:fe==null?void 0:fe.textarea,style:(0,bt.Z)((0,bt.Z)({},Pe==null?void 0:Pe.textarea),{},{resize:he==null?void 0:he.resize}),disabled:He,prefixCls:ct,onResize:Xn,ref:Dt}))});return wr}),Ge=Ye,qe=Ge},39417:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Me}});var Ne=Te(60499),bt=Te(18642),E=Te(42244),je=Te(85899),ve=Te(38705),ne=Te(17212),ee=Te(15793),ie=Te(39153),oe=Te(55401),le=Te(92310),pe=Te.n(le),re=Te(26112),ae=Te(59301),ce=Te(39378),de=function(Se){for(var Be=Se.prefixCls,Re=Se.level,Xe=Se.isStart,Ie=Se.isEnd,Ye="".concat(Be,"-indent-unit"),Ge=[],qe=0;qe<Re;qe+=1){var it;Ge.push(ae.createElement("span",{key:qe,className:pe()(Ye,(it={},(0,bt.Z)(it,"".concat(Ye,"-start"),Xe[qe]),(0,bt.Z)(it,"".concat(Ye,"-end"),Ie[qe]),it))}))}return ae.createElement("span",{"aria-hidden":"true",className:"".concat(Be,"-indent")},Ge)},me=ae.memo(de),we=Te(67841),xe=Te(71430),Ae=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ye="open",Ee="close",Le="---",Ce=function(De){(0,ie.Z)(Be,De);var Se=(0,oe.Z)(Be);function Be(){var Re;(0,ve.Z)(this,Be);for(var Xe=arguments.length,Ie=new Array(Xe),Ye=0;Ye<Xe;Ye++)Ie[Ye]=arguments[Ye];return Re=Se.call.apply(Se,[this].concat(Ie)),Re.state={dragNodeHighlight:!1},Re.selectHandle=void 0,Re.cacheIndent=void 0,Re.onSelectorClick=function(Ge){var qe=Re.props.context.onNodeClick;qe(Ge,(0,xe.F)(Re.props)),Re.isSelectable()?Re.onSelect(Ge):Re.onCheck(Ge)},Re.onSelectorDoubleClick=function(Ge){var qe=Re.props.context.onNodeDoubleClick;qe(Ge,(0,xe.F)(Re.props))},Re.onSelect=function(Ge){if(!Re.isDisabled()){var qe=Re.props.context.onNodeSelect;qe(Ge,(0,xe.F)(Re.props))}},Re.onCheck=function(Ge){if(!Re.isDisabled()){var qe=Re.props,it=qe.disableCheckbox,st=qe.checked,Ve=Re.props.context.onNodeCheck;if(!(!Re.isCheckable()||it)){var Qe=!st;Ve(Ge,(0,xe.F)(Re.props),Qe)}}},Re.onMouseEnter=function(Ge){var qe=Re.props.context.onNodeMouseEnter;qe(Ge,(0,xe.F)(Re.props))},Re.onMouseLeave=function(Ge){var qe=Re.props.context.onNodeMouseLeave;qe(Ge,(0,xe.F)(Re.props))},Re.onContextMenu=function(Ge){var qe=Re.props.context.onNodeContextMenu;qe(Ge,(0,xe.F)(Re.props))},Re.onDragStart=function(Ge){var qe=Re.props.context.onNodeDragStart;Ge.stopPropagation(),Re.setState({dragNodeHighlight:!0}),qe(Ge,(0,ee.Z)(Re));try{Ge.dataTransfer.setData("text/plain","")}catch(it){}},Re.onDragEnter=function(Ge){var qe=Re.props.context.onNodeDragEnter;Ge.preventDefault(),Ge.stopPropagation(),qe(Ge,(0,ee.Z)(Re))},Re.onDragOver=function(Ge){var qe=Re.props.context.onNodeDragOver;Ge.preventDefault(),Ge.stopPropagation(),qe(Ge,(0,ee.Z)(Re))},Re.onDragLeave=function(Ge){var qe=Re.props.context.onNodeDragLeave;Ge.stopPropagation(),qe(Ge,(0,ee.Z)(Re))},Re.onDragEnd=function(Ge){var qe=Re.props.context.onNodeDragEnd;Ge.stopPropagation(),Re.setState({dragNodeHighlight:!1}),qe(Ge,(0,ee.Z)(Re))},Re.onDrop=function(Ge){var qe=Re.props.context.onNodeDrop;Ge.preventDefault(),Ge.stopPropagation(),Re.setState({dragNodeHighlight:!1}),qe(Ge,(0,ee.Z)(Re))},Re.onExpand=function(Ge){var qe=Re.props,it=qe.loading,st=qe.context.onNodeExpand;it||st(Ge,(0,xe.F)(Re.props))},Re.setSelectHandle=function(Ge){Re.selectHandle=Ge},Re.getNodeState=function(){var Ge=Re.props.expanded;return Re.isLeaf()?null:Ge?ye:Ee},Re.hasChildren=function(){var Ge=Re.props.eventKey,qe=Re.props.context.keyEntities,it=(0,we.Z)(qe,Ge)||{},st=it.children;return!!(st||[]).length},Re.isLeaf=function(){var Ge=Re.props,qe=Ge.isLeaf,it=Ge.loaded,st=Re.props.context.loadData,Ve=Re.hasChildren();return qe===!1?!1:qe||!st&&!Ve||st&&it&&!Ve},Re.isDisabled=function(){var Ge=Re.props.disabled,qe=Re.props.context.disabled;return!!(qe||Ge)},Re.isCheckable=function(){var Ge=Re.props.checkable,qe=Re.props.context.checkable;return!qe||Ge===!1?!1:qe},Re.syncLoadData=function(Ge){var qe=Ge.expanded,it=Ge.loading,st=Ge.loaded,Ve=Re.props.context,Qe=Ve.loadData,nt=Ve.onNodeLoad;it||Qe&&qe&&!Re.isLeaf()&&!Re.hasChildren()&&!st&&nt((0,xe.F)(Re.props))},Re.isDraggable=function(){var Ge=Re.props,qe=Ge.data,it=Ge.context.draggable;return!!(it&&(!it.nodeDraggable||it.nodeDraggable(qe)))},Re.renderDragHandler=function(){var Ge=Re.props.context,qe=Ge.draggable,it=Ge.prefixCls;return qe!=null&&qe.icon?ae.createElement("span",{className:"".concat(it,"-draggable-icon")},qe.icon):null},Re.renderSwitcherIconDom=function(Ge){var qe=Re.props.switcherIcon,it=Re.props.context.switcherIcon,st=qe||it;return typeof st=="function"?st((0,je.Z)((0,je.Z)({},Re.props),{},{isLeaf:Ge})):st},Re.renderSwitcher=function(){var Ge=Re.props.expanded,qe=Re.props.context.prefixCls;if(Re.isLeaf()){var it=Re.renderSwitcherIconDom(!0);return it!==!1?ae.createElement("span",{className:pe()("".concat(qe,"-switcher"),"".concat(qe,"-switcher-noop"))},it):null}var st=pe()("".concat(qe,"-switcher"),"".concat(qe,"-switcher_").concat(Ge?ye:Ee)),Ve=Re.renderSwitcherIconDom(!1);return Ve!==!1?ae.createElement("span",{onClick:Re.onExpand,className:st},Ve):null},Re.renderCheckbox=function(){var Ge=Re.props,qe=Ge.checked,it=Ge.halfChecked,st=Ge.disableCheckbox,Ve=Re.props.context.prefixCls,Qe=Re.isDisabled(),nt=Re.isCheckable();if(!nt)return null;var dt=typeof nt!="boolean"?nt:null;return ae.createElement("span",{className:pe()("".concat(Ve,"-checkbox"),qe&&"".concat(Ve,"-checkbox-checked"),!qe&&it&&"".concat(Ve,"-checkbox-indeterminate"),(Qe||st)&&"".concat(Ve,"-checkbox-disabled")),onClick:Re.onCheck},dt)},Re.renderIcon=function(){var Ge=Re.props.loading,qe=Re.props.context.prefixCls;return ae.createElement("span",{className:pe()("".concat(qe,"-iconEle"),"".concat(qe,"-icon__").concat(Re.getNodeState()||"docu"),Ge&&"".concat(qe,"-icon_loading"))})},Re.renderSelector=function(){var Ge=Re.state.dragNodeHighlight,qe=Re.props,it=qe.title,st=it===void 0?Le:it,Ve=qe.selected,Qe=qe.icon,nt=qe.loading,dt=qe.data,at=Re.props.context,tt=at.prefixCls,et=at.showIcon,ot=at.icon,yt=at.loadData,pt=at.titleRender,Pt=Re.isDisabled(),Mt="".concat(tt,"-node-content-wrapper"),ct;if(et){var Je=Qe||ot;ct=Je?ae.createElement("span",{className:pe()("".concat(tt,"-iconEle"),"".concat(tt,"-icon__customize"))},typeof Je=="function"?Je(Re.props):Je):Re.renderIcon()}else yt&&nt&&(ct=Re.renderIcon());var Ze;typeof st=="function"?Ze=st(dt):pt?Ze=pt(dt):Ze=st;var ue=ae.createElement("span",{className:"".concat(tt,"-title")},Ze);return ae.createElement("span",{ref:Re.setSelectHandle,title:typeof st=="string"?st:"",className:pe()("".concat(Mt),"".concat(Mt,"-").concat(Re.getNodeState()||"normal"),!Pt&&(Ve||Ge)&&"".concat(tt,"-node-selected")),onMouseEnter:Re.onMouseEnter,onMouseLeave:Re.onMouseLeave,onContextMenu:Re.onContextMenu,onClick:Re.onSelectorClick,onDoubleClick:Re.onSelectorDoubleClick},ct,ue,Re.renderDropIndicator())},Re.renderDropIndicator=function(){var Ge=Re.props,qe=Ge.disabled,it=Ge.eventKey,st=Re.props.context,Ve=st.draggable,Qe=st.dropLevelOffset,nt=st.dropPosition,dt=st.prefixCls,at=st.indent,tt=st.dropIndicatorRender,et=st.dragOverNodeKey,ot=st.direction,yt=!!Ve,pt=!qe&&yt&&et===it,Pt=at!=null?at:Re.cacheIndent;return Re.cacheIndent=at,pt?tt({dropPosition:nt,dropLevelOffset:Qe,indent:Pt,prefixCls:dt,direction:ot}):null},Re}return(0,ne.Z)(Be,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Xe=this.props.selectable,Ie=this.props.context.selectable;return typeof Xe=="boolean"?Xe:Ie}},{key:"render",value:function(){var Xe,Ie=this.props,Ye=Ie.eventKey,Ge=Ie.className,qe=Ie.style,it=Ie.dragOver,st=Ie.dragOverGapTop,Ve=Ie.dragOverGapBottom,Qe=Ie.isLeaf,nt=Ie.isStart,dt=Ie.isEnd,at=Ie.expanded,tt=Ie.selected,et=Ie.checked,ot=Ie.halfChecked,yt=Ie.loading,pt=Ie.domRef,Pt=Ie.active,Mt=Ie.data,ct=Ie.onMouseMove,Je=Ie.selectable,Ze=(0,E.Z)(Ie,Ae),ue=this.props.context,he=ue.prefixCls,He=ue.filterTreeNode,We=ue.keyEntities,fe=ue.dropContainerKey,Pe=ue.dropTargetKey,Fe=ue.draggingNodeKey,Ke=this.isDisabled(),Ue=(0,re.Z)(Ze,{aria:!0,data:!0}),ut=(0,we.Z)(We,Ye)||{},vt=ut.level,lt=dt[dt.length-1],Dt=this.isDraggable(),Wt=!Ke&&Dt,wt=Fe===Ye,zt=Je!==void 0?{"aria-selected":!!Je}:void 0;return ae.createElement("div",(0,Ne.Z)({ref:pt,className:pe()(Ge,"".concat(he,"-treenode"),(Xe={},(0,bt.Z)(Xe,"".concat(he,"-treenode-disabled"),Ke),(0,bt.Z)(Xe,"".concat(he,"-treenode-switcher-").concat(at?"open":"close"),!Qe),(0,bt.Z)(Xe,"".concat(he,"-treenode-checkbox-checked"),et),(0,bt.Z)(Xe,"".concat(he,"-treenode-checkbox-indeterminate"),ot),(0,bt.Z)(Xe,"".concat(he,"-treenode-selected"),tt),(0,bt.Z)(Xe,"".concat(he,"-treenode-loading"),yt),(0,bt.Z)(Xe,"".concat(he,"-treenode-active"),Pt),(0,bt.Z)(Xe,"".concat(he,"-treenode-leaf-last"),lt),(0,bt.Z)(Xe,"".concat(he,"-treenode-draggable"),Dt),(0,bt.Z)(Xe,"dragging",wt),(0,bt.Z)(Xe,"drop-target",Pe===Ye),(0,bt.Z)(Xe,"drop-container",fe===Ye),(0,bt.Z)(Xe,"drag-over",!Ke&&it),(0,bt.Z)(Xe,"drag-over-gap-top",!Ke&&st),(0,bt.Z)(Xe,"drag-over-gap-bottom",!Ke&&Ve),(0,bt.Z)(Xe,"filter-node",He&&He((0,xe.F)(this.props))),Xe)),style:qe,draggable:Wt,"aria-grabbed":wt,onDragStart:Wt?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:ct},zt,Ue),ae.createElement(me,{prefixCls:he,level:vt,isStart:nt,isEnd:dt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Be}(ae.Component),_e=function(Se){return ae.createElement(ce.k.Consumer,null,function(Be){return ae.createElement(Ce,(0,Ne.Z)({},Se,{context:Be}))})};_e.displayName="TreeNode",_e.isTreeNode=1;var Me=_e},39378:function(kn,Qt,Te){"use strict";Te.d(Qt,{k:function(){return bt}});var Ne=Te(59301),bt=Ne.createContext(null)},38028:function(kn,Qt,Te){"use strict";Te.d(Qt,{O:function(){return Me.Z},Z:function(){return ue}});var Ne=Te(60499),bt=Te(18642),E=Te(43749),je=Te(85899),ve=Te(77654),ne=Te(38705),ee=Te(17212),ie=Te(15793),oe=Te(39153),le=Te(55401),pe=Te(92310),re=Te.n(pe),ae=Te(10228),ce=Te(26112),de=Te(48736),me=Te(59301),we=Te(39378);function xe(he){var He=he.dropPosition,We=he.dropLevelOffset,fe=he.indent,Pe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(He){case-1:Pe.top=0,Pe.left=-We*fe;break;case 1:Pe.bottom=0,Pe.left=-We*fe;break;case 0:Pe.bottom=0,Pe.left=fe;break}return me.createElement("div",{style:Pe})}function Ae(he){if(he==null)throw new TypeError("Cannot destructure "+he)}var ye=Te(72190),Ee=Te(42244),Le=Te(34280),Ce=Te(48911),_e=Te(77900),Me=Te(39417);function De(he,He){var We=me.useState(!1),fe=(0,ye.Z)(We,2),Pe=fe[0],Fe=fe[1];me.useLayoutEffect(function(){if(Pe)return he(),function(){He()}},[Pe]),me.useLayoutEffect(function(){return Fe(!0),function(){Fe(!1)}},[])}var Se=Te(71430),Be=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Re=function(He,We){var fe=He.className,Pe=He.style,Fe=He.motion,Ke=He.motionNodes,Ue=He.motionType,ut=He.onMotionStart,vt=He.onMotionEnd,lt=He.active,Dt=He.treeNodeRequiredProps,Wt=(0,Ee.Z)(He,Be),wt=me.useState(!0),zt=(0,ye.Z)(wt,2),Nt=zt[0],St=zt[1],ft=me.useContext(we.k),Et=ft.prefixCls,Ft=Ke&&Ue!=="hide";(0,Le.Z)(function(){Ke&&Ft!==Nt&&St(Ft)},[Ke]);var Kt=function(){Ke&&ut()},Zt=me.useRef(!1),rn=function(){Ke&&!Zt.current&&(Zt.current=!0,vt())};De(Kt,rn);var En=function(Hn){Ft===Hn&&rn()};return Ke?me.createElement(_e.default,(0,Ne.Z)({ref:We,visible:Nt},Fe,{motionAppear:Ue==="show",onVisibleChanged:En}),function(On,Hn){var Dn=On.className,jn=On.style;return me.createElement("div",{ref:Hn,className:re()("".concat(Et,"-treenode-motion"),Dn),style:jn},Ke.map(function(Jn){var br=(0,Ne.Z)({},(Ae(Jn.data),Jn.data)),sr=Jn.title,Rn=Jn.key,Fn=Jn.isStart,Gn=Jn.isEnd;delete br.children;var er=(0,Se.H8)(Rn,Dt);return me.createElement(Me.Z,(0,Ne.Z)({},br,er,{title:sr,active:lt,data:Jn.data,key:Rn,isStart:Fn,isEnd:Gn}))}))}):me.createElement(Me.Z,(0,Ne.Z)({domRef:We,className:fe,style:Pe},Wt,{active:lt}))};Re.displayName="MotionTreeNode";var Xe=me.forwardRef(Re),Ie=Xe;function Ye(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],We=he.length,fe=He.length;if(Math.abs(We-fe)!==1)return{add:!1,key:null};function Pe(Fe,Ke){var Ue=new Map;Fe.forEach(function(vt){Ue.set(vt,!0)});var ut=Ke.filter(function(vt){return!Ue.has(vt)});return ut.length===1?ut[0]:null}return We<fe?{add:!0,key:Pe(he,He)}:{add:!1,key:Pe(He,he)}}function Ge(he,He,We){var fe=he.findIndex(function(Ue){return Ue.key===We}),Pe=he[fe+1],Fe=He.findIndex(function(Ue){return Ue.key===We});if(Pe){var Ke=He.findIndex(function(Ue){return Ue.key===Pe.key});return He.slice(Fe+1,Ke)}return He.slice(Fe+1)}var qe=["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"],it={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},st=function(){},Ve="RC_TREE_MOTION_".concat(Math.random()),Qe={key:Ve},nt={key:Ve,level:0,index:0,pos:"0",node:Qe,nodes:[Qe]},dt={parent:null,children:[],pos:nt.pos,data:Qe,title:null,key:Ve,isStart:[],isEnd:[]};function at(he,He,We,fe){return He===!1||!We?he:he.slice(0,Math.ceil(We/fe)+1)}function tt(he){var He=he.key,We=he.pos;return(0,Se.km)(He,We)}function et(he){for(var He=String(he.data.key),We=he;We.parent;)We=We.parent,He="".concat(We.data.key," > ").concat(He);return He}var ot=me.forwardRef(function(he,He){var We=he.prefixCls,fe=he.data,Pe=he.selectable,Fe=he.checkable,Ke=he.expandedKeys,Ue=he.selectedKeys,ut=he.checkedKeys,vt=he.loadedKeys,lt=he.loadingKeys,Dt=he.halfCheckedKeys,Wt=he.keyEntities,wt=he.disabled,zt=he.dragging,Nt=he.dragOverNodeKey,St=he.dropPosition,ft=he.motion,Et=he.height,Ft=he.itemHeight,Kt=he.virtual,Zt=he.focusable,rn=he.activeItem,En=he.focused,On=he.tabIndex,Hn=he.onKeyDown,Dn=he.onFocus,jn=he.onBlur,Jn=he.onActiveChange,br=he.onListChangeStart,sr=he.onListChangeEnd,Rn=(0,Ee.Z)(he,qe),Fn=me.useRef(null),Gn=me.useRef(null);me.useImperativeHandle(He,function(){return{scrollTo:function(In){Fn.current.scrollTo(In)},getIndentWidth:function(){return Gn.current.offsetWidth}}});var er=me.useState(Ke),xr=(0,ye.Z)(er,2),cr=xr[0],Tr=xr[1],Dr=me.useState(fe),Xn=(0,ye.Z)(Dr,2),$n=Xn[0],wr=Xn[1],nr=me.useState(fe),Zn=(0,ye.Z)(nr,2),Pr=Zn[0],Ht=Zn[1],kt=me.useState([]),Rt=(0,ye.Z)(kt,2),Lt=Rt[0],Bt=Rt[1],Ut=me.useState(null),Yt=(0,ye.Z)(Ut,2),hn=Yt[0],fn=Yt[1],wn=me.useRef(fe);wn.current=fe;function Ln(){var nn=wn.current;wr(nn),Ht(nn),Bt([]),fn(null),sr()}(0,Le.Z)(function(){Tr(Ke);var nn=Ye(cr,Ke);if(nn.key!==null)if(nn.add){var In=$n.findIndex(function(cn){var pn=cn.key;return pn===nn.key}),Xt=at(Ge($n,fe,nn.key),Kt,Et,Ft),en=$n.slice();en.splice(In+1,0,dt),Ht(en),Bt(Xt),fn("show")}else{var sn=fe.findIndex(function(cn){var pn=cn.key;return pn===nn.key}),mn=at(Ge(fe,$n,nn.key),Kt,Et,Ft),Bn=fe.slice();Bn.splice(sn+1,0,dt),Ht(Bn),Bt(mn),fn("hide")}else $n!==fe&&(wr(fe),Ht(fe))},[Ke,fe]),me.useEffect(function(){zt||Ln()},[zt]);var Tn=ft?Pr:fe,zn={expandedKeys:Ke,selectedKeys:Ue,loadedKeys:vt,loadingKeys:lt,checkedKeys:ut,halfCheckedKeys:Dt,dragOverNodeKey:Nt,dropPosition:St,keyEntities:Wt};return me.createElement(me.Fragment,null,En&&rn&&me.createElement("span",{style:it,"aria-live":"assertive"},et(rn)),me.createElement("div",null,me.createElement("input",{style:it,disabled:Zt===!1||wt,tabIndex:Zt!==!1?On:null,onKeyDown:Hn,onFocus:Dn,onBlur:jn,value:"",onChange:st,"aria-label":"for screen reader"})),me.createElement("div",{className:"".concat(We,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},me.createElement("div",{className:"".concat(We,"-indent")},me.createElement("div",{ref:Gn,className:"".concat(We,"-indent-unit")}))),me.createElement(Ce.Z,(0,Ne.Z)({},Rn,{data:Tn,itemKey:tt,height:Et,fullHeight:!1,virtual:Kt,itemHeight:Ft,prefixCls:"".concat(We,"-list"),ref:Fn,onVisibleChange:function(In,Xt){var en=new Set(In),sn=Xt.filter(function(mn){return!en.has(mn)});sn.some(function(mn){return tt(mn)===Ve})&&Ln()}}),function(nn){var In=nn.pos,Xt=(0,Ne.Z)({},(Ae(nn.data),nn.data)),en=nn.title,sn=nn.key,mn=nn.isStart,Bn=nn.isEnd,cn=(0,Se.km)(sn,In);delete Xt.key,delete Xt.children;var pn=(0,Se.H8)(cn,zn);return me.createElement(Ie,(0,Ne.Z)({},Xt,pn,{title:en,active:!!rn&&sn===rn.key,pos:In,data:nn.data,isStart:mn,isEnd:Bn,motion:ft,motionNodes:sn===Ve?Lt:null,motionType:hn,onMotionStart:br,onMotionEnd:Ln,treeNodeRequiredProps:zn,onMouseMove:function(){Jn(null)}}))}))});ot.displayName="NodeList";var yt=ot,pt=Te(35654),Pt=Te(90782),Mt=Te(67841),ct=10,Je=function(he){(0,oe.Z)(We,he);var He=(0,le.Z)(We);function We(){var fe;(0,ne.Z)(this,We);for(var Pe=arguments.length,Fe=new Array(Pe),Ke=0;Ke<Pe;Ke++)Fe[Ke]=arguments[Ke];return fe=He.call.apply(He,[this].concat(Fe)),fe.destroyed=!1,fe.delayedDragEnterLogic=void 0,fe.loadingRetryTimes={},fe.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,Se.w$)()},fe.dragStartMousePosition=null,fe.dragNode=void 0,fe.currentMouseOverDroppableNodeKey=null,fe.listRef=me.createRef(),fe.onNodeDragStart=function(Ue,ut){var vt=fe.state,lt=vt.expandedKeys,Dt=vt.keyEntities,Wt=fe.props.onDragStart,wt=ut.props.eventKey;fe.dragNode=ut,fe.dragStartMousePosition={x:Ue.clientX,y:Ue.clientY};var zt=(0,pt._5)(lt,wt);fe.setState({draggingNodeKey:wt,dragChildrenKeys:(0,pt.wA)(wt,Dt),indent:fe.listRef.current.getIndentWidth()}),fe.setExpandedKeys(zt),window.addEventListener("dragend",fe.onWindowDragEnd),Wt==null||Wt({event:Ue,node:(0,Se.F)(ut.props)})},fe.onNodeDragEnter=function(Ue,ut){var vt=fe.state,lt=vt.expandedKeys,Dt=vt.keyEntities,Wt=vt.dragChildrenKeys,wt=vt.flattenNodes,zt=vt.indent,Nt=fe.props,St=Nt.onDragEnter,ft=Nt.onExpand,Et=Nt.allowDrop,Ft=Nt.direction,Kt=ut.props,Zt=Kt.pos,rn=Kt.eventKey,En=(0,ie.Z)(fe),On=En.dragNode;if(fe.currentMouseOverDroppableNodeKey!==rn&&(fe.currentMouseOverDroppableNodeKey=rn),!On){fe.resetDragState();return}var Hn=(0,pt.OM)(Ue,On,ut,zt,fe.dragStartMousePosition,Et,wt,Dt,lt,Ft),Dn=Hn.dropPosition,jn=Hn.dropLevelOffset,Jn=Hn.dropTargetKey,br=Hn.dropContainerKey,sr=Hn.dropTargetPos,Rn=Hn.dropAllowed,Fn=Hn.dragOverNodeKey;if(Wt.indexOf(Jn)!==-1||!Rn){fe.resetDragState();return}if(fe.delayedDragEnterLogic||(fe.delayedDragEnterLogic={}),Object.keys(fe.delayedDragEnterLogic).forEach(function(Gn){clearTimeout(fe.delayedDragEnterLogic[Gn])}),On.props.eventKey!==ut.props.eventKey&&(Ue.persist(),fe.delayedDragEnterLogic[Zt]=window.setTimeout(function(){if(fe.state.draggingNodeKey!==null){var Gn=(0,ve.Z)(lt),er=(0,Mt.Z)(Dt,ut.props.eventKey);er&&(er.children||[]).length&&(Gn=(0,pt.L0)(lt,ut.props.eventKey)),"expandedKeys"in fe.props||fe.setExpandedKeys(Gn),ft==null||ft(Gn,{node:(0,Se.F)(ut.props),expanded:!0,nativeEvent:Ue.nativeEvent})}},800)),On.props.eventKey===Jn&&jn===0){fe.resetDragState();return}fe.setState({dragOverNodeKey:Fn,dropPosition:Dn,dropLevelOffset:jn,dropTargetKey:Jn,dropContainerKey:br,dropTargetPos:sr,dropAllowed:Rn}),St==null||St({event:Ue,node:(0,Se.F)(ut.props),expandedKeys:lt})},fe.onNodeDragOver=function(Ue,ut){var vt=fe.state,lt=vt.dragChildrenKeys,Dt=vt.flattenNodes,Wt=vt.keyEntities,wt=vt.expandedKeys,zt=vt.indent,Nt=fe.props,St=Nt.onDragOver,ft=Nt.allowDrop,Et=Nt.direction,Ft=(0,ie.Z)(fe),Kt=Ft.dragNode;if(Kt){var Zt=(0,pt.OM)(Ue,Kt,ut,zt,fe.dragStartMousePosition,ft,Dt,Wt,wt,Et),rn=Zt.dropPosition,En=Zt.dropLevelOffset,On=Zt.dropTargetKey,Hn=Zt.dropContainerKey,Dn=Zt.dropAllowed,jn=Zt.dropTargetPos,Jn=Zt.dragOverNodeKey;lt.indexOf(On)!==-1||!Dn||(Kt.props.eventKey===On&&En===0?fe.state.dropPosition===null&&fe.state.dropLevelOffset===null&&fe.state.dropTargetKey===null&&fe.state.dropContainerKey===null&&fe.state.dropTargetPos===null&&fe.state.dropAllowed===!1&&fe.state.dragOverNodeKey===null||fe.resetDragState():rn===fe.state.dropPosition&&En===fe.state.dropLevelOffset&&On===fe.state.dropTargetKey&&Hn===fe.state.dropContainerKey&&jn===fe.state.dropTargetPos&&Dn===fe.state.dropAllowed&&Jn===fe.state.dragOverNodeKey||fe.setState({dropPosition:rn,dropLevelOffset:En,dropTargetKey:On,dropContainerKey:Hn,dropTargetPos:jn,dropAllowed:Dn,dragOverNodeKey:Jn}),St==null||St({event:Ue,node:(0,Se.F)(ut.props)}))}},fe.onNodeDragLeave=function(Ue,ut){fe.currentMouseOverDroppableNodeKey===ut.props.eventKey&&!Ue.currentTarget.contains(Ue.relatedTarget)&&(fe.resetDragState(),fe.currentMouseOverDroppableNodeKey=null);var vt=fe.props.onDragLeave;vt==null||vt({event:Ue,node:(0,Se.F)(ut.props)})},fe.onWindowDragEnd=function(Ue){fe.onNodeDragEnd(Ue,null,!0),window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDragEnd=function(Ue,ut){var vt=fe.props.onDragEnd;fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),vt==null||vt({event:Ue,node:(0,Se.F)(ut.props)}),fe.dragNode=null,window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDrop=function(Ue,ut){var vt,lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Dt=fe.state,Wt=Dt.dragChildrenKeys,wt=Dt.dropPosition,zt=Dt.dropTargetKey,Nt=Dt.dropTargetPos,St=Dt.dropAllowed;if(St){var ft=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),zt!==null){var Et=(0,je.Z)((0,je.Z)({},(0,Se.H8)(zt,fe.getTreeNodeRequiredProps())),{},{active:((vt=fe.getActiveItem())===null||vt===void 0?void 0:vt.key)===zt,data:(0,Mt.Z)(fe.state.keyEntities,zt).node}),Ft=Wt.indexOf(zt)!==-1;(0,de.ZP)(!Ft,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Kt=(0,pt.yx)(Nt),Zt={event:Ue,node:(0,Se.F)(Et),dragNode:fe.dragNode?(0,Se.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(Wt),dropToGap:wt!==0,dropPosition:wt+Number(Kt[Kt.length-1])};lt||ft==null||ft(Zt),fe.dragNode=null}}},fe.cleanDragState=function(){var Ue=fe.state.draggingNodeKey;Ue!==null&&fe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),fe.dragStartMousePosition=null,fe.currentMouseOverDroppableNodeKey=null},fe.triggerExpandActionExpand=function(Ue,ut){var vt=fe.state,lt=vt.expandedKeys,Dt=vt.flattenNodes,Wt=ut.expanded,wt=ut.key,zt=ut.isLeaf;if(!(zt||Ue.shiftKey||Ue.metaKey||Ue.ctrlKey)){var Nt=Dt.filter(function(ft){return ft.key===wt})[0],St=(0,Se.F)((0,je.Z)((0,je.Z)({},(0,Se.H8)(wt,fe.getTreeNodeRequiredProps())),{},{data:Nt.data}));fe.setExpandedKeys(Wt?(0,pt._5)(lt,wt):(0,pt.L0)(lt,wt)),fe.onNodeExpand(Ue,St)}},fe.onNodeClick=function(Ue,ut){var vt=fe.props,lt=vt.onClick,Dt=vt.expandAction;Dt==="click"&&fe.triggerExpandActionExpand(Ue,ut),lt==null||lt(Ue,ut)},fe.onNodeDoubleClick=function(Ue,ut){var vt=fe.props,lt=vt.onDoubleClick,Dt=vt.expandAction;Dt==="doubleClick"&&fe.triggerExpandActionExpand(Ue,ut),lt==null||lt(Ue,ut)},fe.onNodeSelect=function(Ue,ut){var vt=fe.state.selectedKeys,lt=fe.state,Dt=lt.keyEntities,Wt=lt.fieldNames,wt=fe.props,zt=wt.onSelect,Nt=wt.multiple,St=ut.selected,ft=ut[Wt.key],Et=!St;Et?Nt?vt=(0,pt.L0)(vt,ft):vt=[ft]:vt=(0,pt._5)(vt,ft);var Ft=vt.map(function(Kt){var Zt=(0,Mt.Z)(Dt,Kt);return Zt?Zt.node:null}).filter(function(Kt){return Kt});fe.setUncontrolledState({selectedKeys:vt}),zt==null||zt(vt,{event:"select",selected:Et,node:ut,selectedNodes:Ft,nativeEvent:Ue.nativeEvent})},fe.onNodeCheck=function(Ue,ut,vt){var lt=fe.state,Dt=lt.keyEntities,Wt=lt.checkedKeys,wt=lt.halfCheckedKeys,zt=fe.props,Nt=zt.checkStrictly,St=zt.onCheck,ft=ut.key,Et,Ft={event:"check",node:ut,checked:vt,nativeEvent:Ue.nativeEvent};if(Nt){var Kt=vt?(0,pt.L0)(Wt,ft):(0,pt._5)(Wt,ft),Zt=(0,pt._5)(wt,ft);Et={checked:Kt,halfChecked:Zt},Ft.checkedNodes=Kt.map(function(jn){return(0,Mt.Z)(Dt,jn)}).filter(function(jn){return jn}).map(function(jn){return jn.node}),fe.setUncontrolledState({checkedKeys:Kt})}else{var rn=(0,Pt.S)([].concat((0,ve.Z)(Wt),[ft]),!0,Dt),En=rn.checkedKeys,On=rn.halfCheckedKeys;if(!vt){var Hn=new Set(En);Hn.delete(ft);var Dn=(0,Pt.S)(Array.from(Hn),{checked:!1,halfCheckedKeys:On},Dt);En=Dn.checkedKeys,On=Dn.halfCheckedKeys}Et=En,Ft.checkedNodes=[],Ft.checkedNodesPositions=[],Ft.halfCheckedKeys=On,En.forEach(function(jn){var Jn=(0,Mt.Z)(Dt,jn);if(Jn){var br=Jn.node,sr=Jn.pos;Ft.checkedNodes.push(br),Ft.checkedNodesPositions.push({node:br,pos:sr})}}),fe.setUncontrolledState({checkedKeys:En},!1,{halfCheckedKeys:On})}St==null||St(Et,Ft)},fe.onNodeLoad=function(Ue){var ut=Ue.key,vt=new Promise(function(lt,Dt){fe.setState(function(Wt){var wt=Wt.loadedKeys,zt=wt===void 0?[]:wt,Nt=Wt.loadingKeys,St=Nt===void 0?[]:Nt,ft=fe.props,Et=ft.loadData,Ft=ft.onLoad;if(!Et||zt.indexOf(ut)!==-1||St.indexOf(ut)!==-1)return null;var Kt=Et(Ue);return Kt.then(function(){var Zt=fe.state.loadedKeys,rn=(0,pt.L0)(Zt,ut);Ft==null||Ft(rn,{event:"load",node:Ue}),fe.setUncontrolledState({loadedKeys:rn}),fe.setState(function(En){return{loadingKeys:(0,pt._5)(En.loadingKeys,ut)}}),lt()}).catch(function(Zt){if(fe.setState(function(En){return{loadingKeys:(0,pt._5)(En.loadingKeys,ut)}}),fe.loadingRetryTimes[ut]=(fe.loadingRetryTimes[ut]||0)+1,fe.loadingRetryTimes[ut]>=ct){var rn=fe.state.loadedKeys;(0,de.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,pt.L0)(rn,ut)}),lt()}Dt(Zt)}),{loadingKeys:(0,pt.L0)(St,ut)}})});return vt.catch(function(){}),vt},fe.onNodeMouseEnter=function(Ue,ut){var vt=fe.props.onMouseEnter;vt==null||vt({event:Ue,node:ut})},fe.onNodeMouseLeave=function(Ue,ut){var vt=fe.props.onMouseLeave;vt==null||vt({event:Ue,node:ut})},fe.onNodeContextMenu=function(Ue,ut){var vt=fe.props.onRightClick;vt&&(Ue.preventDefault(),vt({event:Ue,node:ut}))},fe.onFocus=function(){var Ue=fe.props.onFocus;fe.setState({focused:!0});for(var ut=arguments.length,vt=new Array(ut),lt=0;lt<ut;lt++)vt[lt]=arguments[lt];Ue==null||Ue.apply(void 0,vt)},fe.onBlur=function(){var Ue=fe.props.onBlur;fe.setState({focused:!1}),fe.onActiveChange(null);for(var ut=arguments.length,vt=new Array(ut),lt=0;lt<ut;lt++)vt[lt]=arguments[lt];Ue==null||Ue.apply(void 0,vt)},fe.getTreeNodeRequiredProps=function(){var Ue=fe.state,ut=Ue.expandedKeys,vt=Ue.selectedKeys,lt=Ue.loadedKeys,Dt=Ue.loadingKeys,Wt=Ue.checkedKeys,wt=Ue.halfCheckedKeys,zt=Ue.dragOverNodeKey,Nt=Ue.dropPosition,St=Ue.keyEntities;return{expandedKeys:ut||[],selectedKeys:vt||[],loadedKeys:lt||[],loadingKeys:Dt||[],checkedKeys:Wt||[],halfCheckedKeys:wt||[],dragOverNodeKey:zt,dropPosition:Nt,keyEntities:St}},fe.setExpandedKeys=function(Ue){var ut=fe.state,vt=ut.treeData,lt=ut.fieldNames,Dt=(0,Se.oH)(vt,Ue,lt);fe.setUncontrolledState({expandedKeys:Ue,flattenNodes:Dt},!0)},fe.onNodeExpand=function(Ue,ut){var vt=fe.state.expandedKeys,lt=fe.state,Dt=lt.listChanging,Wt=lt.fieldNames,wt=fe.props,zt=wt.onExpand,Nt=wt.loadData,St=ut.expanded,ft=ut[Wt.key];if(!Dt){var Et=vt.indexOf(ft),Ft=!St;if((0,de.ZP)(St&&Et!==-1||!St&&Et===-1,"Expand state not sync with index check"),Ft?vt=(0,pt.L0)(vt,ft):vt=(0,pt._5)(vt,ft),fe.setExpandedKeys(vt),zt==null||zt(vt,{node:ut,expanded:Ft,nativeEvent:Ue.nativeEvent}),Ft&&Nt){var Kt=fe.onNodeLoad(ut);Kt&&Kt.then(function(){var Zt=(0,Se.oH)(fe.state.treeData,vt,Wt);fe.setUncontrolledState({flattenNodes:Zt})}).catch(function(){var Zt=fe.state.expandedKeys,rn=(0,pt._5)(Zt,ft);fe.setExpandedKeys(rn)})}}},fe.onListChangeStart=function(){fe.setUncontrolledState({listChanging:!0})},fe.onListChangeEnd=function(){setTimeout(function(){fe.setUncontrolledState({listChanging:!1})})},fe.onActiveChange=function(Ue){var ut=fe.state.activeKey,vt=fe.props.onActiveChange;ut!==Ue&&(fe.setState({activeKey:Ue}),Ue!==null&&fe.scrollTo({key:Ue}),vt==null||vt(Ue))},fe.getActiveItem=function(){var Ue=fe.state,ut=Ue.activeKey,vt=Ue.flattenNodes;return ut===null?null:vt.find(function(lt){var Dt=lt.key;return Dt===ut})||null},fe.offsetActiveKey=function(Ue){var ut=fe.state,vt=ut.flattenNodes,lt=ut.activeKey,Dt=vt.findIndex(function(zt){var Nt=zt.key;return Nt===lt});Dt===-1&&Ue<0&&(Dt=vt.length),Dt=(Dt+Ue+vt.length)%vt.length;var Wt=vt[Dt];if(Wt){var wt=Wt.key;fe.onActiveChange(wt)}else fe.onActiveChange(null)},fe.onKeyDown=function(Ue){var ut=fe.state,vt=ut.activeKey,lt=ut.expandedKeys,Dt=ut.checkedKeys,Wt=ut.fieldNames,wt=fe.props,zt=wt.onKeyDown,Nt=wt.checkable,St=wt.selectable;switch(Ue.which){case ae.Z.UP:{fe.offsetActiveKey(-1),Ue.preventDefault();break}case ae.Z.DOWN:{fe.offsetActiveKey(1),Ue.preventDefault();break}}var ft=fe.getActiveItem();if(ft&&ft.data){var Et=fe.getTreeNodeRequiredProps(),Ft=ft.data.isLeaf===!1||!!(ft.data[Wt.children]||[]).length,Kt=(0,Se.F)((0,je.Z)((0,je.Z)({},(0,Se.H8)(vt,Et)),{},{data:ft.data,active:!0}));switch(Ue.which){case ae.Z.LEFT:{Ft&&lt.includes(vt)?fe.onNodeExpand({},Kt):ft.parent&&fe.onActiveChange(ft.parent.key),Ue.preventDefault();break}case ae.Z.RIGHT:{Ft&&!lt.includes(vt)?fe.onNodeExpand({},Kt):ft.children&&ft.children.length&&fe.onActiveChange(ft.children[0].key),Ue.preventDefault();break}case ae.Z.ENTER:case ae.Z.SPACE:{Nt&&!Kt.disabled&&Kt.checkable!==!1&&!Kt.disableCheckbox?fe.onNodeCheck({},Kt,!Dt.includes(vt)):!Nt&&St&&!Kt.disabled&&Kt.selectable!==!1&&fe.onNodeSelect({},Kt);break}}}zt==null||zt(Ue)},fe.setUncontrolledState=function(Ue){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var lt=!1,Dt=!0,Wt={};Object.keys(Ue).forEach(function(wt){if(wt in fe.props){Dt=!1;return}lt=!0,Wt[wt]=Ue[wt]}),lt&&(!ut||Dt)&&fe.setState((0,je.Z)((0,je.Z)({},Wt),vt))}},fe.scrollTo=function(Ue){fe.listRef.current.scrollTo(Ue)},fe}return(0,ee.Z)(We,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Pe=this.props.activeKey;Pe!==void 0&&Pe!==this.state.activeKey&&(this.setState({activeKey:Pe}),Pe!==null&&this.scrollTo({key:Pe}))}},{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 Pe,Fe=this.state,Ke=Fe.focused,Ue=Fe.flattenNodes,ut=Fe.keyEntities,vt=Fe.draggingNodeKey,lt=Fe.activeKey,Dt=Fe.dropLevelOffset,Wt=Fe.dropContainerKey,wt=Fe.dropTargetKey,zt=Fe.dropPosition,Nt=Fe.dragOverNodeKey,St=Fe.indent,ft=this.props,Et=ft.prefixCls,Ft=ft.className,Kt=ft.style,Zt=ft.showLine,rn=ft.focusable,En=ft.tabIndex,On=En===void 0?0:En,Hn=ft.selectable,Dn=ft.showIcon,jn=ft.icon,Jn=ft.switcherIcon,br=ft.draggable,sr=ft.checkable,Rn=ft.checkStrictly,Fn=ft.disabled,Gn=ft.motion,er=ft.loadData,xr=ft.filterTreeNode,cr=ft.height,Tr=ft.itemHeight,Dr=ft.virtual,Xn=ft.titleRender,$n=ft.dropIndicatorRender,wr=ft.onContextMenu,nr=ft.onScroll,Zn=ft.direction,Pr=ft.rootClassName,Ht=ft.rootStyle,kt=(0,ce.Z)(this.props,{aria:!0,data:!0}),Rt;return br&&((0,E.Z)(br)==="object"?Rt=br:typeof br=="function"?Rt={nodeDraggable:br}:Rt={}),me.createElement(we.k.Provider,{value:{prefixCls:Et,selectable:Hn,showIcon:Dn,icon:jn,switcherIcon:Jn,draggable:Rt,draggingNodeKey:vt,checkable:sr,checkStrictly:Rn,disabled:Fn,keyEntities:ut,dropLevelOffset:Dt,dropContainerKey:Wt,dropTargetKey:wt,dropPosition:zt,dragOverNodeKey:Nt,indent:St,direction:Zn,dropIndicatorRender:$n,loadData:er,filterTreeNode:xr,titleRender:Xn,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}},me.createElement("div",{role:"tree",className:re()(Et,Ft,Pr,(Pe={},(0,bt.Z)(Pe,"".concat(Et,"-show-line"),Zt),(0,bt.Z)(Pe,"".concat(Et,"-focused"),Ke),(0,bt.Z)(Pe,"".concat(Et,"-active-focused"),lt!==null),Pe)),style:Ht},me.createElement(yt,(0,Ne.Z)({ref:this.listRef,prefixCls:Et,style:Kt,data:Ue,disabled:Fn,selectable:Hn,checkable:!!sr,motion:Gn,dragging:vt!==null,height:cr,itemHeight:Tr,virtual:Dr,focusable:rn,focused:Ke,tabIndex:On,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:wr,onScroll:nr},this.getTreeNodeRequiredProps(),kt))))}}],[{key:"getDerivedStateFromProps",value:function(Pe,Fe){var Ke=Fe.prevProps,Ue={prevProps:Pe};function ut(rn){return!Ke&&rn in Pe||Ke&&Ke[rn]!==Pe[rn]}var vt,lt=Fe.fieldNames;if(ut("fieldNames")&&(lt=(0,Se.w$)(Pe.fieldNames),Ue.fieldNames=lt),ut("treeData")?vt=Pe.treeData:ut("children")&&((0,de.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),vt=(0,Se.zn)(Pe.children)),vt){Ue.treeData=vt;var Dt=(0,Se.I8)(vt,{fieldNames:lt});Ue.keyEntities=(0,je.Z)((0,bt.Z)({},Ve,nt),Dt.keyEntities)}var Wt=Ue.keyEntities||Fe.keyEntities;if(ut("expandedKeys")||Ke&&ut("autoExpandParent"))Ue.expandedKeys=Pe.autoExpandParent||!Ke&&Pe.defaultExpandParent?(0,pt.r7)(Pe.expandedKeys,Wt):Pe.expandedKeys;else if(!Ke&&Pe.defaultExpandAll){var wt=(0,je.Z)({},Wt);delete wt[Ve],Ue.expandedKeys=Object.keys(wt).map(function(rn){return wt[rn].key})}else!Ke&&Pe.defaultExpandedKeys&&(Ue.expandedKeys=Pe.autoExpandParent||Pe.defaultExpandParent?(0,pt.r7)(Pe.defaultExpandedKeys,Wt):Pe.defaultExpandedKeys);if(Ue.expandedKeys||delete Ue.expandedKeys,vt||Ue.expandedKeys){var zt=(0,Se.oH)(vt||Fe.treeData,Ue.expandedKeys||Fe.expandedKeys,lt);Ue.flattenNodes=zt}if(Pe.selectable&&(ut("selectedKeys")?Ue.selectedKeys=(0,pt.BT)(Pe.selectedKeys,Pe):!Ke&&Pe.defaultSelectedKeys&&(Ue.selectedKeys=(0,pt.BT)(Pe.defaultSelectedKeys,Pe))),Pe.checkable){var Nt;if(ut("checkedKeys")?Nt=(0,pt.E6)(Pe.checkedKeys)||{}:!Ke&&Pe.defaultCheckedKeys?Nt=(0,pt.E6)(Pe.defaultCheckedKeys)||{}:vt&&(Nt=(0,pt.E6)(Pe.checkedKeys)||{checkedKeys:Fe.checkedKeys,halfCheckedKeys:Fe.halfCheckedKeys}),Nt){var St=Nt,ft=St.checkedKeys,Et=ft===void 0?[]:ft,Ft=St.halfCheckedKeys,Kt=Ft===void 0?[]:Ft;if(!Pe.checkStrictly){var Zt=(0,Pt.S)(Et,!0,Wt);Et=Zt.checkedKeys,Kt=Zt.halfCheckedKeys}Ue.checkedKeys=Et,Ue.halfCheckedKeys=Kt}}return ut("loadedKeys")&&(Ue.loadedKeys=Pe.loadedKeys),Ue}}]),We}(me.Component);Je.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:xe,allowDrop:function(){return!0},expandAction:!1},Je.TreeNode=Me.Z;var Ze=Je,ue=Ze},35654:function(kn,Qt,Te){"use strict";Te.d(Qt,{BT:function(){return me},E6:function(){return Ae},L0:function(){return le},OM:function(){return de},_5:function(){return oe},r7:function(){return ye},wA:function(){return re},yx:function(){return pe}});var Ne=Te(77654),bt=Te(43749),E=Te(48736),je=Te(59301),ve=Te(39417),ne=Te(67841),ee=Te(71430),ie=null;function oe(Ee,Le){if(!Ee)return[];var Ce=Ee.slice(),_e=Ce.indexOf(Le);return _e>=0&&Ce.splice(_e,1),Ce}function le(Ee,Le){var Ce=(Ee||[]).slice();return Ce.indexOf(Le)===-1&&Ce.push(Le),Ce}function pe(Ee){return Ee.split("-")}function re(Ee,Le){var Ce=[],_e=(0,ne.Z)(Le,Ee);function Me(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];De.forEach(function(Se){var Be=Se.key,Re=Se.children;Ce.push(Be),Me(Re)})}return Me(_e.children),Ce}function ae(Ee){if(Ee.parent){var Le=pe(Ee.pos);return Number(Le[Le.length-1])===Ee.parent.children.length-1}return!1}function ce(Ee){var Le=pe(Ee.pos);return Number(Le[Le.length-1])===0}function de(Ee,Le,Ce,_e,Me,De,Se,Be,Re,Xe){var Ie,Ye=Ee.clientX,Ge=Ee.clientY,qe=Ee.target.getBoundingClientRect(),it=qe.top,st=qe.height,Ve=(Xe==="rtl"?-1:1)*(((Me==null?void 0:Me.x)||0)-Ye),Qe=(Ve-12)/_e,nt=(0,ne.Z)(Be,Ce.props.eventKey);if(Ge<it+st/2){var dt=Se.findIndex(function(ue){return ue.key===nt.key}),at=dt<=0?0:dt-1,tt=Se[at].key;nt=(0,ne.Z)(Be,tt)}var et=nt.key,ot=nt,yt=nt.key,pt=0,Pt=0;if(!Re.includes(et))for(var Mt=0;Mt<Qe&&ae(nt);Mt+=1)nt=nt.parent,Pt+=1;var ct=Le.props.data,Je=nt.node,Ze=!0;return ce(nt)&&nt.level===0&&Ge<it+st/2&&De({dragNode:ct,dropNode:Je,dropPosition:-1})&&nt.key===Ce.props.eventKey?pt=-1:(ot.children||[]).length&&Re.includes(yt)?De({dragNode:ct,dropNode:Je,dropPosition:0})?pt=0:Ze=!1:Pt===0?Qe>-1.5?De({dragNode:ct,dropNode:Je,dropPosition:1})?pt=1:Ze=!1:De({dragNode:ct,dropNode:Je,dropPosition:0})?pt=0:De({dragNode:ct,dropNode:Je,dropPosition:1})?pt=1:Ze=!1:De({dragNode:ct,dropNode:Je,dropPosition:1})?pt=1:Ze=!1,{dropPosition:pt,dropLevelOffset:Pt,dropTargetKey:nt.key,dropTargetPos:nt.pos,dragOverNodeKey:yt,dropContainerKey:pt===0?null:((Ie=nt.parent)===null||Ie===void 0?void 0:Ie.key)||null,dropAllowed:Ze}}function me(Ee,Le){if(Ee){var Ce=Le.multiple;return Ce?Ee.slice():Ee.length?[Ee[0]]:Ee}}var we=function(Le){return Le};function xe(Ee,Le){if(!Ee)return[];var Ce=Le||{},_e=Ce.processProps,Me=_e===void 0?we:_e,De=Array.isArray(Ee)?Ee:[Ee];return De.map(function(Se){var Be=Se.children,Re=_objectWithoutProperties(Se,ie),Xe=xe(Be,Le);return React.createElement(TreeNode,_extends({key:Re.key},Me(Re)),Xe)})}function Ae(Ee){if(!Ee)return null;var Le;if(Array.isArray(Ee))Le={checkedKeys:Ee,halfCheckedKeys:void 0};else if((0,bt.Z)(Ee)==="object")Le={checkedKeys:Ee.checked||void 0,halfCheckedKeys:Ee.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Le}function ye(Ee,Le){var Ce=new Set;function _e(Me){if(!Ce.has(Me)){var De=(0,ne.Z)(Le,Me);if(De){Ce.add(Me);var Se=De.parent,Be=De.node;Be.disabled||Se&&_e(Se.key)}}}return(Ee||[]).forEach(function(Me){_e(Me)}),(0,Ne.Z)(Ce)}},90782:function(kn,Qt,Te){"use strict";Te.d(Qt,{S:function(){return ee}});var Ne=Te(48736),bt=Te(67841);function E(ie,oe){var le=new Set;return ie.forEach(function(pe){oe.has(pe)||le.add(pe)}),le}function je(ie){var oe=ie||{},le=oe.disabled,pe=oe.disableCheckbox,re=oe.checkable;return!!(le||pe)||re===!1}function ve(ie,oe,le,pe){for(var re=new Set(ie),ae=new Set,ce=0;ce<=le;ce+=1){var de=oe.get(ce)||new Set;de.forEach(function(Ae){var ye=Ae.key,Ee=Ae.node,Le=Ae.children,Ce=Le===void 0?[]:Le;re.has(ye)&&!pe(Ee)&&Ce.filter(function(_e){return!pe(_e.node)}).forEach(function(_e){re.add(_e.key)})})}for(var me=new Set,we=le;we>=0;we-=1){var xe=oe.get(we)||new Set;xe.forEach(function(Ae){var ye=Ae.parent,Ee=Ae.node;if(!(pe(Ee)||!Ae.parent||me.has(Ae.parent.key))){if(pe(Ae.parent.node)){me.add(ye.key);return}var Le=!0,Ce=!1;(ye.children||[]).filter(function(_e){return!pe(_e.node)}).forEach(function(_e){var Me=_e.key,De=re.has(Me);Le&&!De&&(Le=!1),!Ce&&(De||ae.has(Me))&&(Ce=!0)}),Le&&re.add(ye.key),Ce&&ae.add(ye.key),me.add(ye.key)}})}return{checkedKeys:Array.from(re),halfCheckedKeys:Array.from(E(ae,re))}}function ne(ie,oe,le,pe,re){for(var ae=new Set(ie),ce=new Set(oe),de=0;de<=pe;de+=1){var me=le.get(de)||new Set;me.forEach(function(ye){var Ee=ye.key,Le=ye.node,Ce=ye.children,_e=Ce===void 0?[]:Ce;!ae.has(Ee)&&!ce.has(Ee)&&!re(Le)&&_e.filter(function(Me){return!re(Me.node)}).forEach(function(Me){ae.delete(Me.key)})})}ce=new Set;for(var we=new Set,xe=pe;xe>=0;xe-=1){var Ae=le.get(xe)||new Set;Ae.forEach(function(ye){var Ee=ye.parent,Le=ye.node;if(!(re(Le)||!ye.parent||we.has(ye.parent.key))){if(re(ye.parent.node)){we.add(Ee.key);return}var Ce=!0,_e=!1;(Ee.children||[]).filter(function(Me){return!re(Me.node)}).forEach(function(Me){var De=Me.key,Se=ae.has(De);Ce&&!Se&&(Ce=!1),!_e&&(Se||ce.has(De))&&(_e=!0)}),Ce||ae.delete(Ee.key),_e&&ce.add(Ee.key),we.add(Ee.key)}})}return{checkedKeys:Array.from(ae),halfCheckedKeys:Array.from(E(ce,ae))}}function ee(ie,oe,le,pe){var re=[],ae;pe?ae=pe:ae=je;var ce=new Set(ie.filter(function(xe){var Ae=!!(0,bt.Z)(le,xe);return Ae||re.push(xe),Ae})),de=new Map,me=0;Object.keys(le).forEach(function(xe){var Ae=le[xe],ye=Ae.level,Ee=de.get(ye);Ee||(Ee=new Set,de.set(ye,Ee)),Ee.add(Ae),me=Math.max(me,ye)}),(0,Ne.ZP)(!re.length,"Tree missing follow keys: ".concat(re.slice(0,100).map(function(xe){return"'".concat(xe,"'")}).join(", ")));var we;return oe===!0?we=ve(ce,de,me,ae):we=ne(ce,oe.halfCheckedKeys,de,me,ae),we}},67841:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Ne}});function Ne(bt,E){return bt[E]}},71430:function(kn,Qt,Te){"use strict";Te.d(Qt,{F:function(){return ye},H8:function(){return Ae},I8:function(){return xe},km:function(){return re},oH:function(){return me},w$:function(){return ae},zn:function(){return de}});var Ne=Te(43749),bt=Te(77654),E=Te(85899),je=Te(42244),ve=Te(11592),ne=Te(2738),ee=Te(48736),ie=Te(67841),oe=["children"];function le(Ee,Le){return"".concat(Ee,"-").concat(Le)}function pe(Ee){return Ee&&Ee.type&&Ee.type.isTreeNode}function re(Ee,Le){return Ee!=null?Ee:Le}function ae(Ee){var Le=Ee||{},Ce=Le.title,_e=Le._title,Me=Le.key,De=Le.children,Se=Ce||"title";return{title:Se,_title:_e||[Se],key:Me||"key",children:De||"children"}}function ce(Ee,Le){var Ce=new Map;function _e(Me){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Me||[]).forEach(function(Se){var Be=Se[Le.key],Re=Se[Le.children];warning(Be!=null,"Tree node must have a certain key: [".concat(De).concat(Be,"]"));var Xe=String(Be);warning(!Ce.has(Xe)||Be===null||Be===void 0,"Same 'key' exist in the Tree: ".concat(Xe)),Ce.set(Xe,!0),_e(Re,"".concat(De).concat(Xe," > "))})}_e(Ee)}function de(Ee){function Le(Ce){var _e=(0,ve.Z)(Ce);return _e.map(function(Me){if(!pe(Me))return(0,ee.ZP)(!Me,"Tree/TreeNode can only accept TreeNode as children."),null;var De=Me.key,Se=Me.props,Be=Se.children,Re=(0,je.Z)(Se,oe),Xe=(0,E.Z)({key:De},Re),Ie=Le(Be);return Ie.length&&(Xe.children=Ie),Xe}).filter(function(Me){return Me})}return Le(Ee)}function me(Ee,Le,Ce){var _e=ae(Ce),Me=_e._title,De=_e.key,Se=_e.children,Be=new Set(Le===!0?[]:Le),Re=[];function Xe(Ie){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ie.map(function(Ge,qe){for(var it=le(Ye?Ye.pos:"0",qe),st=re(Ge[De],it),Ve,Qe=0;Qe<Me.length;Qe+=1){var nt=Me[Qe];if(Ge[nt]!==void 0){Ve=Ge[nt];break}}var dt=(0,E.Z)((0,E.Z)({},(0,ne.Z)(Ge,[].concat((0,bt.Z)(Me),[De,Se]))),{},{title:Ve,key:st,parent:Ye,pos:it,children:null,data:Ge,isStart:[].concat((0,bt.Z)(Ye?Ye.isStart:[]),[qe===0]),isEnd:[].concat((0,bt.Z)(Ye?Ye.isEnd:[]),[qe===Ie.length-1])});return Re.push(dt),Le===!0||Be.has(st)?dt.children=Xe(Ge[Se]||[],dt):dt.children=[],dt})}return Xe(Ee),Re}function we(Ee,Le,Ce){var _e={};(0,Ne.Z)(Ce)==="object"?_e=Ce:_e={externalGetKey:Ce},_e=_e||{};var Me=_e,De=Me.childrenPropName,Se=Me.externalGetKey,Be=Me.fieldNames,Re=ae(Be),Xe=Re.key,Ie=Re.children,Ye=De||Ie,Ge;Se?typeof Se=="string"?Ge=function(st){return st[Se]}:typeof Se=="function"&&(Ge=function(st){return Se(st)}):Ge=function(st,Ve){return re(st[Xe],Ve)};function qe(it,st,Ve,Qe){var nt=it?it[Ye]:Ee,dt=it?le(Ve.pos,st):"0",at=it?[].concat((0,bt.Z)(Qe),[it]):[];if(it){var tt=Ge(it,dt),et={node:it,index:st,pos:dt,key:tt,parentPos:Ve.node?Ve.pos:null,level:Ve.level+1,nodes:at};Le(et)}nt&&nt.forEach(function(ot,yt){qe(ot,yt,{node:it,pos:dt,level:Ve?Ve.level+1:-1},at)})}qe(null)}function xe(Ee){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ce=Le.initWrapper,_e=Le.processEntity,Me=Le.onProcessFinished,De=Le.externalGetKey,Se=Le.childrenPropName,Be=Le.fieldNames,Re=arguments.length>2?arguments[2]:void 0,Xe=De||Re,Ie={},Ye={},Ge={posEntities:Ie,keyEntities:Ye};return Ce&&(Ge=Ce(Ge)||Ge),we(Ee,function(qe){var it=qe.node,st=qe.index,Ve=qe.pos,Qe=qe.key,nt=qe.parentPos,dt=qe.level,at=qe.nodes,tt={node:it,nodes:at,index:st,key:Qe,pos:Ve,level:dt},et=re(Qe,Ve);Ie[Ve]=tt,Ye[et]=tt,tt.parent=Ie[nt],tt.parent&&(tt.parent.children=tt.parent.children||[],tt.parent.children.push(tt)),_e&&_e(tt,Ge)},{externalGetKey:Xe,childrenPropName:Se,fieldNames:Be}),Me&&Me(Ge),Ge}function Ae(Ee,Le){var Ce=Le.expandedKeys,_e=Le.selectedKeys,Me=Le.loadedKeys,De=Le.loadingKeys,Se=Le.checkedKeys,Be=Le.halfCheckedKeys,Re=Le.dragOverNodeKey,Xe=Le.dropPosition,Ie=Le.keyEntities,Ye=(0,ie.Z)(Ie,Ee),Ge={eventKey:Ee,expanded:Ce.indexOf(Ee)!==-1,selected:_e.indexOf(Ee)!==-1,loaded:Me.indexOf(Ee)!==-1,loading:De.indexOf(Ee)!==-1,checked:Se.indexOf(Ee)!==-1,halfChecked:Be.indexOf(Ee)!==-1,pos:String(Ye?Ye.pos:""),dragOver:Re===Ee&&Xe===0,dragOverGapTop:Re===Ee&&Xe===-1,dragOverGapBottom:Re===Ee&&Xe===1};return Ge}function ye(Ee){var Le=Ee.data,Ce=Ee.expanded,_e=Ee.selected,Me=Ee.checked,De=Ee.loaded,Se=Ee.loading,Be=Ee.halfChecked,Re=Ee.dragOver,Xe=Ee.dragOverGapTop,Ie=Ee.dragOverGapBottom,Ye=Ee.pos,Ge=Ee.active,qe=Ee.eventKey,it=(0,E.Z)((0,E.Z)({},Le),{},{expanded:Ce,selected:_e,checked:Me,loaded:De,loading:Se,halfChecked:Be,dragOver:Re,dragOverGapTop:Xe,dragOverGapBottom:Ie,pos:Ye,active:Ge,key:qe});return"props"in it||Object.defineProperty(it,"props",{get:function(){return(0,ee.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Ee}}),it}},8224:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return bt}});var Ne=Te(4676);function bt(E,je,ve,ne){var ee=Ne.unstable_batchedUpdates?function(oe){Ne.unstable_batchedUpdates(ve,oe)}:ve;return E!=null&&E.addEventListener&&E.addEventListener(je,ee,ne),{remove:function(){E!=null&&E.removeEventListener&&E.removeEventListener(je,ee,ne)}}}},55468:function(kn,Qt,Te){"use strict";Te.d(Qt,{g1:function(){return pe},os:function(){return ae}});var Ne=/margin|padding|width|height|max|min|offset/,bt={left:!0,top:!0},E={cssFloat:1,styleFloat:1,float:1};function je(ce){return ce.nodeType===1?ce.ownerDocument.defaultView.getComputedStyle(ce,null):{}}function ve(ce,de,me){if(de=de.toLowerCase(),me==="auto"){if(de==="height")return ce.offsetHeight;if(de==="width")return ce.offsetWidth}return de in bt||(bt[de]=Ne.test(de)),bt[de]?parseFloat(me)||0:me}function ne(ce,de){var me=arguments.length,we=je(ce);return de=E[de]?"cssFloat"in ce.style?"cssFloat":"styleFloat":de,me===1?we:ve(ce,de,we[de]||ce.style[de])}function ee(ce,de,me){var we=arguments.length;if(de=E[de]?"cssFloat"in ce.style?"cssFloat":"styleFloat":de,we===3)return typeof me=="number"&&Ne.test(de)&&(me="".concat(me,"px")),ce.style[de]=me,me;for(var xe in de)de.hasOwnProperty(xe)&&ee(ce,xe,de[xe]);return je(ce)}function ie(ce){return ce===document.body?document.documentElement.clientWidth:ce.offsetWidth}function oe(ce){return ce===document.body?window.innerHeight||document.documentElement.clientHeight:ce.offsetHeight}function le(){var ce=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),de=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ce,height:de}}function pe(){var ce=document.documentElement.clientWidth,de=window.innerHeight||document.documentElement.clientHeight;return{width:ce,height:de}}function re(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ae(ce){var de=ce.getBoundingClientRect(),me=document.documentElement;return{left:de.left+(window.pageXOffset||me.scrollLeft)-(me.clientLeft||document.body.clientLeft||0),top:de.top+(window.pageYOffset||me.scrollTop)-(me.clientTop||document.body.clientTop||0)}}},24514:function(kn,Qt,Te){"use strict";Te.d(Qt,{G:function(){return je}});var Ne=Te(47273),bt=function(ne){if((0,Ne.Z)()&&window.document.documentElement){var ee=Array.isArray(ne)?ne:[ne],ie=window.document.documentElement;return ee.some(function(oe){return oe in ie.style})}return!1},E=function(ne,ee){if(!bt(ne))return!1;var ie=document.createElement("div"),oe=ie.style[ne];return ie.style[ne]=ee,ie.style[ne]!==oe};function je(ve,ne){return!Array.isArray(ve)&&ne!==void 0?E(ve,ne):bt(ve)}},48911:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return Je}});var Ne=Te(60499),bt=Te(43749),E=Te(85899),je=Te(18642),ve=Te(72190),ne=Te(42244),ee=Te(92310),ie=Te.n(ee),oe=Te(29301),le=Te(70425),pe=Te(34280),re=Te(59301),ae=Te(4676),ce=re.forwardRef(function(Ze,ue){var he=Ze.height,He=Ze.offsetY,We=Ze.offsetX,fe=Ze.children,Pe=Ze.prefixCls,Fe=Ze.onInnerResize,Ke=Ze.innerProps,Ue=Ze.rtl,ut=Ze.extra,vt={},lt={display:"flex",flexDirection:"column"};return He!==void 0&&(vt={height:he,position:"relative",overflow:"hidden"},lt=(0,E.Z)((0,E.Z)({},lt),{},(0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)({transform:"translateY(".concat(He,"px)")},Ue?"marginRight":"marginLeft",-We),"position","absolute"),"left",0),"right",0),"top",0))),re.createElement("div",{style:vt},re.createElement(oe.Z,{onResize:function(Wt){var wt=Wt.offsetHeight;wt&&Fe&&Fe()}},re.createElement("div",(0,Ne.Z)({style:lt,className:ie()((0,je.Z)({},"".concat(Pe,"-holder-inner"),Pe)),ref:ue},Ke),fe,ut)))});ce.displayName="Filler";var de=ce;function me(Ze){var ue=Ze.children,he=Ze.setRef,He=re.useCallback(function(We){he(We)},[]);return re.cloneElement(ue,{ref:He})}function we(Ze,ue,he,He,We,fe,Pe,Fe){var Ke=Fe.getKey;return Ze.slice(ue,he+1).map(function(Ue,ut){var vt=ue+ut,lt=Pe(Ue,vt,{style:{width:He},offsetX:We}),Dt=Ke(Ue);return re.createElement(me,{key:Dt,setRef:function(wt){return fe(Ue,wt)}},lt)})}function xe(Ze,ue,he,He){var We=he-Ze,fe=ue-he,Pe=Math.min(We,fe)*2;if(He<=Pe){var Fe=Math.floor(He/2);return He%2?he+Fe+1:he-Fe}return We>fe?he-(He-fe):he+(He-We)}function Ae(Ze,ue,he){var He=Ze.length,We=ue.length,fe,Pe;if(He===0&&We===0)return null;He<We?(fe=Ze,Pe=ue):(fe=ue,Pe=Ze);var Fe={__EMPTY_ITEM__:!0};function Ke(Wt){return Wt!==void 0?he(Wt):Fe}for(var Ue=null,ut=Math.abs(He-We)!==1,vt=0;vt<Pe.length;vt+=1){var lt=Ke(fe[vt]),Dt=Ke(Pe[vt]);if(lt!==Dt){Ue=vt,ut=ut||lt!==Ke(Pe[vt+1]);break}}return Ue===null?null:{index:Ue,multiple:ut}}function ye(Ze,ue,he){var He=re.useState(Ze),We=(0,ve.Z)(He,2),fe=We[0],Pe=We[1],Fe=re.useState(null),Ke=(0,ve.Z)(Fe,2),Ue=Ke[0],ut=Ke[1];return re.useEffect(function(){var vt=Ae(fe||[],Ze||[],ue);(vt==null?void 0:vt.index)!==void 0&&(he==null||he(vt.index),ut(Ze[vt.index])),Pe(Ze)},[Ze]),[Ue]}var Ee=Te(16089),Le=(typeof navigator=="undefined"?"undefined":(0,bt.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Ce=Le,_e=function(Ze,ue,he,He){var We=(0,re.useRef)(!1),fe=(0,re.useRef)(null);function Pe(){clearTimeout(fe.current),We.current=!0,fe.current=setTimeout(function(){We.current=!1},50)}var Fe=(0,re.useRef)({top:Ze,bottom:ue,left:he,right:He});return Fe.current.top=Ze,Fe.current.bottom=ue,Fe.current.left=he,Fe.current.right=He,function(Ke,Ue){var ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,vt=Ke?Ue<0&&Fe.current.left||Ue>0&&Fe.current.right:Ue<0&&Fe.current.top||Ue>0&&Fe.current.bottom;return ut&&vt?(clearTimeout(fe.current),We.current=!1):(!vt||We.current)&&Pe(),!We.current&&vt}};function Me(Ze,ue,he,He,We,fe,Pe){var Fe=(0,re.useRef)(0),Ke=(0,re.useRef)(null),Ue=(0,re.useRef)(null),ut=(0,re.useRef)(!1),vt=_e(ue,he,He,We);function lt(St,ft){if(Ee.Z.cancel(Ke.current),!vt(!1,ft)){var Et=St;if(!Et._virtualHandled)Et._virtualHandled=!0;else return;Fe.current+=ft,Ue.current=ft,Ce||Et.preventDefault(),Ke.current=(0,Ee.Z)(function(){var Ft=ut.current?10:1;Pe(Fe.current*Ft,!1),Fe.current=0})}}function Dt(St,ft){Pe(ft,!0),Ce||St.preventDefault()}var Wt=(0,re.useRef)(null),wt=(0,re.useRef)(null);function zt(St){if(Ze){Ee.Z.cancel(wt.current),wt.current=(0,Ee.Z)(function(){Wt.current=null},2);var ft=St.deltaX,Et=St.deltaY,Ft=St.shiftKey,Kt=ft,Zt=Et;(Wt.current==="sx"||!Wt.current&&Ft&&Et&&!ft)&&(Kt=Et,Zt=0,Wt.current="sx");var rn=Math.abs(Kt),En=Math.abs(Zt);Wt.current===null&&(Wt.current=fe&&rn>En?"x":"y"),Wt.current==="y"?lt(St,Zt):Dt(St,Kt)}}function Nt(St){Ze&&(ut.current=St.detail===Ue.current)}return[zt,Nt]}function De(Ze,ue,he,He){var We=re.useMemo(function(){return[new Map,[]]},[Ze,he.id,He]),fe=(0,ve.Z)(We,2),Pe=fe[0],Fe=fe[1],Ke=function(ut){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ut,lt=Pe.get(ut),Dt=Pe.get(vt);if(lt===void 0||Dt===void 0)for(var Wt=Ze.length,wt=Fe.length;wt<Wt;wt+=1){var zt,Nt=Ze[wt],St=ue(Nt);Pe.set(St,wt);var ft=(zt=he.get(St))!==null&&zt!==void 0?zt:He;if(Fe[wt]=(Fe[wt-1]||0)+ft,St===ut&&(lt=wt),St===vt&&(Dt=wt),lt!==void 0&&Dt!==void 0)break}return{top:Fe[lt-1]||0,bottom:Fe[Dt]}};return Ke}var Se=Te(38705),Be=Te(17212),Re=function(){function Ze(){(0,Se.Z)(this,Ze),(0,je.Z)(this,"maps",void 0),(0,je.Z)(this,"id",0),(0,je.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,Be.Z)(Ze,[{key:"set",value:function(he,He){this.diffRecords.set(he,this.maps[he]),this.maps[he]=He,this.id+=1}},{key:"get",value:function(he){return this.maps[he]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),Ze}(),Xe=Re;function Ie(Ze){var ue=parseFloat(Ze);return isNaN(ue)?0:ue}function Ye(Ze,ue,he){var He=re.useState(0),We=(0,ve.Z)(He,2),fe=We[0],Pe=We[1],Fe=(0,re.useRef)(new Map),Ke=(0,re.useRef)(new Xe),Ue=(0,re.useRef)(0);function ut(){Ue.current+=1}function vt(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ut();var Wt=function(){var Nt=!1;Fe.current.forEach(function(St,ft){if(St&&St.offsetParent){var Et=St.offsetHeight,Ft=getComputedStyle(St),Kt=Ft.marginTop,Zt=Ft.marginBottom,rn=Ie(Kt),En=Ie(Zt),On=Et+rn+En;Ke.current.get(ft)!==On&&(Ke.current.set(ft,On),Nt=!0)}}),Nt&&Pe(function(St){return St+1})};if(Dt)Wt();else{Ue.current+=1;var wt=Ue.current;Promise.resolve().then(function(){wt===Ue.current&&Wt()})}}function lt(Dt,Wt){var wt=Ze(Dt),zt=Fe.current.get(wt);Wt?(Fe.current.set(wt,Wt),vt()):Fe.current.delete(wt),!zt!=!Wt&&(Wt?ue==null||ue(Dt):he==null||he(Dt))}return(0,re.useEffect)(function(){return ut},[]),[lt,vt,Ke.current,fe]}var Ge=14/15;function qe(Ze,ue,he){var He=(0,re.useRef)(!1),We=(0,re.useRef)(0),fe=(0,re.useRef)(0),Pe=(0,re.useRef)(null),Fe=(0,re.useRef)(null),Ke,Ue=function(Dt){if(He.current){var Wt=Math.ceil(Dt.touches[0].pageX),wt=Math.ceil(Dt.touches[0].pageY),zt=We.current-Wt,Nt=fe.current-wt,St=Math.abs(zt)>Math.abs(Nt);St?We.current=Wt:fe.current=wt;var ft=he(St,St?zt:Nt,!1,Dt);ft&&Dt.preventDefault(),clearInterval(Fe.current),ft&&(Fe.current=setInterval(function(){St?zt*=Ge:Nt*=Ge;var Et=Math.floor(St?zt:Nt);(!he(St,Et,!0)||Math.abs(Et)<=.1)&&clearInterval(Fe.current)},16))}},ut=function(){He.current=!1,Ke()},vt=function(Dt){Ke(),Dt.touches.length===1&&!He.current&&(He.current=!0,We.current=Math.ceil(Dt.touches[0].pageX),fe.current=Math.ceil(Dt.touches[0].pageY),Pe.current=Dt.target,Pe.current.addEventListener("touchmove",Ue,{passive:!1}),Pe.current.addEventListener("touchend",ut,{passive:!0}))};Ke=function(){Pe.current&&(Pe.current.removeEventListener("touchmove",Ue),Pe.current.removeEventListener("touchend",ut))},(0,pe.Z)(function(){return Ze&&ue.current.addEventListener("touchstart",vt,{passive:!0}),function(){var lt;(lt=ue.current)===null||lt===void 0||lt.removeEventListener("touchstart",vt),Ke(),clearInterval(Fe.current)}},[Ze])}function it(Ze){return Math.floor(Math.pow(Ze,.5))}function st(Ze,ue){var he="touches"in Ze?Ze.touches[0]:Ze;return he[ue?"pageX":"pageY"]-window[ue?"scrollX":"scrollY"]}function Ve(Ze,ue,he){re.useEffect(function(){var He=ue.current;if(Ze&&He){var We=!1,fe,Pe,Fe=function(){Ee.Z.cancel(fe)},Ke=function lt(){Fe(),fe=(0,Ee.Z)(function(){he(Pe),lt()})},Ue=function(){We=!1,Fe()},ut=function(Dt){if(!(Dt.target.draggable||Dt.button!==0)){var Wt=Dt;Wt._virtualHandled||(Wt._virtualHandled=!0,We=!0)}},vt=function(Dt){if(We){var Wt=st(Dt,!1),wt=He.getBoundingClientRect(),zt=wt.top,Nt=wt.bottom;if(Wt<=zt){var St=zt-Wt;Pe=-it(St),Ke()}else if(Wt>=Nt){var ft=Wt-Nt;Pe=it(ft),Ke()}else Fe()}};return He.addEventListener("mousedown",ut),He.ownerDocument.addEventListener("mouseup",Ue),He.ownerDocument.addEventListener("mousemove",vt),He.ownerDocument.addEventListener("dragend",Ue),function(){He.removeEventListener("mousedown",ut),He.ownerDocument.removeEventListener("mouseup",Ue),He.ownerDocument.removeEventListener("mousemove",vt),He.ownerDocument.removeEventListener("dragend",Ue),Fe()}}},[Ze])}var Qe=10;function nt(Ze,ue,he,He,We,fe,Pe,Fe){var Ke=re.useRef(),Ue=re.useState(null),ut=(0,ve.Z)(Ue,2),vt=ut[0],lt=ut[1];return(0,pe.Z)(function(){if(vt&&vt.times<Qe){if(!Ze.current){lt(function(Gn){return(0,E.Z)({},Gn)});return}fe();var Dt=vt.targetAlign,Wt=vt.originAlign,wt=vt.index,zt=vt.offset,Nt=Ze.current.clientHeight,St=!1,ft=Dt,Et=null;if(Nt){for(var Ft=Dt||Wt,Kt=0,Zt=0,rn=0,En=Math.min(ue.length-1,wt),On=0;On<=En;On+=1){var Hn=We(ue[On]);Zt=Kt;var Dn=he.get(Hn);rn=Zt+(Dn===void 0?He:Dn),Kt=rn}for(var jn=Ft==="top"?zt:Nt-zt,Jn=En;Jn>=0;Jn-=1){var br=We(ue[Jn]),sr=he.get(br);if(sr===void 0){St=!0;break}if(jn-=sr,jn<=0)break}switch(Ft){case"top":Et=Zt-zt;break;case"bottom":Et=rn-Nt+zt;break;default:{var Rn=Ze.current.scrollTop,Fn=Rn+Nt;Zt<Rn?ft="top":rn>Fn&&(ft="bottom")}}Et!==null&&Pe(Et),Et!==vt.lastTop&&(St=!0)}St&&lt((0,E.Z)((0,E.Z)({},vt),{},{times:vt.times+1,targetAlign:ft,lastTop:Et}))}},[vt,Ze.current]),function(Dt){if(Dt==null){Fe();return}if(Ee.Z.cancel(Ke.current),typeof Dt=="number")Pe(Dt);else if(Dt&&(0,bt.Z)(Dt)==="object"){var Wt,wt=Dt.align;"index"in Dt?Wt=Dt.index:Wt=ue.findIndex(function(St){return We(St)===Dt.key});var zt=Dt.offset,Nt=zt===void 0?0:zt;lt({times:0,index:Wt,offset:Nt,originAlign:wt})}}}var dt=re.forwardRef(function(Ze,ue){var he=Ze.prefixCls,He=Ze.rtl,We=Ze.scrollOffset,fe=Ze.scrollRange,Pe=Ze.onStartMove,Fe=Ze.onStopMove,Ke=Ze.onScroll,Ue=Ze.horizontal,ut=Ze.spinSize,vt=Ze.containerSize,lt=Ze.style,Dt=Ze.thumbStyle,Wt=Ze.showScrollBar,wt=re.useState(!1),zt=(0,ve.Z)(wt,2),Nt=zt[0],St=zt[1],ft=re.useState(null),Et=(0,ve.Z)(ft,2),Ft=Et[0],Kt=Et[1],Zt=re.useState(null),rn=(0,ve.Z)(Zt,2),En=rn[0],On=rn[1],Hn=!He,Dn=re.useRef(),jn=re.useRef(),Jn=re.useState(Wt),br=(0,ve.Z)(Jn,2),sr=br[0],Rn=br[1],Fn=re.useRef(),Gn=function(){Wt===!0||Wt===!1||(clearTimeout(Fn.current),Rn(!0),Fn.current=setTimeout(function(){Rn(!1)},3e3))},er=fe-vt||0,xr=vt-ut||0,cr=re.useMemo(function(){if(We===0||er===0)return 0;var Ht=We/er;return Ht*xr},[We,er,xr]),Tr=function(kt){kt.stopPropagation(),kt.preventDefault()},Dr=re.useRef({top:cr,dragging:Nt,pageY:Ft,startTop:En});Dr.current={top:cr,dragging:Nt,pageY:Ft,startTop:En};var Xn=function(kt){St(!0),Kt(st(kt,Ue)),On(Dr.current.top),Pe(),kt.stopPropagation(),kt.preventDefault()};re.useEffect(function(){var Ht=function(Bt){Bt.preventDefault()},kt=Dn.current,Rt=jn.current;return kt.addEventListener("touchstart",Ht,{passive:!1}),Rt.addEventListener("touchstart",Xn,{passive:!1}),function(){kt.removeEventListener("touchstart",Ht),Rt.removeEventListener("touchstart",Xn)}},[]);var $n=re.useRef();$n.current=er;var wr=re.useRef();wr.current=xr,re.useEffect(function(){if(Nt){var Ht,kt=function(Bt){var Ut=Dr.current,Yt=Ut.dragging,hn=Ut.pageY,fn=Ut.startTop;Ee.Z.cancel(Ht);var wn=Dn.current.getBoundingClientRect(),Ln=vt/(Ue?wn.width:wn.height);if(Yt){var Tn=(st(Bt,Ue)-hn)*Ln,zn=fn;!Hn&&Ue?zn-=Tn:zn+=Tn;var nn=$n.current,In=wr.current,Xt=In?zn/In:0,en=Math.ceil(Xt*nn);en=Math.max(en,0),en=Math.min(en,nn),Ht=(0,Ee.Z)(function(){Ke(en,Ue)})}},Rt=function(){St(!1),Fe()};return window.addEventListener("mousemove",kt,{passive:!0}),window.addEventListener("touchmove",kt,{passive:!0}),window.addEventListener("mouseup",Rt,{passive:!0}),window.addEventListener("touchend",Rt,{passive:!0}),function(){window.removeEventListener("mousemove",kt),window.removeEventListener("touchmove",kt),window.removeEventListener("mouseup",Rt),window.removeEventListener("touchend",Rt),Ee.Z.cancel(Ht)}}},[Nt]),re.useEffect(function(){return Gn(),function(){clearTimeout(Fn.current)}},[We]),re.useImperativeHandle(ue,function(){return{delayHidden:Gn}});var nr="".concat(he,"-scrollbar"),Zn={position:"absolute",visibility:sr?null:"hidden"},Pr={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Ue?(Object.assign(Zn,{height:8,left:0,right:0,bottom:0}),Object.assign(Pr,(0,je.Z)({height:"100%",width:ut},Hn?"left":"right",cr))):(Object.assign(Zn,(0,je.Z)({width:8,top:0,bottom:0},Hn?"right":"left",0)),Object.assign(Pr,{width:"100%",height:ut,top:cr})),re.createElement("div",{ref:Dn,className:ie()(nr,(0,je.Z)((0,je.Z)((0,je.Z)({},"".concat(nr,"-horizontal"),Ue),"".concat(nr,"-vertical"),!Ue),"".concat(nr,"-visible"),sr)),style:(0,E.Z)((0,E.Z)({},Zn),lt),onMouseDown:Tr,onMouseMove:Gn},re.createElement("div",{ref:jn,className:ie()("".concat(nr,"-thumb"),(0,je.Z)({},"".concat(nr,"-thumb-moving"),Nt)),style:(0,E.Z)((0,E.Z)({},Pr),Dt),onMouseDown:Xn}))}),at=dt,tt=20;function et(){var Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,he=Ze/ue*Ze;return isNaN(he)&&(he=0),he=Math.max(he,tt),Math.floor(he)}var ot=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],yt=[],pt={overflowY:"auto",overflowAnchor:"none"};function Pt(Ze,ue){var he=Ze.prefixCls,He=he===void 0?"rc-virtual-list":he,We=Ze.className,fe=Ze.height,Pe=Ze.itemHeight,Fe=Ze.fullHeight,Ke=Fe===void 0?!0:Fe,Ue=Ze.style,ut=Ze.data,vt=Ze.children,lt=Ze.itemKey,Dt=Ze.virtual,Wt=Ze.direction,wt=Ze.scrollWidth,zt=Ze.component,Nt=zt===void 0?"div":zt,St=Ze.onScroll,ft=Ze.onVirtualScroll,Et=Ze.onVisibleChange,Ft=Ze.innerProps,Kt=Ze.extraRender,Zt=Ze.styles,rn=Ze.showScrollBar,En=rn===void 0?"optional":rn,On=(0,ne.Z)(Ze,ot),Hn=re.useCallback(function(Ir){return typeof lt=="function"?lt(Ir):Ir==null?void 0:Ir[lt]},[lt]),Dn=Ye(Hn,null,null),jn=(0,ve.Z)(Dn,4),Jn=jn[0],br=jn[1],sr=jn[2],Rn=jn[3],Fn=!!(Dt!==!1&&fe&&Pe),Gn=re.useMemo(function(){return Object.values(sr.maps).reduce(function(Ir,Wr){return Ir+Wr},0)},[sr.id,sr.maps]),er=Fn&&ut&&(Math.max(Pe*ut.length,Gn)>fe||!!wt),xr=Wt==="rtl",cr=ie()(He,(0,je.Z)({},"".concat(He,"-rtl"),xr),We),Tr=ut||yt,Dr=(0,re.useRef)(),Xn=(0,re.useRef)(),$n=(0,re.useRef)(),wr=(0,re.useState)(0),nr=(0,ve.Z)(wr,2),Zn=nr[0],Pr=nr[1],Ht=(0,re.useState)(0),kt=(0,ve.Z)(Ht,2),Rt=kt[0],Lt=kt[1],Bt=(0,re.useState)(!1),Ut=(0,ve.Z)(Bt,2),Yt=Ut[0],hn=Ut[1],fn=function(){hn(!0)},wn=function(){hn(!1)},Ln={getKey:Hn};function Tn(Ir){Pr(function(Wr){var vi;typeof Ir=="function"?vi=Ir(Wr):vi=Ir;var Ai=mr(vi);return Dr.current.scrollTop=Ai,Ai})}var zn=(0,re.useRef)({start:0,end:Tr.length}),nn=(0,re.useRef)(),In=ye(Tr,Hn),Xt=(0,ve.Z)(In,1),en=Xt[0];nn.current=en;var sn=re.useMemo(function(){if(!Fn)return{scrollHeight:void 0,start:0,end:Tr.length-1,offset:void 0};if(!er){var Ir;return{scrollHeight:((Ir=Xn.current)===null||Ir===void 0?void 0:Ir.offsetHeight)||0,start:0,end:Tr.length-1,offset:void 0}}for(var Wr=0,vi,Ai,da,ca=Tr.length,$i=0;$i<ca;$i+=1){var Hi=Tr[$i],xa=Hn(Hi),wa=sr.get(xa),jr=Wr+(wa===void 0?Pe:wa);jr>=Zn&&vi===void 0&&(vi=$i,Ai=Wr),jr>Zn+fe&&da===void 0&&(da=$i),Wr=jr}return vi===void 0&&(vi=0,Ai=0,da=Math.ceil(fe/Pe)),da===void 0&&(da=Tr.length-1),da=Math.min(da+1,Tr.length-1),{scrollHeight:Wr,start:vi,end:da,offset:Ai}},[er,Fn,Zn,Tr,Rn,fe]),mn=sn.scrollHeight,Bn=sn.start,cn=sn.end,pn=sn.offset;zn.current.start=Bn,zn.current.end=cn,re.useLayoutEffect(function(){var Ir=sr.getRecord();if(Ir.size===1){var Wr=Array.from(Ir.keys())[0],vi=Ir.get(Wr),Ai=Tr[Bn];if(Ai&&vi===void 0){var da=Hn(Ai);if(da===Wr){var ca=sr.get(Wr),$i=ca-Pe;Tn(function(Hi){return Hi+$i})}}}sr.resetRecord()},[mn]);var Tt=re.useState({width:0,height:fe}),Jt=(0,ve.Z)(Tt,2),qt=Jt[0],un=Jt[1],dn=function(Wr){un({width:Wr.offsetWidth,height:Wr.offsetHeight})},yn=(0,re.useRef)(),bn=(0,re.useRef)(),_n=re.useMemo(function(){return et(qt.width,wt)},[qt.width,wt]),Qn=re.useMemo(function(){return et(qt.height,mn)},[qt.height,mn]),ar=mn-fe,gr=(0,re.useRef)(ar);gr.current=ar;function mr(Ir){var Wr=Ir;return Number.isNaN(gr.current)||(Wr=Math.min(Wr,gr.current)),Wr=Math.max(Wr,0),Wr}var zr=Zn<=0,Mr=Zn>=ar,lr=Rt<=0,ur=Rt>=wt,dr=_e(zr,Mr,lr,ur),Rr=function(){return{x:xr?-Rt:Rt,y:Zn}},Cr=(0,re.useRef)(Rr()),Ar=(0,le.useEvent)(function(Ir){if(ft){var Wr=(0,E.Z)((0,E.Z)({},Rr()),Ir);(Cr.current.x!==Wr.x||Cr.current.y!==Wr.y)&&(ft(Wr),Cr.current=Wr)}});function Gr(Ir,Wr){var vi=Ir;Wr?((0,ae.flushSync)(function(){Lt(vi)}),Ar()):Tn(vi)}function Kr(Ir){var Wr=Ir.currentTarget.scrollTop;Wr!==Zn&&Tn(Wr),St==null||St(Ir),Ar()}var oi=function(Wr){var vi=Wr,Ai=wt?wt-qt.width:0;return vi=Math.max(vi,0),vi=Math.min(vi,Ai),vi},Di=(0,le.useEvent)(function(Ir,Wr){Wr?((0,ae.flushSync)(function(){Lt(function(vi){var Ai=vi+(xr?-Ir:Ir);return oi(Ai)})}),Ar()):Tn(function(vi){var Ai=vi+Ir;return Ai})}),Hr=Me(Fn,zr,Mr,lr,ur,!!wt,Di),or=(0,ve.Z)(Hr,2),ir=or[0],ti=or[1];qe(Fn,Dr,function(Ir,Wr,vi,Ai){var da=Ai;return dr(Ir,Wr,vi)?!1:!da||!da._virtualHandled?(da&&(da._virtualHandled=!0),ir({preventDefault:function(){},deltaX:Ir?Wr:0,deltaY:Ir?0:Wr}),!0):!1}),Ve(er,Dr,function(Ir){Tn(function(Wr){return Wr+Ir})}),(0,pe.Z)(function(){function Ir(vi){var Ai=zr&&vi.detail<0,da=Mr&&vi.detail>0;Fn&&!Ai&&!da&&vi.preventDefault()}var Wr=Dr.current;return Wr.addEventListener("wheel",ir,{passive:!1}),Wr.addEventListener("DOMMouseScroll",ti,{passive:!0}),Wr.addEventListener("MozMousePixelScroll",Ir,{passive:!1}),function(){Wr.removeEventListener("wheel",ir),Wr.removeEventListener("DOMMouseScroll",ti),Wr.removeEventListener("MozMousePixelScroll",Ir)}},[Fn,zr,Mr]),(0,pe.Z)(function(){if(wt){var Ir=oi(Rt);Lt(Ir),Ar({x:Ir})}},[qt.width,wt]);var Ur=function(){var Wr,vi;(Wr=yn.current)===null||Wr===void 0||Wr.delayHidden(),(vi=bn.current)===null||vi===void 0||vi.delayHidden()},ui=nt(Dr,Tr,sr,Pe,Hn,function(){return br(!0)},Tn,Ur);re.useImperativeHandle(ue,function(){return{nativeElement:$n.current,getScrollInfo:Rr,scrollTo:function(Wr){function vi(Ai){return Ai&&(0,bt.Z)(Ai)==="object"&&("left"in Ai||"top"in Ai)}vi(Wr)?(Wr.left!==void 0&&Lt(oi(Wr.left)),ui(Wr.top)):ui(Wr)}}}),(0,pe.Z)(function(){if(Et){var Ir=Tr.slice(Bn,cn+1);Et(Ir,Tr)}},[Bn,cn,Tr]);var gi=De(Tr,Hn,sr,Pe),pi=Kt==null?void 0:Kt({start:Bn,end:cn,virtual:er,offsetX:Rt,offsetY:pn,rtl:xr,getSize:gi}),ei=we(Tr,Bn,cn,wt,Rt,Jn,vt,Ln),li=null;fe&&(li=(0,E.Z)((0,je.Z)({},Ke?"height":"maxHeight",fe),pt),Fn&&(li.overflowY="hidden",wt&&(li.overflowX="hidden"),Yt&&(li.pointerEvents="none")));var ta={};return xr&&(ta.dir="rtl"),re.createElement("div",(0,Ne.Z)({ref:$n,style:(0,E.Z)((0,E.Z)({},Ue),{},{position:"relative"}),className:cr},ta,On),re.createElement(oe.Z,{onResize:dn},re.createElement(Nt,{className:"".concat(He,"-holder"),style:li,ref:Dr,onScroll:Kr,onMouseEnter:Ur},re.createElement(de,{prefixCls:He,height:mn,offsetX:Rt,offsetY:pn,scrollWidth:wt,onInnerResize:br,ref:Xn,innerProps:Ft,rtl:xr,extra:pi},ei))),er&&mn>fe&&re.createElement(at,{ref:yn,prefixCls:He,scrollOffset:Zn,scrollRange:mn,rtl:xr,onScroll:Gr,onStartMove:fn,onStopMove:wn,spinSize:Qn,containerSize:qt.height,style:Zt==null?void 0:Zt.verticalScrollBar,thumbStyle:Zt==null?void 0:Zt.verticalScrollBarThumb,showScrollBar:En}),er&&wt>qt.width&&re.createElement(at,{ref:bn,prefixCls:He,scrollOffset:Rt,scrollRange:wt,rtl:xr,onScroll:Gr,onStartMove:fn,onStopMove:wn,spinSize:_n,containerSize:qt.width,horizontal:!0,style:Zt==null?void 0:Zt.horizontalScrollBar,thumbStyle:Zt==null?void 0:Zt.horizontalScrollBarThumb,showScrollBar:En}))}var Mt=re.forwardRef(Pt);Mt.displayName="List";var ct=Mt,Je=ct},25365:function(kn){"use strict";kn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR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ckzmA9BkqcwqkDhphM1bK9FkiOGPEaQmHAmYkcBHUhVcRAca4Xk/T9qXjEtL1KFDSYxE1xUvqGu3OYJFe8LnIaBpdAutoOhgT3ZpI5hqwq107/R1UrJKh5DJB2N9KgagDeqc15g+S4PPG9OD5Ijg/LYXkvkHTrXA7sazdnxiTBINdvGDEp0N2p3IqhFa5AJ7d1QuUCSQZ3T5CcEePASSGBkRGrqL9rMMYRAyaTHJDMwii7W2OoBDY+tbLi33T6QYY7owdkh+WaNPUwukDGyG0ESMr9eXVl2fAB8w2uRcJWNufzPMAyGn7qXrllIZnDnVbF/HrIVPf0qgzYPKAhmxjGvAP3/GQPR5dndAOvLhfmBslJZJ0GnaHuCsMQ1tfK3DxfthsMIxhAOSC5WeSOMepcJQSEexJskiu5LiZp92UIBzW8r/+7i1J9zv+qIIckxpVlHJELKhCka2FS/SDJFkYASO6ipmSQ2eupM87IZpxqypkTriKZzoPtTwyrCZkWcefkbCtpxaQVAKbUtcjumrr6at78Ks7++tcNsYB1ZO3ckJKirETAHuh1oesANcS8DT+X2bF/xZS2VahJBey2gZe8DlDDjdyQK2j3lbxq0kB/DRJtG66pvusANcS8DT/XFV/2fvTMFL/fTzFJb9cBariRG3KFWgIgUDRcB6gh5m34ubUAChQN1wFquJEbcgVPCW2KhusANcS8DT+3zhxHiYaBU1bT/5K6vv1EFqg3CSXRcOfklR/+RPd2/Wf/2wL/BGiui/tFFRS/AAAAAElFTkSuQmCC"},79005:function(kn){"use strict";kn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXB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kqP6yot8p8R0t2NREkXzWDwQ25vZ8nYcx8UZtTC2bbqrdAK5zKUc1u6YqB46bCCnPaBoFASqVaXE0NBlOiqkpATtwWBUkV7KlmtlzGoOdJZgunaIoFndzaNs4f3olD3/wb76LF1qnfSLTt2dfFvP9869xhk4pdVk7K28wg7U6MCR/2PwaTTJBM8cAxiYZIiH2GuxTHKDflgKQafrVjnLxBP/VsIowYKFhNLOcFasSkQHlSneyVFXAVk7wgOXFKJowGSAH7OgFm7hSoQrGZMUkUWN1TquIY77Eqjlk5W/5VVxIUSK6YpBSe2RsSS9sI9ka1gUo2HlAdIBRIXgFijHMZosE7c+cF6WbmGwIHHtGmoM09ziVVmxYTNwmSMV3knZXj2OcadKQOb3B15y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(kn){"use strict";kn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJ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7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},47621:function(kn){"use strict";kn.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+mt8md3Zw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,Te){"use strict";var Ne=Object.defineProperty,bt=Object.defineProperties,E=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,ee=(a,y,b)=>y in a?Ne(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)&&ee(a,b,y[b]);if(je)for(var b of je(y))ne.call(y,b)&&ee(a,b,y[b]);return a},oe=(a,y)=>bt(a,E(y)),le=a=>typeof a=="symbol"?a:a+"",pe=(a,y)=>{var b={};for(var z in a)ve.call(a,z)&&y.indexOf(z)<0&&(b[z]=a[z]);if(a!=null&&je)for(var z of je(a))y.indexOf(z)<0&&ne.call(a,z)&&(b[z]=a[z]);return b};function re(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 ce(){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 me(){return typeof navigator.vibrate=="function"}function we(){var a,y;if(!ce())return"other";const b=(y=(a=navigator.userAgentData)==null?void 0:a.platform)!=null?y:navigator.platform;return/^mac/i.test(b)?navigator.maxTouchPoints===5?"ios":"macos":/^win/i.test(b)?"windows":/android/i.test(navigator.userAgent)?"android":/iphone|ipod|ipad/i.test(navigator.userAgent)?"ios":/\bcros\b/i.test(navigator.userAgent)?"chromeos":"other"}function xe(){if(!ce())return!0;if(/firefox/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/firefox\/(\d+)/i);return a?parseInt(a[1])>=78:!1}if(/trident/i.test(navigator.userAgent))return!1;if(/edge/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/edg\/(\d+)/i);return a?parseInt(a[1])>=79:!1}return!0}function Ae(){return HTMLElement.prototype.hasOwnProperty("popover")}var ye={strings:ae,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return ye._locale||(ye._locale=ce()?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 se=Ee(z);se&&b.setAttribute("data-tooltip",se)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const z=b.getAttribute("data-l10n-arial-label");if(z){const se=Ee(z);se&&b.setAttribute("aria-label",se)}}}};function Ee(a,...y){if(a===void 0)return;let b="";const z=ye.locale;ye.strings[z]&&(b=ye.strings[z][a]);const se=z.slice(0,2);if(!b&&ye.strings[se]&&(b=ye.strings[se][a]),b||(b=ye.strings.en[a]),!b)return;const ke=/(%@|%([0-9]+)\$@)/g;let ze=ke.exec(b),rt=0;for(;ze;){if(y[rt++]){const gt=ze[2]?parseInt(ze[2],10)-1:rt-1;let xt=y[gt];typeof xt=="number"&&(xt=ye.numberFormatter.format(xt)),b=b.replace(ze[1],xt)}ze=ke.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"},Ce={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"},De={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"},Se={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 Be(a){var y,b,z,se,ke,ze;const rt=a.split("!");let ht,gt,xt,jt=255,Gt=255,on=255,gn=-1;const tr=rt.length>0&&rt[0].startsWith("-");tr&&(rt[0]=rt[0].slice(1));for(let qr=0;qr<rt.length;qr++){ht=jt,gt=Gt,xt=on;const qn=(y=rt[qr].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],kr=qn==null?void 0:qn.toLowerCase(),ii=qn&&(ze=(ke=(se=(z=(b=Me[kr])!=null?b:Me[De[qn]])!=null?z:Ce[qn])!=null?se:Se[qn])!=null?ke:Le[qn])!=null?ze:rt[qr].trim();let Lr=ii.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(Lr!=null&&Lr[1]&&Lr[2]&&Lr[3])jt=Math.max(0,Math.min(255,Number.parseInt(Lr[1],16))),Gt=Math.max(0,Math.min(255,Number.parseInt(Lr[2],16))),on=Math.max(0,Math.min(255,Number.parseInt(Lr[3],16)));else if(Lr=ii.match(/^#([\da-f]{3})$/i),Lr!=null&&Lr[1]){const Li=Number.parseInt(Lr[1][0],16),Vi=Number.parseInt(Lr[1][1],16),Ki=Number.parseInt(Lr[1][2],16);jt=Math.max(0,Math.min(255,Li*16+Li)),Gt=Math.max(0,Math.min(255,Vi*16+Vi)),on=Math.max(0,Math.min(255,Ki*16+Ki))}else if(Lr=ii.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),Lr!=null&&Lr[1]&&Lr[2]&&Lr[3])jt=Math.max(0,Math.min(255,Number.parseInt(Lr[1]))),Gt=Math.max(0,Math.min(255,Number.parseInt(Lr[2]))),on=Math.max(0,Math.min(255,Number.parseInt(Lr[3])));else return;gn>=0&&(jt=(1-gn)*jt+gn*ht,Gt=(1-gn)*Gt+gn*gt,on=(1-gn)*on+gn*xt,gn=-1),qr+1<rt.length&&(gn=Math.max(0,Math.min(100,Number.parseInt(rt[++qr])))/100)}return gn>=0&&(jt=gn*jt+(1-gn)*ht,Gt=gn*Gt+(1-gn)*gt,on=gn*on+(1-gn)*xt),tr&&(jt=255-jt,Gt=255-Gt,on=255-on),"#"+("00"+Math.round(jt).toString(16)).slice(-2)+("00"+Math.round(Gt).toString(16)).slice(-2)+("00"+Math.round(on).toString(16)).slice(-2)}function Re(a){var y,b;return a=a.trim(),(b=(y=_e[a.toLowerCase()])!=null?y:_e[De[a]])!=null?b:Be(a)}function Xe(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 Ie(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 Ye(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 se=z<=.5?z*(b+1):z+b-z*b,ke=z*2-se;return{r:Math.round(255*Ie(ke,se,y+2)),g:Math.round(255*Ie(ke,se,y)),b:Math.round(255*Ie(ke,se,y-2))}}function Ge(a){return a<0?0:a>255?255:Math.round(a)}function qe(a){const{r:y,g:b,b:z}=a;let se=((1<<24)+(Ge(y)<<16)+(Ge(b)<<8)+Ge(z)).toString(16).slice(1);return se[0]===se[1]&&se[2]===se[3]&&se[4]===se[5]&&se[6]===se[7]&&(se=se[0]+se[2]+se[4]),"#"+se}function it(a){let{r:y,g:b,b:z}=a;y=y/255,b=b/255,z=z/255;const se=Math.min(y,b,z),ke=Math.max(y,b,z),ze=ke-se;let rt,ht;ke===se?rt=0:y===ke?rt=(b-z)/ze:b===ke?rt=2+(z-y)/ze:z===ke&&(rt=4+(y-b)/ze),rt=Math.min(rt*60,360),rt<0&&(rt+=360);const gt=(se+ke)/2;return ke===se?ht=0:gt<=.5?ht=ze/(ke+se):ht=ze/(2-ke-se),{h:rt,s:ht,l:gt}}function st(a){let y=Xe(a);if(!y)return a;let{h:b,s:z,l:se}=it(y);return z+=.1,se-=.1,qe(Ye({h:b,s:z,l:se}))}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"},Qe={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 se of nt)if((!y||se.variant===y)&&(!b||se.style===b)&&z>=se.offset&&z<se.offset+se.len){const ke=se.start+z-se.offset;return String.fromCodePoint(Qe[ke]||ke)}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 Qe)if(Qe[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 tt(a){var y;let b="";for(const z of a){if("{}<>[]$&#^_%:'\u02DC".includes(z)){b+=z;continue}const se=(y=z.codePointAt(0))!=null?y:0;let ke=Ve[se];if(ke)ke.startsWith("\\")?b+=ke+" ":b+=ke;else{const{char:ze,variant:rt,style:ht}=at(se);switch(ke=ze,rt){case"double-struck":ke=`\\mathbb{${ke}}`;break;case"fraktur":ke=`\\mathfrak{${ke}}`;break;case"script":ke=`\\mathscr{${ke}}`;break;case"sans-serif":ke=`\\mathsf{${ke}}`;break;case"monospace":ke=`\\mathtt{${ke}}`;break;case"calligraphic":ke=`\\mathcal{${ke}}`;break}switch(ht){case"bold":ke=`\\mathbf{${ke}}`;break;case"italic":ke=`\\mathit{${ke}}`;break;case"bolditalic":ke=`\\mathbfit{${ke}}`;break}b+=ke}}return b}function et(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var ot={},yt=ie({},Ve),pt={},Pt={},Mt={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}"},ct={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}},Je={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}},Ze={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:Je},"amsmath.sty":{package:ct,primitive:!0},"texvc.sty":{package:Mt,primitive:!1}},ue={" ":32,"\\!":33,"\\#":35,"\\$":36,"\\%":37,"\\&":38,"-":45,"\\textunderscore":95,"\\euro":8364,"\\maltese":10016,"\\{":123,"\\}":125,"\\textbraceleft":123,"\\textbraceright":125,"\\lbrace":123,"\\rbrace":125,"\\lbrack":91,"\\rbrack":93,"\\nobreakspace":160,"\\ldots":8230,"\\textellipsis":8230,"\\backslash":92,"`":8216,"'":8217,"``":8220,"''":8221,"\\degree":176,"\\textasciicircum":94,"\\textasciitilde":126,"\\textasteriskcentered":42,"\\textbackslash":92,"\\textbullet":8226,"\\textdollar":36,"\\textsterling":163,"\\textdagger":8224,"\\textdaggerdbl":8225,"\u2013":8211,"\u2014":8212,"\u2018":8216,"\u2019":8217,"\u201C":8220,"\u201D":8221,'"':8221,"\\ss":223,"\\ae":230,"\\oe":339,"\\AE":198,"\\OE":338,"\\O":216,"\\i":305,"\\j":567,"\\aa":229,"\\AA":197},he=/[\w!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,He,We;xe()?(He=new RegExp("\\p{Letter}","u"),We=new RegExp("[0-9\\p{Letter}]","u")):(He=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,We=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function fe(a,y,b="mord",z){y!==void 0&&(ot[a]={definitionType:"symbol",type:b,variant:z,codepoint:y},yt[y]||(yt[y]=a))}function Pe(a,y,b){if(typeof a=="string"){for(let z=0;z<a.length;z++){const se=a.charAt(z);fe(se,se.codePointAt(0))}return}for(const[z,se,ke,ze]of a)fe(z,se,ke!=null?ke:y,ze!=null?ze:b)}function Fe(a,y){for(let b=a;b<=y;b++)fe(String.fromCodePoint(b),b)}function Ke(a){var y;return(y=Pt[a])!=null?y:null}function Ue(a,y){var b,z;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const se=[];for(const ze in pt)ze.startsWith(y)&&!pt[ze].infix&&se.push({match:ze,frequency:(b=pt[ze].frequency)!=null?b:0});for(const ze in ot)ze.startsWith(y)&&se.push({match:ze,frequency:(z=ot[ze].frequency)!=null?z:0});const ke=y.substring(1);for(const ze of Object.keys(a.options.macros))ze.startsWith(ke)&&se.push({match:"\\"+ze,frequency:0});return se.sort((ze,rt)=>{var ht,gt;return ze.frequency===rt.frequency?ze.match.length===rt.match.length?ze.match<rt.match?-1:1:ze.match.length-rt.match.length:((ht=rt.frequency)!=null?ht:0)-((gt=ze.frequency)!=null?gt:0)}),se.map(ze=>ze.match)}function ut(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function vt(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(...vt(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(...vt(b[z]))}return y}function lt(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)Pt[z]=b}function Wt(a,y,b){typeof a=="string"&&(a=[a]);const se={tabular:!0,params:vt(y),createAtom:b};for(const ke of a)Pt[ke]=se}function wt(a,y,b){var z,se;b||(b={});const ke={definitionType:"function",params:vt(y),ifMode:b.ifMode,isFunction:(z=b.isFunction)!=null?z:!1,applyMode:b.applyMode,infix:(se=b.infix)!=null?se:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")pt["\\"+a]=ke;else for(const ze of a)pt["\\"+ze]=ke}var zt;function Nt(a){return zt||(zt=ft(Ze)),a?ft(ie(ie({},zt),a)):zt}function St(a,y){var b,z,se,ke;if(typeof a=="string"){let ze=0;const rt=a;return/(^|[^\\])#1/.test(rt)&&(ze=1),/(^|[^\\])#2/.test(rt)&&(ze=2),/(^|[^\\])#3/.test(rt)&&(ze=3),/(^|[^\\])#4/.test(rt)&&(ze=4),/(^|[^\\])#5/.test(rt)&&(ze=5),/(^|[^\\])#6/.test(rt)&&(ze=6),/(^|[^\\])#7/.test(rt)&&(ze=7),/(^|[^\\])#8/.test(rt)&&(ze=8),/(^|[^\\])#9/.test(rt)&&(ze=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(z=y==null?void 0:y.captureSelection)!=null?z:!0,args:ze,def:rt}}return ie({expand:(se=y==null?void 0:y.expand)!=null?se:!0,captureSelection:(ke=y==null?void 0:y.captureSelection)!=null?ke:!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 se of Object.keys(z.package))y[se]=St(z.package[se],{expand:!z.primitive,captureSelection:z.captureSelection});else y[b]=St(z)}return y}function Et(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=pt[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=ot[a]:ue[a]&&(b={definitionType:"symbol",type:"mord",codepoint:ue[a]})}else if(y==="math"){if(b=ot[a],!b&&a.length===1){const z=Kt("math",a.codePointAt(0));return z.startsWith("\\")?oe(ie({},Et(z,"math")),{command:z}):null}}else ue[a]?b={definitionType:"symbol",type:"mord",codepoint:ue[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function Ft(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function Kt(a,y){if(y===void 0)return"";if(a==="math"&&yt[y])return yt[y];if(a==="text"){const b=Object.keys(ue).find(z=>ue[z]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var Zt=[0,.68889,0,0,.72222],rn=[0,.68889,0,0,.66667],En=[0,.68889,0,0,.77778],On=[0,.68889,0,0,.61111],Hn=[.16667,.68889,0,0,.77778],Dn=[0,.68889,0,0,.55556],jn=[0,0,0,0,.25],Jn=[0,.825,0,0,2.33334],br=[0,.9,0,0,2.33334],sr=[0,.68889,0,0,.54028],Rn=[-.03598,.46402,0,0,.5],Fn=[-.13313,.36687,0,0,1],Gn=[.01354,.52239,0,0,1],er=[.01354,.52239,0,0,1.11111],xr=[0,.54986,0,0,1],cr=[0,.69224,0,0,.5],Tr=[0,.43056,0,0,1],Dr=[.08198,.58198,0,0,.77778],Xn=[.19444,.69224,0,0,.41667],$n=[.1808,.675,0,0,1],wr=[.19444,.69224,0,0,.83334],nr=[.13667,.63667,0,0,1],Zn=[-.064,.437,0,0,1.334],Pr=[.08167,.58167,0,0,.77778],Ht=[0,.69224,0,0,.72222],kt=[0,.69224,0,0,.66667],Rt=[-.13313,.36687,0,0,.77778],Lt=[.06062,.54986,0,0,.77778],Bt=[0,.69224,0,0,.77778],Ut=[.25583,.75583,0,0,.77778],Yt=[.25142,.75726,0,0,.77778],hn=[.20576,.70576,0,0,.77778],fn=[.30274,.79383,0,0,.77778],wn=[.22958,.72958,0,0,.77778],Ln=[.1808,.675,0,0,.77778],Tn=[.13667,.63667,0,0,.77778],zn=[.13597,.63597,0,0,.77778],nn=[.03517,.54986,0,0,.77778],In=[0,.675,0,0,.77778],Xt=[.19444,.69224,0,0,.61111],en=[0,.54986,0,0,.76042],sn=[0,.54986,0,0,.66667],mn=[.0391,.5391,0,0,.77778],Bn=[.03517,.54986,0,0,1.33334],cn=[.38569,.88569,0,0,.77778],pn=[.23222,.74111,0,0,.77778],Tt=[.19444,.69224,0,0,.77778],Jt=[0,.37788,0,0,.5],qt=[0,.54986,0,0,.72222],un=[0,.69224,0,0,.83334],dn=[.11111,.69224,0,0,.66667],yn=[.26167,.75726,0,0,.77778],bn=[.48256,.98256,0,0,.77778],_n=[.28481,.79383,0,0,.77778],Qn=[.08167,.58167,0,0,.22222],ar=[.08167,.58167,0,0,.38889],gr=[0,.43056,.04028,0,.66667],mr=[.41951,.91951,0,0,.77778],zr=[.24982,.74947,0,0,.38865],Mr=[.08319,.58283,0,0,.75623],lr=[0,.10803,0,0,.27764],ur=[0,.47534,0,0,.50181],dr=[.18906,.47534,0,0,.50181],Rr=[0,.69141,0,0,.50181],Cr=[.24982,.74947,0,0,.27764],Ar=[0,.69141,0,0,.21471],Gr=[.25,.75,0,0,.44722],Kr=[0,.64444,0,0,.575],oi=[.08556,.58556,0,0,.89444],Di=[0,.69444,0,0,.89444],Hr=[0,.68611,0,0,.9],or=[0,.68611,0,0,.86944],ir=[.25,.75,0,0,.575],ti=[.25,.75,0,0,.31944],Ur=[0,.69444,0,0,.63889],ui=[0,.69444,0,0,.31944],gi=[0,.44444,0,0,.63889],pi=[0,.44444,0,0,.51111],ei=[0,.69444,0,0,.575],li=[.13333,.63333,0,0,.89444],ta=[0,.44444,0,0,.31944],Ir=[0,.69444,0,0,.86944],Wr=[0,.68611,0,0,.69166],vi=[0,.68611,0,0,.83055],Ai=[0,.68611,0,0,.89444],da=[0,.69444,0,0,.60278],ca=[.19444,.69444,0,0,.51111],$i=[0,.69444,0,0,.83055],Hi=[-.10889,.39111,0,0,1.14999],xa=[.19444,.69444,0,0,.575],wa=[.19444,.69444,0,0,1.14999],jr=[.19444,.69444,0,0,.70277],_r=[.05556,.75,0,0,.575],Nr=[0,.68611,0,0,.95833],$r=[.08556,.58556,0,0,.76666],Yi=[-.02639,.47361,0,0,.575],fa=[0,.44444,0,0,.89444],va=[0,.55556,0,0,.76666],pa=[-.10889,.39111,0,0,.89444],ua=[.00222,.50222,0,0,.89444],Ma=[.19667,.69667,0,0,.89444],Xa=[.08556,.58556,0,0,1.14999],Va=[0,.69444,0,0,.70277],go=[-.02778,.47222,0,0,.575],_i=[.25,.75,0,0,.51111],Ui=[-.13889,.36111,0,0,1.14999],Oa=[.19444,.69444,0,0,1.02222],aa=[.12963,.69444,0,0,.89444],ha=[.19444,.69444,0,0,.44722],Pn=[0,.64444,.13167,0,.59111],An=[.19444,.64444,.13167,0,.59111],xn=[0,.68611,.17208,0,.8961],Yn=[.19444,.44444,.105,0,.53222],fr=[0,.44444,.085,0,.82666],hr=[0,.69444,.06709,0,.59111],Vn=[0,.69444,.12945,0,.35555],Br=[0,.69444,0,0,.94888],di=[0,.69444,.11472,0,.59111],Ii=[0,.68611,.10778,0,.88555],fi=[0,.69444,.07939,0,.62055],Or=[0,.69444,.12417,0,.30667],hi=[0,.64444,.13556,0,.51111],ki=[.19444,.64444,.13556,0,.51111],na=[0,.68333,.16389,0,.74333],bi=[.19444,.43056,.08847,0,.46],Si=[0,.43056,.07514,0,.71555],Gi=[0,.69444,.06646,0,.51111],Sa=[0,.69444,0,0,.83129],Na=[0,.69444,.1225,0,.51111],so=[0,.68333,.09403,0,.76666],Do=[0,.68333,.11111,0,.76666],Xs=[0,.69444,.06961,0,.51444],ss=[0,.69444,0,0,.27778],Ao=[.25,.75,0,0,.38889],fo=[0,.64444,0,0,.5],Ls=[0,.69444,0,0,.77778],Ho=[0,.68333,0,0,.75],hs=[0,.68333,0,0,.77778],Ys=[0,.68333,0,0,.68056],Rs=[0,.68333,0,0,.72222],ko=[.25,.75,0,0,.5],vo=[.25,.75,0,0,.27778],ja=[0,.69444,0,0,.5],Ns=[0,.69444,0,0,.55556],ul=[0,.43056,0,0,.44445],ys=[0,.43056,0,0,.5],Ca=[.19444,.43056,0,0,.55556],ba=[0,.43056,0,0,.55556],$a=[.08333,.58333,0,0,.77778],yo=[0,.43056,0,0,.27778],io=[0,.66786,0,0,.27778],Wo=[0,.69444,0,0,.75],Jo=[0,.66786,0,0,.5],bs=[0,.68333,0,0,.625],Qo=[.19444,.69444,0,0,.44445],Hs=[0,.69444,0,0,.72222],_s=[.19444,.69444,0,0,.5],$o=[.19444,.69444,0,0,1],vc=[.011,.511,0,0,1.126],yl=[.19444,.69444,0,0,.61111],bl=[.05556,.75,0,0,.5],rc=[0,.68333,0,0,.83334],Vl=[.0391,.5391,0,0,.66667],Il=[-.05555,.44445,0,0,.5],Qc=[0,.43056,0,0,.77778],dl=[0,.55556,0,0,.66667],ic=[-.03625,.46375,0,0,.77778],fl=[-.01688,.48312,0,0,.77778],xl=[.0391,.5391,0,0,1],Ka=[0,.69444,0,0,.61111],Ga=[-.03472,.46528,0,0,.5],qa=[.25,.75,0,0,.44445],xs=[-.14236,.35764,0,0,1],qo=[.244,.744,0,0,.412],Js=[.19444,.69444,0,0,.88889],ps=[.12963,.69444,0,0,.77778],Zo=[.19444,.69444,0,0,.38889],nl=[.011,.511,0,0,1.638],rl=[.19444,.69444,0,0,0],il=[0,.44444,0,0,.575],Bl=[.19444,.44444,0,0,.575],$c=[0,.68611,0,0,.75555],yc=[0,.69444,0,0,.66759],Xu=[0,.68611,0,0,.80555],xu=[0,.68611,.08229,0,.98229],zc=[0,.68611,0,0,.76666],Dd=[0,.44444,0,0,.58472],qc=[.19444,.44444,0,0,.6118],Kc=[.19444,.43056,0,0,.5],wu=[0,.68333,.02778,.08334,.76278],Su=[0,.68333,.08125,.05556,.83125],ac=[0,.43056,0,.05556,.48472],eu=[.19444,.43056,0,.08334,.51702],Cu=[.25,.75,0,0,.42778],ls=[0,.69444,0,0,.55],Pl=[0,.69444,0,0,.73334],oc=[0,.69444,0,0,.79445],Yu=[0,.69444,0,0,.51945],tu=[0,.69444,0,0,.70278],nu=[0,.69444,0,0,.76389],bc=[.25,.75,0,0,.34306],sc=[0,.69444,0,0,.56111],Od=[0,.69444,0,0,.25556],Hc=[.19444,.45833,0,0,.56111],Ju=[0,.45833,0,0,.56111],Gl=[0,.69444,0,0,.30556],Qu=[0,.69444,0,0,.58056],Ll=[0,.69444,0,0,.67223],xc=[0,.69444,0,0,.85556],Rl=[0,.69444,0,0,.55834],Ws=[0,.65556,.11156,0,.5],Xl=[0,.69444,.08094,0,.70834],ru=[.17014,0,0,0,.44445],Eu=[0,.69444,.0799,0,.5],Au=[0,.69444,0,0,.73752],$u=[0,.69444,.09205,0,.5],ks=[0,.69444,.09031,0,.77778],Nl=[0,.69444,.07816,0,.27778],qu=[0,.69444,.00316,0,.5],At=[.19444,.69444,0,0,.83334],It=[.05556,.75,0,0,.83334],Vt=[0,.75,0,0,.5],$t=[.125,.08333,0,0,.27778],ln=[0,.08333,0,0,.27778],tn=[0,.65556,0,0,.5],Mn=[0,.69444,0,0,.47222],Cn=[0,.69444,0,0,.66667],Sn=[0,.69444,0,0,.59722],Kn=[0,.69444,0,0,.54167],rr=[0,.69444,0,0,.70834],Un=[.25,.75,0,0,.28889],Er=[0,.69444,0,0,.51667],yr=[0,.44444,0,0,.44445],Sr=[.19444,.44444,0,0,.51667],ni=[0,.44444,0,0,.38333],Yr=[0,.44444,0,0,.51667],ri=[0,.69444,0,0,.83334],Jr=[.35001,.85,0,0,.45834],mi=[.35001,.85,0,0,.57778],Ri=[.35001,.85,0,0,.41667],ji=[.35001,.85,0,0,.58334],Mi=[0,.72222,0,0,.55556],Ji=[1e-5,.6,0,0,.66667],sa=[1e-5,.6,0,0,.77778],xi=[.25001,.75,0,0,.94445],Oi=[.306,.805,.19445,0,.47222],wi=[.30612,.805,.19445,0,.47222],Vr=[.25001,.75,0,0,.83334],Ci=[.35001,.85,0,0,.47222],Xi=[.25001,.75,0,0,1.11111],ga=[.65002,1.15,0,0,.59722],Wi=[.65002,1.15,0,0,.81111],ai=[.65002,1.15,0,0,.47222],ra=[.65002,1.15,0,0,.66667],la=[0,.75,0,0,1],_a=[.55001,1.05,0,0,1.27778],Ia=[.862,1.36,.44445,0,.55556],lo=[.86225,1.36,.44445,0,.55556],eo=[.55001,1.05,0,0,1.11111],oa=[.65002,1.15,0,0,.52778],Co=[.65002,1.15,0,0,.61111],Aa=[.55001,1.05,0,0,1.51112],ao=[.95003,1.45,0,0,.73611],to=[.95003,1.45,0,0,1.04445],Bo=[.95003,1.45,0,0,.52778],Zi=[.95003,1.45,0,0,.75],Fi=[0,.75,0,0,1.44445],zi=[.95003,1.45,0,0,.58334],Pi=[1.25003,1.75,0,0,.79167],Ba=[1.25003,1.75,0,0,1.27778],Ni=[1.25003,1.75,0,0,.58334],ia=[1.25003,1.75,0,0,.80556],ka=[0,.825,0,0,1.8889],Ea=[1.25003,1.75,0,0,.63889],es=[.64502,1.155,0,0,.875],Po=[1e-5,.6,0,0,.875],Zs=[-99e-5,.601,0,0,.66667],Eo=[.64502,1.155,0,0,.66667],Qs=[1e-5,.9,0,0,.88889],Mo=[.65002,1.15,0,0,.88889],Uo=[.90001,0,0,0,.88889],wl=[-.00499,.605,0,0,1.05556],Da=[0,.12,0,0,.45],Zr=[0,.61111,0,0,.525],Fa=[.08333,.69444,0,0,.525],Oo=[-.08056,.53055,0,0,.525],Lo=[-.05556,.55556,0,0,.525],qi=[0,.43056,0,0,.525],Ua=[.22222,.43056,0,0,.525],Vo=[0,0,0,0,.525],js={"AMS-Regular":{32:jn,65:Zt,66:rn,67:Zt,68:Zt,69:rn,70:On,71:En,72:En,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:En,76:rn,77:[0,.68889,0,0,.94445],78:Zt,79:Hn,80:On,81:Hn,82:Zt,83:Dn,84:rn,85:Zt,86:Zt,87:[0,.68889,0,0,1],88:Zt,89:Zt,90:rn,107:Dn,160:jn,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:Dn,295:sr,710:Jn,732:br,770:Jn,771:br,989:Pr,1008:gr,8245:[0,.54986,0,0,.275],8463:sr,8487:Zt,8498:Dn,8502:rn,8503:[0,.68889,0,0,.44445],8504:rn,8513:[0,.68889,0,0,.63889],8592:Rn,8594:Rn,8602:Fn,8603:Fn,8606:Gn,8608:Gn,8610:er,8611:er,8619:xr,8620:xr,8621:[-.13313,.37788,0,0,1.38889],8622:Fn,8624:cr,8625:cr,8630:Tr,8631:Tr,8634:Dr,8635:Dr,8638:Xn,8639:Xn,8642:Xn,8643:Xn,8644:$n,8646:$n,8647:$n,8648:wr,8649:$n,8650:wr,8651:Gn,8652:Gn,8653:Fn,8654:Fn,8655:Fn,8666:nr,8667:nr,8669:[-.13313,.37788,0,0,1],8672:Zn,8674:Zn,8705:[0,.825,0,0,.5],8708:Dn,8709:Pr,8717:[0,.43056,0,0,.42917],8722:Rn,8724:[.08198,.69224,0,0,.77778],8726:Pr,8733:Bt,8736:Ht,8737:Ht,8738:[.03517,.52239,0,0,.72222],8739:Qn,8740:[.25142,.74111,0,0,.27778],8741:ar,8742:[.25142,.74111,0,0,.5],8756:kt,8757:kt,8764:Rt,8765:[-.13313,.37788,0,0,.77778],8769:Rt,8770:ic,8774:fn,8776:fl,8778:Pr,8782:Lt,8783:Lt,8785:Dr,8786:Dr,8787:Dr,8790:Bt,8791:wn,8796:[.08198,.91667,0,0,.77778],8806:Ut,8807:Ut,8808:Yt,8809:Yt,8812:[.25583,.75583,0,0,.5],8814:hn,8815:hn,8816:fn,8817:fn,8818:wn,8819:wn,8822:Ln,8823:Ln,8828:Tn,8829:Tn,8830:wn,8831:wn,8832:hn,8833:hn,8840:fn,8841:fn,8842:zn,8843:zn,8847:nn,8848:nn,8858:Dr,8859:Dr,8861:Dr,8862:In,8863:In,8864:In,8865:In,8872:[0,.69224,0,0,.61111],8873:Ht,8874:[0,.69224,0,0,.88889],8876:On,8877:On,8878:Zt,8879:Zt,8882:nn,8883:nn,8884:Tn,8885:Tn,8888:[0,.54986,0,0,1.11111],8890:Ca,8891:Xt,8892:Xt,8901:[0,.54986,0,0,.27778],8903:Pr,8905:Pr,8906:Pr,8907:Bt,8908:Bt,8909:[-.03598,.46402,0,0,.77778],8910:en,8911:en,8912:nn,8913:nn,8914:sn,8915:sn,8916:kt,8918:mn,8919:mn,8920:Bn,8921:Bn,8922:cn,8923:cn,8926:Tn,8927:Tn,8928:fn,8929:fn,8934:pn,8935:pn,8936:pn,8937:pn,8938:hn,8939:hn,8940:fn,8941:fn,8994:Tt,8995:Tt,9416:[.15559,.69224,0,0,.90222],9484:cr,9488:cr,9492:Jt,9496:Jt,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:In,9633:In,9650:qt,9651:qt,9654:nn,9660:qt,9661:qt,9664:nn,9674:dn,9733:[.19444,.69224,0,0,.94445],10003:un,10016:un,10731:dn,10846:[.19444,.75583,0,0,.61111],10877:Tn,10878:Tn,10885:Ut,10886:Ut,10887:zn,10888:zn,10889:yn,10890:yn,10891:bn,10892:bn,10901:Tn,10902:Tn,10933:Yt,10934:Yt,10935:yn,10936:yn,10937:yn,10938:yn,10949:Ut,10950:Ut,10955:_n,10956:_n,57350:Qn,57351:ar,57352:Pr,57353:gr,57356:Yt,57357:Yt,57358:mr,57359:fn,57360:fn,57361:mr,57366:Yt,57367:Yt,57368:Yt,57369:Yt,57370:zn,57371:zn},"Caligraphic-Regular":{32:jn,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:jn},"Fraktur-Regular":{32:jn,33:[0,.69141,0,0,.29574],34:Ar,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:zr,41:zr,42:[0,.62119,0,0,.27764],43:Mr,44:lr,45:Mr,46:lr,47:[.24982,.74947,0,0,.50181],48:ur,49:ur,50:ur,51:dr,52:dr,53:dr,54:Rr,55:dr,56:Rr,57:dr,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:Cr,93:Cr,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:jn,8216:Ar,8217:Ar,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:jn,33:[0,.69444,0,0,.35],34:da,35:[.19444,.69444,0,0,.95833],36:_r,37:[.05556,.75,0,0,.95833],38:Di,39:ui,40:Gr,41:Gr,42:[0,.75,0,0,.575],43:li,44:[.19444,.15556,0,0,.31944],45:ni,46:[0,.15556,0,0,.31944],47:ir,48:Kr,49:Kr,50:Kr,51:Kr,52:Kr,53:Kr,54:Kr,55:Kr,56:Kr,57:Kr,58:ta,59:[.19444,.44444,0,0,.31944],60:oi,61:pa,62:oi,63:[0,.69444,0,0,.54305],64:Di,65:or,66:[0,.68611,0,0,.81805],67:vi,68:[0,.68611,0,0,.88194],69:$c,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:Hr,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:Wr,77:[0,.68611,0,0,1.09166],78:Hr,79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:or,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:ti,92:ir,93:ti,94:ei,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:Ur,99:pi,100:Ur,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:Ur,105:ui,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:ui,109:[0,.44444,0,0,.95833],110:gi,111:il,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:gi,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:pi,123:ir,124:ti,125:ir,126:[.35,.34444,0,0,.575],160:jn,163:[0,.69444,0,0,.86853],168:ei,172:[0,.44444,0,0,.76666],176:Ir,177:li,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:li,216:[.04861,.73472,0,0,.89444],223:Sn,230:[0,.44444,0,0,.83055],247:li,248:[.09722,.54167,0,0,.575],305:ta,338:[0,.68611,0,0,1.16944],339:fa,567:[.19444,.44444,0,0,.35139],710:ei,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:ei,715:ei,728:ei,729:ui,730:Ir,732:ei,733:ei,915:Wr,916:Nr,920:Ai,923:Xu,926:zc,928:Hr,931:vi,933:Ai,934:vi,936:Ai,937:vi,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:ui,8217:ui,8220:da,8221:da,8224:ca,8225:ca,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:yc,8465:$i,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:$i,8501:Va,8592:Hi,8593:xa,8594:Hi,8595:xa,8596:Hi,8597:ir,8598:wa,8599:wa,8600:wa,8601:wa,8636:Hi,8637:Hi,8640:Hi,8641:Hi,8656:Hi,8657:jr,8658:Hi,8659:jr,8660:Hi,8661:[.25,.75,0,0,.70277],8704:Ur,8706:[0,.69444,.06389,0,.62847],8707:Ur,8709:_r,8711:Nr,8712:$r,8715:$r,8722:li,8723:li,8725:ir,8726:ir,8727:go,8728:Yi,8729:Yi,8730:[.18,.82,0,0,.95833],8733:fa,8734:[0,.44444,0,0,1.14999],8736:Ht,8739:ti,8741:ir,8743:va,8744:va,8745:va,8746:va,8747:[.19444,.69444,.12778,0,.56875],8764:pa,8768:[.19444,.69444,0,0,.31944],8771:ua,8776:[.02444,.52444,0,0,.89444],8781:ua,8801:ua,8804:Ma,8805:Ma,8810:Xa,8811:Xa,8826:oi,8827:oi,8834:oi,8835:oi,8838:Ma,8839:Ma,8846:va,8849:Ma,8850:Ma,8851:va,8852:va,8853:li,8854:li,8855:li,8856:li,8857:li,8866:Va,8867:Va,8868:Di,8869:Di,8900:Yi,8901:[-.02639,.47361,0,0,.31944],8902:go,8968:_i,8969:_i,8970:_i,8971:_i,8994:Ui,8995:Ui,9651:Oa,9657:go,9661:Oa,9667:go,9711:wa,9824:aa,9825:aa,9826:aa,9827:aa,9837:[0,.75,0,0,.44722],9838:ha,9839:ha,10216:Gr,10217:Gr,10815:Hr,10927:Ma,10928:Ma,57376:rl},"Main-BoldItalic":{32:jn,33:[0,.69444,.11417,0,.38611],34:fi,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:Vn,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:Pn,49:Pn,50:Pn,51:Pn,52:An,53:Pn,54:Pn,55:An,56:Pn,57:Pn,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:di,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:xn,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:xn,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:hr,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:Yn,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:Yn,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:jn,168:[0,.69444,.11473,0,.59111],176:Br,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:fr,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:fr,567:[.19444,.44444,.04611,0,.385],710:hr,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:Vn,730:Br,732:di,733:di,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:xn,931:[0,.68611,.11431,0,.82666],933:Ii,934:[0,.68611,.05632,0,.82666],936:Ii,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:Vn,8217:Vn,8220:[0,.69444,.16772,0,.62055],8221:fi},"Main-Italic":{32:jn,33:Or,34:Xs,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:Or,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:hi,49:hi,50:hi,51:hi,52:ki,53:hi,54:hi,55:ki,56:hi,57:hi,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:Na,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:na,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:na,79:so,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:na,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:Gi,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:bi,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:bi,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:jn,168:[0,.66786,.10474,0,.51111],176:Sa,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:Si,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:Si,710:Gi,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:Sa,732:[0,.66786,.11585,0,.51111],733:Na,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:so,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:na,931:[0,.68333,.12028,0,.71555],933:Do,934:[0,.68333,.05986,0,.71555],936:Do,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:Or,8217:Or,8220:[0,.69444,.1685,0,.51444],8221:Xs,8463:sr},"Main-Regular":{32:jn,33:ss,34:ja,35:At,36:bl,37:It,38:Ls,39:ss,40:Ao,41:Ao,42:Vt,43:$a,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:ko,48:fo,49:fo,50:fo,51:fo,52:fo,53:fo,54:fo,55:fo,56:fo,57:fo,58:yo,59:[.19444,.43056,0,0,.27778],60:mn,61:Rt,62:mn,63:Mn,64:Ls,65:Ho,66:[0,.68333,0,0,.70834],67:Rs,68:[0,.68333,0,0,.76389],69:Ys,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:Ho,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:hs,76:bs,77:[0,.68333,0,0,.91667],78:Ho,79:hs,80:Ys,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:Rs,85:Ho,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:Ho,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:vo,92:ko,93:vo,94:ja,95:[.31,.12056,.02778,0,.5],97:ys,98:Ns,99:ul,100:Ns,101:ul,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:Ns,105:io,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:ss,109:[0,.43056,0,0,.83334],110:ba,111:ys,112:Ca,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:ba,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:ul,123:ko,124:vo,125:ko,126:[.35,.31786,0,0,.5],160:jn,163:[0,.69444,0,0,.76909],167:Qo,168:Jo,172:[0,.43056,0,0,.66667],176:Wo,177:$a,182:yl,184:ru,198:[0,.68333,0,0,.90278],215:$a,216:[.04861,.73194,0,0,.77778],223:ja,230:[0,.43056,0,0,.72222],247:$a,248:[.09722,.52778,0,0,.5],305:yo,338:[0,.68333,0,0,1.01389],339:Qc,567:[.19444,.43056,0,0,.30556],710:ja,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:ja,715:ja,728:ja,729:io,730:Wo,732:Jo,733:ja,915:bs,916:rc,920:hs,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:Ho,931:Rs,933:hs,934:Rs,936:hs,937:Rs,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:ss,8217:ss,8220:ja,8221:ja,8224:Qo,8225:Qo,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:sr,8465:Hs,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:Hs,8501:Ka,8592:Fn,8593:_s,8594:Fn,8595:_s,8596:Fn,8597:ko,8598:$o,8599:$o,8600:$o,8601:$o,8614:[.011,.511,0,0,1],8617:vc,8618:vc,8636:Fn,8637:Fn,8640:Fn,8641:Fn,8652:[.011,.671,0,0,1],8656:Fn,8657:yl,8658:Fn,8659:yl,8660:Fn,8661:[.25,.75,0,0,.61111],8704:Ns,8706:[0,.69444,.05556,.08334,.5309],8707:Ns,8709:bl,8711:rc,8712:Vl,8715:Vl,8722:$a,8723:$a,8725:ko,8726:ko,8727:Ga,8728:Il,8729:Il,8730:[.2,.8,0,0,.83334],8733:Qc,8734:Tr,8736:Ht,8739:vo,8741:ko,8743:dl,8744:dl,8745:dl,8746:dl,8747:[.19444,.69444,.11111,0,.41667],8764:Rt,8768:[.19444,.69444,0,0,.27778],8771:ic,8773:[-.022,.589,0,0,1],8776:fl,8781:ic,8784:[-.133,.67,0,0,.778],8801:ic,8804:zn,8805:zn,8810:xl,8811:xl,8826:mn,8827:mn,8834:mn,8835:mn,8838:zn,8839:zn,8846:dl,8849:zn,8850:zn,8851:dl,8852:dl,8853:$a,8854:$a,8855:$a,8856:$a,8857:$a,8866:Ka,8867:Ka,8868:Ls,8869:Ls,8872:[.249,.75,0,0,.867],8900:Il,8901:[-.05555,.44445,0,0,.27778],8902:Ga,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:qa,8969:qa,8970:qa,8971:qa,8994:xs,8995:xs,9136:qo,9137:qo,9651:Js,9657:Ga,9661:Js,9667:Ga,9711:$o,9824:ps,9825:ps,9826:ps,9827:ps,9837:[0,.75,0,0,.38889],9838:Zo,9839:Zo,10216:Ao,10217:Ao,10222:qo,10223:qo,10229:[.011,.511,0,0,1.609],10230:nl,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:nl,10815:Ho,10927:zn,10928:zn,57376:rl},"Math-BoldItalic":{32:jn,48:il,49:il,50:il,51:Bl,52:Bl,53:Bl,54:Kr,55:Bl,56:Kr,57:Bl,65:or,66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:xu,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:$c,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:yc,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:Dd,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:jn,915:[0,.68611,.15972,0,.65694],916:Nr,920:[0,.68611,.03194,0,.86722],923:Xu,926:[0,.68611,.07458,0,.84125],928:xu,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:zc,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:Dd,960:[0,.44444,.03704,0,.68241],961:qc,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:qc,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:jn,48:ys,49:ys,50:ys,51:Kc,52:Kc,53:Kc,54:fo,55:Kc,56:fo,57:Kc,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:Su,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:wu,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:ac,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:jn,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:wu,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:Su,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:ac,960:[0,.43056,.03588,0,.57003],961:eu,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:eu,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:jn,33:[0,.69444,0,0,.36667],34:Rl,35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:Gl,40:Cu,41:Cu,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:ls,49:ls,50:ls,51:ls,52:ls,53:ls,54:ls,55:ls,56:ls,57:ls,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:Yu,64:Pl,65:Pl,66:Pl,67:tu,68:oc,69:[0,.69444,0,0,.64167],70:Ka,71:Pl,72:oc,73:[0,.69444,0,0,.33056],74:Yu,75:nu,76:Qu,77:[0,.69444,0,0,.97778],78:oc,79:oc,80:tu,81:[.10556,.69444,0,0,.79445],82:tu,83:Ka,84:Pl,85:nu,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:Pl,89:[0,.69444,.0275,0,.73334],90:Ll,91:bc,93:bc,94:ls,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:sc,99:[0,.45833,0,0,.48889],100:sc,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:sc,105:Od,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:Od,109:[0,.45833,0,0,.86667],110:Ju,111:[0,.45833,0,0,.55],112:Hc,113:Hc,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:Ju,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:jn,168:ls,176:Pl,180:ls,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:ls,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:ls,729:Gl,730:Pl,732:ls,733:ls,915:Qu,916:[0,.69444,0,0,.91667],920:xc,923:Ll,926:Pl,928:oc,931:oc,933:xc,934:oc,936:xc,937:oc,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:Gl,8217:Gl,8220:Rl,8221:Rl},"SansSerif-Italic":{32:jn,33:[0,.69444,.05733,0,.31945],34:qu,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:Nl,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:$t,45:[0,.44444,.01946,0,.33333],46:ln,47:[.25,.75,.13164,0,.5],48:Ws,49:Ws,50:Ws,51:Ws,52:Ws,53:Ws,54:Ws,55:Ws,56:Ws,57:Ws,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:Cn,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:Xl,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:Kn,77:[0,.69444,.08094,0,.875],78:Xl,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:Eu,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:jn,168:[0,.67937,.06385,0,.5],176:Au,184:ru,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:Eu,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:$u,715:ja,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:Au,732:[0,.67659,.08826,0,.5],733:$u,915:[0,.69444,.13372,0,.54167],916:ri,920:[0,.69444,.07555,0,.77778],923:Ka,926:[0,.69444,.12816,0,.66667],928:Xl,931:[0,.69444,.11983,0,.72222],933:ks,934:[0,.69444,.04603,0,.72222],936:ks,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:Nl,8217:Nl,8220:[0,.69444,.14205,0,.5],8221:qu},"SansSerif-Regular":{32:jn,33:[0,.69444,0,0,.31945],34:ja,35:At,36:bl,37:It,38:[0,.69444,0,0,.75834],39:ss,40:Ao,41:Ao,42:Vt,43:$a,44:$t,45:[0,.44444,0,0,.33333],46:ln,47:ko,48:tn,49:tn,50:tn,51:tn,52:tn,53:tn,54:tn,55:tn,56:tn,57:tn,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:Mn,64:Cn,65:Cn,66:Cn,67:Ur,68:[0,.69444,0,0,.72223],69:Sn,70:[0,.69444,0,0,.56945],71:Cn,72:rr,73:ss,74:Mn,75:[0,.69444,0,0,.69445],76:Kn,77:[0,.69444,0,0,.875],78:rr,79:[0,.69444,0,0,.73611],80:Ur,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:Ns,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:Cn,89:[0,.69444,.025,0,.66667],90:Ka,91:Un,93:Un,94:ja,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:Er,99:yr,100:Er,101:yr,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:Er,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:Yr,111:[0,.44444,0,0,.5],112:Sr,113:Sr,114:[0,.44444,.01389,0,.34167],115:ni,116:[0,.57143,0,0,.36111],117:Yr,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:jn,168:[0,.67937,0,0,.5],176:Cn,184:ru,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:ja,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:ja,715:ja,728:ja,729:[0,.67937,0,0,.27778],730:Cn,732:[0,.67659,0,0,.5],733:ja,915:Kn,916:ri,920:Ls,923:Ka,926:Cn,928:rr,931:Hs,933:Ls,934:Hs,936:Ls,937:Hs,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:ss,8217:ss,8220:ja,8221:ja},"Script-Regular":{32:jn,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:jn},"Size1-Regular":{32:jn,40:Jr,41:Jr,47:mi,91:Ri,92:mi,93:Ri,123:ji,125:ji,160:jn,710:Mi,732:Mi,770:Mi,771:Mi,8214:[-99e-5,.601,0,0,.77778],8593:Ji,8595:Ji,8657:sa,8659:sa,8719:xi,8720:xi,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:wi,8748:Oi,8749:Oi,8750:wi,8896:Vr,8897:Vr,8898:Vr,8899:Vr,8968:Ci,8969:Ci,8970:Ci,8971:Ci,9168:Zs,10216:Ci,10217:Ci,10752:Xi,10753:Xi,10754:Xi,10756:Vr,10758:Vr},"Size2-Regular":{32:jn,40:ga,41:ga,47:Wi,91:ai,92:Wi,93:ai,123:ra,125:ra,160:jn,710:la,732:la,770:la,771:la,8719:_a,8720:_a,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:lo,8748:Ia,8749:Ia,8750:lo,8896:eo,8897:eo,8898:eo,8899:eo,8968:oa,8969:oa,8970:oa,8971:oa,10216:Co,10217:Co,10752:Aa,10753:Aa,10754:Aa,10756:eo,10758:eo},"Size3-Regular":{32:jn,40:ao,41:ao,47:to,91:Bo,92:to,93:Bo,123:Zi,125:Zi,160:jn,710:Fi,732:Fi,770:Fi,771:Fi,8730:[.95003,1.45,0,0,1],8968:zi,8969:zi,8970:zi,8971:zi,10216:Zi,10217:Zi},"Size4-Regular":{32:jn,40:Pi,41:Pi,47:Ba,91:Ni,92:Ba,93:Ni,123:ia,125:ia,160:jn,710:ka,732:ka,770:ka,771:ka,8730:[1.25003,1.75,0,0,1],8968:Ea,8969:Ea,8970:Ea,8971:Ea,9115:es,9116:Po,9117:es,9118:es,9119:Po,9120:es,9121:Eo,9122:Zs,9123:Eo,9124:Eo,9125:Zs,9126:Eo,9127:Qs,9128:Mo,9129:Uo,9130:[0,.3,0,0,.88889],9131:Qs,9132:Mo,9133:Uo,9143:[.88502,.915,0,0,1.05556],10216:ia,10217:ia,57344:wl,57345:wl,57680:Da,57681:Da,57682:Da,57683:Da},"Typewriter-Regular":{32:Vo,33:Zr,34:Zr,35:Zr,36:Fa,37:Fa,38:Zr,39:Zr,40:Fa,41:Fa,42:[0,.52083,0,0,.525],43:Oo,44:[.13889,.125,0,0,.525],45:Oo,46:[0,.125,0,0,.525],47:Fa,48:Zr,49:Zr,50:Zr,51:Zr,52:Zr,53:Zr,54:Zr,55:Zr,56:Zr,57:Zr,58:qi,59:[.13889,.43056,0,0,.525],60:Lo,61:[-.19549,.41562,0,0,.525],62:Lo,63:Zr,64:Zr,65:Zr,66:Zr,67:Zr,68:Zr,69:Zr,70:Zr,71:Zr,72:Zr,73:Zr,74:Zr,75:Zr,76:Zr,77:Zr,78:Zr,79:Zr,80:Zr,81:[.13889,.61111,0,0,.525],82:Zr,83:Zr,84:Zr,85:Zr,86:Zr,87:Zr,88:Zr,89:Zr,90:Zr,91:Fa,92:Fa,93:Fa,94:Zr,95:[.09514,0,0,0,.525],96:Zr,97:qi,98:Zr,99:qi,100:Zr,101:qi,102:Zr,103:Ua,104:Zr,105:Zr,106:[.22222,.61111,0,0,.525],107:Zr,108:Zr,109:qi,110:qi,111:qi,112:Ua,113:Ua,114:qi,115:qi,116:[0,.55358,0,0,.525],117:qi,118:qi,119:qi,120:qi,121:Ua,122:qi,123:Fa,124:Fa,125:Fa,126:Zr,127:Zr,160:Vo,176:Zr,184:[.19445,0,0,0,.525],305:qi,567:Ua,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:Zr,715:Zr,728:Zr,730:Zr,770:Zr,771:Zr,776:Zr,915:Zr,916:Zr,920:Zr,923:Zr,926:Zr,928:Zr,931:Zr,933:Zr,934:Zr,936:Zr,937:Zr,8216:Zr,8217:Zr,8242:Zr,9251:[.11111,.21944,0,0,.525]}},hl=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,ws=10,ts=.25,al=1.2,ns=.431,Ss={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[ns,ns,ns],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:[ts,ts,ts],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]},cs=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],co=5,uo={"\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 ms(a,y){a===void 0&&(a=77);const b=js[y][a];if(b)return{defaultMetrics:!1,depth:b[0],height:b[1],italic:b[2],skew:b[3],width:b[4]};if(a===11034)return{defaultMetrics:!0,depth:.2,height:.8,italic:0,skew:0,width:.8};const z=String.fromCodePoint(a);if(z in uo)a=uo[z].codePointAt(0);else if(hl.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 Sl={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]},Us={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]},pl={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,overarc:"M529 0c179 0 524 115 524 115 5 1 9 5 9 10 0 1-1 2-1 3l-4 22c-1 5-5 9-11 9h-2s-338-93-512-92c-174 0-513 92-513 92h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13 0 0 342-115 520-115z",underarc:`m 529 160
c -179 0 -524 -115 -524 -115
c -5 -1 -9 -5 -9 -10
c 0 -1 1 -2 1 -3
l 4 -22
c 1 -5 5 -9 11 -9
h 2
s 338 93 512 92
c 174 0 513 -92 513 -92
h 2
c 5 0 9 4 11 9
l 5 22
c 1 6 -2 12 -8 13
c 0 0 -342 115 -520 115
z
`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,widetilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,widetilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,widetilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,widetilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`};function _l(a){if(Us[a]){const[gt,xt,jt]=Us[a],Gt=`<span class="stretchy" style="height:${jt}em"><svg width="100%" height="${jt}em" viewBox="0 0 ${gt} ${xt}" preserveAspectRatio="none" ><path fill="currentcolor" d="${pl[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*jt/2)/100}em;min-width:0">${Gt}</span>`}const[y,b,z,se]=Sl[a];let ke,ze;const rt=z/1e3;y.length===3?(ke=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],ze=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(ke=["slice-1-of-2","slice-2-of-2"],ze=["xMinYMin","xMaxYMin"]):(ke=["slice-1-of-1"],ze=[se]);const ht=y.map((gt,xt)=>`<span class="${ke[xt]}" style=height:${rt}em><svg width=400em height=${rt}em viewBox="0 0 400000 ${z}" preserveAspectRatio="${ze[xt]} slice"><path fill="currentcolor" d="${pl[gt]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${rt}em;min-width:${b}em;">${ht}</span>`}function iu(a){return Sl[a]?Sl[a][2]/1e3:Us[a][2]}function Pa(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 se=a.charCodeAt(b+1);if(se>=56320&&se<=57343){const ke=z-55296,ze=se-56320;z=Fc(2,16)+ke*Fc(2,10)+ze,b++}}y.push(z)}return y}var Ya=8205,jo=[[Ya,1],[65038,2],[127995,5],[129456,4],[917536,96]],Ja,Fo=[127462,127487];function rs(a){var y;if(Ja===void 0){Ja={};for(const b of jo)for(let z=b[0];z<=b[0]+b[1]-1;z++)Ja[z]=!0}return(y=Ja[a])!=null?y:!1}function Ms(a){return a>=Fo[0]&&a<=Fo[1]}function Cl(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=Pa(a);let z=0;for(;z<b.length;){const se=b[z++],ke=b[z];if(ke===Ya){const ze=z-1;for(z+=2;b[z]===Ya;)z+=2;y.push(String.fromCodePoint(...b.slice(ze,z-ze+1)))}else if(rs(ke)){const ze=z-1;for(;rs(b[z]);)z+=b[z]===Ya?2:1;y.push(String.fromCodePoint(...b.slice(ze,2*z-ze-1)))}else Ms(se)?(z+=1,y.push(String.fromCodePoint(...b.slice(z-2,2)))):y.push(String.fromCodePoint(se))}return y}var ku=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=Cl(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 Yl(a,y){var b,z,se,ke;const ze=[];let rt=a.next();if(rt&&rt!=="\\relax"){if(rt==="\\noexpand")rt=a.next(),rt&&ze.push(rt);else if(rt==="\\obeyspaces")a.obeyspaces=!0;else if(rt==="\\bgroup")ze.push("<{>");else if(rt==="\\egroup")ze.push("<}>");else if(rt==="\\string"){if(rt=a.next(),rt)if(rt.startsWith("\\"))for(const ht of rt)ze.push(ht==="\\"?"\\backslash":ht);else rt==="<{>"?ze.push("\\{"):rt==="<space>"?ze.push("~"):rt==="<}>"&&ze.push("\\}")}else if(rt==="\\csname"){for(;a.peek()==="<space>";)a.next();let ht="",gt=!1,xt=[];do{if(xt.length===0)if(/^#[\d?@]$/.test(a.peek())){const jt=a.get().slice(1);xt=El((z=(b=y==null?void 0:y(jt))!=null?b:y==null?void 0:y("?"))!=null?z:"\\placeholder{}",y),rt=xt[0]}else rt=a.next(),xt=rt?[rt]:[];gt=xt.length===0,!gt&&rt==="\\endcsname"&&(gt=!0,xt.shift()),gt||(gt=rt==="<$>"||rt==="<$$>"||rt==="<{>"||rt==="<}>"||typeof rt=="string"&&rt.length>1&&rt.startsWith("\\")),gt||(ht+=xt.shift())}while(!gt);ht&&ze.push("\\"+ht),ze.push(...xt)}else if(rt!=="\\endcsname")if(rt.length>1&&rt.startsWith("#")){const ht=rt.slice(1);ze.push(...El((ke=(se=y==null?void 0:y(ht))!=null?se:y==null?void 0:y("?"))!=null?ke:"\\placeholder{}",y))}else ze.push(rt)}return ze}function El(a,y=null){const b=[];let z="";for(const ze of a.toString().split(/\r?\n/)){z&&b.push(z),z=" ";const rt=ze.match(/((?:\\%)|[^%])*/);rt!==null&&b.push(rt[0])}const se=new ku(tt(b.join(""))),ke=[];do ke.push(...Yl(se,y));while(!se.end());return ke}function Ta(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 ho(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:Ta([a,...y.map(b=>`{${b}}`)])}function ml(a){return Ta(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var lc=class hf{constructor(y){hf._registry[y]=this}static createAtom(y,b,z){return hf._registry[y].createAtom(b,Et(b,y),z)}static serialize(y,b){var z;if(!y||y.length===0)return"";if((z=b.skipStyles)!=null&&z){const se=[];for(const ke of ed(y)){const ze=hf._registry[ke[0].mode];se.push(...ze.serialize(ke,b))}return Ta(se)}return Ta(au(y,b))}static getFont(y,b,z){return hf._registry[y].getFont(b,z)}};lc._registry={};var Vs=lc;function ed(a){const y=[];let b=[],z="NONE";for(const se of a)se.type!=="first"&&(se.mode!==z?(b.length>0&&y.push(b),b=[se],z=se.mode):b.push(se));return b.length>0&&y.push(b),y}function Ro(a,y){const b=[];let z=[],se;for(const ke of a)if(ke.type!=="first"&&ke.style){let ze;y==="variant"?(ze=ke.style.variant,ke.style.variantStyle&&ke.style.variantStyle!=="up"&&(ze+="-"+ke.style.variantStyle)):ze=ke.style[y],ze===se?z.push(ke):(z.length>0&&b.push(z),z=[ke],se=ze)}return z.length>0&&b.push(z),b}function Mu(a,y){var b;const{parent:z}=a[0],se=z==null?void 0:z.computedStyle.color,ke=[];for(const ze of ed(a)){const rt=y.defaultMode;for(const ht of Ro(ze,"color")){const gt=ht[0].computedStyle,xt=Vs._registry[ht[0].mode].serialize(ht,oe(ie({},y),{defaultMode:rt==="text"?"text":"math"}));!y.skipStyles&&gt.color&&gt.color!=="none"&&(!z||se!==gt.color)?ke.push(ho("\\textcolor",(b=gt.verbatimColor)!=null?b:gt.color,Ta(xt))):ke.push(Ta(xt))}}return ke}function td(a,y){const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.backgroundColor;return Ro(a,"backgroundColor").map(se=>{var ke;if(se.length>0||se[0].type!=="box"){const ze=se[0].computedStyle;if(ze.backgroundColor&&ze.backgroundColor!=="none"&&(!b||z!==ze.backgroundColor))return ho("\\colorbox",(ke=ze.verbatimBackgroundColor)!=null?ke:ze.backgroundColor,Ta(Mu(se,oe(ie({},y),{defaultMode:"text"}))))}return Ta(Mu(se,y))})}function au(a,y){if(a.length===0)return[];const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.fontSize,se=[];for(const ke of Ro(a,"fontSize")){const ze=ke[0].computedStyle.fontSize,rt=td(ke,y);rt&&(ze&&ze!=="auto"&&(!b||z!==ze)?se.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][ze],...rt):se.push(...rt))}return se}function ou(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 wc(a){if(a.length===0)return"ord";const y=ou(a[0].type),b=ou(a[a.length-1].type);return y&&y===b?y:"ord"}function cc(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 Qr=class Am{constructor(y,b){var z,se,ke,ze,rt;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:re(y)?this.children=y.filter(gt=>gt!==null):y&&y instanceof Am&&(this.children=[y]),this.children)for(const gt of this.children)gt.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=(se=b==null?void 0:b.classes)!=null?se:"",this.isTight=(ke=b==null?void 0:b.isTight)!=null?ke:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let ht=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(ht=(rt=Vs.getFont((ze=b.mode)!=null?ze:"math",this,oe(ie({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?rt:void 0),ht||(ht="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),Jl(this,ht)}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 se=cc(b,z);se.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=se)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=cc(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"]=cc(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"]=cc(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"]=cc(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 se=y.backgroundColor;this.isSelected&&(se=st(se)),se&&se!==b.backgroundColor&&(this.setStyle("background-color",se),this.setStyle("display","inline-block"));const ke=y.scalingFactor;return this.scale=ke,this.skew*=ke,this.italic*=ke,this}toMarkup(){var y,b,z,se;let ke=(y=this.value)!=null?y:"";if(this.children)for(const on of this.children)ke+=on.toMarkup();let ze="";if(this.svgBody)ze=_l(this.svgBody);else if(this.svgOverlay){ze='<span style="',ze+="display: inline-block;",ze+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,ze+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,ze+='">',ze+=ke,ze+="</span>",ze+='<svg style="position:absolute;overflow:visible;',ze+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const on=(b=this.cssProperties)==null?void 0:b.padding;on?(ze+=`top:${on};`,ze+=`left:${on};`,ze+=`width:calc(100% - 2 * ${on} );`):ze+="top:0;left:0;width:100%;",ze+="z-index:2;",ze+='"',this.svgStyle&&(ze+=this.svgStyle),ze+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,ze+=`>${this.svgOverlay}</svg>`}let rt="";const ht=this.classes.split(" ");ht.push((z={latex:"ML__raw-latex",placeholder:"ML__placeholder",error:"ML__error"}[this.type])!=null?z:""),this.caret==="latex"&&ht.push("ML__latex-caret"),this.isSelected&&ht.push("ML__selected");const gt=ht.length===1?ht[0]:ht.filter((on,gn,tr)=>on.length>0&&tr.indexOf(on)===gn).join(" ");if(gt.length>0&&(rt+=` class="${gt}"`),this.id&&(rt+=` data-atom-id=${this.id}`),this.cssId&&(rt+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(rt+=" "+Object.keys(this.attributes).map(on=>`${on}="${this.attributes[on]}"`).join(" ")),this.htmlData){const on=this.htmlData.split(",");for(const gn of on){const tr=gn.match(/([^=]+)=(.+$)/);if(tr){const qr=tr[1].trim().replace(/ /g,"-");qr&&(rt+=` data-${qr}="${tr[2]}" `)}else{const qr=gn.trim().replace(/ /g,"-");qr&&(rt+=` data-${qr} `)}}}const xt=(se=this.cssProperties)!=null?se:{};this.hasExplicitWidth&&xt.width===void 0&&(xt.width=`${Math.ceil(this._width*100)/100}em`);const jt=Object.keys(xt).map(on=>`${on}:${xt[on]}`);if(this.scale!==void 0&&this.scale!==1&&(ke.length>0||ze.length>0)&&jt.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const on=this.htmlStyle.split(";");let gn="";for(const tr of on){const qr=tr.match(/([^=]+):(.+$)/);if(qr){const qn=qr[1].trim().replace(/ /g,"-");qn&&(gn+=`${qn}:${qr[2]};`)}}gn&&(rt+=` style="${gn}"`)}jt.length>0&&(rt+=` style="${jt.join(";")}"`);let Gt="";return rt.length>0||ze.length>0?Gt=`<span${rt}>${ke}${ze}</span>`:Gt=ke,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 ht of["border","border-left","border-right","border-right-width","left","margin","margin-left","margin-right","padding","position","width"])if(y.cssProperties&&ht in y.cssProperties||this.cssProperties&&ht in this.cssProperties)return!1}const se=this.cssProperties?Object.keys(this.cssProperties).length:0,ke=y.cssProperties?Object.keys(y.cssProperties).length:0;if(se!==ke)return!1;if(se>0){for(const ht of Object.keys(this.cssProperties))if(this.cssProperties[ht]!==y.cssProperties[ht])return!1}const ze=this.classes.trim().replace(/\s+/g," ").split(" "),rt=y.classes.trim().replace(/\s+/g," ").split(" ");if(ze.length!==rt.length)return!1;ze.sort(),rt.sort();for(const[ht,gt]of ze.entries())if(gt==="vertical-separator"||gt!==rt[ht])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 Tu(a){if(!a||a.length===0)return[];a[0].children=Tu(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=Tu(a[b].children),y.push(a[b]));return y}function su(a){return a.children&&(a.children=Tu(a.children)),a}function lu(a,y){if(!a)return new Qr(null,y);const b=new Qr(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const z=[b];if(a.depth!==0){const se=new Qr(null,{classes:"ML__strut--bottom",type:"ignore"});se.setStyle("height",a.height+a.depth,"em"),se.setStyle("vertical-align",-a.depth,"em"),z.push(se)}return z.push(a),new Qr(z,oe(ie({},y),{type:"lift"}))}function ol(a){const y=iu(a)/2,b=new Qr(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function Jl(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 se=ms(a.value.codePointAt(z),y);a.height=Math.max(a.height,se.height),a.depth=Math.max(a.depth,se.depth),a._width+=se.width,a.skew=se.skew,a.italic=se.italic}return}if(a.children&&a.children.length>0){let z=-1/0,se=-1/0,ke=0;for(const ze of a.children)ze.height>z&&(z=ze.height),ze.depth>se&&(se=ze.depth),ke=Math.max(ke,(b=ze.maxFontSize)!=null?b:0);a.height=z,a.depth=se,a._width=a.children.reduce((ze,rt)=>ze+rt.width,0),a.maxFontSize=ke}}function Sc(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const z=[b],se=-b.shift-b.box.depth;let ke=se;for(let ze=1;ze<y.length;ze++){const rt=y[ze],ht=-rt.shift-ke-rt.box.depth,gt=ht-(b.box.height+b.box.depth);ke=ke+ht,z.push(gt),z.push(rt),b=rt}return[z,se]}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 uc(a){var y;const[b,z]=Sc(a);if(!b)return[[],0,0];const se=new Qr(null,{classes:"pstrut"});let ke=0;for(const gn of b)if(typeof gn!="number"){const tr=gn.box;ke=Math.max(ke,tr.maxFontSize,tr.height)}ke+=2,se.height=ke,se.setStyle("height",ke,"em");const ze=[];let rt=z,ht=z,gt=z,xt=0;for(const gn of b){if(typeof gn=="number")gt+=gn;else{const tr=gn.box,qr=(y=gn.classes)!=null?y:[],qn=new Qr([se,tr],{classes:qr.join(" "),style:gn.style});tr.setStyle("height",tr.height+tr.depth,"em"),tr.setStyle("display","inline-block"),qn.setStyle("top",-ke-gt-tr.depth,"em"),gn.marginLeft&&qn.setStyle("margin-left",gn.marginLeft,"em"),gn.marginRight&&qn.setStyle("margin-right",gn.marginRight,"em"),ze.push(qn),gt+=tr.height+tr.depth,xt=Math.max(xt,qn.width)}rt=Math.min(rt,gt),ht=Math.max(ht,gt)}ze.forEach(gn=>{gn.softWidth=xt});const jt=new Qr(ze,{classes:"vlist"});if(jt.softWidth=xt,jt.height=ht,jt.setStyle("height",ht,"em"),rt>=0)return[[new Qr(jt,{classes:"vlist-r"})],ht,-rt];const Gt=new Qr(new Qr(null),{classes:"vlist"});Gt.height=-rt,Gt.setStyle("height",-rt,"em");const on=new Qr(8203,{classes:"vlist-s",maxFontSize:0});return on.softWidth=0,on.height=0,on.depth=0,[[new Qr([jt,on],{classes:"vlist-r"}),new Qr(Gt,{classes:"vlist-r"})],ht,-rt]}var oo=class extends Qr{constructor(a,y){var b;const[z,se,ke]=uc(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=se,this.depth=ke,this.softWidth=z.reduce((ze,rt)=>Math.max(ze,rt.width),0)}};function nd(a,y){var b,z,se,ke,ze;const rt=a.metrics,ht=new Qr(y.base),gt=(b=y.baseShift)!=null?b:0,xt=(z=y.slant)!=null?z:0;let jt=0,Gt=0;y.above&&(jt=(se=y.aboveShift)!=null?se:Math.max(rt.bigOpSpacing1,rt.bigOpSpacing3-y.above.depth)),y.below&&(Gt=(ke=y.belowShift)!=null?ke:Math.max(rt.bigOpSpacing2,rt.bigOpSpacing4-y.below.height));let on=null;if(y.below&&y.above){const gn=rt.bigOpSpacing5+y.below.height+y.below.depth+Gt+ht.depth+gt;on=new oo({bottom:gn,children:[rt.bigOpSpacing5,{box:y.below,marginLeft:-xt,classes:["ML__center"]},Gt,{box:ht,classes:["ML__center"]},jt,{box:y.above,marginLeft:xt,classes:["ML__center"]},rt.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)on=new oo({top:ht.height-gt,children:[rt.bigOpSpacing5,{box:y.below,marginLeft:-xt,classes:["ML__center"]},Gt,{box:ht,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const gn=ht.depth+gt;on=new oo({bottom:gn,children:[{box:ht,classes:["ML__center"]},jt,{box:y.above,marginLeft:xt,classes:["ML__center"]},rt.bigOpSpacing5]}).wrap(a)}else{const gn=ht.depth+gt;on=new oo({bottom:gn,children:[{box:ht},rt.bigOpSpacing5]}).wrap(a)}return new Qr(on,{type:(ze=y.type)!=null?ze:"op"})}var cu=7,Al=6,Wc=5,jl=4,Fl=3,Cs=2,Gs=1,us=0,kl=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(Ss).reduce((se,ke)=>oe(ie({},se),{[ke]:Ss[ke][z]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return Wa[[us,Gs,us,Gs,Cs,Fl,Cs,Fl][this.id]]}get sub(){return Wa[[us,us,us,us,Cs,Cs,Cs,Cs][this.id]]}get fracNum(){return Wa[[us,Gs,us,Gs,Cs,Fl,jl,Wc][this.id]]}get fracDen(){return Wa[[us,us,us,us,Cs,Cs,jl,jl][this.id]]}get cramp(){return Wa[[us,us,Cs,Cs,jl,jl,Al,Al][this.id]]}get isTight(){return this.sizeDelta<0}},La={7:new kl(cu,0,!1),6:new kl(Al,0,!0),5:new kl(Wc,0,!1),4:new kl(jl,0,!0),3:new kl(Fl,-3,!1),2:new kl(Cs,-3,!0),1:new kl(Gs,-4,!1),0:new kl(us,-4,!0)},Wa=oe(ie({},La),{displaystyle:La[cu],textstyle:La[Wc],scriptstyle:La[Fl],scriptscriptstyle:La[Gs]});function Es(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:ws,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 se=Fc(10,y);return Math.round(a.dimension/ws*z*se)/se}return a.dimension*z}function Ml(a,y){if(a===null)return 0;const b=Es(a)/ws;if(Number.isFinite(y)){const z=Fc(10,y);return Math.round(b*z)/z}return b}function Tl(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function Du(a){let y=Tl(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${Tl(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${Tl(a.shrink)}`),y}function No(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=Du(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 se=Math.round(a.number)>>>0;a.base==="hexadecimal"?(z=Number(se).toString(16).toUpperCase(),se<=255?z=z.padStart(2,"0"):se<=65535?z=z.padStart(4,"0"):se<=16777215?z=z.padStart(6,"0"):z=z.padStart(8,"0"),z=`"${z}`):a.base==="octal"&&(z=Number(se).toString(8),se<=63?z=z.padStart(2,"0"):se<=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 sl(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:sl(a.glue,y),shrink:sl(a.shrink,y),grow:sl(a.grow,y)}:a.shrink?{glue:sl(a.glue,y),shrink:sl(a.shrink,y)}:a.grow?{glue:sl(a.glue,y),grow:sl(a.grow,y)}:{glue:sl(a.glue,y)}:null}var Ou={"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 Ql(){return ie({},Ou)}function rd(){return{registers:Ql(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:ye.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:Be,backgroundColorMap:Re,getMacro:a=>Ft(a,Nt())}}var Ha=class km{constructor(y,b){var z,se,ke,ze,rt,ht,gt,xt,jt,Gt,on,gn,tr,qr,qn;let kr;y!=null&&y.parent?(this.parent=y.parent,kr=y.parent,this.registers={}):(kr=ie(ie({},rd()),(z=y==null?void 0:y.from)!=null?z:{}),this.registers=kr.registers),kr.atomIdsSettings&&(this.atomIdsSettings=ie({},kr.atomIdsSettings)),this.renderPlaceholder=kr.renderPlaceholder,this.isPhantom=(ze=(ke=y==null?void 0:y.isPhantom)!=null?ke:(se=this.parent)==null?void 0:se.isPhantom)!=null?ze:!1,this.letterShapeStyle=kr.letterShapeStyle,this.minFontScale=kr.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(ht=(rt=this.parent)==null?void 0:rt.color)!=null?ht:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(xt=(gt=this.parent)==null?void 0:gt.backgroundColor)!=null?xt:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((jt=this.parent)==null?void 0:jt.size)?this.size=b.fontSize:this.size=(on=(Gt=this.parent)==null?void 0:Gt.size)!=null?on:co;let ii=(tr=(gn=this.parent)==null?void 0:gn.mathstyle)!=null?tr:Wa.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(kr instanceof km)switch(y.mathstyle){case"cramp":ii=ii.cramp;break;case"superscript":ii=ii.sup;break;case"subscript":ii=ii.sub;break;case"numerator":ii=ii.fracNum;break;case"denominator":ii=ii.fracDen;break}switch(y.mathstyle){case"textstyle":ii=Wa.textstyle;break;case"displaystyle":ii=Wa.displaystyle;break;case"scriptstyle":ii=Wa.scriptstyle;break;case"scriptscriptstyle":ii=Wa.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=ii,this.smartFence=kr.smartFence,this.placeholderSymbol=kr.placeholderSymbol,this.colorMap=(qr=kr.colorMap)!=null?qr:Lr=>Lr,this.backgroundColorMap=(qn=kr.backgroundColorMap)!=null?qn:Lr=>Lr,this.getMacro=kr.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===cu||this.mathstyle.id===Al}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(cs[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 Ml(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 se=b.getRegister(y.register);if(se===void 0)return;if(typeof se=="string")return{string:Number(se).toString()+se};if(typeof se=="number")return{number:z*se};const ke=b.evaluate(se);if(ke!==void 0)return"string"in ke?{string:Number(se).toString()+ke.string}:"number"in ke?{number:z*ke.number}:"dimension"in ke?oe(ie({},ke),{dimension:z*ke.dimension}):"glue"in ke?oe(ie({},ke),{glue:oe(ie({},ke.glue),{dimension:z*ke.glue.dimension}),shrink:ke.shrink?oe(ie({},ke.shrink),{dimension:z*ke.shrink.dimension}):void 0,grow:ke.grow?oe(ie({},ke.grow),{dimension:z*ke.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:Es(z,b)/ws}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 se=this.evaluate(y);return se===void 0?null:"string"in se?(z=(b=this.colorMap)==null?void 0:b.call(this,se.string))!=null?z:se.string:null}toBackgroundColor(y){var b,z;if(y===null)return null;const se=this.evaluate(y);return se===void 0?null:"string"in se?(z=(b=this.backgroundColorMap)==null?void 0:b.call(this,se.string))!=null?z:se.string:null}},uu=["body","above","below","superscript","subscript"];function dc(a){return typeof a=="string"&&uu.includes(a)}function Iu(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var pr=class Yc{constructor(y){var b,z,se,ke,ze,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=(se=y.mode)!=null?se:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=ie({},y.style),this.displayContainsHighlight=(ke=y.displayContainsHighlight)!=null?ke:!1,this.captureSelection=(ze=y.captureSelection)!=null?ze:!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 se;if(!b)return null;const ke=pf(b),ze=[];for(const ht of ke){const gt=ht[0].style,xt=mf(y,ht,{style:{color:gt.color,backgroundColor:gt.backgroundColor,fontSize:gt.fontSize}});xt&&ze.push(xt)}if(ze.length===0)return null;const rt=((se=z==null?void 0:z.classes)!=null?se:"").trim();return ze.length===1&&!rt&&!(z!=null&&z.type)?ze[0].wrap(y):new Qr(ze,{classes:rt,type:z==null?void 0:z.type}).wrap(y)}static serialize(y,b){return Vs.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const z=new WeakSet;let{parent:se}=y;for(;se;)z.add(se),se=se.parent;for(se=b.parent;se;){if(z.has(se))return se;se=se.parent}console.assert(!!se)}static fromJson(y){return typeof y=="string"?new Yc({type:"mord",value:y,mode:"math"}):new Yc(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=Bd(this.args)),this._branches)for(const b of Object.keys(this._branches))this._branches[b]&&(y[b]=this._branches[b].filter(z=>z.type!=="first").map(z=>z.toJson()));return y.type==="mord"&&Object.keys(y).length===2&&"value"in y?y.value:y}get changeCounter(){return this.parent?this.parent.changeCounter:this._changeCounter}set isDirty(y){if(y){this.parent||this._changeCounter++,"verbatimLatex"in this&&(this.verbatimLatex=void 0),this._children=void 0;let{parent:b}=this;for(;b;)b.parent||b._changeCounter++,"verbatimLatex"in b&&(b.verbatimLatex=void 0),b._children=void 0,b=b.parent}}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Et(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?Ta([ho(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?Ta([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return Vs.serialize(this.body,oe(ie({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return Vs.serialize(this.above,y)}belowToLatex(y){return Vs.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=oe(ie({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const z=Vs.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=Vs.serialize(this.superscript,y);z.length===0?b+="^{}":z.length===1?z==="\u2032"?b+="^\\prime ":z==="\u2033"?b+="^\\doubleprime ":/^[0-9]$/.test(z)?b+=`^${z}`:b+=`^{${z}}`:b+=`^{${z}}`}return b}get treeDepth(){let y=1,b=this.parent;for(;b;)b=b.parent,y+=1;return y}get inCaptureSelection(){let y=this;for(;y;){if(y.captureSelection)return!0;y=y.parent}return!1}get parentPrompt(){let y=this.parent;for(;y;){if(y.type==="prompt"&&!y.captureSelection)return y;y=y.parent}return null}branch(y){if(dc(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of uu)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(dc(y)),dc(y)?(this._branches?this._branches[y]||(this._branches[y]=[this.makeFirstAtom(y)]):this._branches={[y]:[this.makeFirstAtom(y)]},this.isDirty=!0,this._branches[y]):[]}get row(){return Iu(this.parentBranch)?this.parentBranch[0]:-1}get col(){return Iu(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",se=typeof this.style.verbatimBackgroundColor=="string",ke=ie(ie({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete ke.variant,delete ke.variantStyle,se||delete ke.verbatimBackgroundColor,z||delete ke.verbatimColor,ke}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(dc(b)),!dc(b)))return;console.assert(((z=y[0])==null?void 0:z.type)!=="first");const se=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=se:this._branches={[b]:se};for(const ke of y)ke.parent=this,ke.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new Yc({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 se of y)se.parent=this,se.parentBranch=b,z.push(se);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 se of y)se.parent=this,se.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(dc(y)&&(this._branches[y]=void 0),!b)return[];for(const z of b)z.parent=void 0,z.parentBranch=void 0;return console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}removeChild(y){if(console.assert(y.parent===this),y.type==="first")return;const b=this.branch(y.parentBranch),z=b.indexOf(y);console.assert(z>=0),b.splice(z,1),this.isDirty=!0,y.parent=void 0,y.parentBranch=void 0}get siblings(){return this.parent?this.parent.branch(this.parentBranch):[]}get firstSibling(){return this.siblings[0]}get lastSibling(){const{siblings:y}=this;return y[y.length-1]}get isFirstSibling(){return this===this.firstSibling}get isLastSibling(){return this===this.lastSibling}get hasNoSiblings(){return this.siblings.length===1}get leftSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)-1]}get rightSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)+1]}get hasChildren(){return!!(this._branches&&this.children.length>0)}get firstChild(){return console.assert(this.hasChildren),this.children[0]}get lastChild(){console.assert(this.hasChildren);const{children:y}=this;return y[y.length-1]}get children(){if(this._children)return this._children;if(!this._branches)return[];const y=[];for(const b of uu)if(this._branches[b])for(const z of this._branches[b])y.push(...z.children),y.push(z);return this._children=y,y}render(y){if(this.type==="first"&&!y.atomIdsSettings)return null;const b=Et(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const z=new Ha({parent:y},this.style);let se=this.createBox(z,{classes:this.parent?"":"ML__base"});return se?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(se=this.attachSupsub(z,{base:se})),se.wrap(z)):null}attachSupsub(y,b){var z;const se=b.base,ke=this.superscript,ze=this.subscript;if(!ke&&!ze)return se;let rt=null,ht=null;const gt=(z=b.isCharacterBox)!=null?z:this.isCharacterBox();let xt=0;if(ke){const tr=new Ha({parent:y,mathstyle:"superscript"});rt=Yc.createBox(tr,ke),gt||(xt=se.height-y.metrics.supDrop*tr.scalingFactor)}let jt=0;if(ze){const tr=new Ha({parent:y,mathstyle:"subscript"});ht=Yc.createBox(tr,ze),gt||(jt=se.depth+y.metrics.subDrop*tr.scalingFactor)}let Gt;y.isDisplayStyle?Gt=y.metrics.sup1:y.isCramped?Gt=y.metrics.sup3:Gt=y.metrics.sup2;const on=.5/ws/y.scalingFactor;let gn=null;if(ht&&rt){xt=Math.max(xt,Gt,rt.depth+.25*y.metrics.xHeight),jt=Math.max(jt,y.metrics.sub2);const tr=y.metrics.defaultRuleThickness;if(xt-rt.depth-(ht.height-jt)<4*tr){jt=4*tr-(xt-rt.depth)+ht.height;const qn=.8*y.metrics.xHeight-(xt-rt.depth);qn>0&&(xt+=qn,jt-=qn)}const qr=this.isExtensibleSymbol&&se.italic?-se.italic:0;gn=new oo({individualShift:[{box:ht,shift:jt,marginLeft:qr},{box:rt,shift:-xt}]}).wrap(y)}else ht&&!rt?(jt=Math.max(jt,y.metrics.sub1,ht.height-.8*ns),gn=new oo({shift:jt,children:[{box:ht,marginRight:on,marginLeft:this.isCharacterBox()?-se.italic:0}]})):!ht&&rt&&(xt=Math.max(xt,Gt,rt.depth+.25*ns),gn=new oo({shift:-xt,children:[{box:rt,marginRight:on}]}));return new Qr([se,new Qr(gn,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const z=this.superscript?Yc.createBox(new Ha({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,se=this.subscript?Yc.createBox(new Ha({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!z&&!se?b.base.wrap(y):nd(y,oe(ie({},b),{above:z,below:se}))}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,se,ke,ze;const rt=(z=this.value)!=null?z:this.body,ht=(se=b==null?void 0:b.boxType)!=null?se:ou(this.type);let gt=(ke=b==null?void 0:b.classes)!=null?ke:"";this.mode==="text"&&(gt+=" ML__text");const xt=typeof rt=="string"||rt===void 0?new Qr(rt!=null?rt:null,{type:ht,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:gt}):(ze=Yc.createBox(y,rt,{type:ht,classes:gt}))!=null?ze:new Qr(null);return y.isTight&&(xt.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(xt.italic=0),xt.right=xt.italic,this.bind(y,xt),this.caret&&!this.superscript&&!this.subscript&&(xt.caret=this.caret),xt}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 pf(a){let y;const b=[];let z=[];for(const se of a)if(!y&&!se.style)z.push(se);else{const ke=se.computedStyle;y&&ke.color===y.color&&ke.backgroundColor===y.backgroundColor&&ke.fontSize===y.fontSize?z.push(se):(z.length>0&&b.push(z),z=[se],y=ke)}return z.length>0&&b.push(z),b}function mf(a,y,b){var z,se,ke,ze,rt;if(!y||y.length===0)return null;const ht=new Ha({parent:a},b.style),gt=!((z=ht.atomIdsSettings)!=null&&z.groupNumbers);let xt=[];if(y.length===1){const Gt=y[0],on=Gt.render(ht);on&&(gt&&Gt.isSelected&&on.selected(!0),xt=[on])}else{let Gt="",on=!0;for(const gn of y){(se=ht.atomIdsSettings)!=null&&se.groupNumbers&&Gt&&(on&&gn.isDigit()||!on&&Id(gn))&&(ht.atomIdsSettings.overrideID=Gt);const tr=gn.render(ht);ht.atomIdsSettings&&(ht.atomIdsSettings.overrideID=void 0),tr&&((ke=ht.atomIdsSettings)!=null&&ke.groupNumbers&&((gn.isDigit()||Id(gn))&&(!Gt||on!==gn.isDigit())&&(on=gn.isDigit(),Gt=(ze=gn.id)!=null?ze:""),Gt&&(!(gn.isDigit()||Id(gn))||!gn.hasEmptyBranch("superscript")||!gn.hasEmptyBranch("subscript"))&&(Gt="")),gt&&gn.isSelected&&tr.selected(!0),xt.push(tr))}}if(xt.length===0)return null;const jt=new Qr(xt,oe(ie({isTight:ht.isTight},b),{type:(rt=b.type)!=null?rt:"lift"}));return jt.isSelected=xt.every(Gt=>Gt.isSelected),jt.wrap(ht)}function Id(a){return a.mode==="text"}function Bd(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof pr?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var fc=class Mm extends pr{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 Mm(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:Kt("text",this.value.codePointAt(0))}};function Bu(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 Ts(a){let y=1/0,b=-1/0;for(const z of a.ranges)y=Math.min(y,z[0],z[1]),b=Math.max(b,z[0],z[1]);return[y,b]}function Cc(a){return typeof a=="number"&&!Number.isNaN(a)}function id(a){return Array.isArray(a)&&a.length===2}function ad(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 se=b.parent;for(;!z&&se;)se&&(z=se.mode),se=se.parent}return z}function gf(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,se=!1,ke=!1,ze=!1,rt=!1,ht=!1,gt=!1,xt=!1,jt=!1,Gt=!1,on=!1,gn=!1,tr=!1,qr=!1,qn=a[0],kr=0;for(;qn!=null&&qn.type&&/^(subsup|placeholder)$/.test(qn.type);)kr+=1,qn=a[kr];return b=!qn||qn.type==="first",qn&&(tr=qn.mode==="text",z=!tr&&qn.type==="mord"&&He.test(qn.value),se=!tr&&qn.type==="mord"&&/\d+$/.test(qn.value),ke=!tr&&qn.isFunction,ze=qn.type==="genfrac",rt=qn.type==="surd",ht=qn.type==="mbin",gt=qn.type==="mrel",xt=qn.type==="mop"||qn.type==="operator"||qn.type==="extensible-symbol",jt=qn.type==="mpunct"||qn.type==="minner",Gt=qn.type==="array",on=qn.type==="mopen",gn=qn.type==="mclose"||qn.type==="leftright",qr=qn.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&z||y.after.includes("digit")&&se||y.after.includes("function")&&ke||y.after.includes("frac")&&ze||y.after.includes("surd")&&rt||y.after.includes("binop")&&ht||y.after.includes("relop")&&gt||y.after.includes("operator")&&xt||y.after.includes("punct")&&jt||y.after.includes("array")&&Gt||y.after.includes("openfence")&&on||y.after.includes("closefence")&&gn||y.after.includes("text")&&tr||y.after.includes("space")&&qr?y.value:""}function Pd(a,y,b){return b?gf(a,b[y]):""}var vf={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\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 Pu(a,y){var b;let z=(b=y==null?void 0:y.format)!=null?b:"auto";return z==="auto"&&([z,a]=bf(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",Fs(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function Fs(a,y){var b,z,se;if(!a)return"";let ke=!1,ze;const rt=(b=y.inlineShortcuts)!=null?b:vf;if(!ke&&(a.startsWith("^")||a.startsWith("_"))&&(ze=Ec(a.slice(1),{inlineShortcuts:rt,noWrap:!0}),a=a[0]+"{"+ze.match+"}",a+=Fs(ze.rest,y),ke=!0),ke||(ze=a.match(/^(sqrt|\u221A)(.*)/),ze&&(ze=Ec(ze[2],{inlineShortcuts:rt,noWrap:!0}),a="\\sqrt{"+((z=ze.match)!=null?z:"\\placeholder{}")+"}",a+=Fs(ze.rest,y),ke=!0)),ke||(ze=a.match(/^(\\cbrt|\u221B)(.*)/),ze&&(ze=Ec(ze[2],{inlineShortcuts:rt,noWrap:!0}),a="\\sqrt[3]{"+((se=ze.match)!=null?se:"\\placeholder{}")+"}",a+=Fs(ze.rest,y),ke=!0)),ke||(ze=a.match(/^abs(.*)/),ze&&(ze=Ec(ze[1],{inlineShortcuts:rt,noWrap:!0}),a="\\left|"+ze.match+"\\right|",a+=Fs(ze.rest,y),ke=!0)),ke||(ze=a.match(/^["”“](.*?)["”“](.*)/),ze&&(a="\\text{"+ze[1]+"}",a+=Fs(ze[2],y),ke=!0)),ke||(ze=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),ze&&(a=yf(ze[1],rt),a+=Fs(ze[2],y),ke=!0)),!ke&&/^([fgh])[^a-zA-Z]/.test(a)&&(ze=Ec(a.slice(1),{inlineShortcuts:rt,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+ze.match+"\\right)":a[0]+ze.match,a+=Fs(ze.rest,y),ke=!0),ke||(ze=a.match(/^([a-zA-Z]+)(.*)/),ze&&(a=yf(ze[1],rt),a+=Fs(ze[2],y),ke=!0)),!ke)if(ze=Ec(a,{inlineShortcuts:rt,noWrap:!0}),ze.match&&ze.rest[0]==="/"){const ht=Ec(ze.rest.slice(1),{inlineShortcuts:rt,noWrap:!0});ht.match&&(a="\\frac{"+ze.match+"}{"+ht.match+"}"+Fs(ht.rest,y)),ke=!0}else ze.match&&(a=a.startsWith("(")?"\\left("+ze.match+"\\right)"+Fs(ze.rest,y):ze.match+Fs(ze.rest,y),ke=!0);return ke||(ze=a.match(/^(\s+)(.*)$/),ze&&(a=" "+Fs(ze[2],y),ke=!0)),a}function Ec(a,y){let b="";a=a.trim();let z=a,se=a.charAt(0),ke={"(":")","{":"}","[":"]"}[se];if(ke){let ze=1,rt=1;for(;rt<a.length&&ze>0;)a[rt]===se&&ze++,a[rt]===ke&&ze--,rt++;ze===0?(y.noWrap&&se==="("?b=Fs(a.substring(1,rt-1),y):(se==="{"&&ke==="}"&&(se="\\{",ke="\\}"),b="\\left"+se+Fs(a.substring(1,rt-1),y)+"\\right"+ke),z=a.slice(Math.max(0,rt))):(b=a.substring(1,rt),z="")}else{let ze=a.match(/^([a-zA-Z]+)/);if(ze){let rt=Pd(null,a,y.inlineShortcuts);if(rt)return rt=rt.replace("_{#?}",""),rt=rt.replace("^{#?}",""),{match:rt,rest:a.slice(rt.length)}}if(ze=a.match(/^([a-zA-Z])/),ze)return{match:ze[1],rest:a.slice(1)};if(ze=a.match(/^(-)?\d+(\.\d*)?/),ze)return{match:ze[0],rest:a.slice(ze[0].length)};/^\\(left|right)/.test(a)||(ze=a.match(/^(\\[a-zA-Z]+)/),ze&&(z=a.slice(ze[1].length),b=ze[1]))}return{match:b,rest:z}}function yf(a,y){let b=Pd(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var Ld=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function Ac(a){const y=a.trim();for(const b of Ld)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 bf(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=Ac(a),y?["latex",a]:a.startsWith("`")&&a.endsWith("`")?(a=a.substring(1,a.length-1),["ascii-math",a]):a.includes("\\")?["latex",a]:/\$.+\$/.test(a)?["latex",`\\text{${a}}`]:[void 0,a]}var od="$$",sh="$$",lh=(a,y,b)=>(Ld.some(z=>y.startsWith(z[0])&&y.endsWith(z[1]))||(y=`${od} ${y} ${sh}`),y),xf=class ih{constructor(y){ih._modes[y]=this}static onPaste(y,b,z){var se;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof z=="string"){const ze=new DataTransfer;ze.setData("text/plain",z),z=ze}const ke=new ClipboardEvent("paste",{clipboardData:z,cancelable:!0});return(se=b.host)!=null&&se.dispatchEvent(ke)?ih._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,se=z.selectionIsCollapsed?[0,z.lastOffset]:Ts(z.selection),ke=z.getValue(se,b);navigator.clipboard.writeText(ke).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 se=y.model,ke=se.selectionIsCollapsed?[0,se.lastOffset]:Ts(se.selection);let ze=se.getAtoms(ke);if(ze.every(rt=>rt.mode==="text"||!rt.mode))b.clipboardData.setData("text/plain",ze.filter(rt=>rt instanceof fc).map(rt=>rt.value).join(""));else if(ze.every(rt=>rt.mode==="latex"))b.clipboardData.setData("text/plain",se.getAtoms(ke,{includeChildren:!0}).map(rt=>{var ht;return(ht=rt.value)!=null?ht:""}).join(""));else{let rt;ze.length===1&&ze[0].verbatimLatex!==void 0?rt=ze[0].verbatimLatex:rt=se.getValue(ke,"latex-expanded"),b.clipboardData.setData("application/x-latex",rt);try{b.clipboardData.setData("text/plain",y.options.onExport(y,rt,ke))}catch(ht){}if(ze.length===1){const ht=ze[0];(ht.type==="root"||ht.type==="group")&&(ze=ht.body.filter(gt=>gt.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(ze.map(ht=>ht.toJson())))}catch(ht){}if((z=window[Symbol.for("io.cortexjs.compute-engine")])!=null&&z.ComputeEngine){const ht=window.MathfieldElement.computeEngine;if(ht)try{const gt=ht.jsonSerializationOptions;ht.jsonSerializationOptions={metadata:["latex"]};const xt=ht.parse(se.getValue(ke,"latex-unstyled"));ht.jsonSerializationOptions=gt;const jt=JSON.stringify(xt.json);jt&&b.clipboardData.setData("application/json",jt)}catch(gt){}}}b.preventDefault()}static insert(y,b,z={}){var se;const ke=z.mode==="auto"?y.mode:(se=z.mode)!=null?se:y.mode;return ih._modes[ke].insert(y,b,z)}onPaste(y,b){return!1}insert(y,b,z){return!1}};xf._modes={};var ma=xf,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","^"]}],Rd={"\\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 zl(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function Kl(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 kc(a){const y=Kl(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function Nd(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 _d(a,y,b){if(!y)return null;const z=a.field.getBoundingClientRect(),se=y.right-y.left,ke=y.bottom-y.top,ze=Math.ceil(y.left-z.left+a.field.scrollLeft*b),rt=Math.ceil(y.top-z.top);return{left:ze,right:ze+se,top:rt,bottom:rt+ke}}function jd(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 se of a.children)if(se.nodeType===1&&"atomId"in se.dataset&&!se.classList.contains("pstrut")){const ke=jd(se);z.left=Math.min(z.left,ke.left),z.right=Math.max(z.right,ke.right),z.top=Math.min(z.top,ke.top),z.bottom=Math.max(z.bottom,ke.bottom)}return z}function du(a,y){var b,z;if(!y.id)return null;let se=(z=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?z:null;if(se!==null)return se;const ke=a.field.querySelector(`[data-atom-id="${y.id}"]`);return se=ke?jd(ke):null,a.atomBoundsCache&&(se?a.atomBoundsCache.set(y.id,se):a.atomBoundsCache.delete(y.id)),se!=null?se:null}function wf(a,y,b){const z=new Map;for(const se of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&se.style.backgroundColor)continue;const ke=a.field,ze=ke.offsetWidth;let ht=Math.floor(ke.getBoundingClientRect().width)/ze;ht=isNaN(ht)?1:ht;const gt=_d(a,du(a,se),ht);if(gt){const xt=Nd(se);if(z.has(xt)){const jt=z.get(xt);z.set(xt,{left:Math.min(jt.left,gt.left),right:Math.max(jt.right,gt.right),top:Math.min(jt.top,gt.top),bottom:Math.max(jt.bottom,gt.bottom)})}else z.set(xt,gt)}}return[...z.values()]}function Fd(a,y){return a.model.selection.ranges.reduce((b,z)=>b.concat(...wf(a,z,y)),[])}function zd(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function sd(a){let y=0,b=0;const z=a.offsetWidth,se=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,z,se)}var Sf=`@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;
}
`,po=`.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);
}
`,Cf=`#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;
}
`,fu=`/* 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));
}
`,ld=`: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;
}
`,bo;function Zc(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=po;break;case"mathfield":y=Sf;break;case"environment-popover":y=Cf;break;case"suggestion-popover":y=uh;break;case"keystroke-caption":y=fu;break;case"virtual-keyboard":y=dh;break;case"ui":y=ld;break;case"menu":y=fh;break;default:debugger}return y}function hu(a){return bo||(bo={}),bo[a]||(bo[a]=new CSSStyleSheet,bo[a].replaceSync(Zc(a))),bo[a]}var hc;function Dl(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(Zc(a))),window.document.head.appendChild(b);return}if(hc||(hc={}),((y=hc[a])!=null?y:0)!==0)hc[a]+=1;else{const b=hu(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],hc[a]=1}}function x(a){if("adoptedStyleSheets"in document&&hc!=null&&hc[a]&&(hc[a]-=1,hc[a]<=0)){const y=bo[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var te=class Tm extends pr{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 Ha({parent:y,mathstyle:"cramp"},this.style),se=(b=pr.createBox(z,this.body))!=null?b:new Qr("\u25A2",{style:this.style});let ke=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(ke=se.skew);let ze=Math.min(se.height,ns),rt;if(this.svgAccent)rt=ol(this.svgAccent),ze=z.metrics.bigOpSpacing1-ze;else if(this.accent){const gt=new Qr(this.accent,{fontFamily:"Main-Regular"});gt.italic=0;const xt=this.accent===8407?" ML__accent-vec":"";rt=new Qr(new Qr(gt),{classes:"ML__accent-body"+xt})}rt=new oo({shift:0,children:[{box:new Qr(se)},-ze,{box:rt,marginLeft:se.left+2*ke,classes:["ML__center"]}]});const ht=new Qr(rt,{type:"lift"});return this.caret&&(ht.caret=this.caret),this.bind(z,ht.wrap(z)),this.attachSupsub(z,{base:ht})}},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 Oe(a){var y;return(y={"[":91,"]":93,"(":40,")":41,"\\mid":8739,"|":8739,"\u2223":8739,"\u2225":8741,"\\|":8739,"\\{":123,"\\}":125,"\\lbrace":123,"\\rbrace":125,"\\lparen":40,"\\rparen":41,"\\lbrack":91,"\\rbrack":93,"\\vert":8739,"\\lvert":8739,"\\mvert":8739,"\\rvert":8739,"\\Vert":8741,"\\lVert":8741,"\\mVert":8741,"\\rVert":8741,"\\parallel":8741,"\\shortparallel":8741,"\\langle":10216,"\\rangle":10217,"\\lfloor":8970,"\\rfloor":8971,"\\lceil":8968,"\\rceil":8969,"\\ulcorner":9484,"\\urcorner":9488,"\\llcorner":9492,"\\lrcorner":9496,"\\lgroup":10222,"\\rgroup":10223,"\\lmoustache":9136,"\\rmoustache":9137,"\\surd":8730}[a])!=null?y:a.codePointAt(0)}function $e(a,y,b,z){var se;const ze=new Qr(Oe(a),{fontFamily:"Main-Regular",isSelected:z.isSelected,classes:"ML__small-delim "+((se=z.classes)!=null?se:"")}).wrap(y);return b&&ze.setTop((1-y.scalingFactor)*ts),ze}function mt(a,y,b,z,se){var ke,ze;const rt=new Ha({parent:z,mathstyle:"textstyle"},se==null?void 0:se.style),ht=new Qr(Oe(a),{fontFamily:`Size${y}-Regular`,isSelected:se.isSelected,classes:((ke=se.classes)!=null?ke:"")+` ML__delim-size${y}`,type:(ze=se.type)!=null?ze:"ignore"}).wrap(rt);return b&&ht.setTop((1-rt.scalingFactor)*ts),ht}function Ct(a,y,b,z,se){var ke;let ze,rt,ht,gt;ze=ht=gt=Oe(a),rt=null;let xt="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?ht=ze=gt=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?ht=ze=gt=8741:a==="\\uparrow"?ht=gt=9168:a==="\\Uparrow"?ht=gt=8214:a==="\\downarrow"?ze=ht=9168:a==="\\Downarrow"?ze=ht=8214:a==="\\updownarrow"?(ze=8593,ht=9168,gt=8595):a==="\\Updownarrow"?(ze=8657,ht=8214,gt=8659):a==="["||a==="\\lbrack"?(ze=9121,ht=9122,gt=9123,xt="Size4-Regular"):a==="]"||a==="\\rbrack"?(ze=9124,ht=9125,gt=9126,xt="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(ht=ze=9122,gt=9123,xt="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(ze=9121,ht=gt=9122,xt="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(ht=ze=9125,gt=9126,xt="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(ze=9124,ht=gt=9125,xt="Size4-Regular"):a==="("||a==="\\lparen"?(ze=9115,ht=9116,gt=9117,xt="Size4-Regular"):a===")"||a==="\\rparen"?(ze=9118,ht=9119,gt=9120,xt="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(ze=9127,rt=9128,gt=9129,ht=9130,xt="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(ze=9131,rt=9132,gt=9133,ht=9130,xt="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(ze=9127,gt=9129,ht=9130,xt="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(ze=9131,gt=9133,ht=9130,xt="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(ze=9127,gt=9133,ht=9130,xt="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(ze=9131,gt=9129,ht=9130,xt="Size4-Regular"):a==="\\surd"?(ze=57345,gt=9143,ht=57344,xt="Size4-Regular"):a==="\\ulcorner"?(ze=9484,ht=gt=32):a==="\\urcorner"?(ze=9488,ht=gt=32):a==="\\llcorner"?(gt=9492,ht=ze=32):a==="\\lrcorner"&&(ze=9496,ht=ze=32);const jt=ms(ze,xt),Gt=jt.height+jt.depth,on=ms(ht,xt),gn=on.height+on.depth,tr=ms(gt,xt),qr=tr.height+tr.depth;let qn=0,kr=1;if(rt!==null){const Bs=ms(rt,xt);qn=Bs.height+Bs.depth,kr=2}const ii=Gt+qr+qn,Lr=Math.max(0,Math.ceil((y-ii)/(kr*gn))),Li=ii+Lr*kr*gn;let Vi=ts;b&&(Vi=Vi*z.scalingFactor);const Ki=Li/2-Vi,Za=.008,mo=[];mo.push({box:new Qr(gt,{fontFamily:xt})}),mo.push(-Za);const ci=new Qr(ht,{fontFamily:xt});if(rt===null)for(let Bs=0;Bs<Lr;Bs++)mo.push({box:ci});else{for(let Bs=0;Bs<Lr;Bs++)mo.push({box:ci});mo.push(-Za),mo.push({box:new Qr(rt,{fontFamily:xt})}),mo.push(-Za);for(let Bs=0;Bs<Lr;Bs++)mo.push({box:ci})}mo.push(-Za),mo.push({box:new Qr(ze,{fontFamily:xt})});let Zl="";xt==="Size1-Regular"?Zl=" delim-size1":xt==="Size4-Regular"&&(Zl=" delim-size4");const Lc=new oo({bottom:Ki,children:mo},{classes:Zl});return new Qr(Lc,oe(ie({},se!=null?se:{}),{classes:((ke=se==null?void 0:se.classes)!=null?ke:"")+" ML__delim-mult"}))}var Ot=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),_t=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),an=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),vn=[0,1.2,1.8,2.4,3];function Wn(a,y,b,z){return a===void 0||a==="."?Bi(b,z.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),Ot.has(a)||an.has(a)?mt(a,y,!1,b,z):_t.has(a)?Ct(a,vn[y],!1,b,z):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var Nn=[{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}],vr=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],Fr=[{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 si(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function Ei(a,y,b,z){const se={"-4":0,"-3":1,0:2}[z.mathstyle.sizeDelta];for(let ke=se;ke<b.length&&b[ke].type!=="stack";ke++){const ze=ms(a,si(b[ke]));if(ze.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let rt=ze.height+ze.depth;if(b[ke].type==="small"&&(b[ke].mathstyle==="scriptscriptstyle"?rt*=Math.max(cs[Math.max(1,z.size-2)],z.minFontScale):b[ke].mathstyle==="scriptstyle"&&(rt*=Math.max(cs[Math.max(1,z.size-1)],z.minFontScale))),rt>y)return b[ke]}return b[b.length-1]}function Ti(a,y,b,z,se,ke){if(!y||y.length===0||y===".")return Bi(se);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let ze;an.has(y)?ze=Nn:Ot.has(y)?ze=Fr:ze=vr;const rt=Ei(Oe(y),b,ze,se),ht=new Ha({parent:se,mathstyle:rt.mathstyle},ke==null?void 0:ke.style);return rt.type==="small"?$e(y,ht,z,oe(ie({},ke),{type:a})):rt.type==="large"?mt(y,rt.size,z,ht,oe(ie({},ke),{type:a})):(console.assert(rt.type==="stack"),Ct(y,b,z,ht,oe(ie({},ke),{type:a})))}function yi(a,y,b,z,se,ke){if(y===".")return Bi(se,ke==null?void 0:ke.classes);const ze=ts*se.scalingFactor,rt=901,ht=5/ws,gt=Math.max(b-ze,z+ze),xt=Math.max(gt/500*rt,2*gt-ht);return Ti(a,y,xt,!0,se,ke)}function Bi(a,y){const b=new Qr(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new Ha({parent:a,mathstyle:"textstyle"}))}var Qi=class Dm extends pr{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 Dm(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{}"}},ea=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],Ra=["cases","dcases","rcases"],xo=["align","align*","aligned","gather","gathered","split"],As=["array","subequations","eqnarray"];function zo(a){return As.concat(xo).concat(Ra).concat(ea).includes(a)}function $s(a){return ea.includes(a)}function el(a){return Ra.includes(a)}function ds(a){return xo.includes(a)}function tl(a,y,b){let z=0;for(const gt of b)"align"in gt&&(z+=1);let se=0;const ke=[];for(const gt of y){let xt=0;for(se=Math.max(se,Math.min(gt.length,z));xt<gt.length;){const jt=[],Gt=Math.min(gt.length,xt+z);for(;xt<Gt;){const on=gt[xt];on.length===0?jt.push([new pr({type:"first",mode:a.mode})]):on[0].type!=="first"?jt.push([new pr({type:"first",mode:a.mode}),...on]):(console.assert(!on.slice(1).some(gn=>gn.type==="first")),jt.push(on)),xt+=1}ke.push(jt)}}ke.length>0&&ke[ke.length-1].length===1&&ke[ke.length-1][0].length===1&&ke[ke.length-1][0][0].type==="first"&&ke.pop();const ze=[];for(const gt of ke){if(gt.length!==se)for(let xt=gt.length;xt<se;xt++)gt.push([new pr({type:"first",mode:a.mode}),new Qi]);ze.push(gt)}let rt=0,ht=0;for(const gt of ze){ht=0;for(const xt of gt){for(const jt of xt)jt.parent=a,jt.parentBranch=[rt,ht];ht+=1}rt+=1}return a.isDirty=!0,ze}var ya=class Om extends pr{constructor(y,b,z,se={}){var ke;super({type:"array"}),this.environmentName=y,this.rowGaps=z,se.mathstyleName&&(this.mathstyleName=se.mathstyleName),se.columns&&(se.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=se.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=tl(this,b,this.colFormat),se.leftDelim&&(this.leftDelim=se.leftDelim),se.rightDelim&&(this.rightDelim=se.rightDelim),se.arraycolsep!==void 0&&(this.arraycolsep=se.arraycolsep),this.colSeparationType=se.colSeparationType,se.arraystretch!==void 0&&(this.arraystretch=se.arraystretch),this.minColumns=(ke=se.minColumns)!=null?ke:1}static fromJson(y){return new Om(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(se=>se.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(Iu(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return Iu(y)?(this.isDirty=!0,(b=this.branch(y))!=null?b:[]):[]}get rowCount(){return this.array.length}get colCount(){return this.array[0].length}get maxColumns(){return this.colFormat.filter(y=>!!y.align).length}removeBranch(y){if(dc(y))return super.removeBranch(y);const b=this.branch(y);return this.array[y[0]][y[1]]=void 0,b.forEach(z=>{z.parent=void 0,z.parentBranch=void 0}),console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}get hasChildren(){return this.children.length>0}get children(){const y=[];for(const b of this.array)for(const z of b)if(z)for(const se of z)y.push(...se.children),y.push(se);return[...y,...super.children]}render(y){var b,z,se,ke,ze,rt;const ht=new Ha({parent:y,mathstyle:this.mathstyleName},this.style),gt=ht.getRegisterAsEm("arrayrulewidth"),xt=ht.getRegisterAsEm("arraycolsep"),jt=ht.getRegisterAsEm("doublerulesep"),Gt=(z=(b=this.arraystretch)!=null?b:ht.getRegisterAsNumber("arraystretch"))!=null?z:1;let on=typeof this.arraycolsep=="number"?this.arraycolsep:xt;this.colSeparationType==="small"&&(on=.2778*(new Ha({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const gn=Gt*al,tr=.7*gn,qr=.3*gn;let qn=0;const kr=[];let ii=0;const Lr=this.array.length;for(let So=0;So<Lr;++So){const os=this.array[So];ii=Math.max(ii,os.length);const Ps=new Ha({parent:ht,mathstyle:this.mathstyleName},this.style);let Rc=tr/Ps.scalingFactor,Nc=qr/Ps.scalingFactor;const _c={cells:[],height:0,depth:0,pos:0};for(const gc of os){const tp=(se=pr.createBox(Ps,gc,{type:"ignore"}))!=null?se:new Qr(null,{type:"ignore"});Nc=Math.max(Nc,tp.depth),Rc=Math.max(Rc,tp.height),_c.cells.push(tp)}let jc=(ke=Ml(this.rowGaps[So]))!=null?ke:0;jc>0&&(jc+=qr,Nc=Math.max(Nc,jc),jc=0),So<Lr-1&&!$s(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(Nc+=ht.getRegisterAsEm("jot")),_c.height=Rc,_c.depth=Nc,qn+=Rc,_c.pos=qn,qn+=Nc+jc,kr.push(_c)}const Li=qn/2+ts,Vi=[];for(let So=0;So<ii;So++){const os=[];for(const Ps of kr){const Rc=Ps.cells[So];Rc.depth=Ps.depth,Rc.height=Ps.height,os.push({box:Rc,shift:Ps.pos-Li})}os.length>0&&Vi.push(new oo({individualShift:os}))}const Ki=[];let Za=!1,mo=!1,ci=0,Zl=!this.leftDelim;const{colFormat:Lc}=this;for(const So of Lc){if("align"in So&&ci>=Vi.length)break;if("align"in So)Za?Ki.push(Ko(2*on)):(mo||Zl)&&Ki.push(Ko(on)),Ki.push(new Qr(Vi[ci],{classes:"col-align-"+So.align})),ci++,Za=!0,mo=!1,Zl=!1;else if("gap"in So){if(typeof So.gap=="number")Ki.push(Ko(So.gap));else{const os=Xo(y,kr,Li,So.gap);os&&Ki.push(os)}Za=!1,mo=!1,Zl=!1}else if("separator"in So){const os=new Qr(null,{classes:"vertical-separator"});os.height=qn,os.setStyle("height",qn,"em"),os.setStyle("border-right",`${gt}em ${So.separator} currentColor`),os.setStyle("vertical-align",-(qn-Li),"em");let Ps=0;mo?Ps=jt-gt:Za&&(Ps=on-gt),os.left=Ps,Ki.push(os),Za=!1,mo=!0,Zl=!1}}Za&&!this.rightDelim&&Ki.push(Ko(on));const tc=new Qr(Ki,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(tc.caret=this.caret),this.bind(y,tc);const Bs=tc.height,Ul=tc.depth,vl=this.bind(y,new Qr([this.bind(y,yi("open",(ze=this.leftDelim)!=null?ze:".",Bs,Ul,ht,{isSelected:this.isSelected})),tc,this.bind(y,yi("close",(rt=this.rightDelim)!=null?rt:".",Bs,Ul,ht,{isSelected:this.isSelected}))],{type:"ord"}));return vl?(vl.setStyle("display","inline-block"),this.caret&&(vl.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:vl}))):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 se of this.colFormat)"align"in se&&typeof se.align=="string"?z.push(se.align):"separator"in se&&se.separator==="solid"?z.push("|"):"separator"in se&&se.separator==="dashed"&&z.push(":");z.push("}")}for(let se=0;se<this.array.length;se++){for(let ke=0;ke<this.array[se].length;ke++)ke>0&&z.push(" & "),z.push(pr.serialize(this.array[se][ke],y));if(se<this.array.length-1){const ke=this.rowGaps[se];ke!=null&&ke.dimension?z.push(`\\\\[${ke.dimension} ${(b=ke.unit)!=null?b:"pt"}] `):z.push("\\\\ ")}}return this.environmentName==="lines"?z.push("}"):z.push(`\\end{${this.environmentName}}`),Ta(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 ke of this.array[y][b])ke.parent=void 0,ke.parentBranch=void 0;let se=z;(z.length===0||z[0].type!=="first")&&(se=[new pr({type:"first",mode:this.mode}),...z]),this.array[y][b]=se;for(const ke of se)ke.parent=this,ke.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(Go(this));this.array.splice(y,0,b);for(let z=y;z<this.rowCount;z++)for(let se=0;se<this.colCount;se++){const ke=this.array[z][se];if(ke)for(const ze of ke)ze.parentBranch=[z,se]}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(Go(this));this.array.splice(y+1,0,b);for(let z=y+1;z<this.rowCount;z++)for(let se=0;se<this.colCount;se++){const ke=this.array[z][se];if(ke)for(const ze of ke)ze.parentBranch=[z,se]}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 se of z)if(se)for(const ke of se)ke.parent=void 0,ke.parentBranch=void 0;for(let z=y;z<this.rowCount;z++)for(let se=0;se<this.colCount;se++){const ke=this.array[z][se];if(ke)for(const ze of ke)ze.parentBranch=[z,se]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,Go(this));for(let b=0;b<this.rowCount;b++)for(let z=y;z<this.colCount;z++){const se=this.array[b][z];if(se)for(const ke of se)ke.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,Go(this));for(let b=0;b<this.rowCount;b++)for(let z=y+1;z<this.colCount;z++){const se=this.array[b][z];if(se)for(const ke of se)ke.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 se of z)if(se)for(const ke of se)ke.parent=void 0,ke.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let z=y;z<this.colCount;z++){const se=this.array[b][z];if(se)for(const ke of se)ke.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(se=>se.type!=="first"));return y}};function Go(a){const y=new pr({type:"first",mode:a.mode});y.parent=a;const b=new Qi;return b.parent=a,[y,b]}function Ko(a){const y=new Qr(null,{classes:"arraycolsep"});return y.width=a,y}function Xo(a,y,b,z){if(!z)return null;const se=[];for(const ke of y){const ze=pr.createBox(a,z,{type:"ignore"});ze&&(ze.depth=ke.depth,ze.height=ke.height,se.push({box:ze,shift:ke.pos-b}))}return new oo({individualShift:se}).wrap(a)}var is=class Im extends pr{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,se,ke;const ze=pr.createBox(y,this.body,{type:"lift"});if(!ze)return null;const rt=y.toEm((b=this.offset)!=null?b:{dimension:0});ze.depth+=rt,ze.setStyle("display","inline-block"),ze.setStyle("position","relative"),ze.setStyle("height",Math.floor(100*ze.height+ze.depth)/100,"em"),ze.setStyle("vertical-align",-Math.floor(100*ze.height)/100,"em");const ht=new Ha({parent:y},this.style),gt=ht.toEm((z=this.padding)!=null?z:{register:"fboxsep"}),xt=new Qr(null,{classes:"ML__box"});xt.height=ze.height+gt,xt.depth=ze.depth+gt,xt.setStyle("box-sizing","border-box"),xt.setStyle("position","absolute"),xt.setStyle("top",-gt+.3,"em"),xt.setStyle("left",0),xt.setStyle("height",xt.height+xt.depth,"em"),xt.setStyle("width","100%"),this.backgroundcolor&&xt.setStyle("background-color",(se=ht.toColor(this.backgroundcolor))!=null?se:"transparent"),this.framecolor&&xt.setStyle("border",`${ht.getRegisterAsEm("fboxrule",2)}em solid ${(ke=ht.toColor(this.framecolor))!=null?ke:"black"}`),this.border&&xt.setStyle("border",this.border);const jt=new Qr([xt,ze],{type:"lift"});return jt.setStyle("display","inline-block"),jt.setStyle("position","relative"),jt.setStyle("line-height",0),jt.height=ze.height+gt+(rt>0?rt:0),jt.depth=ze.depth+gt+(rt<0?-rt:0),jt.setStyle("padding-left",gt,"em"),jt.setStyle("padding-right",gt,"em"),jt.setStyle("height",Math.floor(100*(ze.height+ze.depth+2*gt+Math.abs(rt)))/100,"em"),jt.setStyle("margin-top",-gt,"em"),jt.setStyle("top",Math.floor(100*(ze.depth-ze.height+2*gt-rt))/100,"em"),jt.setStyle("vertical-align",Math.floor(100*(ze.depth+2*gt))/100,"em"),this.caret&&(jt.caret=this.caret),this.attachSupsub(y,{base:jt})}_serialize(y){return y.skipStyles?Ta([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},Uc=class Bm extends pr{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 Qr(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},ll=class Pm extends pr{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new Pm(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},Ds=class Lm extends pr{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 Lm(y.body,y.mode,y.style)}render(y){const b=pr.createBox(y,this.body,{type:this.boxType});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Et(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},no=class Rm extends pr{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 se=this.matchingRightDelim();return this.variant==="left...right"?Ta(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",se]):this.variant==="mleft...mright"?Ta(["\\mleft",(z=this.leftDelim)!=null?z:".",this.bodyToLatex(y),"\\mright",se]):Ta([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),se])}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 se=new Ha({parent:y},this.style);console.assert(this.body!==void 0);const ke=new Ha({parent:y,mathstyle:"textstyle"},this.style),ze=(b=pr.createBox(se,this.body,{type:"inner"}))!=null?b:new Qr(null,{type:"inner"}),rt=ze.height/ke.scalingFactor,ht=ze.depth/ke.scalingFactor,gt=[];if(this.leftDelim&&gt.push(this.bind(ke,yi("open",this.leftDelim,rt,ht,ke,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),ze&&(gs(ze.children,this,se,rt,ht),gt.push(ze)),this.rightDelim){let on=this.containsCaret?" ML__contains-caret":"",gn=this.rightDelim;gn==="?"&&(se.smartFence?(gn=this.matchingRightDelim(),on+=" ML__smart-fence__close"):gn="."),gt.push(this.bind(ke,yi("close",gn,rt,ht,ke,{isSelected:this.isSelected,classes:on+" ML__close",mode:this.mode,style:this.style})))}let xt=this.variant==="mleft...mright";const jt=this.leftSibling;jt&&(!xt&&jt.isFunction&&(xt=!0),!xt&&jt.type==="subsup"&&((z=jt.leftSibling)!=null&&z.isFunction)&&(xt=!0));const Gt=new Qr(gt,{type:xt?"close":"inner",classes:"left-right"});return Gt.setStyle("margin-top",`${-ze.depth}em`),Gt.setStyle("height",`${ze.height+ze.depth}em`),this.caret&&(Gt.caret=this.caret),this.bind(se,Gt.wrap(se))}};function gs(a,y,b,z,se){if(a)for(let ke=0;ke<a.length;ke++){const ze=a[ke];ze.type==="middle"?(a[ke]=y.bind(b,yi("inner",ze.value,z,se,b,{isSelected:y.isSelected})),a[ke].caret=ze.caret,a[ke].isSelected=ze.isSelected,a[ke].cssId=ze.cssId,a[ke].htmlData=ze.htmlData,a[ke].htmlStyle=ze.htmlStyle,a[ke].attributes=ze.attributes,a[ke].cssProperties=ze.cssProperties):ze.children&&gs(ze.children,y,b,z,se)}}var cd=class Nm extends pr{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=pr.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},pc=class _m extends pr{constructor(){super({type:"macro-argument"})}static fromJson(y){return new _m}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},Mc=class jm extends pr{constructor(y,b,z=!1,se,ke){var ze;super({type:"prompt",mode:(ze=ke==null?void 0:ke.mode)!=null?ze:"math",style:ke==null?void 0:ke.style,command:"\\placeholder"}),this.body=se,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 Ha({parent:y}),z=b.getRegisterAsEm("fboxsep"),se=z,ke=z,ze=pr.createBox(y,this.body);if(!ze)return null;ze.height||(ze.height=b.metrics.xHeight),ze.setStyle("vertical-align",-ze.height,"em"),this.correctness==="correct"?ze.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&ze.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const rt=new Qr(ze,{type:"ord"});rt.setStyle("display","inline-block"),rt.setStyle("height",ze.height+ze.depth,"em"),rt.setStyle("vertical-align",-ke,"em");let ht="ML__prompt ";this.locked?ht+=" ML__lockedPromptBox ":ht+=" ML__editablePromptBox ",this.correctness==="correct"?ht+=" ML__correctPromptBox ":this.correctness==="incorrect"&&(ht+=" ML__incorrectPromptBox "),this.containsCaret&&(ht+=" ML__focusedPromptBox ");const gt=new Qr(null,{classes:ht,attributes:{part:"prompt"}});gt.height=rt.height+ke,gt.depth=rt.depth+ke,gt.width=rt.width+2*se,gt.setStyle("box-sizing","border-box"),gt.setStyle("position","absolute"),gt.setStyle("height",rt.height+rt.depth+2*ke,"em"),se===0&&gt.setStyle("width","100%"),se!==0&&(gt.setStyle("width",`calc(100% + ${2*se}em)`),gt.setStyle("top",z,"em"),gt.setStyle("left",-se,"em")),(!this.body||this.body.length===1)&&(gt.width=3*se,gt.setStyle("width",`calc(100% + ${3*se}em)`),gt.setStyle("left",-1.5*se,"em"));let xt="";this.correctness==="incorrect"&&(xt+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),xt&&(gt.svgOverlay=xt);const jt=new Qr([gt,rt],{classes:"ML__prompt-atom"});return jt.setStyle("position","relative"),jt.setStyle("display","inline-block"),jt.setStyle("line-height",0),jt.height=rt.height+ke+.2,jt.depth=rt.depth+ke,jt.left=se,jt.right=se,jt.setStyle("height",rt.height+ke,"em"),jt.setStyle("top",rt.depth-rt.height,"em"),jt.setStyle("vertical-align",rt.depth+ke,"em"),jt.setStyle("margin-left",.5,"em"),jt.setStyle("margin-right",.5,"em"),this.caret&&(jt.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:jt}))}_serialize(y){var b;const z=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return z;let se="\\placeholder";return this.placeholderId&&(se+=`[${this.placeholderId}]`),this.correctness==="correct"?se+="[correct]":this.correctness==="incorrect"&&(se+="[incorrect]"),this.locked&&(se+="[locked]"),ho(se,z)}},$l=class Fm extends pr{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 uu)y[z]&&b.setChildren(y[z],z);return b}render(y){var b;const z=new Ha({parent:y,isPhantom:!0}),se=this.leftSibling,ke=(b=se.render(z))!=null?b:new Qr(null),ze=new Qr(null);return ze.height=ke.height,ze.depth=ke.depth,this.attachSupsub(y,{base:ze,isCharacterBox:se.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function fs(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var Vc=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var z,se,ke,ze;b!=null||(b={}),this.tokens=a,this.context=y instanceof Ha&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new Ha({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:(se=b.style)!=null?se:{},parseMode:(ke=b.parseMode)!=null?ke:"math",mathstyle:(ze=b.mathstyle)!=null?ze:"displaystyle",tabular:!1}}beginContext(a){var y,b,z;const se=this.parsingContext,ke={parent:se,mathlist:[],style:ie({},se.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:se.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:se.mathstyle,tabular:(z=a==null?void 0:a.tabular)!=null?z:!1};this.parsingContext=ke}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(ie({before:ml(this.tokens.slice(this.index,this.index+10)),after:ml(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 $l({style:this.style}),this.mathlist.push(a)),a}hasPattern(a){return a.test(this.tokens[this.index])}hasInfixCommand(){var a;const{index:y}=this;if(y<this.tokens.length&&this.tokens[y].startsWith("\\")){const b=Et(this.tokens[y],this.parseMode);return!b||b.definitionType==="symbol"||b.ifMode&&!b.ifMode.includes(this.parseMode)?!1:(a=b.infix)!=null?a:!1}return!1}matchColumnSeparator(){return!this.tabularMode||this.peek()!=="&"?!1:(this.index++,!0)}matchRowSeparator(){if(!this.tabularMode)return!1;const a=this.peek();return a!=="\\\\"&&a!=="\\cr"&&a!=="\\tabularnewline"?!1:(this.index++,!0)}placeholder(){var a;const y=(a=this.args)==null?void 0:a.call(this,"?");return y?Os(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new Qi({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 ke=this.get();fs(ke)?(z+=ke,b=this.end()||z.length>=a.length):b=!0}const se=a.toUpperCase()===z.toUpperCase();return se||(this.index=y),se}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(fs(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,se=this.peek();for(;se==="<space>"||se==="+"||se==="-";)this.get(),se==="-"&&(z=!z),se=this.peek();a=!!a;let ke=10,ze=/\d/;if(this.match("'"))ke=8,ze=/[0-7]/,a=!0;else if(this.match('"'))ke=16,ze=/[\dA-F]/,a=!0;else if(this.match("x"))ke=16,ze=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return se=this.get(),se?se.length===2&&se.startsWith("\\")?{number:(z?-1:1)*((y=se.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(z?-1:1)*((b=se.codePointAt(0))!=null?b:0),base:"alpha"}:null;let rt="";for(;this.hasPattern(ze);)rt+=this.get();if(!a&&(this.match(".")||this.match(",")))for(rt+=".";this.hasPattern(ze);)rt+=this.get();const ht=a?Number.parseInt(rt,ke):Number.parseFloat(rt);return Number.isNaN(ht)?null:{number:z?-ht:ht,base:ke===16?"hexadecimal":ke===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 ke=this.peek();if(ke==="-")z=!z;else if(ke!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const ke=this.get();return ke.startsWith("\\")?b?{register:ke,global:!0,factor:(z?-1:1)*b.number}:z?{register:ke,global:!0,factor:-1}:{register:ke,global:!0}:(this.index=y,null)}let se=this.get();return se!=null&&se.startsWith("\\")?(se=se.substring(1),this.context.registers[se]?!z||b!==null?{register:se,factor:(z?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:se}:(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()||!fs(this.peek()))return null;const se=this.scanString();return se.length>0?{string:se}: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=Ke(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 ht=this.scanArgument(rt.type);ht||this.onError({code:"missing-argument",arg:a}),b.push(ht)}this.beginContext({tabular:y.tabular});const z=[],se=[];let ke=[],ze=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),ze=!0),!ze&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),ze=!0),!ze)if(this.matchColumnSeparator())ke.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){ke.push(this.mathlist),this.mathlist=[];let rt=null;this.skipWhitespace(),this.match("[")&&(rt=this.scanDimen(),this.skipWhitespace(),this.match("]")),se.push(rt!=null?rt:{dimension:0}),z.push(ke),ke=[]}else this.mathlist.push(...this.scan(rt=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(rt)));while(!ze);return ke.push(this.mathlist),ke.length>0&&z.push(ke),this.endContext(),y.createAtom(a,z,se,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=ze=>ze==="<}>");let y="",b=null,z=[],se=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=Et(y,"math"),b&&(z=this.scanArguments(b)[1]),se=this.mathlist,this.mathlist=[]):this.parseExpression();let ke;return y?(console.assert(!!b),z.unshift(this.mathlist),se&&z.unshift(se),ke=[b.createAtom({command:y,args:z,style:this.style,mode:this.parseMode})]):ke=this.mathlist,this.endContext(),ke}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 Ds(y,this.parseMode,this.style);return b.verbatimLatex=ml(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 no("",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(!fs(a)&&!a.startsWith("\\"))return null;this.next();const y=Et(a,"math");return y?y.definitionType==="function"&&y.ifMode&&!y.ifMode.includes(this.parseMode)?(this.onError({code:"unexpected-delimiter",arg:a}),null):y.definitionType==="symbol"&&(y.type==="mopen"||y.type==="mclose")||/^(\.|\?|\||<|>|\\vert|\\Vert|\\\||\\surd|\\uparrow|\\downarrow|\\Uparrow|\\Downarrow|\\updownarrow|\\Updownarrow|\\mid|\\mvert|\\mVert)$/.test(a)?a:(this.onError({code:"unexpected-delimiter",arg:a}),null):(this.onError({code:"unknown-command",arg:a}),null)}scanLeftRight(){var a;if(this.match("\\right"))return this.onError({code:"unbalanced-braces"}),new ll("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new ll("\\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 ll(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const z=this.mathlist;this.endContext();const se=(a=this.scanDelim())!=null?a:".";return new no(y==="\\right"?"left...right":"mleft...mright",z,{leftDelim:b,rightDelim:se,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 pr({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new pr({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(et(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 se=a.params[z];se.type==="rest"?b.push(this.scan(ke=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(ke))):se.isOptional?b.push(this.scanOptionalArgument(se.type)):se.type.endsWith("*")?y=se.type.slice(0,-1):b.push(this.scanArgument(se.type)),z+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(fs(a)){const b=Vs.createAtom(this.parseMode,a,ie({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=Et(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new ll(a)];if(b.definitionType==="symbol"){const z=ie({},this.style);b.variant&&(z.variant=b.variant),y=new pr({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 ll(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 se=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),se}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const se=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),se}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 se=this.mathlist;return this.endContext(),{group:se}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const se=this.mathlist;return this.endContext(),{group:se}}let z=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const se=this.mathlist;return this.endContext(),{group:se}}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 se of z){const ke=se.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(ke)b.padding={dimension:parseInt(ke[1]),unit:ke[2]};else{const ze=se.match(/^\s*border\s*:\s*(.*)/);ze?b.border=ze[1]:b.backgroundcolor={string:se}}}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"),ht=this.scanOptionalArgument("math"),gt=pr.serialize(ht,{defaultMode:"math"});let xt=[],jt;!jt&&gt==="correct"?jt="correct":!jt&&gt==="incorrect"?jt="incorrect":gt!==""&&(xt=ht);const Gt=this.scanOptionalArgument("string")==="locked",on=this.scanArgument("auto");let gn;return on&&Array.isArray(on)&&on.length>0?gn=on:on&&typeof on=="object"&&"group"in on?gn=on.group:gn=xt,rt?[new Mc(rt,jt,Gt,gn!=null?gn:xt,{mode:this.parseMode,style:this.style})]:[new Qi({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const rt=this.index,ht=this.scanLiteralGroup()||this.next();if(!ht)return null;if(this.context.registers[ht.substring(1)]){const gt=this.scanArgument("string");gt!==null&&(this.context.registers[ht.substring(1)]=gt);const xt=Ta([a,ml(this.tokens.slice(rt,this.index))]);return[new pr({type:"text",value:"",verbatimLatex:xt})]}}let se=this.scanMacro(a);if(se)return[se];const ke=Et(a,this.parseMode);if(!ke)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(rt=>new pr({type:"text",value:rt,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new ll(a)]);const ze=this.index;if(ke.definitionType==="symbol"){const rt=ie({},this.style);ke.variant&&(rt.variant=ke.variant),se=new pr({type:ke.type,command:a,style:rt,value:String.fromCodePoint(ke.codepoint),mode:this.parseMode})}else{if(ke.ifMode&&!ke.ifMode.includes(this.parseMode))return[];const rt=this.parseMode;ke.applyMode&&(this.parseMode=ke.applyMode);let ht,gt=[];if(ke.parse?gt=ke.parse(this):[ht,gt]=this.scanArguments(ke),this.parseMode=rt,ke.applyMode&&!ke.applyStyle&&!ke.createAtom)return et(gt[0]);if(ke.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof ke.createAtom=="function")se=ke.createAtom({command:a,args:gt,style:this.style,mode:this.parseMode}),ht&&(se.body=et(this.scanArgument(ht)));else if(typeof ke.applyStyle=="function"){const xt=ie(ie({},this.style),ke.applyStyle(a,gt,this.context)),jt=this.parseMode;if(ke.applyMode&&(this.parseMode=ke.applyMode),ht){const Gt=this.style;this.style=xt;const on=this.scanArgument(ht);return this.style=Gt,this.parseMode=jt,et(on)}this.style=xt}else se=new pr({type:"mord",command:(b=ke.command)!=null?b:a,style:ie({},this.style),value:a,mode:(z=ke.applyMode)!=null?z:this.parseMode})}if(!se)return null;if(se instanceof pr&&se.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const rt=Ta([a,ml(this.tokens.slice(ze,this.index))]);rt&&(se.verbatimLatex=rt)}if(se.verbatimLatex===null&&(se.verbatimLatex=void 0),se.isFunction&&this.smartFence){const rt=this.scanSmartFence();if(rt)return[se,rt]}return[se]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(fs(a)){const y=Vs.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 fc(" "," ",this.style)]:null:(a==="<}>"?this.onError({latex:"",code:"unbalanced-braces"}):this.onError({latex:"",code:"unexpected-token",arg:a}),null)}scanMacro(a){var y;const b=this.context.getMacro(a);if(!b)return null;const z=this.index,se=b.args,ke={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let ze=1;ze<=se;ze++){let rt=this.scanLiteralGroup();if(!rt){const ht=this.index;this.scanExpression(),rt=ml(this.tokens.slice(ht,this.index))}ke[ze]=rt}return new cd(a,{expand:b.expand,captureSelection:b.captureSelection,args:z===this.index?null:ml(this.tokens.slice(z,this.index)),style:this.parsingContext.style,body:Os(b.def,{context:this.context,parseMode:this.parseMode,args:ze=>ke[ze],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,z;let se=(z=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?z:this.scanLeftRight();if(se===null){if(this.parseSupSub()||this.parseLimits())return!0;se=this.scanSymbolCommandOrLiteral()}return se?(Array.isArray(se)?this.mathlist.push(...se):this.mathlist.push(se),!0):!1}};function Os(a,y){var b,z,se,ke;const ze=(b=y==null?void 0:y.args)!=null?b:void 0,rt=new Vc(El(a,ze),y==null?void 0:y.context,{args:ze,mathstyle:(z=y==null?void 0:y.mathstyle)!=null?z:"displaystyle",parseMode:(se=y==null?void 0:y.parseMode)!=null?se:"math",style:(ke=y==null?void 0:y.style)!=null?ke:{}}),ht=[];for(;!rt.end();)ht.push(...rt.scan(()=>!1));return ht}function np(a,y){var b;const z=new Vc(El(a,null),y==null?void 0:y.context,{mathstyle:"displaystyle",parseMode:(b=y==null?void 0:y.parseMode)!=null?b:"math"});for(;!z.end();)z.scan();return z.errors}var rp=class zm extends pr{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const z=_o.go(Xr.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=Os(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=pr.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}};wt(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new rp(a.command,(y=a.args[0])!=null?y:"")}});var Xr={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 se,ke=10,ze=[];;){se!==a?(ke=10,se=a):ke--;var rt=Xr.stateMachines[y],ht=rt.transitions[b]||rt.transitions["*"];e:for(var gt=0;gt<ht.length;gt++){var xt=Xr.patterns.match_(ht[gt].pattern,a);if(xt){for(var jt=ht[gt].task,Gt=0;Gt<jt.action_.length;Gt++){var on;if(rt.actions[jt.action_[Gt].type_])on=rt.actions[jt.action_[Gt].type_](z,xt.match_,jt.action_[Gt].option);else if(Xr.actions[jt.action_[Gt].type_])on=Xr.actions[jt.action_[Gt].type_](z,xt.match_,jt.action_[Gt].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+jt.action_[Gt].type_+")"];Xr.concatArray(ze,on)}if(b=jt.nextState||b,a.length>0){if(jt.revisit||(a=xt.remainder),!jt.toContinue)break e}else return ze}}if(ke<=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=Xr.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 Xr.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return Xr.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return Xr.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return Xr.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return Xr.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return Xr.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return Xr.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return Xr.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return Xr.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return Xr.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return Xr.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return Xr.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return Xr.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 Xr.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return Xr.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return Xr.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return Xr.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 Xr.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return Xr.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return Xr.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return Xr.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return Xr.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return Xr.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return Xr.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return Xr.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=Xr.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,se,ke,ze,rt,ht,gt){var xt=function(qn,kr){if(typeof kr=="string")return qn.indexOf(kr)!==0?null:kr;var ii=qn.match(kr);return ii?ii[0]:null},jt=function(qn,kr,ii){for(var Lr=0;kr<qn.length;){var Li=qn.charAt(kr),Vi=xt(qn.substr(kr),ii);if(Vi!==null&&Lr===0)return{endMatchBegin:kr,endMatchEnd:kr+Vi.length};if(Li==="{")Lr++;else if(Li==="}"){if(Lr===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];Lr--}kr++}return Lr>0,null},Gt=xt(a,y);if(Gt===null||(a=a.substr(Gt.length),Gt=xt(a,b),Gt===null))return null;var on=jt(a,Gt.length,z||se);if(on===null)return null;var gn=a.substring(0,z?on.endMatchEnd:on.endMatchBegin);if(ke||ze){var tr=this.findObserveGroups(a.substr(on.endMatchEnd),ke,ze,rt,ht);if(tr===null)return null;var qr=[gn,tr.match_];return{match_:gt?qr.join(""):qr,remainder:tr.remainder}}else return{match_:gn,remainder:a.substr(on.endMatchEnd)}},match_:function(a,y){var b=Xr.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return Xr.patterns.patterns[a](y);var z=y.match(b);if(z){var se;return z[2]?se=[z[1],z[2]]:z[1]?se=z[1]:se=z[0],{match_:se,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 Xr.go(y,"text")},"{text}":function(a,y){var b=["{"];return Xr.concatArray(b,Xr.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return Xr.go(y,"tex-math")},"tex-math tight":function(a,y){return Xr.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 Xr.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 Xr.go(y,"9,9")}},createTransitions:function(a){var y,b,z,se,ke={};for(y in a)for(b in a[y])for(z=b.split("|"),a[y][b].stateArray=z,se=0;se<z.length;se++)ke[z[se]]=[];for(y in a)for(b in a[y])for(z=a[y][b].stateArray||[],se=0;se<z.length;se++){var ze=a[y][b];if(ze.action_){ze.action_=[].concat(ze.action_);for(var rt=0;rt<ze.action_.length;rt++)typeof ze.action_[rt]=="string"&&(ze.action_[rt]={type_:ze.action_[rt]})}else ze.action_=[];for(var ht=y.split("|"),gt=0;gt<ht.length;gt++)if(z[se]==="*")for(var xt in ke)ke[xt].push({pattern:ht[gt],task:ze});else ke[z[se]].push({pattern:ht[gt],task:ze})}return ke},stateMachines:{}};Xr.stateMachines={ce:{transitions:Xr.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 Xr.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 Xr.concatArray(b,this.output(a)),Xr.concatArray(b,Xr.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var z=Xr.patterns.match_("orbital",a.o||""),se=Xr.patterns.match_("one lowercase greek letter $",a.o||""),ke=Xr.patterns.match_("one lowercase latin letter $",a.o||""),ze=Xr.patterns.match_("$one lowercase latin letter$ $",a.o||""),rt=y==="-"&&(z&&z.remainder===""||se||ke||ze);rt&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!z&&ke&&(a.o="$"+a.o+"$");var ht=[];return rt?(Xr.concatArray(ht,this.output(a)),ht.push({type_:"hyphen"})):(z=Xr.patterns.match_("digits",a.d||""),b&&z&&z.remainder===""?(Xr.concatArray(ht,Xr.actions["d="](a,y)),Xr.concatArray(ht,this.output(a))):(Xr.concatArray(ht,this.output(a)),Xr.concatArray(ht,Xr.actions.bond(a,y,"-")))),ht},"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:Xr.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"&&Xr.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:Xr.go(a.a,"a"),b:Xr.go(a.b,"bd"),p:Xr.go(a.p,"pq"),o:Xr.go(a.o,"o"),q:Xr.go(a.q,"pq"),d:Xr.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var se;a.rdt==="M"?se=Xr.go(a.rd,"tex-math"):a.rdt==="T"?se=[{type_:"text",p1:a.rd||""}]:se=Xr.go(a.rd);var ke;a.rqt==="M"?ke=Xr.go(a.rq,"tex-math"):a.rqt==="T"?ke=[{type_:"text",p1:a.rq||""}]:ke=Xr.go(a.rq),z={type_:"arrow",r:a.r,rd:se,rq:ke}}for(var ze in a)ze!=="parenthesisLevel"&&ze!=="beginsWithBond"&&delete a[ze];return z},"oxidation-output":function(a,y){var b=["{"];return Xr.concatArray(b,Xr.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:Xr.go(y[0]),p2:Xr.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:Xr.go(y[0]),p2:Xr.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:Xr.go(y[0]),p2:Xr.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:Xr.go(y[0]),p2:Xr.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Xr.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:Xr.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:Xr.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:Xr.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:Xr.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:Xr.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Xr.go(y[1],"pq")}}}},bd:{transitions:Xr.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:Xr.go(y[1],"bd")}}}},oxidation:{transitions:Xr.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:Xr.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:Xr.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:Xr.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:Xr.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]&&(Xr.concatArray(b,Xr.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?Xr.concatArray(b,Xr.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]),Xr.concatArray(b,Xr.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=Xr.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var z=Xr.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 se={d:Xr.go(a.d,"pu"),q:Xr.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:se.d,p2:se.q}:(y=se.d,se.d.length>1||se.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),Xr.concatArray(y,se.q))}else y=Xr.go(a.d,"pu-2");for(var ke in a)delete a[ke];return y}}},"pu-2":{transitions:Xr.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=Xr.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=Xr.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var z in a)delete a[z];return y}}},"pu-9,9":{transitions:Xr.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 se in a)delete a[se];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 se in a)delete a[se];return y}}}};var _o={go:function(a,y){if(!a)return"";for(var b="",z=!1,se=0;se<a.length;se++){var ke=a[se];typeof ke=="string"?b+=ke:(b+=_o._go2(ke),ke.type_==="1st-level escape"&&(z=!0))}return!y&&!z&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&_o.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:_o._goInner(a.a),b:_o._goInner(a.b),p:_o._goInner(a.p),o:_o._goInner(a.o),q:_o._goInner(a.q),d:_o._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 "+_o._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+_o._goInner(a.p1);break;case"bond":if(y=_o._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 se="\\frac{"+_o._goInner(a.p1)+"}{"+_o._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+se+"}{"+se+"}{"+se+"}{"+se+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+_o._goInner(a.p1)+"}{"+_o._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+_o._goInner(a.p1)+"}{"+_o._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+_o._goInner(a.p1)+"}{"+_o._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+_o._goInner(a.p1)+"}_{"+_o._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+_o._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var ke={rd:_o._goInner(a.rd),rq:_o._goInner(a.rq)},ze=_o._getArrow(a.r);ke.rd||ke.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(ze="\\long"+ze,ke.rd&&(ze="\\overset{"+ke.rd+"}{"+ze+"}"),ke.rq&&(a.r==="<-->"?ze="\\underset{\\lower2mu{"+ke.rq+"}}{"+ze+"}":ze="\\underset{\\lower6mu{"+ke.rq+"}}{"+ze+"}"),ze=" {}\\mathrel{"+ze+"}{} "):(ke.rq&&(ze+="[{"+ke.rq+"}]"),ze+="{"+ke.rd+"}",ze=" {}\\mathrel{\\x"+ze+"}{} "):ze=" {}\\mathrel{\\long"+ze+"}{} ",y=ze;break;case"operator":y=_o._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 ky(a){}function My(a){}var ip=class Km extends pr{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 Qr(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Et(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):ho(this.command,this.value)}},ap=class Hm extends pr{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=Wn(this.value,this.size,y,{classes:{open:"mopen",close:"mclose"}[this.delimType],type:this.delimType,isSelected:this.isSelected});return b?(b=this.bind(y,b),this.caret&&(b.caret=this.caret),b):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Et(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):ho(this.command,this.value)}},Kd=class Wm extends pr{constructor(y,b,z,se){var ke,ze;super({type:"enclose",command:y,style:se.style}),this.body=b,this.backgroundcolor=se.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=(ke=se.shadow)!=null?ke:"none",this.strokeWidth=(ze=se.strokeWidth)!=null?ze:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=se.strokeStyle,this.svgStrokeStyle=se.svgStrokeStyle,this.strokeColor=se.strokeColor,this.borderStyle=se.borderStyle,this.padding=se.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=Et(this.command,this.mode);if(z!=null&&z.serialize)return z.serialize(this,y);let se=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){se+="{"+Object.keys(this.notation).join(" ")+"}";let ke="",ze="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(ke+=ze+'mathbackground="'+this.backgroundcolor+'"',ze=","),this.shadow&&this.shadow!=="auto"&&(ke+=ze+'shadow="'+this.shadow+'"',ze=","),this.strokeWidth||this.strokeStyle!=="solid"?(ke+=ze+this.borderStyle,ze=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(ke+=ze+'mathcolor="'+this.strokeColor+'"',ze=","),ke&&(se+=`[${ke}]`)}return ho(se,this.bodyToLatex(y))}render(y){const b=new Ha({parent:y},this.style),z=pr.createBox(b,this.body);if(!z)return null;const se=a0(this.borderStyle),ke=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});z.setStyle("position","relative"),z.setStyle("display","inline-block"),z.setStyle("top",ke,"em"),z.setStyle("height",z.height+z.depth,"em"),z.setStyle("width",z.width,"em");const ze=new Qr(null,{classes:"ML__notation"});let rt=z.height+z.depth+2*ke;const ht=z.width+2*ke;let gt="";if(this.notation.horizontalstrike&&(gt+=this.line(3,50,97,50)),this.notation.verticalstrike&&(gt+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(gt+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(gt+=this.line(3,3,97,97)),this.notation.updiagonalarrow){gt+=this.line(ke.toString(),(ke+z.depth+z.height).toString(),(ke+z.width).toString(),ke.toString());const gn=.03*Math.sqrt(ht*ht+rt*rt)*1,tr=z.width*gn,qr=(z.depth+z.height)*gn,qn=ke+z.width;let kr=ke;kr+qr-.4*tr<0&&(kr=.4*tr-qr),gt+='<polygon points="',gt+=`${qn},${kr} ${qn-tr-.4*qr},${kr+qr-.4*tr} `,gt+=`${qn-.7*tr},${kr+.7*qr} ${qn-tr+.4*qr},${kr+qr+.4*tr} `,gt+=`${qn},${kr}`,gt+=`" stroke='none' fill="${this.strokeColor}"`,gt+="/>"}let xt=0;if(this.notation.phasorangle){const Gt=op(b),on=(z.height+z.depth+2*Gt+ke).toString(),gn=(z.height+z.depth)/2;gt+=this.line(ke.toString(),on,(ke+gn+z.width).toString(),on),gt+=this.line(ke.toString(),on,(ke+gn).toString(),(ke-Gt).toString()),rt+=Gt,xt=gn,z.left+=rt/2-ke}if(this.notation.longdiv){const Gt=op(b);rt+=Gt,gt+=this.line(ke.toString(),ke.toString(),(ke+z.width).toString(),ke.toString());const on=.3;xt=on+Gt,z.left+=on+Gt,z.setTop(ke+Gt),gt+='<path d="',gt+=`M ${ke} ${ke} a${on} ${(z.depth+z.height+2*Gt)/2}, 0, 1, 1, 0 ${z.depth+z.height+2*Gt} "`,gt+=` stroke-width="${o0(b)}" stroke="${this.strokeColor}" fill="none"`,gt+="/>"}if(ze.width=z.width+2*ke+xt,ze.height=z.height+ke,ze.depth=z.depth+ke,ze.setStyle("box-sizing","border-box"),ze.setStyle("left",`calc(-${se} / 2 )`),ze.setStyle("height",`${Math.floor(100*rt)/100}em`),ze.setStyle("top",`calc(${se} / 2 )`),this.backgroundcolor&&ze.setStyle("background-color",this.backgroundcolor),this.notation.box&&ze.setStyle("border","1px solid red"),this.notation.actuarial&&(ze.setStyle("border-top",this.borderStyle),ze.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(ze.setStyle("border-bottom",this.borderStyle),ze.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(ze.setStyle("border-radius","8px"),ze.setStyle("border",this.borderStyle)),this.notation.circle&&(ze.setStyle("border-radius","50%"),ze.setStyle("border",this.borderStyle)),this.notation.top&&ze.setStyle("border-top",this.borderStyle),this.notation.left&&ze.setStyle("border-left",this.borderStyle),this.notation.right&&ze.setStyle("border-right",this.borderStyle),this.notation.bottom&&ze.setStyle("border-bottom",this.borderStyle),gt){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}"`),ze.svgStyle=Gt,ze.svgOverlay=gt}const jt=new Qr([ze,z]);return jt.setStyle("position","relative"),jt.setStyle("vertical-align",ke,"em"),jt.setStyle("height",`${Math.floor(100*(z.height+z.depth+2*ke))/100}em`),jt.setStyle("display","inline-block"),jt.height=ze.height,jt.depth=ze.depth,jt.width=ze.width-2*ke,jt.left=ke,jt.right=ke,this.caret&&(jt.caret=this.caret),jt.wrap(b)}line(y,b,z,se){return`<line x1="${Ef(y)}" y1="${Ef(b)}" x2="${Ef(z)}" y2="${Ef(se)}" vector-effect="non-scaling-stroke"></line>`}};function Ef(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?ns:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var ud=class Zm extends pr{constructor(y,b,z){var se,ke;super(oe(ie({},z),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(se=z==null?void 0:z.hasBarLine)!=null?se:!0,this.continuousFraction=(ke=z==null?void 0:z.continuousFraction)!=null?ke:!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 Zm(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 se=new Ha({parent:y,mathstyle:this.mathstyleName},this.style),ke=se.metrics,ze=new Ha({parent:se,mathstyle:this.continuousFraction?"":"numerator"},this.style),rt=this.numerPrefix?new Qr([new Qr(this.numerPrefix),pr.createBox(ze,this.above)],{isTight:ze.isTight,type:"ignore"}):(b=pr.createBox(ze,this.above,{type:"ignore"}))!=null?b:new Qr(null,{type:"ignore"}),ht=new Ha({parent:se,mathstyle:this.continuousFraction?"":"denominator"},this.style),gt=this.denomPrefix?new Qr([new Qr(this.denomPrefix),pr.createBox(ht,this.below,{type:"ignore"})]):(z=pr.createBox(ht,this.below,{type:"ignore"}))!=null?z:new Qr(null,{type:"ignore"}),xt=this.hasBarLine?ke.defaultRuleThickness:0;let jt,Gt=0,on;se.isDisplayStyle?(jt=ze.metrics.num1,Gt=xt>0?3*xt:7*xt,on=ht.metrics.denom1):(xt>0?(jt=ze.metrics.num2,Gt=xt):(jt=ze.metrics.num3,Gt=3*ke.defaultRuleThickness),on=ht.metrics.denom2);const gn=[];this.isSelected&&gn.push("ML__selected");const tr=rt.depth,qr=gt.height;let qn;if(xt<=0){const Ki=jt-tr-(qr-on);Ki<Gt&&(jt+=(Gt-Ki)/2,on+=(Gt-Ki)/2),qn=new oo({individualShift:[{box:rt,shift:-jt,classes:[...gn,"ML__center"]},{box:gt,shift:on,classes:[...gn,"ML__center"]}]}).wrap(se)}else{const Ki=new Qr(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});Ki.softWidth=Math.max(rt.width,gt.width),Ki.height=xt/2,Ki.depth=xt/2;const Za=ts+xt/2;jt<Gt+tr+Za&&(jt=Gt+tr+Za);const mo=ts-xt/2;on<Gt+qr-mo&&(on=Gt+qr-mo),qn=new oo({individualShift:[{box:gt,shift:on,classes:[...gn,"ML__center"]},{box:Ki,shift:-mo,classes:gn},{box:rt,shift:-jt,classes:[...gn,"ML__center"]}]}).wrap(se)}const kr=se.isDisplayStyle?ke.delim1:ke.delim2,ii=this.leftDelim?this.bind(y,Ti("open",this.leftDelim,kr,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Bi(se,"open");let Lr=null;this.continuousFraction?Lr=new Qr(null,{type:"close"}):this.rightDelim?Lr=this.bind(y,Ti("close",this.rightDelim,kr,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Lr=Bi(se,"close");const Li=new Qr([ii,qn,Lr],{isTight:se.isTight,type:"inner",classes:"mfrac"}),Vi=this.bind(y,Li);return this.caret&&(Vi.caret=this.caret),this.attachSupsub(y,{base:Vi})}},zs=class Um extends pr{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 Um(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 Qr(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}},Hd=class Vm extends pr{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new zs(b)),this.skipBoundary=!1}static fromJson(y){return new Vm("")}toJson(){return super.toJson()}render(y){const b=pr.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(se=>se.value).join(""))!=null?z:""}},hh=class Gm extends pr{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",se=new Qr(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(!se)return null;se.right=se.italic;const ke=(se.height-se.depth)/2-ts*y.scalingFactor,ze=se.italic;se.setTop(ke);let rt=se;if(this.superscript||this.subscript){const ht=(b=this.subsupPlacement)!=null?b:"auto";rt=ht==="over-under"||ht==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:se,baseShift:ke,slant:ze}):this.attachSupsub(y,{base:se})}return new Qr(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=Et(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=[];return z.push(this.command),this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&z.push("\\limits"),this.subsupPlacement==="adjacent"&&z.push("\\nolimits"),this.subsupPlacement==="auto"&&z.push("\\displaylimits")),z.push(this.supsubToLatex(y)),Ta(z)}},Lu=class Xm extends pr{constructor(y){const b=y.body;super(oe(ie({},y),{type:"overlap",body:typeof b=="string"?[new pr({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=pr.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new Qr([b,new Qr(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},ql=class Ym extends pr{constructor(y){var b,z,se,ke;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=(se=y.paddedBody)!=null?se:!1,this.paddedLabels=(ke=y.paddedLabels)!=null?ke:!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?ol(this.svgBody):pr.createBox(y,this.body,{type:"ignore"});const z=new Ha({parent:y,mathstyle:"scriptstyle"},this.style);let se=null;this.svgAbove?se=ol(this.svgAbove):this.above&&(se=pr.createBox(z,this.above,{type:"ignore"}));let ke=null;this.svgBelow?ke=ol(this.svgBelow):this.below&&(ke=pr.createBox(z,this.below,{type:"ignore"})),this.paddedBody&&(b=new Qr([Bi(y,"open"),b,Bi(y,"close")],{type:"ignore"}));let ze=s0(y,{base:b,above:se,below:ke,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return ze?(this.subsupPlacement==="over-under"?ze=this.attachLimits(y,{base:ze,type:ze.type}):ze=this.attachSupsub(y,{base:ze}),this.caret&&(ze.caret=this.caret),this.bind(y,ze)):null}};function s0(a,y){if(!y.base)return null;if(!y.above&&!y.below){const rt=new Qr(y.base,{type:y.type});return rt.setStyle("position","relative"),rt}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let z=null;const se=y.base,ke=0,ze=["ML__center"];if(y.paddedAboveBelow&&ze.push("ML__label_padding"),y.below&&y.above){const rt=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+se.depth+ke;z=new oo({bottom:rt,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:ze},{box:se,classes:["ML__center"]},b,{box:y.above,classes:ze},a.metrics.bigOpSpacing5]})}else y.below?z=new oo({top:se.height-ke,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:ze},{box:se,classes:["ML__center"]}]}):y.above&&(z=new oo({bottom:se.depth+ke,children:[{box:se,classes:["ML__center"]},b,{box:y.above,classes:ze},a.metrics.bigOpSpacing5]}));return new Qr(z,{type:y.type})}var Wd=class Jm extends pr{constructor(y){var b,z,se,ke;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=(se=y.smashHeight)!=null?se:!1,this.smashWidth=(ke=y.smashWidth)!=null?ke:!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 Ha({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),pr.createBox(b,this.body,{classes:"inner"});const z=pr.createBox(this.isInvisible?b:y,this.body);if(!z)return null;if(this.smashWidth){const se=new Qr(null,{classes:"fix"});return new Qr([z,se],{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 se of z.children)this.smashHeight&&(se.height=0),this.smashDepth&&(se.depth=0);return new oo({firstBaseline:[{box:z}]},{type:z.type}).wrap(y)}},Zd=class Qm extends pr{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 Qr(this.mode==="math"?null:" ");let z;if(this.width!==void 0)z=new Qr(null,{classes:"mspace"}),z.left=y.toEm(this.width);else{const se=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";z=new Qr(null,{classes:se})}return z=this.bind(y,z),this.caret&&(z.caret=this.caret),z}_serialize(y){var b;if(!y.expandMacro&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const z=Et(this.command,this.mode);if(z!=null&&z.serialize)return z.serialize(this,y);const se=(b=this.command)!=null?b:"";return this.width===void 0?se:this._braced&&!("register"in this.width)?`${se}{${No(this.width)}}`:`${se}${No(this.width)}`}},sp=class $m extends pr{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=Et(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=this.command,se=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?ho(`${z}[${this.aboveToLatex(y)}]`,se):/^[0-9]$/.test(se)?`${z}${se}`:ho(z,se)}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 Ha({parent:y,mathstyle:"cramp"},this.style),se=(b=pr.createBox(z,this.body,{type:"inner"}))!=null?b:new Qr(null),ke=z.scalingFactor,ze=z.metrics.defaultRuleThickness/ke,rt=y.isDisplayStyle?ns:ze,ht=new Qr(null,{classes:"ML__sqrt-line",style:this.style});ht.height=ze,ht.softWidth=se.width;let gt=ke*(ze+rt/4);const jt=Math.max(ke*2*rt,se.height+se.depth)+gt+ze,Gt=new Ha({parent:y},this.style),on=this.bind(Gt,new Qr(Ti("inner","\\surd",jt,!1,Gt,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!on)return null;const gn=on.height+on.depth-ze;gn>se.height+se.depth+gt&&(gt=(gt+gn-(se.height+se.depth))/2),on.setTop(on.height-se.height-gt);const tr=this.bind(y,new oo({firstBaseline:[{box:new Qr(se)},gt-2*ze,{box:ht},ze]})),qr=pr.createBox(new Ha({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!qr){const ii=new Qr([on,tr],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return ii.setStyle("display","inline-block"),ii.setStyle("height",ii.height+ii.depth,"em"),this.caret&&(ii.caret=this.caret),this.bind(y,ii)}const qn=new oo({shift:-.6*(Math.max(on.height,tr.height)-Math.max(on.depth,tr.depth)),children:[{box:qr}]}),kr=new Qr([new Qr(qn,{classes:"ML__sqrt-index",type:"ignore"}),on,tr],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return kr.height=on.height,kr.depth=on.depth,this.caret&&(kr.caret=this.caret),this.bind(y,kr)}},l0=class extends Qr{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 Af(a,y){if(!a.parent)return;const b=a.parent.children,z=b.indexOf(a);let se=z-1;for(;se>=0&&b[se].type==="ignore";)se-=1;if(se<0&&a.parent.parent&&a.parent.type==="lift"){Af(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){Vd(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 Ud(a,y){if(!a.children)return a;const b=a.children;d0(b);const z=y.getRegisterAsEm("thinmuskip"),se=y.getRegisterAsEm("medmuskip"),ke=y.getRegisterAsEm("thickmuskip");return Vd(b,(ze,rt)=>{var ht,gt,xt;if(!ze)return;const jt=ze.type,Gt=rt.isTight?(ht=u0[jt])!=null?ht:null:(gt=c0[jt])!=null?gt:null,on=(xt=Gt==null?void 0:Gt[rt.type])!=null?xt:null;on===3&&Af(rt,z),on===4&&Af(rt,se),on===5&&Af(rt,ke)}),a}function Vd(a,y,b=void 0){if(!a)return b;a=[...a];for(const z of a)z.type==="lift"?b=Vd(z.children,y,b):z.type==="ignore"?Vd(z.children,y):(y(b,z),Vd(z.children,y),b=z);return b}var ph=class qm extends pr{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new pr({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:pu(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=pr.createBox(new Ha,this.body);if(!b)return null;const z=new Ha({parent:y,mathstyle:"displaystyle"},{fontSize:co}),se=su(Ud(new Qr(this.tooltip.render(z),{classes:"ML__tooltip-content"}),z)),ke=new Qr([se,b],{classes:"ML__tooltip-container"});return this.caret&&(ke.caret=this.caret),this.bind(y,ke)}},Ru=class e0 extends pr{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 Qr(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let se=z;if(this.superscript||this.subscript){const ke=(b=this.subsupPlacement)!=null?b:"auto";se=ke==="over-under"||ke==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:z}):this.attachSupsub(y,{base:z})}return new Qr(this.bind(y,se),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Et(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=[this.command];return this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&z.push("\\limits"),this.subsupPlacement==="adjacent"&&z.push("\\nolimits"),this.subsupPlacement==="auto"&&z.push("\\displaylimits")),z.push(this.supsubToLatex(y)),Ta(z)}};function pu(a){if(re(a))return a.map(z=>pu(z));if(typeof a=="string")return pr.fromJson(a);a=ie({},a);for(const z of uu)a[z]&&(a[z]=pu(a[z]));a.args&&(a.args=f0(a.args)),a.array&&(a.array=pu(a.array));const y=a.type;let b;y==="accent"&&(b=te.fromJson(a)),y==="array"&&(b=ya.fromJson(a)),y==="box"&&(b=is.fromJson(a)),y==="chem"&&(b=rp.fromJson(a)),y==="composition"&&(b=Uc.fromJson(a)),y==="delim"&&(b=ip.fromJson(a)),y==="enclose"&&(b=Kd.fromJson(a)),y==="error"&&(b=ll.fromJson(a)),y==="extensible-symbol"&&(b=hh.fromJson(a)),y==="genfrac"&&(b=ud.fromJson(a)),y==="group"&&(b=Ds.fromJson(a)),y==="latex"&&(b=zs.fromJson(a)),y==="latexgroup"&&(b=Hd.fromJson(a)),y==="leftright"&&(b=no.fromJson(a)),y==="macro"&&(b=cd.fromJson(a)),y==="macro-argument"&&(b=pc.fromJson(a)),y==="operator"&&(b=Ru.fromJson(a)),y==="overlap"&&(b=Lu.fromJson(a)),y==="overunder"&&(b=ql.fromJson(a)),y==="placeholder"&&(b=Qi.fromJson(a)),y==="prompt"&&(b=Mc.fromJson(a)),y==="phantom"&&(b=Wd.fromJson(a)),y==="sizeddelim"&&(b=ap.fromJson(a)),y==="spacing"&&(b=Zd.fromJson(a)),y==="subsup"&&(b=$l.fromJson(a)),y==="surd"&&(b=sp.fromJson(a)),y==="text"&&(b=fc.fromJson(a)),y==="tooltip"&&(b=ph.fromJson(a)),b||(console.assert(!y||["first","mbin","mrel","mclose","minner","mop","mopen","mord","mpunct","root","space"].includes(y),`MathLive 0.98.5: an unexpected atom type "${y}" was encountered. Add new atom constructors to \`fromJson()\` in "atom.ts"`),b=pr.fromJson(a));for(const z of uu)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=>pu(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>pu(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 Vs{constructor(){super("math")}createAtom(a,y,b){var z,se,ke,ze;if(y===null)return new pr({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 gt=new pr({type:(se=y.type)!=null?se:"mord",mode:"math",command:(ke=y.command)!=null?ke:a,value:String.fromCodePoint(y.codepoint),style:b});return rt&&(gt.isFunction=!0),a.startsWith("\\")&&(gt.verbatimLatex=a),gt}const ht=new pr({type:"mord",mode:"math",command:(ze=y.command)!=null?ze:a,value:a,style:b});return rt&&(ht.isFunction=!0),a.startsWith("\\")&&(ht.verbatimLatex=a),ht}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,ht)=>{var gt;rt.test(a.value)&&m0[(gt=y.letterShapeStyle)!=null?gt:"tex"][ht]==="it"&&(z="italic")}),z==="up"&&(z=void 0);const se=z?b+"-"+z:b;console.assert(lp[se]!==void 0);const[ke,ze]=lp[se];return mh[b]&&!mh[b].test(a.value)?(a.value=dt(a.value,b,z),null):(cp.test(a.value)&&(a.classes+=" lcGreek"),ze&&(a.classes+=" "+ze),ke)}};function v0(a,y){const{parent:b}=a[0],z=up(b);return Ro(a,"variant").map(se=>{const ke=up(se[0]);let ze="";ke&&ke!==z&&(ze={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"}[ke],console.assert(ze!==void 0));const rt=Ta(se.map(ht=>ht._serialize(y)));return ze?ho(ze,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 Ro(a,"fontShape").map(b=>{const z=y0(b,y),{fontShape:se}=b[0].style;let ke="";return se==="it"&&(ke="\\textit"),se==="sl"&&(ke="\\textsl"),se==="sc"&&(ke="\\textsc"),se==="n"&&(ke="\\textup"),!ke&&se?`{${ho("\\fontshape",se)}${Ta(z)}}`:ke?ho(ke,Ta(z)):Ta(z)})}function x0(a,y){return Ro(a,"fontSeries").map(b=>{const z=b0(b,y),{fontSeries:se}=b[0].style;let ke="";return se==="b"&&(ke="\\textbf"),se==="l"&&(ke="\\textlf"),se==="m"&&(ke="\\textmd"),se&&!ke?`{${ho("\\fontseries",se)}${Ta(z)}}`:ke?ho(ke,Ta(z)):Ta(z)})}function w0(a,y){return Ro(a,"fontSize").map(b=>{var z,se;const ke=x0(b,y),ze=(se=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(z=b[0].style.fontSize)!=null?z:""])!=null?se:"";return ze?`${ze} ${Ta(ke)}`:Ta(ke)})}function S0(a,y,b){return Ro(a,"fontFamily").map(z=>{var se,ke;const ze=w0(z,y),rt=(ke={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(se=z[0].style.fontFamily)!=null?se:""])!=null?ke:"";return rt?`\\${rt}{${Ta(ze)}}`:z[0].style.fontFamily?`{\\fontfamily{${z[0].style.fontFamily}} ${Ta(ze)}}`:b?`\\text{${Ta(ze)}}`:Ta(ze)})}var dp={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},C0=class extends Vs{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new fc(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return S0(a,oe(ie({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,z,se,ke,ze;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 ht=y.fontSeries.match(/(.?[lbm])?(.?[cx])?/);ht&&(a.classes+=" ",a.classes+=(se={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=ht[1])!=null?z:""])!=null?se:"",a.classes+=" ",a.classes+=(ze={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"}[(ke=ht[2])!=null?ke:""])!=null?ze:"")}return"Main-Regular"}};new C0;var E0=class extends Vs{constructor(){super("latex")}createAtom(a){return new zs(a)}serialize(a,y){return a.filter(b=>b instanceof zs&&!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:[")",")",")",")"]}},k0={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:["=","=","=","="]}},M0={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"]}},D0={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:["=","=","=","="]}},O0={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"]}},P0={id:"windows.spanish",locale:"es",displayName:"Spanish",platform:"windows",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["z","Z","",""],Digit1:["1","!","|",""],Digit2:["2",'"',"@",""],Digit3:["3","\xB7","#",""],Digit4:["4","$","~",""],Digit5:["5","%","\u20AC",""],Digit6:["6","&","\xAC",""],Digit7:["7","/","",""],Digit8:["8","(","",""],Digit9:["9",")","",""],Digit0:["0","=","",""],Space:[" "," ","",""],Minus:["'","?","",""],Equal:["\xA1","\xBF","",""],BracketLeft:["`","^","[",""],BracketRight:["+","*","]",""],Backslash:["\xE7","\xC7","}",""],Semicolon:["\xF1","\xD1","",""],Quote:["\xB4","\xA8","{",""],Backquote:["\xBA","\xAA","\\",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},L0={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 dd(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=[],Xd;function vh(){switch(we()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function Hl(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[se,ke]of Object.entries(y.mapping)){if(ke[0]===a)return z.key=`[${se}]`,z;if(ke[1]===a)return z.shift=!0,z.key=`[${se}]`,z;if(ke[2]===a)return z.alt=!0,z.key=`[${se}]`,z;if(ke[3]===a)return z.shift=!0,z.alt=!0,z.key=`[${se}]`,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,se="";for(let ke=0;ke<4;ke++){for(const[ze,rt]of y)if(rt[ke]===a.key){se=ze,ke===3?(b=!0,z=!0):ke===2?b=!0:ke===1&&(z=!0);break}if(se)break}return new KeyboardEvent(a.type,oe(ie({},a),{altKey:b,shiftKey:z,code:se}))}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 se of Gd)((y=se.mapping[a.code])==null?void 0:y[z])===a.key?se.score+=1:(b=se.mapping[a.code])!=null&&b[z]&&(se.score=0);Gd.sort((se,ke)=>ke.score-se.score)}function F0(a){Xd=Gd.find(y=>a.startsWith(y.locale))}function Yd(){return Xd!=null?Xd:Gd[0]}function z0(){switch(vh()){case"apple":return gh;case"windows":return fp;case"linux":return hp}return gh}switch(vh()){case"apple":Hl(gh),Hl(k0),Hl(B0),Hl(D0);break;case"windows":Hl(fp),Hl(M0),Hl(P0),Hl(O0);break;case"linux":Hl(hp),Hl(T0),Hl(L0),Hl(I0);break}Hl(A0);function yh(a){var y;const b=/macos|ios/.test(we()),z=a.split("+");let se="";for(const ke of z)se&&(se+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),ke.startsWith("[Key")?se+=ke.slice(4,5):ke.startsWith("Key")?se+=ke.slice(3,4):ke.startsWith("[Digit")?se+=ke.slice(6,7):ke.startsWith("Digit")?se+=ke.slice(5,6):se+=(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"}[ke.toLowerCase()])!=null?y:ke.toUpperCase();return se}function kf(a){if(a instanceof MouseEvent||a instanceof PointerEvent)return{x:a.clientX,y:a.clientY};if(a instanceof TouchEvent){const y=[...a.touches].reduce((z,se)=>({x:z.x+se.clientX,y:z.y+se.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function Nu(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 Mf(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:H0.has(a.code)}function Tf(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var Tc=class Jc{static get scrim(){return Jc._scrim||(Jc._scrim=new Jc),Jc._scrim}static open(y){Jc.scrim.open(y)}static close(){Jc.scrim.close()}static get state(){return Jc.scrim.state}static get element(){return Jc.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=Tf();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 se=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const ke=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${ke+se}px`,y!=null&&y.child&&z.append(y.child),this.state="open"}close(){var y,b,z,se;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:ke}=this;ke.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),ke.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",Tf()!==this.savedActiveElement&&((se=(z=this.savedActiveElement)==null?void 0:z.focus)==null||se.call(z)),ke.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,se=null,ke=!1,ze=!1,rt=!1;const ht=new AbortController,gt=ht.signal;return a.addEventListener("keydown",xt=>{if(ke||xt.key==="Process"||xt.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(xt.code)){z=null;return}z=xt,se=null,b.onKeystroke(xt)?a.textContent="":z=null},{capture:!0,signal:gt}),a.addEventListener("keypress",xt=>{ke||(z&&se&&b.onKeystroke(z),se=xt)},{capture:!0,signal:gt}),a.addEventListener("compositionstart",xt=>{a.textContent="",ke=!0,b.onCompositionStart(xt.data)},{capture:!0,signal:gt}),a.addEventListener("compositionupdate",xt=>{ke&&b.onCompositionUpdate(xt.data)},{capture:!0,signal:gt}),a.addEventListener("compositionend",xt=>{a.textContent="",ke&&(ke=!1,b.onCompositionEnd(xt.data))},{capture:!0,signal:gt}),a.addEventListener("beforeinput",xt=>xt.stopImmediatePropagation(),{signal:gt}),a.addEventListener("input",xt=>{var jt;if(!ke&&(a.textContent="",xt.inputType!=="insertCompositionText")){if(xt.inputType==="insertFromPaste"){xt.preventDefault(),xt.stopPropagation();return}b.onInput((jt=xt.data)!=null?jt:""),xt.preventDefault(),xt.stopPropagation()}},{signal:gt}),a.addEventListener("paste",xt=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(xt)||xt.preventDefault(),xt.stopImmediatePropagation()},{signal:gt}),a.addEventListener("cut",xt=>b.onCut(xt),{capture:!0,signal:gt}),a.addEventListener("copy",xt=>b.onCopy(xt),{capture:!0,signal:gt}),a.addEventListener("blur",xt=>{var jt,Gt;if(((Gt=(jt=xt.relatedTarget)==null?void 0:jt._mathfield)==null?void 0:Gt.element)===y){a.focus({preventScroll:!0}),xt.preventDefault(),xt.stopPropagation();return}const on=Tc.state;if(on==="open"||on==="opening"){xt.preventDefault(),xt.stopPropagation();return}if(xt.relatedTarget===xt.target.getRootNode().host){xt.preventDefault(),xt.stopPropagation();return}rt||ze||(rt=!0,z=null,se=null,b.onBlur(),rt=!1)},{capture:!0,signal:gt}),a.addEventListener("focus",xt=>{rt||ze||(ze=!0,b.onFocus(),ze=!1)},{capture:!0,signal:gt}),{dispose:()=>ht.abort(),cancelComposition:()=>{ke&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!ze&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>Tf()===a,setAriaLabel:xt=>a.setAttribute("aria-label",xt),setValue:xt=>{var jt;a.textContent=xt,a.style.left="-1000px",(jt=window.getSelection())==null||jt.selectAllChildren(a)},moveTo:(xt,jt)=>{a.style.top=`${jt}px`,a.style.left=`${xt}px`}}}function fd(a){var y;if(!a||!Mf(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 Z0(a){if(ce()){const y=we(),b=a.startsWith("!"),z=a.endsWith(y);if(b&&!z||!b&&z)return!0}return a==="!other"?!1:a==="other"}function U0(a,y,b){if(a.length===0)return"";const z=dd(pp(mp(b))),se=dd({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 ke=a.length-1;ke>=0;ke--)if((a[ke].key===z||a[ke].key===se)&&(!a[ke].ifMode||a[ke].ifMode===y))return a[ke].command;return""}function gp(a){let y=a;return re(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function V0(a,y){let b=[];if(typeof y=="string"){const ke=Rd[y];re(ke)?b=ke.slice():ke&&b.push(ke)}const z=gp(y),se=new RegExp("^"+z.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const ke of a)se.test(gp(ke.command))&&b.push(ke.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&&!Z0(z))return;if(/^\[.+\]$/.test(b.key))return oe(ie({},a),{key:dd(b)});const se=N0(b.key,y);if(!se)return oe(ie({},a),{key:dd(b)});if(se.shift&&b.shift||se.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${bh(a.command)}) is conflicting with the key combination ${dd(se)} using the ${y.displayName} keyboard layout`);return se.shift=se.shift||b.shift,se.alt=se.alt||b.alt,se.meta=b.meta,se.ctrl=b.ctrl,oe(ie({},a),{key:dd(se)})}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 se of a)try{const ke=G0(se,y);if(!ke)continue;const ze=z.find(rt=>rt.key===ke.key&&rt.ifMode===ke.ifMode);if(ze)throw new Error(`Ambiguous key binding ${se.key} (${bh(se.command)}) matches ${ze.key} (${bh(ze.command)}) with the ${y.displayName} keyboard layout`);z.push(ke)}catch(ke){ke instanceof Error&&b.push(ke.message)}return[z,b]}var Y0=class extends ma{constructor(){super("latex")}createAtom(a){return new zs(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"}),Yo(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 se=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Ts(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 ke=[];for(const ht of y)he.test(ht)&&ke.push(new zs(ht));let ze=a.at(a.position);if(ze instanceof Hd&&(ze=ze.lastChild),!(ze.parent instanceof Hd)){const ht=new Hd("");ze.parent.addChildAfter(ht,ze),ze=ht.firstChild}const rt=ze.parent.addChildrenAfter(ke,ze);return a.silenceNotifications=se,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 Jd(a){var y,b;const z=a.atoms.find(se=>se.type==="latexgroup");return z?(b=(y=z.body)==null?void 0:y.filter(se=>se.type==="latex"))!=null?b:[]:[]}function vp(a,y){var b;let z=0,se=!1;const ke=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;z<=ke&&!se;){const ht=a.at(z);se=ht instanceof zs&&ht.isSuggestion,se||z++}if(!se)return[void 0,void 0];let ze=z,rt=!1;for(;ze<=ke&&!rt;){const ht=a.at(ze);rt=!(ht instanceof zs&&ht.isSuggestion),rt||ze++}return[z-1,ze-1]}new Y0;function Df(a){const y=Jd(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 Qd(a,y){var b;const{model:z}=a;Df(a);for(const xt of Jd(z))xt.isError=!1;if(!z.selectionIsCollapsed||a.options.popoverPolicy==="off"){pd(a);return}const se=[];let ke=z.at(z.position);for(;ke&&ke instanceof zs&&/^[a-zA-Z\*]$/.test(ke.value);)ke=ke.leftSibling;if(ke&&ke instanceof zs&&ke.value==="\\")for(se.push(ke),ke=ke.rightSibling;ke&&ke instanceof zs&&/^[a-zA-Z\*]$/.test(ke.value);)se.push(ke),ke=ke.rightSibling;const ze=se.map(xt=>xt.value).join(""),rt=Ue(a,ze);if(rt.length===0){if(/^\\[a-zA-Z\*]+$/.test(ze))for(const xt of se)xt.isError=!0;pd(a);return}const ht=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=ht<0?rt.length-1:ht%rt.length;const gt=rt[a.suggestionIndex];if(gt!==ze){const xt=se[se.length-1];xt.parent.addChildrenAfter([...gt.slice(ze.length-gt.length)].map(jt=>new zs(jt,{isSuggestion:!0})),xt),_u(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(se=>{se.isSuggestion&&(se.isSuggestion=!1,z=!0)}),z}function hd(a,y="accept",b){var z,se;pd(a);const ke=J0(a.model);if(!ke)return!1;if(y==="accept-suggestion"||y==="accept-all"){const gt=Jd(a.model).filter(xt=>xt.isSuggestion);if(gt.length!==0){for(const xt of gt)xt.isSuggestion=!1;a.model.position=a.model.offsetOf(gt[gt.length-1])}if(y==="accept-suggestion")return gt.length!==0}const rt=Jd(a.model).filter(gt=>!gt.isSuggestion).map(gt=>gt.value).join(""),ht=ke.leftSibling;return ke.parent.removeChild(ke),a.model.position=a.model.offsetOf(ht),a.switchMode((z=b==null?void 0:b.mode)!=null?z:"math"),y==="reject"||(ma.insert(a.model,rt,{selectionMode:(se=b==null?void 0:b.selectItem)!=null&&se?"item":"placeholder",format:"latex",mode:"math"}),a.snapshot(),a.model.announce("replacement"),a.switchMode("math")),!0}function Of(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 Ha({from:a.context}),z=new pr({mode:"math",type:"root",body:Os(y,{context:b})}),se=su(Ud(new Qr(z.render(b),{classes:"ML__base"}),b));return lu(se,{classes:"ML__latex"}).toMarkup()}function $0(a,y){var b;if(y.length===0){pd(a);return}let z="";for(const[ke,ze]of y.entries()){const rt=ze,ht=Q0(a,ze),gt=V0(a.keybindings,rt).join("<br>");z+=`<li role="button" data-command="${rt}" ${ke===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${rt}</span><span class="ML__popover__command">${ht}</span>`,gt&&(z+=`<span class="ML__popover__keybinding">${gt}</span>`),z+="</li>"}const se=q0(a,`<ul>${z}</ul>`);wh()&&((b=se.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var ke;se&&!wh()&&(se.classList.add("is-visible"),If(a),(ke=se.querySelector(".ML__popover__current"))==null||ke.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function wh(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function If(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"){pd(a);return}if(y!=null&&y.deferred){setTimeout(()=>If(a),32);return}const z=kc(a.field);if(!z)return;const se=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,ke=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,ze=window.innerWidth-document.documentElement.clientWidth,rt=window.innerHeight-document.documentElement.clientHeight,ht=window.mathVirtualKeyboard.boundingRect.height,gt=document.getElementById("mathlive-suggestion-popover");z.x+gt.offsetWidth/2>ke-ze?gt.style.left=`${ke-gt.offsetWidth-ze}px`:z.x-gt.offsetWidth/2<0?gt.style.left="0":gt.style.left=`${z.x-gt.offsetWidth/2}px`;const xt=z.y-z.height;se-rt-ht-z.y<xt?(gt.classList.add("ML__popover--reverse-direction"),gt.classList.remove("top-tip"),gt.classList.add("bottom-tip"),gt.style.top=`${z.y-z.height-gt.offsetHeight-15}px`):(gt.classList.remove("ML__popover--reverse-direction"),gt.classList.add("top-tip"),gt.classList.remove("bottom-tip"),gt.style.top=`${z.y+15}px`)}function pd(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=Of("mathlive-suggestion-popover"),Dl("suggestion-popover"),Dl("core"),b.addEventListener("pointerdown",z=>z.preventDefault()),b.addEventListener("click",z=>{let se=z.target;for(;se&&!se.dataset.command;)se=se.parentElement;se&&(hd(a,"reject"),ma.insert(a.model,se.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"),x("suggestion-popover"),x("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 Bf=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 bu(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(Bf===null)try{const y=yield fetch(Sh,{method:"HEAD"});y.status===200&&(Bf=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${Sh}")`)}return new URL(a,Bf!=null?Bf:Sh).href})}function ng(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var Wl="not-loaded";function rg(){return bu(this,null,function*(){return Wl="not-loaded",Pf()})}function Pf(){return bu(this,null,function*(){var a;if(Wl!=="not-loaded")return;if(Wl="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){Wl="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(ze=>ze.family);if(b.every(ze=>z.includes(ze))){Wl="ready";return}if(!window.MathfieldElement.fontsDirectory){Wl="not-loaded";return}const se=yield wp(window.MathfieldElement.fontsDirectory);if(!se){document.body.classList.add("ML__fonts-did-not-load"),Wl="error";return}const ke=[["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(ze=>ng(ze[0].replace(/-[a-zA-Z]+$/,""),`${se}/${ze[0]}`,ze[1]));try{(yield Promise.all(ke.map(rt=>{try{return rt.load()}catch(ht){}}))).forEach(rt=>document.fonts.add(rt)),Wl="ready";return}catch(ze){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${se}"`,{cause:ze}),document.body.classList.add("ML__fonts-did-not-load")}Wl="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 Yo(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{zl(a)&&a.dirty&&(a.atomBoundsCache=new Map,_u(a,y),a.atomBoundsCache=void 0)})))}function ag(a,y){var b;y=y!=null?y:{};const z=new Ha({from:oe(ie({},a.context),{atomIdsSettings:{seed:y.forHighlighting?ig(pr.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"}),se=a.model.root.render(z);return lu(Ud(se,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 se of b.atoms)se.caret=void 0,se.isSelected=!1,se.containsCaret=!1;if(b.selectionIsCollapsed){const se=b.at(b.position);se.caret=a.model.mode;let ke=se.parent;for(;ke;)ke.containsCaret=!0,ke=ke.parent}else{const se=b.getAtoms(b.selection,{includeChildren:!0});for(const ke of se)ke.isSelected=!0}return ag(a,y).toMarkup()}function _u(a,y){if(!zl(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 se=a.isSelectionEditable&&a.hasFocus(),ke=z.classList.contains("ML__focused");ke&&!se?z.classList.remove("ML__focused"):!ke&&se&&z.classList.add("ML__focused");let ze=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 ht=a.options.contentPlaceholder;ht&&(ze+=`<span part=placeholder class="ML__content-placeholder">${Is(ht)}</span>`)}z.innerHTML=window.MathfieldElement.createHTML(ze),Lf(a,y.interactive),a.dirty=!1}function Lf(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)&&Wl!=="error"&&Wl!=="ready"&&setTimeout(()=>{Wl==="ready"?Lf(a):setTimeout(()=>Lf(a),128)},32);const z=a.model,se=b.offsetWidth,ke=b.getBoundingClientRect().width;let ze=Math.floor(ke)/se;if(ze=isNaN(ze)?1:ze,z.selectionIsCollapsed){If(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 ht=_d(a,du(a,rt),ze);if(ht){ht.left/=ze,ht.right/=ze,ht.top/=ze,ht.bottom/=ze;const gt=document.createElement("div");gt.classList.add("ML__contains-highlight"),gt.style.position="absolute",gt.style.left=`${ht.left+1}px`,gt.style.top=`${Math.ceil(ht.top)}px`,gt.style.width=`${Math.ceil(ht.right-ht.left)}px`,gt.style.height=`${Math.ceil(ht.bottom-ht.top)}px`,b.insertBefore(gt,b.childNodes[0])}}return}for(const rt of og(Fd(a,{excludeAtomsWithBackground:!0}))){rt.left/=ze,rt.right/=ze,rt.top/=ze,rt.bottom/=ze;const ht=document.createElement("div");ht.classList.add("ML__selection"),ht.style.position="absolute",ht.style.left=`${rt.left}px`,ht.style.top=`${rt.top}px`,ht.style.width=`${Math.ceil(rt.right-rt.left)}px`,ht.style.height=`${Math.ceil(rt.bottom-rt.top-1)}px`,b.insertBefore(ht,b.childNodes[0])}}function og(a){let y=[];for(const b of a){let z=!1;for(const se of y)if(b.left===se.left&&b.right===se.right&&b.top===se.top&&b.bottom===se.bottom){z=!0;break}z||y.push(b)}a=y,y=[];for(const b of a){let z=0;for(const se of a)if(b.left>=se.left&&b.right<=se.right&&b.top>=se.top&&b.bottom<=se.bottom&&(z+=1,z>1))break;z===1&&y.push(b)}return y}var Cp=3,Dc;function Ol(a,y){y=ie({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),Dc||(Dc={});for(const b of Object.keys(a))console.assert(!Dc[b],"Selector already defined: ",b),Dc[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()),Dc[y]}function md(a){var y;return(y=Ch(a))==null?void 0:y.target}function sg(a,y){var b;if(!y)return!1;let z,se=[],ke=!1,ze=!1;re(y)?(z=y[0],se=y.slice(1)):z=y,z=z.replace(/-\w/g,gt=>gt[1].toUpperCase());const rt=Dc[z],ht=rt==null?void 0:rt.target;if(ht==="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)||Df(a),Dc[z].fn(a.model,...se),Qd(a),ze=!0,ke=!0}else if(ht==="virtual-keyboard")ze=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,ke=!0;else if(Dc[z]){if(!a.isSelectionEditable&&(rt!=null&&rt.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(z)&&a.flushInlineShortcutBuffer(),ze=Dc[z].fn(a,...se),ke=!0}else throw new Error(`Unknown command "${z}"`);return ht!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||rt!=null&&rt.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),rt!=null&&rt.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),ze&&Yo(a),ke}function lg(a,y){var b;if(!a)return!1;a.focus(),ym.keypressVibration&&me()&&navigator.vibrate(Cp);const z=Ch(y);window.MathfieldElement.playSound((b=z==null?void 0:z.audioFeedback)!=null?b:"keypress");const se=a.executeCommand(y);return a.scrollIntoView(),se}Ol({performWithFeedback:(a,y)=>lg(a,y)});function cg(a){return Qd(a,{atIndex:a.suggestionIndex+1}),!1}function ug(a){return Qd(a,{atIndex:a.suggestionIndex-1}),!1}Ol({complete:hd},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),Ol({nextSuggestion:cg,previousSuggestion:ug},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var Rf="mathlive#virtual-keyboard-message";function Eh(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===Rf}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(!zd(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;md(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:Rf,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]"]]}},Nf={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"}]},$d;function Ap(a,y){var b,z,se;const ke=mu.singleton;if(!ke)return;const ze=gd(a),rt=(z=(b=ke.getKeycap(ze==null?void 0:ze.id))==null?void 0:b.variants)!=null?z:"";if(typeof rt=="string"&&!kp(rt)||Array.isArray(rt)&&rt.length===0){y==null||y();return}const ht={};let gt="";for(const tr of hg(rt)){const qr=Tp(tr),qn=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);ht[qn]=qr;const[kr,ii]=_f(qr);gt+=`<div id=${qn} class="item ${ii}">${kr}</div>`}const xt=document.createElement("div");xt.setAttribute("aria-hidden","true"),xt.className="MLK__variant-panel",xt.style.height="auto";const jt=Object.keys(ht).length;let Gt=5;jt===1?Gt=1:jt===2||jt===4?Gt=2:jt===3||jt===5||jt===6?Gt=3:jt>=7&&jt<14&&(Gt=4),xt.style.width=`calc(var(--variant-keycap-length) * ${Gt} + 12px)`,xt.innerHTML=ym.createHTML(gt),Tc.open({root:(se=ke==null?void 0:ke.container)==null?void 0:se.querySelector(".ML__keyboard"),child:xt}),$d=new AbortController;const{signal:on}=$d,gn=a==null?void 0:a.getBoundingClientRect();if(gn){gn.top-xt.clientHeight<0&&(xt.style.width="auto",jt<=6?xt.style.height="56px":jt<=12?xt.style.height="108px":jt<=18?xt.style.height="205px":xt.classList.add("compact"));const tr=Math.max(0,Math.min(window.innerWidth-xt.offsetWidth,(gn.left+gn.right-xt.offsetWidth)/2)),qr=gn.top-xt.clientHeight+5;xt.style.transform=`translate(${tr}px, ${qr}px)`,xt.classList.add("is-visible"),requestAnimationFrame(()=>{xt.addEventListener("pointerup",qn=>{const kr=gd(qn.target);!(kr!=null&&kr.id)||!ht[kr.id]||(Ah(ht[kr.id]),qd(),y==null||y(),qn.preventDefault())},{capture:!0,passive:!1,signal:on}),xt.addEventListener("pointerenter",qn=>{const kr=gd(qn.target);!(kr!=null&&kr.id)||!ht[kr.id]||kr.classList.add("is-active")},{capture:!0,signal:on}),xt.addEventListener("pointerleave",qn=>{const kr=gd(qn.target);!(kr!=null&&kr.id)||!ht[kr.id]||kr.classList.remove("is-active")},{capture:!0,signal:on}),window.addEventListener("pointercancel",()=>{qd(),y==null||y()},{signal:on}),window.addEventListener("pointerup",()=>{qd(),y==null||y()},{signal:on})})}}function qd(){$d==null||$d.abort(),$d=null,Tc.state==="open"&&Tc.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 kp(a){return Nf[a]!==void 0}function hg(a){var y;return typeof a!="string"?a:(Nf[a]||(Nf[a]=(y=fg(a))!=null?y:[]),Nf[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 ef(a){if(!a)return"";const y=new Ha,b=new pr({mode:"math",type:"root",body:Os(a,{context:y,args:se=>se==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),z=su(Ud(new Qr(b.render(y),{classes:"ML__base"}),y));return lu(z,{classes:"ML__latex"}).toMarkup()}function tf(a){var y;if(Array.isArray(a))return a.map(z=>tf(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(se=>Tp(se)))),(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 se={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},ke=(y=se[z])!=null?y:se.qwerty,ze=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 ke){const ht=[];for(const gt of rt)/[a-z]/.test(gt)?ht.push({label:gt,class:"hide-shift",shift:{label:gt.toUpperCase()},variants:kp(gt)?gt:void 0}):gt==="~"?z!=="dvorak"?ht.push("[backspace]"):ht.push({label:"[backspace]",width:1}):gt==="^"?ht.push("[shift]"):gt===" "&&ht.push("[separator-5]");ze.push(ht)}return ze.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:tf({rows:ze})}}function Mp(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}"`),Mp(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 se=a,{rows:ke}=se,ze=pe(se,["rows"]);y=oe(ie({},ze),{layers:tf({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const se=a,{markup:ke}=se,ze=pe(se,["markup"]);y=oe(ie({},ze),{layers:tf(a.markup)})}else y=ie({},a),"layers"in a?y.layers=tf(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,z=!1;for(const se of y.layers)if(se.rows)for(const ke of se.rows.flat()){vd(ke)&&(b=!0);const ze=ke.command;typeof ze=="string"&&["undo","redo","cut","copy","paste"].includes(ze)&&(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 se='<div class="left">';if(a.normalizedLayouts.length>1)for(const[ke,ze]of a.normalizedLayouts.entries()){const rt=ze,ht=[ke===y?"selected":"layer-switch"];rt.tooltip&&ht.push("MLK__tooltip"),rt.labelClass&&ht.push(...rt.labelClass.split(" ")),se+=`<div class="${ht.join(" ")}"`,rt.tooltip&&(se+=" data-tooltip='"+((b=Ee(rt.tooltip))!=null?b:rt.tooltip)+"' "),ke!==y&&(se+=`data-layer="${rt.layers[0].id}"`),se+=`>${(z=rt.label)!=null?z:"untitled"}</div>`}return se+="</div>",se}function yg(a,y){let b="";if(a.editToolbar==="none")return"";const se=[];y.selectionIsCollapsed?se.push("undo","redo","pasteFromClipboard"):se.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const ke={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
data-command='"undo"'
data-tooltip='${Ee("tooltip.undo")}'>
<svg><use xlink:href='#svg-undo' /></svg>
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
data-command='"redo"'
data-tooltip='${Ee("tooltip.redo")}'>
<svg><use xlink:href='#svg-redo' /></svg>
</div>`,cutToClipboard:`
<div class='action'
data-command='"cutToClipboard"'
data-tooltip='${Ee("tooltip.cut to clipboard")}'>
<svg><use xlink:href='#svg-cut' /></svg>
</div>
`,copyToClipboard:`
<div class='action'
data-command='"copyToClipboard"'
data-tooltip='${Ee("tooltip.copy to clipboard")}'>
<svg><use xlink:href='#svg-copy' /></svg>
</div>
`,pasteFromClipboard:`
<div class='action'
data-command='"pasteFromClipboard"'
data-tooltip='${Ee("tooltip.paste from clipboard")}'>
<svg><use xlink:href='#svg-paste' /></svg>
</div>
`};return b+=se.map(ze=>ke[ze]).join(""),b}function bg(a){for(const y of a)xg(y)}function xg(a){const y=mu.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,se]=_f(b);a.innerHTML=window.MathfieldElement.createHTML(z)}}function wg(){Dl("virtual-keyboard"),Dl("core"),Pf()}function Sg(){x("core"),x("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((ze,rt)=>Ag(a,ze,rt)).join(""));const z=document.createElement("div");z.className="MLK__backdrop",z.appendChild(b),y.appendChild(z),y.addEventListener("pointerdown",Mg,{passive:!1});const se=y.querySelectorAll(".ML__edit-toolbar");if(se)for(const ze of se)ze.addEventListener("click",rt=>{var ht,gt;let xt=rt.target,jt="";for(;xt&&!jt;)jt=(ht=xt==null?void 0:xt.getAttribute("data-command"))!=null?ht:"",xt=(gt=xt==null?void 0:xt.parentElement)!=null?gt:null;jt&&a.executeCommand(JSON.parse(jt))});bg(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const ke=y.querySelectorAll(".MLK__layer");console.assert(ke.length>0,"No virtual keyboards available");for(const ze of ke)ze.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 se of y.layers)z.push(`<div tabindex="-1" class="MLK__layer" id="${se.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(kg(a,se)),z.push("</div>");return z.join("")}function kg(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 se of z)if(se){const ke=a.registerKeycap(se),[ze,rt]=_f(se);/(^|\s)separator/.test(rt)?b+=`<div class="${rt}"`:b+=`<div tabindex="-1" id="${ke}" class="${rt}"`,se.tooltip&&(b+=` data-tooltip="${se.tooltip}"`),b+=`>${ze}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function _f(a,y={shifted:!1}){var b,z,se,ke,ze,rt,ht;let gt="",xt=(b=a.class)!=null?b:"";if(y.shifted&&vd(a)&&(xt+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?gt=ef(a.shift):typeof a.shift=="object"&&(gt=a.shift.label?a.shift.label:(z=ef(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?z:""),typeof a.shift=="object"&&(xt=(ke=(se=a.shift.class)!=null?se:a.class)!=null?ke:"");else{if(gt=a.label?a.label:(ze=ef(a.latex||a.insert||"")||a.key)!=null?ze:"",a.shift){let jt;typeof a.shift=="string"?jt=ef(a.shift):a.shift.label?jt=a.shift.label:jt=(rt=ef(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?rt:"",gt+=`<span class="MLK__shift">${jt}</span>`}a.aside&&(gt+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(xt)&&(xt+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(xt)||(xt+=" MLK__keycap"),!/\bw[0-9]+\b/.test(xt)&&a.width&&(xt+=(ht={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?ht:""),[gt,xt||"MLK__keycap"]}var ju={"[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="[,]"),!ju[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&ju[a.label]&&(b=oe(ie(ie({},ju[a.label]),a),{label:ju[a.label].label})),"key"in a&&a.key&&ju[a.key]&&(b=oe(ie(ie({},ju[a.key]),a),{key:ju[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 nf;function Mg(a){var y;if(a.button!==0)return;const b=mu.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 se=gd(a.target);if(!(se!=null&&se.id))return;const ke=b.getKeycap(se.id);if(!ke)return;console.assert(a.type==="pointerdown");const ze=new AbortController,rt=ze.signal;se.classList.add("is-pressed"),se.addEventListener("pointerenter",jf(ze),{capture:!0,signal:rt}),se.addEventListener("pointerleave",jf(ze),{capture:!0,signal:rt}),se.addEventListener("pointercancel",jf(ze),{signal:rt}),se.addEventListener("pointerup",jf(ze),{signal:rt}),vd(ke)&&(se.classList.add("is-active"),b.shiftPressCount++),ke.variants&&(nf&&clearTimeout(nf),nf=setTimeout(()=>{se.classList.contains("is-pressed")&&(se.classList.remove("is-pressed"),se.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),Ap(se,()=>{ze.abort(),se==null||se.classList.remove("is-active")}))},300)),a.preventDefault()}function jf(a){return y=>{const b=gd(y.target);if(!(b!=null&&b.id))return;const z=mu.singleton;if(!z)return;const se=z.getKeycap(b.id);if(se){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),vd(se)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),vd(se)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted));return}if(y.type==="pointerup"){nf&&clearTimeout(nf),vd(se)?b.classList.toggle("is-active",z.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),z.isShifted&&se.shift?typeof se.shift=="string"?z.executeCommand(["insert",se.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):Ah(se.shift):Ah(se),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=mu.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 gd(a){if(!a)return;let y=a;for(;y&&!Tg(y);)y=y.parentElement;return y!=null?y:void 0}function vd(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var mu=class n0{constructor(){this.originalContainerBottomPadding=null,this.keycapRegistry={},this._shiftPressCount=0;var y,b,z;this.targetOrigin=window.origin,this.originValidator="none",this._alphabeticLayout="auto",this._layouts=Object.freeze(["default"]),this._editToolbar="default",this._container=(b=(y=window.document)==null?void 0:y.body)!=null?b:null,this._visible=!1,this._rebuilding=!1,this.observer=new ResizeObserver(se=>{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(se){window.addEventListener("message",this)}document.body.addEventListener("focusin",se=>{const ke=se.target;ke!=null&&ke.isConnected&&setTimeout(()=>{const ze=Dp();ze&&!ze.readOnly&&ze.mathVirtualKeyboardPolicy==="auto"&&de()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",se=>{se.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{Dp()||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 se of z.layers)if(se.id===y)return se}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(se=>se==="default");z>=0&&b.splice(z,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(se=>Mp(se))}get normalizedLayouts(){return this._normalizedLayouts||this.updateNormalizedLayouts(this._layouts),this._normalizedLayouts}get editToolbar(){return this._editToolbar}set editToolbar(y){this._editToolbar=y,this.rebuild()}get container(){return this._container}set container(y){this._container=y,this.rebuild()}static get singleton(){if(this._singleton===void 0)try{this._singleton=new n0}catch(y){this._singleton=null}return this._singleton}get style(){return this._style}addEventListener(y,b,z){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,z){this.listeners[y]&&this.listeners[y].delete(b)}get element(){return this._element}set element(y){var b;this._element!==y&&((b=this._element)==null||b.remove(),this._element=y)}get visible(){return this._visible}set visible(y){y?this.show():this.hide()}get boundingRect(){var y;if(!this._visible)return new DOMRect;const b=(y=this._element)==null?void 0:y.getElementsByClassName("MLK__plate")[0];return b?b.getBoundingClientRect():new DOMRect}adjustBoundingRect(){var y,b;const z=this.boundingRect.height;if(this.container===document.body){(y=this._element)==null||y.style.setProperty("--_keyboard-height",`calc(${z}px + var(--_padding-top) + var(--_padding-bottom) + env(safe-area-inset-bottom, 0))`);const se=z-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${se}px)`:`${se}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 se=this.getKeycap(z.id);if(se){const[ke,ze]=_f(se,{shifted:this.isShifted});z.innerHTML=window.MathfieldElement.createHTML(ke),z.className=ze}}}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 se=this._element.getElementsByClassName("MLK__plate")[0];if(se&&this.observer.observe(se),z===window.document.body){const ke=z.style.paddingBottom;this.originalContainerBottomPadding=ke;const ze=se.offsetHeight-1;z.style.paddingBottom=ke?`calc(${ke} + ${ze}px)`:`${ze}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 se;return(se=this._element)==null?void 0:se.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 se=this._element.getElementsByClassName("MLK__plate")[0];se&&this.observer.unobserve(se),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}),qd(),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(!zd(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:se}=y,ke=md(se);if(window.top!==void 0&&ke!=="virtual-keyboard")return;this.executeCommand(se);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:Rf,action:y},b)}));return}if(z)z.postMessage(ie({type:Rf,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 se=b.command[1].split("");for(const ke of se)this.dispatchEvent(new KeyboardEvent("keydown",{key:ke,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:ke,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 se of z)se.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=[],se=md(y);return re(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),se=md(y)),z=y.slice(1)):b=y,b=b.replace(/-\w/g,ke=>ke[1].toUpperCase()),se==="virtual-keyboard"?Dc[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 Dp(){var a,y;let b=Tf(),z=null;for(;b;){if("host"in b&&((y=(a=b.host)==null?void 0:a.tagName)==null?void 0:y.toLowerCase())==="math-field"){z=b.host;break}b=b.parentNode}return z}if(ce()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=mu.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>dg.singleton,configurable:!0});function Ff(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const z=a.scriptDepth;if(re(z))y.scriptDepth=[z[0],z[1]];else if(typeof z=="number")y.scriptDepth=[z,z];else if(typeof z=="string"){const[ke,ze]=z.split(",").map(rt=>parseInt(rt.trim()));y.scriptDepth=[ke,ze]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let se=a.mathVirtualKeyboardPolicy.toLowerCase();if(se==="sandboxed"){if(window!==window.top){const ke=mu.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>ke})}se="manual"}y.mathVirtualKeyboardPolicy=se;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:re(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 Fu(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const z={};for(const se of b)a[se]===null?z[se]=null:re(a[se])?z[se]=[...a[se]]:typeof a[se]=="object"&&!(a[se]instanceof Element)&&se!=="computeEngine"?z[se]=ie({},a[se]):z[se]=a[se];return typeof y=="string"?z[y]:z}function zf(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:Be,backgroundColorMap:Re,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:vf,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:lh,value:""}}function Op(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function gu(a,y){!a||!y||(re(a)?a.forEach(b=>gu(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),gu(a.body,y),gu(a.above,y),gu(a.below,y),gu(a.subscript,y),gu(a.superscript,y)))}function kh(a,y,b,z){function se(ze,rt){for(const ht of ke)if(ht.style[ze]!==rt)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const ke=a.getAtoms(y,{includeChildren:!0});z.operation==="toggle"&&(b.color&&se("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&se("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&se("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&se("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&se("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&se("fontSize",b.fontSize)&&(b.fontSize=co),b.variant&&se("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&se("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const ze of ke)ze.applyStyle(b);return!0}function Dg(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 se=new Uc(y,{mode:b.mode});se.caret=z,b.parent.addChildAfter(se,b),a.position+=1}}function Og(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}Dt(["math","displaymath"],ec),Dt("center",ec),wt("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 ya("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),Wt("array","{columns:colspec}",(a,y,b,z)=>new ya(a,Mh(y),b,{columns:z[0],mathstyleName:"textstyle"})),Wt(["equation","equation*","subequations"],"",(a,y,b)=>new ya(a,Mh(y),b,{columns:[{align:"c"}]})),Wt(["multline","multline*"],"",ec),Wt(["align","align*","aligned","eqnarray"],"",ec),Wt("split","",ec),Wt(["gather","gathered"],"",ec),Wt(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",ec),Wt(["smallmatrix","smallmatrix*"],"[columns:colspec]",ec),Wt(["cases","dcases","rcases"],"",ec);function Ig(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function Mh(a,y=1){return Ig(a)?Array(y).fill([[new pr({type:"first"}),new Qi]]):a.map(b=>b.length===0?[[new pr({type:"first"})]]:b.map(z=>z.length===0?[new pr({type:"first"})]:(z[0].type!=="first"&&z.unshift(new pr({type:"first"})),z)))}function ec(a,y=[[[]]],b=[],z=[]){switch(y=Mh(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new ya(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new ya(a,y,b,{mathstyleName:"textstyle"});case"center":return new ya(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new ya(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new ya(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new ya(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new ya(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:zu(z[0])});case"bmatrix":case"bmatrix*":return new ya(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:zu(z[0])});case"Bmatrix":case"Bmatrix*":return new ya(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:zu(z[0])});case"vmatrix":case"vmatrix*":return new ya(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:zu(z[0])});case"Vmatrix":case"Vmatrix*":return new ya(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:zu(z[0])});case"matrix":case"matrix*":return new ya(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:zu(z==null?void 0:z[0])});case"smallmatrix":case"smallmatrix*":return new ya(a,y,b,{mathstyleName:"scriptstyle",columns:zu(z==null?void 0:z[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new ya(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 ya(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new ya(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let se=0;for(const rt of y)se=Math.max(se,rt.length);const ke=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let ze=2;for(;ze<se;)ke.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),ze+=2;return ke.push({gap:0}),new ya(a,y,b,{arraycolsep:0,columns:ke,minColumns:2})}}return new ya(a,y,b,{mathstyleName:"textstyle"})}function zu(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 ya);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof ya)){const z=a.at(a.position);if(b=z,!b.parent.parent){let se=a.extractAtoms([a.position,a.lastOffset]),ke=a.extractAtoms([0,a.position]);ke.length===0&&(ke=Wf()),se.length===0&&(se=Wf());let ze;return y.endsWith("column")?(ze=ec("split",[[ke,se]]),a.root=ze,Ku(ze,0,0)?Hu(a,ze,0,0):Ku(ze,0,1)?Hu(a,ze,0,1):a.position=a.offsetOf(z)):(ze=ec("lines",[[ke],[se]]),a.root=ze,Ku(ze,0,0)?Hu(a,ze,0,0):Ku(ze,1,0)?Hu(a,ze,1,0):a.position=a.offsetOf(z)),[void 0,[0,0]]}if(b.parent instanceof no){const se=b.parent;let ke=a.extractAtoms([a.position,a.offsetOf(se.lastChild)]),ze=a.extractAtoms([a.offsetOf(se.firstChild),a.position]);ze.length===0&&(ze=Wf()),ke.length===0&&(ke=Wf());let rt="pmatrix";const ht=se.leftDelim,gt=se.rightDelim;ht==="("&&(gt===")"||gt==="?")?rt="pmatrix":(ht==="["||ht==="\\lbrack")&&(gt==="]"||gt==="\\rbrack"||gt==="?")?rt="bmatrix":ht==="\\vert"&&gt==="\\vert"?rt="vmatrix":ht==="\\Vert"&&gt==="\\Vert"?rt="Vmatrix":(ht==="{"||ht==="\\lbrace")&&(gt==="."||gt==="?")&&(rt="cases");const xt=ec(rt,y.endsWith("column")?[[ze,ke]]:[[ze],[ke]]);return se.parent.addChildBefore(xt,se),se.parent.removeChild(se),Ku(xt,0,0)?Hu(a,xt,0,0):y.endsWith("column")?Ku(xt,0,1)?Hu(a,xt,0,1):a.position=a.offsetOf(b):Ku(xt,1,0)?Hu(a,xt,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof ya?[b.parent,b.parentBranch]:[void 0,[0,0]]}function Ku(a,y,b){const z=a.getCell(y,b);return!z||z.length!==2?!1:z[1].type==="placeholder"}function Pg(a,y,b,z){const se=y.getCell(b,z);return se?[a.offsetOf(se[0]),a.offsetOf(se[se.length-1])]:-1}function Hu(a,y,b,z){const se=Pg(a,y,b,z);typeof se!="number"&&a.setSelection(se)}function Kf(a,y,b,z,se){const ke=y.getCell(b,z);ke&&a.setPositionHandlingPlaceholder(a.offsetOf(ke[se==="start"?0:ke.length-1]))}function Hf(a,y){const[b,[z,se]]=Bg(a,y);if(b)switch(y){case"after row":b.addRowAfter(z),Kf(a,b,z+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(se),Kf(a,b,z,se+1,"end");break;case"before row":b.addRowBefore(z),Kf(a,b,z,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(se),Kf(a,b,z,se,"start");break}}function Ip(a){return a.contentWillChange({inputType:"insertText"})?(Hf(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Lg(a){return a.contentWillChange({inputType:"insertText"})?(Hf(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Bp(a){return a.contentWillChange({inputType:"insertText"})?(Hf(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Rg(a){return a.contentWillChange({inputType:"insertText"})?(Hf(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Pp(a,y){if(!a.contentWillChange({}))return!1;a.mathfield.snapshot();let b=".",z=".";switch(y){case"pmatrix":case"pmatrix*":b="(",z=")";break;case"bmatrix":case"bmatrix*":b="[",z="]";break;case"Bmatrix":case"Bmatrix*":b="\\lbrace",z="\\rbrace";break;case"vmatrix":case"vmatrix*":b="\\vert",z="\\vert";break;case"Vmatrix":case"Vmatrix*":b="\\Vert",z="\\Vert";break;case"matrix":case"matrix*":b=".",z=".";break;case"cases":case"dcases":b="\\lbrace";break;case"rcases":z="\\rbrace";break}const se=a.at(a.position),ke=se.type==="array"?se:a.parentEnvironment;return ke.environmentName=y,ke.leftDelim=b,ke.rightDelim=z,a.contentDidChange({}),!0}function Lp(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof ya);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof ya){const z=b.parent,se=b.parentBranch;let ke;switch(y){case"row":if(z.rowCount>1){z.removeRow(se[0]);const ze=z.getCell(Math.max(0,se[0]-1),se[1]);ke=a.offsetOf(ze[ze.length-1])}break;case"column":if(z.colCount>z.minColumns){z.removeColumn(se[1]);const ze=z.getCell(se[0],Math.max(0,se[1]-1));ke=a.offsetOf(ze[ze.length-1])}break}ke&&a.setPositionHandlingPlaceholder(ke)}}function Ng(a){return a.contentWillChange({inputType:"deleteContent"})?(Lp(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function _g(a){return a.contentWillChange({inputType:"deleteContent"})?(Lp(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}Ol({addRowAfter:Ip,addColumnAfter:Bp,addRowBefore:Lg,addColumnBefore:Rg,removeRow:Ng,removeColumn:_g,setEnvironment:Pp},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function Wf(){return[new Qi]}var Rp=class r0{constructor(y){this.recording=!1,this.model=y,this.reset()}reset(){this.stack=[],this.index=-1,this.lastOp=""}startRecording(){this.recording=!0}stopRecording(){this.recording=!1}canUndo(){return this.index-1>=0}canRedo(){return this.stack.length-1>this.index}stopCoalescing(y){y&&this.index>=0&&(this.stack[this.index].selection=y),this.lastOp=""}undo(){return this.canUndo()?(this.model.setState(this.stack[this.index-1],{silenceNotifications:!1,type:"undo"}),this.index-=1,this.lastOp="",!0):!1}redo(){return this.canRedo()?(this.index+=1,this.model.setState(this.stack[this.index],{silenceNotifications:!1,type:"redo"}),this.lastOp="",!0):!1}pop(){this.canUndo()&&(this.stack.splice(this.index,this.stack.length-this.index),this.index-=1)}snapshot(y){return this.recording?(y&&y===this.lastOp&&this.pop(),this.stack.splice(this.index+1,this.stack.length-this.index-1),this.stack.push(this.model.getState()),this.index+=1,this.stack.length>r0.maximumDepth&&(this.stack.shift(),this.index-=1),this.lastOp=y!=null?y:"",!0):!1}};Rp.maximumDepth=1e3;var jg=Rp;function Th(a,y,b){if(a.at(y).mode!=="text")return y;const z=b==="backward"?-1:1;let se;if(We.test(a.at(y).value)){let ke=y,ze;do ze=a.at(ke).mode==="text"&&We.test(a.at(ke).value),ke+=z;while(a.at(ke)&&ze);se=a.at(ke)?ke-2*z:ke-z}else if(/\s/.test(a.at(y).value)){let ke=y;for(;a.at(ke)&&a.at(ke).mode==="text"&&/\s/.test(a.at(ke).value);)ke+=z;if(!a.at(ke))se=ke-z;else{let ze=!0;do ze=a.at(ke).mode==="text"&&!/\s/.test(a.at(ke).value),ke+=z;while(a.at(ke)&&ze);se=a.at(ke)?ke-2*z:ke-z}}else{let ke=y;for(;a.at(ke)&&a.at(ke).mode==="text"&&!/\s/.test(a.at(ke).value);)ke+=z;se=a.at(ke)?ke:ke-z;let ze=!0;for(;a.at(ke)&&ze;)ze=a.at(ke).mode==="text"&&/\s/.test(a.at(ke).value),ze&&(se=ke),ke+=z;se=a.at(ke)?ke-2*z:ke-z}return se-(z>0?0:1)}function yd(a,y,b){var z,se,ke,ze,rt,ht,gt;const xt=a.position;(z=b==null?void 0:b.extend)!=null&&z||a.collapseSelection(y);let jt=a.at(a.position);if(y==="forward"&&(jt.type==="subsup"?(jt=jt.rightSibling,jt||(jt=a.at(a.position+1))):jt=a.at(a.position+1)),!jt)return a.announce("plonk"),!1;let Gt=a.offsetOf(jt);if(jt instanceof fc)Gt=Th(a,Gt,y);else if(jt instanceof zs)if(jt.isSuggestion)for(console.assert(y==="forward");jt&&jt instanceof zs;)jt.isSuggestion=!1,Gt=a.offsetOf(jt),jt=jt.rightSibling;else if(y==="forward"){if(jt=jt.rightSibling,!jt||!(jt instanceof zs))return a.announce("plonk"),!1;for(;jt&&jt instanceof zs&&/[a-zA-Z\*]/.test(jt.value);)Gt=a.offsetOf(jt),jt=jt.rightSibling}else{if(jt=jt.leftSibling,!jt||!(jt instanceof zs))return a.announce("plonk"),!1;for(;jt&&jt instanceof zs&&/[a-zA-Z\*]/.test(jt.value);)Gt=a.offsetOf(jt),jt=jt.leftSibling}else if(y==="forward"&&jt.type==="mopen"){let on=0;do jt.type==="mopen"?on+=1:jt.type==="mclose"&&(on-=1),jt=jt.rightSibling;while(!jt.isLastSibling&&on!==0);Gt=a.offsetOf(jt.leftSibling)}else if(y==="backward"&&jt.type==="mclose"){let on=0;do jt.type==="mopen"?on+=1:jt.type==="mclose"&&(on-=1),jt=jt.leftSibling;while(!jt.isFirstSibling&&on!==0);Gt=a.offsetOf(jt)}else if(y==="backward")if(jt.type==="first")for(;Gt>0&&jt.type==="first";)Gt-=1,jt=a.at(Gt);else{const on=jt.type;jt.type==="subsup"&&(Gt=a.offsetOf(a.at(Gt).leftSibling)),Gt-=1;let gn=(se=a.at(Gt))==null?void 0:se.type;for(;Gt>=0&&gn===on;)((ke=a.at(Gt))==null?void 0:ke.type)==="subsup"?Gt=a.offsetOf(a.at(Gt).leftSibling):Gt-=1,gn=a.at(Gt).type}else{const{type:on}=jt;let gn=(ze=a.at(Gt))==null?void 0:ze.type;const{lastOffset:tr}=a;for(;Gt<=tr&&(gn===on||gn==="subsup");){for(;((rt=a.at(Gt).rightSibling)==null?void 0:rt.type)==="subsup";)Gt=a.offsetOf(a.at(Gt).rightSibling);Gt+=1,gn=(ht=a.at(Gt))==null?void 0:ht.type}Gt-=1}if((gt=b==null?void 0:b.extend)!=null&&gt){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",xt),a.mathfield.stopCoalescingUndo(),!0}function Oc(a,y,b){var z,se;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[rt,ht]=vp(a);rt!==void 0&&ht!==void 0&&a.deleteAtoms([rt,ht])}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 ht=a.setSelection(a.anchor,rt);return a.mathfield.stopCoalescingUndo(),ht}if(a.selectionIsPlaceholder){a.collapseSelection(y);const rt=Oc(a,y);return a.mathfield.stopCoalescingUndo(),rt}let ke=a.position;const ze=ke;if(a.collapseSelection(y)?(ke=a.position,Np(a,ke)||(ke=Zf(a,ke,y))):ke=Zf(a,ke,y),ke<0||ke>a.lastOffset){let rt=!0;return a.silenceNotifications||(rt=(se=(z=a.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?se:!0),rt&&a.announce("plonk"),rt}return a.setPositionHandlingPlaceholder(ke),a.mathfield.stopCoalescingUndo(),a.announce("move",ze),!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 se=z.parent;for(;se&&!se.inCaptureSelection;)se=se.parent;return!(se!=null&&se.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,se=0;for(;se<y.length;se++){const ke=sd(a.getHTMLElement(y[se])).right,ze=Math.abs(b-ke);if(ze<=z)z=ze;else break}return y[se-1]}function Uf(a,y,b,z,se){const ke=a.mathfield.hasEditablePrompts,ze=ke?b.filter(gt=>gt.type==="prompt"&&!gt.captureSelection):b,rt=sd(a.mathfield.getHTMLElement(y)).right,ht=a.offsetOf(Fg(a.mathfield,ze,rt))-(ke?1:0);if(z){const[gt,xt]=a.selection.ranges[0];let jt;ht<(se==="up"?gt:xt)?jt={ranges:[[ht,xt]],direction:"backward"}:jt={ranges:[[gt,ht]],direction:"forward"},a.setSelection(jt)}else a.setPositionHandlingPlaceholder(ht);a.announce(`move ${se}`)}function zg(a,y){var b,z;const se=(b=y==null?void 0:y.extend)!=null?b:!1;se||a.collapseSelection("backward");const ke=()=>{var ht,gt;let xt=!0;return a.silenceNotifications||(xt=(gt=(ht=a.mathfield.host)==null?void 0:ht.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?gt:!0),a.announce(xt?"plonk":"line"),xt},ze=a.at(a.position);let rt=ze;for(;rt&&rt.parentBranch!=="below"&&!(Array.isArray(rt.parentBranch)&&rt.parent instanceof ya);)rt=rt.parent;if(Array.isArray(rt==null?void 0:rt.parentBranch)&&rt.parent instanceof ya){const ht=rt.parent;if(rt.parentBranch[0]<1)return ke();const gt=rt.parentBranch[0]-1,xt=ht.array[gt][rt.parentBranch[1]];if(!xt.some(Gt=>Gt.type==="prompt"&&!Gt.captureSelection)&&a.mathfield.hasEditablePrompts)return ke();Uf(a,ze,xt,se,"up")}else if(rt){const ht=(z=rt.parent.branch("above"))!=null?z:rt.parent.createBranch("above");if(!ht.some(xt=>xt.type==="prompt"&&xt.placeholderId)&&a.mathfield.hasEditablePrompts)return ke();Uf(a,ze,ht,se,"up")}else return ke();return a.mathfield.stopCoalescingUndo(),!0}function Kg(a,y){var b,z;const se=(b=y==null?void 0:y.extend)!=null?b:!1;se||a.collapseSelection("forward");const ke=()=>{var ht,gt;let xt=!0;return a.silenceNotifications||(xt=(gt=(ht=a.mathfield.host)==null?void 0:ht.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?gt:!0),a.announce(xt?"plonk":"line"),xt},ze=a.at(a.position);let rt=ze;for(;rt&&rt.parentBranch!=="above"&&!(Array.isArray(rt.parentBranch)&&rt.parent instanceof ya);)rt=rt.parent;if(Array.isArray(rt==null?void 0:rt.parentBranch)&&rt.parent instanceof ya){const ht=rt.parent;if(rt.parentBranch[0]+1>ht.array.length-1)return ke();const gt=rt.parentBranch[0]+1,xt=ht.array[gt][rt.parentBranch[1]];if(!xt.some(Gt=>Gt.type==="prompt"&&!Gt.captureSelection)&&a.mathfield.hasEditablePrompts)return ke();Uf(a,ze,xt,se,"down")}else if(rt){const ht=(z=rt.parent.branch("below"))!=null?z:rt.parent.createBranch("below");if(!ht.some(xt=>xt.type==="prompt")&&a.mathfield.hasEditablePrompts)return ke();Uf(a,ze,ht,se,"down")}else return ke();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 $l({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 $l({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 Zg(){function a(ht){const gt=[],xt=[];return[...ht.querySelectorAll(`input, select, textarea, a[href], button,
[tabindex], audio[controls], video[controls],
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((Gt,on)=>{const gn=z(Gt);gn===0?gt.push(Gt):xt.push({documentOrder:on,tabIndex:gn,node:Gt})}),xt.sort((Gt,on)=>Gt.tabIndex===on.tabIndex?Gt.documentOrder-on.documentOrder:Gt.tabIndex-on.tabIndex).map(Gt=>Gt.node).concat(gt)}function y(ht){return!(!b(ht)||se(ht)||z(ht)<0)}function b(ht){return!(ht.disabled||ht.type==="hidden"&&ht.tagName.toUpperCase()==="INPUT"||rt(ht))}function z(ht){var gt;const xt=Number.parseInt((gt=ht.getAttribute("tabindex"))!=null?gt:"NaN",10);return Number.isNaN(xt)?ht.contentEditable==="true"||(ht.nodeName==="AUDIO"||ht.nodeName==="VIDEO")&&ht.getAttribute("tabindex")===null?0:ht.tabIndex:xt}function se(ht){return ht.tagName.toUpperCase()==="INPUT"&&ht.type==="radio"&&!ze(ht)}function ke(ht,gt){for(const xt of ht)if(xt.checked&&xt.form===gt)return xt;return null}function ze(ht){var gt;if(!ht.name)return!0;const jt=((gt=ht.form)!=null?gt:ht.ownerDocument).querySelectorAll('input[type="radio"][name="'+ht.name+'"]'),Gt=ke(jt,ht.form);return!Gt||Gt===ht}function rt(ht){if(!ce()||ht===document.activeElement||ht.contains(document.activeElement))return!1;if(getComputedStyle(ht).visibility==="hidden")return!0;const gt=ht.getBoundingClientRect();if(gt.width===0||gt.height===0)return!0;for(;ht;){if(getComputedStyle(ht).display==="none")return!0;ht=ht.parentElement}return!1}return ce()?a(document.body):[]}function cl(a,y,b="forward"){const z=a.position;if(Array.isArray(y)){const se=a.offsetOf(y[0]),ke=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(se,ke):a.setSelection(ke,se),a.announce("move",z),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?cl(a,[y.leftSibling,y]):cl(a,[y,y.leftSibling])}function mc(a,y){const b=a.position;if(typeof y=="number"&&(y=a.at(y)),y.type==="prompt")a.setSelection(a.offsetOf(y.firstChild),a.offsetOf(y.lastChild));else{const z=a.offsetOf(y);y.type==="placeholder"?a.setSelection(z-1,z):a.position=z}return a.announce("move",b),a.mathfield.stopCoalescingUndo(),!0}function Vf(a,y,b=!0){var z,se;const ke=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Oc(a,y);let ze;const rt=a.at(a.anchor).parentPrompt;rt?y==="forward"?ze=a.offsetOf(rt)+1:ze=a.offsetOf(rt.leftSibling):ze=Math.max(a.position+ke,0);const ht=Dh(a,ze,y);if(!ht||y==="forward"&&a.offsetOf(ht)<ze||y==="backward"&&a.offsetOf(ht)>ze){if(!b||!((se=(z=a.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||se))return a.announce("plonk"),!1;const xt=Zg();if(!document.activeElement||xt.length<=1)return a.announce("plonk"),!1;let jt=xt.indexOf(document.activeElement)+ke;return jt<0&&(jt=xt.length-1),jt>=xt.length&&(jt=0),xt[jt].focus(),a.mathfield.stopCoalescingUndo(),!0}return mc(a,ht),!0}function Dh(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)}Ol({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 se=b.parentBranch;let ke;if(typeof se=="string"&&(ke=y[se]),!ke){const rt=b.subsupPlacement?Fp(a):jp(a);return a.mathfield.stopCoalescingUndo(),rt}z.branch(ke)||z.createBranch(ke);const ze=a.setSelection(a.getBranchRange(a.offsetOf(z),ke));return a.mathfield.stopCoalescingUndo(),ze},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=>Oc(a,"forward"),moveToPreviousChar:a=>Oc(a,"backward"),moveUp:a=>Oc(a,"upward"),moveDown:a=>Oc(a,"downward"),moveToNextWord:a=>yd(a,"forward"),moveToPreviousWord:a=>yd(a,"backward"),moveToGroupStart:a=>{const y=a.offsetOf(a.at(a.position).firstSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToGroupEnd:a=>{const y=a.offsetOf(a.at(a.position).lastSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToNextGroup:a=>{var y,b,z,se;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return Vf(a,"forward");const ke=a.at(a.position);if(ke.mode==="text"){if(a.selectionIsCollapsed){let Gt=ke;for(;Gt&&Gt.mode==="text";)Gt=Gt.leftSibling;let on=ke;for(;((y=on.rightSibling)==null?void 0:y.mode)==="text";)on=on.rightSibling;if(Gt&&on)return cl(a,[Gt,on])}if(ke.rightSibling.mode==="text"){let Gt=ke;for(;Gt&&Gt.mode==="text";)Gt=Gt.rightSibling;return Gt?(mc(a,(b=Gt.leftSibling)!=null?b:Gt),a.mathfield.switchMode("math"),!0):mc(a,a.lastOffset)}}const rt=a.at(a.anchor).parentPrompt,ht=rt?a.offsetOf(rt)+1:Math.max(a.position+1,0),gt=Dh(a,ht,"forward");if(gt)return mc(a,gt);const xt=zp(a,ke,Gt=>Gt.type==="leftright"||Gt.type==="text","forward");if(xt){if(xt.mode==="text"){let Gt=xt;for(;Gt&&Gt.mode==="text";)Gt=Gt.rightSibling;return cl(a,[(z=xt.leftSibling)!=null?z:xt,(se=Gt.leftSibling)!=null?se:Gt])}return cl(a,xt)}const jt=ke.parent;if(jt){if(jt.type==="leftright"||jt.type==="surd")return cl(a,jt);if(ke.parentBranch==="superscript"&&jt.subscript)return cl(a,jt.subscript);if(ke.parentBranch==="above"&&jt.below)return cl(a,jt.below);if(ke.parentBranch==="superscript"||ke.parentBranch==="subscript")return mc(a,jt);if(ke.parentBranch==="above"||ke.parentBranch==="below")return cl(a,jt)}return mc(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return Vf(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 ht=b;for(;((y=ht.rightSibling)==null?void 0:y.mode)==="text";)ht=ht.rightSibling;if(rt&&ht)return cl(a,[rt,ht])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?mc(a,b):mc(a,0)}const se=a.at(a.anchor).parentPrompt,ke=se?a.offsetOf(se.leftSibling):Math.max(a.position-1,0),ze=Dh(a,ke,"backward");if(ze)return mc(a,ze);if(z==="math"){const rt=zp(a,b,gt=>gt.type==="leftright"||gt.type==="text","backward");if(rt){if(rt.mode==="text"){let gt=rt;for(;gt&&gt.mode==="text";)gt=gt.leftSibling;return cl(a,[rt,gt])}return cl(a,rt)}const ht=b.parent;if(ht){if(ht.type==="leftright"||ht.type==="surd")return cl(a,ht);if(b.parentBranch==="subscript"&&ht.superscript)return cl(a,ht.superscript);if(b.parentBranch==="below"&&ht.above)return cl(a,ht.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return mc(a,ht);if(b.parentBranch==="above"||b.parentBranch==="below")return cl(a,ht)}return mc(a,0)}return!1},moveToMathfieldStart:a=>a.selectionIsCollapsed&&a.position===0?(a.announce("plonk"),!1):(a.position=0,a.mathfield.stopCoalescingUndo(),!0),moveToMathfieldEnd:a=>a.selectionIsCollapsed&&a.position===a.lastOffset?(a.announce("plonk"),!1):(a.position=a.lastOffset,a.mathfield.stopCoalescingUndo(),!0),moveToSuperscript:jp,moveToSubscript:Fp},{target:"model",changeSelection:!0}),Ol({moveToNextPlaceholder:a=>Vf(a,"forward"),moveToPreviousPlaceholder:a=>Vf(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function zp(a,y,b,z){if(z==="forward"){let ke=y.rightSibling;for(;ke&&!b(ke);)ke=ke.rightSibling;return ke}let se=y.leftSibling;for(;se&&!b(se);)se=se.leftSibling;return se}function Gf(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let z=a.position,se=!1,ke="";for(;!se;){const ze=a.at(z);se=y===0||ze===void 0||ze.type==="first"||ze.mode!=="math"||!(ze.type&&/mord|mpunct|operator/.test(ze.type)||ze.type==="mop"&&/[a-zA-Z ]+/.test(ze.value))||!ze.hasEmptyBranch("superscript")||!ze.hasEmptyBranch("subscript")||typeof b=="function"&&!b(ze),se||(ze.mode="text",ze.command=ze.value,ze.verbatimLatex=void 0,ke+=ze.value),z-=1,y-=1}a.contentDidChange({data:ke,inputType:"insertText"})}function Wu(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let z=a.position,se=!1;const ke=[];for(;!se;){const ze=a.at(z);se=y===0||!ze||ze.type==="first"||ze.isFirstSibling||ze.mode!=="text"||ze.value===" "||typeof b=="function"&&!b(ze),se||(ke.push(pr.serialize([ze],{defaultMode:"math"})),ze.mode="math"),z-=1,y-=1}Oh(a),a.contentDidChange({data:Ta(ke),inputType:"insertText"})}function Oh(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 Ug(a){let y="",b=a.position,z=!1;for(;!z;){const se=a.at(b);z=!(se&&(se.mode==="text"||se.mode==="math"&&se.type&&/mord|mpunct/.test(se.type))),z||(y=se.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||!Mf(b))return!1;const se=fd(b);if(!z.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(se));const ke=Ug(z)+se;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(se))return!0;if(/[\^_]/.test(se))return/(^|\s)[a-zA-Z][^_]$/.test(ke)&&Wu(z,1),!0;const ze={")":"(","}":"{","]":"["}[se],{parent:rt}=z.at(z.position);if(ze&&rt instanceof no&&rt.leftDelim===ze)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(ke))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(se))return!0;if(/(^|[^a-zA-Z'])[a-zA-Z] $/.test(ke))return Wu(z,1),!1;if(/\D\.[^\d\s]$/.test(ke)){Wu(z,1);const ht=z.at(z.position);return ht.value="\u22C5",ht.style.variant="normal",ht.command="\\cdot",ht.verbatimLatex=void 0,z.contentDidChange({data:"\\cdot",inputType:"insertText"}),!0}if(/(^|\s)[a-zA-Z][^a-zA-Z]$/.test(ke)||/\.\d$/.test(ke)||/\([\d+\-.]$/.test(ke))return Wu(z,1),!0;if(/\([a-z][,;]$/.test(ke))return Wu(z,2),!0;if(/[\d+\-=><*|]$/.test(se))return Oh(z),!0}else{if(y==="[Space]")return Gf(z,void 0,ze=>/[a-z][:,;.]$/.test(ze.value)),!0;if(/[a-zA-Z]{3,}$/.test(ke)&&!/(dxd|abc|xyz|uvw)$/.test(ke))return Gf(z,void 0,ze=>/[a-zA-Z]/.test(ze.value)),!0;if(/(^|\W)(if)$/i.test(ke))return Gf(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(ke)&&!/(αβγ)$/.test(ke))return Gf(z,void 0,ze=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(ze.value)),!0;if(se==="?"||se==="."&&!/[\d-+]\.$/.test(ke))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=Of("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function Kp(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(Dl("keystroke-caption"),Dl("core"),Of("mathlive-keystroke-caption-panel"))}function Yg(){document.getElementById("mathlive-keystroke-caption-panel")&&(xh("mathlive-keystroke-caption-panel"),x("core"),x("keystroke-caption"))}function Hp(a,y){var b,z,se;const{model:ke}=a,ze=mp(y);if(y.isTrusted){j0(y);const on=Yd();a.keyboardLayout!==on.id&&(a.keyboardLayout=on.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,Gg(a,ze),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let rt,ht="",gt;const xt=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(ke.mode==="math")if(ze==="[Backspace]")xt.pop();else if(!Mf(y))a.flushInlineShortcutBuffer();else{const on=fd(y),gn=[...(z=(b=xt[xt.length-1])==null?void 0:b.keystrokes)!=null?z:[],on];xt.push({state:ke.getState(),keystrokes:gn,leftSiblings:Jg(a)});let tr=0,qr="";for(;!rt&&tr<gn.length;)gt=xt.length-(gn.length-tr),qr=gn.slice(tr).join(""),rt=Pd(xt[gt].leftSiblings,qr,a.options.inlineShortcuts),!rt&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(qr)&&(rt=a.options.onInlineShortcut(a,qr)),tr+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(rt?a.switchMode("math"):Vg(a,ze,y)&&(a.switchMode({math:"text",text:"math"}[ke.mode]),ht=""))}if(!rt){if(ht||(ht=U0(a.keybindings,ke.mode,y)),!ht&&(ze==="[Enter]"||ze==="[Return]")){let on=!1;return ke.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(on=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),on||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),ke.contentDidChange({inputType:"insertLineBreak"})),on}if((!ht||ze==="[Space]")&&ke.mode==="math"){if(ze==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return ma.insert(ke,a.options.mathModeSpace,{format:"latex",mode:"math"}),a.snapshot("insert-space"),ht="",a.dirty=!0,a.scrollIntoView(),y.preventDefault&&(y.preventDefault(),y.stopPropagation()),!1;const on=ke.at(ke.position+1),gn=ke.at(ke.position-1);if((on==null?void 0:on.mode)==="text"||(gn==null?void 0:gn.mode)==="text")return ma.insert(ke," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(se=ke.at(ke.position))!=null&&se.isDigit()&&window.MathfieldElement.decimalSeparator===","&&fd(y)===","&&(ht="insertDecimalSeparator")}}if(!rt&&!ht){if(ke.mathfield.smartFence){if(Bh(ke,fd(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:on}=ke.at(ke.position);if(on instanceof no&&on.rightDelim==="?"&&ke.at(ke.position).isLastSibling&&/^[)}\]|]$/.test(ze))return a.snapshot(),on.isDirty=!0,on.rightDelim=ze,ke.position+=1,ke.selectionDidChange(),ke.contentDidChange({data:fd(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!ke.selectionIsCollapsed){const gn=fd(y);if(gn==="("||gn==="{"||gn==="["){const tr={"(":"(","{":"\\lbrace","[":"\\lbrack"}[gn],qr={"(":")","{":"\\rbrace","[":"\\rbrack"}[gn],[qn,kr]=Ts(ke.selection);return a.snapshot(),ke.position=kr,ma.insert(ke,qr,{format:"latex"}),ke.position=qn,ma.insert(ke,tr,{format:"latex"}),ke.setSelection(qn+1,kr+1),ke.contentDidChange({data:gn,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const jt=ke.at(Math.max(ke.position,ke.anchor)),{parent:Gt}=jt;if(ht==="moveAfterParent"&&(Gt==null?void 0:Gt.type)==="leftright"&&jt.isLastSibling&&a.options.smartFence&&Bh(ke,".",a.defaultStyle)&&(ht="",Yo(a)),a.keyboardDelegate.cancelComposition(),ht)a.executeCommand(ht);else if(rt){const on=a.effectiveStyle;ke.setState(xt[gt].state);const gn=xt[xt.length-1].keystrokes;for(const tr of gn)ma.insert(ke,tr,{silenceNotifications:!0,style:on});a.snapshot("insert-shortcut"),ke.setState(xt[gt].state),ke.deferNotifications({content:!0,selection:!0,data:rt,type:"insertText"},()=>(ma.insert(ke,rt,{format:"latex",style:on}),Oh(a.model),rt.endsWith(" ")&&(a.switchMode("text"),ma.insert(ke," ",{style:on,mode:"text"})),a.snapshot(),ke.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,ke.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 se=Cl(y);const ke=window.mathVirtualKeyboard;if(ke!=null&&ke.isShifted&&(se=typeof se=="string"?se.toUpperCase():se.map(ht=>ht.toUpperCase())),b.simulateKeystroke){let ht=!0;for(const gt of se)Hp(a,new KeyboardEvent("keypress",{key:gt}))&&(ht=!1);if(ht)return}const ze=z.at(z.position),rt=ie(ie({},ze.computedStyle),a.defaultStyle);if(z.selectionIsCollapsed||(z.deleteAtoms(Ts(z.selection)),a.snapshot("delete")),z.mode==="latex")z.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{Df(a);for(const ht of se)ma.insert(z,ht);a.snapshot("insert-latex"),Qd(a)});else if(z.mode==="text"){for(const ht of se)ma.insert(z,ht,{style:rt});a.snapshot("insert-text")}else if(z.mode==="math")for(const ht of se)Qg(a,ht,rt,ze);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 se=a.model;let ke={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(ke=["insert",a.options.mathModeSpace]),ke){a.executeCommand(ke);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(se),ma.insert(se,y,{style:b}),a.snapshot(),_p(se),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const ze=a.adoptStyle==="left"?z:z.parent?z.rightSibling:null;(ze==null?void 0:ze.type)==="mord"&&/[a-zA-Z0-9]/.test(ze.value)&&(b=ie({},b),ze.style.variant&&(b.variant=ze.style.variant),ze.style.variantStyle&&(b.variantStyle=ze.style.variantStyle))}ma.insert(se,y,{style:b}),a.snapshot(`insert-${se.at(se.position).type}`)}function $g(a){a.selectionIsCollapsed||(a.deleteAtoms(Ts(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:se}=z,ke={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!ke)return!1;const ze=ge[ke],rt=be[ke];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[ht,gt]=Ts(a.selection),xt=a.extractAtoms([ht,gt]),jt=se.addChildrenAfter([new no("left...right",xt,{leftDelim:ke,rightDelim:rt})],a.at(ht));return a.setSelection(a.offsetOf(jt.firstChild),a.offsetOf(jt.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:ke,inputType:"insertText"}),!0}if(ke==="|"){const ht=se instanceof no?se.leftDelim+se.rightDelim:"";if(ht==="\\lbrace\\rbrace"||ht==="\\{\\}"||ht==="\\lbrace?")return a.mathfield.snapshot(),ma.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:ke,inputType:"insertText"}),!0}if(rt){if(se instanceof no&&se.firstChild===z&&(se.leftDelim==="?"||se.leftDelim==="."))return se.leftDelim=ke,se.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:ke,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(se instanceof no)){let jt=z;for(;jt&&!(jt.type==="mclose"&&jt.value===rt);)jt=jt.rightSibling;if(jt){a.mathfield.snapshot();const Gt=a.extractAtoms([a.offsetOf(z),a.offsetOf(jt)]);return Gt.pop(),se.addChildrenAfter([new no("left...right",Gt,{leftDelim:ke,rightDelim:rt})],z),a.position=a.offsetOf(se.firstChild)+1,a.contentDidChange({data:ke,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const ht=a.offsetOf(z.lastSibling);let gt;for(gt=a.position;gt<=ht;gt++){const jt=a.at(gt);if(jt instanceof no&&(jt.leftDelim==="?"||jt.leftDelim===".")&&Wp(ke,jt.rightDelim))break}const xt=a.at(gt);if(gt<=ht&&xt instanceof no){xt.leftDelim=ke,a.mathfield.snapshot();let jt=a.extractAtoms([a.position,gt-1]);return jt=jt.filter(Gt=>Gt.type!=="first"),xt.addChildren(jt,xt.parentBranch),a.position+=1,a.contentDidChange({data:ke,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(se instanceof no&&(se.leftDelim==="?"||se.leftDelim===".")&&Wp(ke,se.rightDelim)){se.isDirty=!0,se.leftDelim=ke,a.mathfield.snapshot();const jt=a.extractAtoms([a.offsetOf(z.firstSibling),a.position]);for(const Gt of jt)se.parent.addChildBefore(Gt,se);return a.contentDidChange({data:ke,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(se instanceof no&&se.leftDelim==="|")){if(a.mathfield.snapshot(),ma.insert(a,`\\left${ke}\\right?`,{format:"latex",style:b}),z.lastSibling.type!=="first"){const jt=a.offsetOf(z.lastSibling),Gt=a.extractAtoms([a.position,jt]);a.at(a.position).body=Gt,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(ze){let ht=z;for(;ht;){if(ht.type==="mopen"&&ht.value===ze){a.mathfield.snapshot();const on=ht.leftSibling,gn=a.extractAtoms([a.offsetOf(ht.leftSibling),a.offsetOf(z)]);gn.shift();const tr=new no("left...right",gn,{leftDelim:ze,rightDelim:ke});return se.addChildrenAfter([tr],on),a.position=a.offsetOf(tr),a.contentDidChange({data:ke,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}ht=ht.leftSibling}if(se instanceof no&&z.isLastSibling&&Ph(se.leftDelim,ke))return a.mathfield.snapshot(),se.isDirty=!0,se.rightDelim=ke,a.position+=1,a.contentDidChange({data:ke,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const gt=a.offsetOf(z.firstSibling);let xt;for(xt=a.position;xt>=gt;xt--){const on=a.at(xt);if(on instanceof no&&(on.rightDelim==="?"||on.rightDelim===".")&&Ph(on.leftDelim,ke))break}const jt=a.at(xt);if(xt>=gt&&jt instanceof no)return a.mathfield.snapshot(),jt.rightDelim=ke,jt.addChildren(a.extractAtoms([xt,a.position]),jt.parentBranch),a.contentDidChange({data:ke,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(se instanceof no&&(se.rightDelim==="?"||se.rightDelim===".")&&Ph(se.leftDelim,ke))return a.mathfield.snapshot(),se.isDirty=!0,se.rightDelim=ke,se.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(z.lastSibling)]),se.parentBranch),a.position=a.offsetOf(se),a.contentDidChange({data:ke,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const Gt=se.parent;return Gt instanceof no&&(Gt.rightDelim==="?"||Gt.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(Gt),Bh(a,ke,b)):!1}return!1}function Ph(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}Ol({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 se="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),ke=0;for(;z.includes(se)&&ke<100;){if(ke===99)return console.error("could not find a unique ID after 100 tries"),!1;se="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),ke++}return a.insert(`\\placeholder[${y!=null?y:se}]{}`,b),!0}}),Ol({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"}),Ol({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})&&(Qd(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Yo(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=Lh(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(se=>kh(z,se,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}Ol({applyStyle:qg},{target:"mathfield",canUndo:!0,changeContent:!0});function Lh(a,y){var b,z,se,ke,ze,rt,ht,gt,xt,jt;const Gt={};if(typeof y.color=="string"){const gn=(z=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?z:"none";gn!==y.color&&(Gt.verbatimColor=(se=y.verbatimColor)!=null?se:y.color),Gt.color=gn}if(typeof y.backgroundColor=="string"){const gn=(ze=a.backgroundColorMap((ke=y.backgroundColor)!=null?ke:y.verbatimBackgroundColor))!=null?ze:"none";gn!==y.backgroundColor&&(Gt.verbatimBackgroundColor=(rt=y.verbatimBackgroundColor)!=null?rt:y.backgroundColor),Gt.backgroundColor=gn}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=(ht={bold:"b",medium:"m",normal:"m"}[Gt.fontSeries])!=null?ht:Gt.fontSeries),typeof y.shape=="string"&&(Gt.fontShape=y.shape),typeof y.fontShape=="string"&&(Gt.fontShape=y.fontShape.toLowerCase()),Gt.fontShape&&(Gt.fontShape=(gt={italic:"it",up:"n",upright:"n",normal:"n"}[Gt.fontShape])!=null?gt:Gt.fontShape),y.variant&&(Gt.variant=y.variant.toLowerCase()),y.variantStyle&&(Gt.variantStyle=y.variantStyle.toLowerCase());const on=(xt=y.size)!=null?xt:y.fontSize;return typeof on=="number"?Gt.fontSize=Math.max(1,Math.min(10,on)):typeof on=="string"&&(Gt.fontSize=(jt={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[on.toLowerCase()])!=null?jt:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[on]),Gt}function Rh(a){let[y,b]=Ts(a.selection);if(y=Zp(a,y,"backward"),b=Zp(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 Zp(a,y,b){var z,se,ke;let ze=a.at(y);if(!ze)return y;const rt=b==="forward"?1:-1;if(ze.mode==="text"){for(;ze&&!(ze.mode!=="text"||!We.test(ze.value));)y+=rt,ze=a.at(y);return b==="backward"?y-1:y}if(ze.mode==="latex"){if(/[a-zA-Z\*]/.test(ze.value))if(b==="backward")for(;ze&&ze.mode==="latex"&&ze.value!=="\\"&&/[a-zA-Z]/.test(ze.value);)y+=rt,ze=a.at(y);else for(;ze&&ze.mode==="latex"&&/[a-zA-Z\*]/.test(ze.value);)y+=rt,ze=a.at(y);else if(ze.value==="{"){if(b==="forward"){for(;ze&&ze.mode==="latex"&&ze.value!=="}";)y+=rt,ze=a.at(y);return y}return y-1}else if(ze.value==="}"){if(b==="backward"){for(;ze&&ze.mode==="latex"&&ze.value!=="{";)y+=rt,ze=a.at(y);return y-1}return y}return y-1}if(ze.mode==="math"){if(ze.isDigit()){for(;(z=a.at(y+rt))!=null&&z.isDigit();)y+=rt;return b==="backward"?y-1:y}if(ze.style.variant||ze.style.variantStyle){let ht=(se=a.at(y))==null?void 0:se.style;for(;ht&&ht.variant===ze.style.variant&&ht.variantStyle===ze.style.variantStyle;)ht=(ke=a.at(y+rt))==null?void 0:ke.style,y+=rt;return b==="backward"?y-1:y}return y}return y}Ol({selectGroup:a=>{const y=Rh(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Oc(a,"forward",{extend:!0}),extendSelectionBackward:a=>Oc(a,"backward",{extend:!0}),extendToNextWord:a=>yd(a,"forward",{extend:!0}),extendToPreviousWord:a=>yd(a,"backward",{extend:!0}),extendSelectionUpward:a=>Oc(a,"upward",{extend:!0}),extendSelectionDownward:a=>Oc(a,"downward",{extend:!0}),extendToNextBoundary:a=>yd(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>yd(a,"backward",{extend:!0}),extendToGroupStart:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).firstSibling));return y||a.announce("plonk"),y},extendToGroupEnd:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).lastSibling));return y||a.announce("plonk"),y},extendToMathFieldStart:a=>{const y=a.setSelection(a.anchor,0);return y||a.announce("plonk"),y},extendToMathFieldEnd:a=>{const y=a.setSelection(a.anchor,a.lastOffset);return y||a.announce("plonk"),y}},{target:"model",changeSelection:!0});var Zu=null,rf=0,Xf=class nc{static start(y,b,z,se){var ke;nc.element=y,(ke=nc.controller)==null||ke.abort(),nc.controller=new AbortController;const ze={signal:nc.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",z,ze),y.addEventListener("pointerup",se,ze),y.addEventListener("pointercancel",se,ze),Nh(b)&&(nc.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",z,ze),window.addEventListener("blur",se,ze),window.addEventListener("mouseup",se,ze))}static stop(){var y;(y=nc.controller)==null||y.abort(),nc.controller=void 0,typeof nc.pointerId=="number"&&(nc.element.releasePointerCapture(nc.pointerId),nc.pointerId=void 0)}};function Nh(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function Up(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const z=a;let se,ke=!1,ze=!1,rt="none",ht=!1,gt=!1;const xt=y.clientX,jt=y.clientY,Gt=Date.now(),on=z.field,gn=setInterval(()=>{ht?on.scroll({top:0,left:on.scrollLeft-16}):gt&&on.scroll({top:0,left:on.scrollLeft+16})},32);function tr(){Xf.stop(),ke=!1,clearInterval(gn),a.element.classList.remove("tracking"),y&&y.preventDefault()}function qr(kr){if(!z.hasFocus()){tr();return}const ii=kr.clientX,Lr=kr.clientY,Li=Nh(kr)&&kr.pointerType==="touch"?20:5;if(Date.now()<Gt+500&&Math.abs(xt-ii)<Li&&Math.abs(jt-Lr)<Li){kr.preventDefault(),kr.stopPropagation();return}const Vi=on.getBoundingClientRect();gt=ii>Vi.right,ht=ii<Vi.left;let Ki=se;Nh(kr)&&(kr.isPrimary||(Ki=af(z,kr.clientX,kr.clientY,{bias:0})));const Za=af(z,ii,Lr,{bias:ii<=xt?ii===xt?0:-1:1});Ki>=0&&Za>=0&&(z.model.extendSelectionTo(Ki,Za),Yo(a)),ze&&Rh(z.model)}Zu&&Math.abs(Zu.x-xt)<5&&Math.abs(Zu.y-jt)<5&&Date.now()<Zu.time+500?(rf+=1,Zu.time=Gt):(Zu={x:xt,y:jt,time:Gt},rf=1);const qn=on.getBoundingClientRect();if(xt>=qn.left&&xt<=qn.right&&jt>=qn.top&&jt<=qn.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",se=af(a,xt,jt,{bias:0}),se>=0){if(a.element.classList.add("tracking"),y.shiftKey){const kr=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,se),yp(a.model)||kr?rt="all":rt="selection"}else a.model.at(se).type==="placeholder"?(a.model.setSelection(se-1,se),rt="selection"):((b=a.model.at(se).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(se,se+1),rt="selection"):(a.model.position=se,yp(a.model)?rt="all":rt="selection");a.defaultStyle={},y.detail===3||rf>2?(tr(),(y.detail===3||rf===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},rt="all")):ke||(ke=!0,Xf.start(on,y,qr,tr),(y.detail===2||rf===2)&&(ze=!0,Rh(a.model),rt="all"))}a.hasFocus()||(rt="none",a.focus({preventScroll:!0}))}else Zu=null;a.stopCoalescingUndo(),rt!=="none"&&(a.model.selectionIsCollapsed&&(rt="all"),Yo(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,se=y-(b.top+b.bottom)/2;return z*z+se*se}function Vp(a,y,b,z,se){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const ke=du(a,b);if(!ke)return[1/0,null];let ze=[1/0,null];if(b.hasChildren&&!b.captureSelection&&z>=ke.left&&z<=ke.right)for(const rt of b.children){const ht=Vp(a,y,rt,z,se);ht[0]<=ze[0]&&(ze=ht)}return ze[1]||(ze=[ev(z,se,ke),b]),y.set(b.id,ze),ze}function tv(a,y,b){const[,z]=Vp(a,new Map,a.model.root,y,b);return z}function af(a,y,b,z){var se;const ke=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!ke)return 0;if(y>ke.right||b>ke.bottom+8)return a.model.lastOffset;if(y<ke.left||b<ke.top-8)return 0;z=z!=null?z:{},z.bias=(se=z.bias)!=null?se:0;let ze=tv(a,y,b);const rt=[];let ht=ze;for(;ht;)rt.unshift(ht),ht=ht.parent;for(const xt of rt)if(xt.captureSelection){ze=xt;break}let gt=a.model.offsetOf(ze);if(gt<0)return-1;if(ze.leftSibling)if(z.bias===0&&ze.type!=="placeholder"){const xt=du(a,ze);xt&&y<(xt.left+xt.right)/2&&(gt=a.model.offsetOf(ze.leftSibling))}else z.bias<0&&(gt=a.model.offsetOf(ze.leftSibling));return gt}var nv=class extends ma{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",se=typeof y!="string"?y.getData("application/json+mathlive"):"";if(se)try{const ke=JSON.parse(se);if(ke&&Array.isArray(ke)){a.snapshot();const ze=pu(ke),{model:rt}=a;rt.selectionIsCollapsed||rt.deleteAtoms(Ts(rt.selection));const ht=rt.at(rt.position);if(ht.parent instanceof ya){console.assert(ht.parentBranch!==void 0);const gt=[];let xt=[];ze[0].type==="first"&&ze.shift(),ze[ze.length-1].type==="first"&&ze.pop();for(const gn of ze)gn.type==="first"&&xt.length>0?(gt.push(xt),xt=[gn]):xt.push(gn);xt.length>0&&gt.push(xt);let jt=Number(ht.parentBranch[0]),Gt=Number(ht.parentBranch[1]);const on=ht.parent.maxColumns;for(;ht.parent.colCount-Gt<gt.length&&ht.parent.colCount<on;)ht.parent.addColumn();ht.parent.addChildrenAfter(gt[0],ht);for(let gn=1;gn<gt.length;gn++)Gt++,Gt>=on&&(Gt=0,ht.parent.addRowAfter(jt),jt++),ht.parent.setCell(jt,Gt,gt[gn])}else ht.parent.addChildrenAfter(ze.filter(gt=>gt.type!=="first"),ht);return rt.position=rt.offsetOf(ze[ze.length-1]),rt.contentDidChange({inputType:"insertFromPaste"}),Yo(a),!0}}catch(ke){}if(se=typeof y!="string"?y.getData("application/json"):"",se&&window.MathfieldElement.computeEngine)try{const ke=JSON.parse(se);if(typeof ke=="object"&&"latex"in ke&&ke.latex&&(b=ke.latex),!b){const ze=window.MathfieldElement.computeEngine.box(ke);ze&&!ze.has("Error")&&(b=ze.latex)}b||(z="latex")}catch(ke){}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 ke;return[ke,b]=Ac(b),z==="auto"&&ke&&(z="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:z})&&(a.startRecording(),a.snapshot("paste"),Yo(a)),a.startRecording(),!0}return!1}insert(a,y,b){var z,se;const ke=typeof y=="string"?y:(se=(z=window.MathfieldElement.computeEngine)==null?void 0:z.box(y).latex)!=null?se:"";if(!b.silenceNotifications&&!a.contentWillChange({data:ke,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:ze}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const rt=a.silenceNotifications;a.silenceNotifications=!0;const ht={"?":"\\placeholder{}","@":"\\placeholder{}"};ht[0]=b.insertionMode==="replaceAll"?"":a.getValue(a.selection,"latex-unstyled"),b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Ts(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 gt=-1;ht[0]?ht["@"]=ht[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(gt=iv(a),gt>=0&&(ht["@"]=a.getValue(gt,a.position,"latex"))),ht[0]||(ht[0]=ht["?"]);let xt=!1;const jt=ii=>(xt=!0,ht[ii]);let[Gt,on]=Gp(a,y,jt,b);if(!on)return!1;const gn=on.length===1&&on[0].type==="genfrac";gn&&gt>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(ht["@"]=ht["?"],xt=!1,[Gt,on]=Gp(a,y,jt,b)):gt>=0&&a.deleteAtoms([gt,a.position]);const{parent:tr}=a.at(a.position),qr=tr.hasEmptyBranch("body");if(gn&&Gt!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&tr instanceof no&&tr.leftDelim==="("&&qr){const ii=tr.parent,Lr=tr.parentBranch;ii.removeChild(tr),ii.setChildren(on,Lr)}const qn=a.at(a.position);qn.parent.addChildrenAfter(on,qn),Gt==="latex"&&typeof y=="string"&&(tr==null?void 0:tr.type)==="root"&&qr&&!xt&&(tr.verbatimLatex=y),a.silenceNotifications=rt;const kr=on[on.length-1];if(b.selectionMode==="placeholder"){const ii=on.flatMap(Lr=>[Lr,...Lr.children]).find(Lr=>Lr.type==="placeholder");if(ii){const Lr=a.offsetOf(ii);a.setSelection(Lr-1,Lr),a.announce("move")}else kr&&(a.position=a.offsetOf(kr))}else b.selectionMode==="before"||(b.selectionMode==="after"?kr&&(a.position=a.offsetOf(kr)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(kr)));return a.contentDidChange({data:ke,inputType:"insertText"}),a.silenceNotifications=ze,!0}};function Gp(a,y,b,z){var se;let ke,ze=[];if(typeof y!="string"||z.format==="math-json"){const rt=window.MathfieldElement.computeEngine;if(!rt)return["math-json",[]];[ke,y]=["latex",rt.box(y).latex],ze=Os(y,{context:a.mathfield.context})}else typeof y=="string"&&z.format==="ascii-math"?([ke,y]=Pu(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),ze=Os(y,{context:a.mathfield.context}),ke!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Yf(ze)):(z.format==="auto"||(se=z.format)!=null&&se.startsWith("latex"))&&(z.format==="auto"&&([ke,y]=Pu(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),z.format==="latex"&&([,y]=Ac(y)),ze=Os(y,{context:a.mathfield.context,args:b}),z.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Yf(ze));return gu(ze,z.style),[ke!=null?ke:"latex",ze]}function rv(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof no&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function Yf(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof no&&b.leftDelim==="("){let z=0,se=0,ke=0;for(let ze=0;b.body[ze];ze++)b.body[ze].type==="genfrac"&&(z++,se=ze),ke++;ke===0&&z===1&&(a[y]=b.body[se])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){Yf(y.branch(b));const z=rv(y.branch(b));z&&y.setChildren(z,b)}if(y instanceof ya)for(const b of y.cells)Yf(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 se=ge[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===se);)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 se=[];for(;!y.isFirstSibling&&(Xp(y)||se.length>0);)y.type==="mclose"&&se.unshift(y.value),y.type==="mopen"&&se.length>0&&y.value===ge[se[0]]&&se.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 nv;var av=class extends ma{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"),Yo(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 se=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Ts(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 ke=ov(y,a.mathfield.context);if(gu(ke,b.style),!ke)return!1;const ze=a.at(a.position),rt=ze.parent.addChildrenAfter(ke,ze);return a.silenceNotifications=se,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 "),Os(a,{context:y,parseMode:"text"})}new av;function Ic(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var To=4,gl=20,vs=2*(gl+To),Jf=(a,y)=>`
<line x1="${a+gl}" y1="${y+gl}"
x2="${a>y?a+gl:7*gl+10*To}"
y2="${a<y?y+gl:7*gl+10*To}"/>
<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+gl}" y1="${y+gl}"
x2="${a>y?a+gl:7*gl+10*To}"
y2="${a<y?y+gl:7*gl+10*To}"/>
<svg id="minus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<path class="font" d="m33.33,20c0,1.84-1.49,3.33-3.33,3.33H10c-1.84,0-3.34-1.49-3.34-3.33s1.5-3.34,3.34-3.34h20c1.84,0,3.33,1.5,3.33,3.34Z"/>
</svg>`,Qf=(a,y,b)=>`
<svg id="arrow" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
<circle class="cls-2" cx="20" cy="20" r="20"/>
<g transform="rotate(${b})" transform-origin="20 20">
<path class="font" d="m17.7,7.23h4.6c.52,0,.94.42.94.94v13.82c0,.52.42.94.94.94h3.39c.83,0,1.25,1.01.66,1.6l-7.56,7.56c-.37.37-.96.37-1.32,0l-7.56-7.56c-.59-.59-.17-1.6.66-1.6h3.39c.52,0,.94-.42.94-.94v-13.82c0-.52.42-.94.94-.94Z"/>
</g>
</svg>`,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*gl+10*To+5} ${8*gl+10*To+5}">
<rect
class="MLEP__array-insert-background rows"
x="0"
y="${vs+To}"
height="${3*vs}"
width="${vs}"
rx="${vs/2}"/>
<rect
class="MLEP__array-insert-background columns"
x="${vs+To}"
y="0"
height="${vs}"
width="${3*vs}"
rx="${vs/2}"/>
<g data-command='"moveDown"'>
${Qf(2*(To+vs),2*To+3*vs,0)}
</g>
<g data-command='"moveUp"'>
${Qf(2*(To+vs),2*To+vs,180)}
</g>
<g data-command='"moveToNextWord"'>
${Qf(2*To+3*vs,2*(To+vs),-90)}
</g>
<g data-command='"moveToPreviousWord"'>
${Qf(2*To+vs,2*(To+vs),90)}
</g>
<g>
<g data-command='"addColumnBefore"'>
${Jf(2*To+vs,To)}
</g>
<g data-command='"removeColumn"'>
${Yp(2*To+2*vs,To)}
</g>
<g data-command='"addColumnAfter"'>
${Jf(2*To+3*vs,To)}
</g>
<g data-command='"addRowBefore"'>
${Jf(To,2*To+vs)}
</g>
<g data-command='"removeRow"'>
${Yp(To,2*To+2*vs)}
</g>
<g data-command='"addRowAfter"'>
${Jf(To,2*To+3*vs)}
</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 se=0;z.forEach(gn=>{(!se||gn.length>se)&&(se=gn.length)});let ke=document.getElementById("mathlive-environment-popover");ke||(ke=Of("mathlive-environment-popover"),Dl("environment-popover"),Dl("core"),ke.setAttribute("aria-hidden","true"));let ze;const rt=ke.querySelector(".MLEP__environment-controls");rt?ze=rt:(ze=document.createElement("div"),ke.innerHTML="",ke.appendChild(ze)),ze.className="MLEP__environment-controls",ze.style.display="flex",ze.style.width="100%",ze.style.height="100%",ze.style.boxSizing="border-box",ze.innerHTML=sv;let ht=[],gt="";const xt=a.model.parentEnvironment.environmentName;if($s(xt)){const gn=vv(xt);gt=_h[gn]("active");const tr=_h,{[gn]:qr}=tr,qn=pe(tr,[le(gn)]);ht=Object.values(qn).map(kr=>kr("inactive"))}else if(el(xt)){const gn=yv(xt);gt=jh[gn]("active");const tr=jh,{[gn]:qr}=tr,qn=pe(tr,[le(gn)]);ht=Object.values(qn).map(kr=>kr("inactive"))}else ds(xt)&&(gt=_h.matrix("active"),ht=Object.values(jh).map(gn=>gn("inactive")));const jt=document.createElement("div");jt.className="MLEP__environment-delimiter-controls",jt.style.display="flex",jt.style.flexDirection="column",jt.innerHTML=`
<div class='MLEP__array-delimiter-options'>
${gt}
${ht.join("")}
</div>`,gt&&ze.appendChild(jt),ze.querySelectorAll("[data-command]").forEach(gn=>{const tr=gn.dataset.command;let qr=tr;try{qr=JSON.parse(tr)}catch(qn){}gn.addEventListener("mousedown",qn=>qn.preventDefault()),qr&&gn.addEventListener("click",()=>a.executeCommand(qr))});const on=(b=a.field)==null?void 0:b.getBoundingClientRect();on&&(ke.style.top=`${window.scrollY+(on.top-ke.clientHeight-15)}px`,ke.style.left=`${on.left+20}px`,ke.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"),x("environment-popover"),x("core"))}function $f(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&zo(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,se;const ke=(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 ze=a.getBoundingClientRect(),rt=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let ht=Math.min(rt,(z=y.height)!=null?z:ze.height),gt=zh(y.location.y,ht,y.verticalPos,ke);gt+ht>window.innerHeight-8&&(y.alternateLocation?(gt=zh(y.alternateLocation.y,ht,y.verticalPos,ke),gt+ht>window.innerHeight-8&&(gt=void 0)):gt=void 0),Number.isFinite(gt)||(gt=Math.max(8,window.innerHeight-8-ht),8+ht>window.innerHeight-8&&(a.style.bottom="8px")),ht=Math.min(gt+ht,window.innerHeight-8)-gt;const xt=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let jt=Math.min(xt,(se=y.width)!=null?se:ze.width),Gt=zh(y.location.x,jt,y.horizontalPos,ke);Gt+jt>window.innerWidth-8&&(y.alternateLocation?(Gt=bv(y.alternateLocation.x,jt,y.verticalPos,ke),Gt+jt>window.innerWidth-8&&(Gt=void 0)):Gt=void 0),Number.isFinite(Gt)||(Gt=Math.max(8,window.innerWidth-8-jt),8+jt>window.innerWidth-8&&(a.style.right="8px")),jt=Math.min(Gt+jt,window.innerWidth-8)-Gt,ke==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-Gt-jt).toString()}px`:a.style.left=`${Math.ceil(Gt).toString()}px`,a.style.top=`${Math.ceil(gt).toString()}px`,ht!==ze.height&&(a.style.height=`${Math.ceil(ht).toString()}px`),jt!==ze.width&&(a.style.width=`${Math.ceil(jt).toString()}px`)}function wv(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function bd(a){return"submenu"in a}function Bc(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,bd(a)?(this.type="submenu",this.submenu=new nm(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=Bc(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 se=this._declaration;if(Kh(se)){this.enabled=!1,this.checked=!1;return}Hh(se)&&(this.enabled=!1,this.checked=!1,this.visible=!0),Bc(se)&&(this.checked=Bc(se)&&((y=xd(se.checked,a))!=null?y:!1)),(Bc(se)||bd(se))&&(this.enabled=(b=xd(se.enabled,a))!=null?b:!0,this.visible=(z=xd(se.visible,a))!=null?z:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(Bc(se)||Hh(se)||bd(se))&&(this.label=xd(se.label,a),this.tooltip=xd(se.tooltip,a),this.ariaLabel=xd(se.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),Bc(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,(Bc(this._declaration)||Hh(this._declaration)||bd(this._declaration))&&this._declaration.class&&(a.className=this._declaration.class),a.setAttribute("part","menu-item"),a.setAttribute("tabindex","-1"),this.hasCheck?a.setAttribute("role","menuitemcheckbox"):a.setAttribute("role","menuitem"),this.type==="submenu"&&(a.setAttribute("aria-haspopup","true"),a.setAttribute("aria-expanded","false"));const y=this.abortController.signal;return a.addEventListener("pointerenter",this,{signal:y}),a.addEventListener("pointerleave",this,{signal:y}),a.addEventListener("pointerup",this,{signal:y}),a.addEventListener("click",this,{signal:y}),this._element}dispatchSelect(){if(!Bc(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 ke="right";if(this.submenu.element){const ze=this.submenu.element.getBoundingClientRect(),rt=this.element.getBoundingClientRect();ze.left<rt.left+rt.width/2&&(ke="left")}return ke==="right"?z>0:z<0}};function Sv(a,y,b){return Math.hypot(a,y)/b}function xd(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var nm=class Td{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var z,se;this.parentMenu=(z=b==null?void 0:b.parentMenu)!=null?z:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(se=b==null?void 0:b.columnCount)!=null?se: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,se;this._menuItems.forEach(gt=>gt.updateState(y));const ke=this.hasCheck;this.hasCheck=this._menuItems.some(gt=>gt.visible&&gt.hasCheck),this.hasCheck!==ke&&this._menuItems.forEach(gt=>gt.updateState(y));let ze,rt=0;for(const gt of this._menuItems)gt.type==="heading"?(ze&&rt===0&&(ze.visible=!1),ze=gt,rt=0):gt.type==="divider"&&ze?(ze.visible=rt>0,ze=void 0,rt=0):ze&&gt.visible&&(rt+=1);ze&&(ze.visible=rt>0);let ht=!0;for(const gt of this._menuItems)gt.type==="divider"?(gt.visible=!ht,ht=!0):gt.visible&&(ht=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((z=this.activeMenuItem)!=null&&z.enabled)&&((se=this.activeMenuItem)==null?void 0:se.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,se,ke;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const ze=this.activeMenuItem;ze.active=!1,(b=ze.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?(se=y.element)==null||se.focus({preventScroll:!0}):(ke=this._element)==null||ke.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const z=this._menuItems;for(;!b&&y<=z.length-1;){const se=z[y];b=se.type!=="divider"&&se.visible&&se.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 se=y[b];z=se.type!=="divider"&&se.visible&&se.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 se=this._menuItems.indexOf(this._activeMenuItem),ke=1;for(;se>=b&&se<=z;){se+=y>0?1:-1;const ze=this._menuItems[se];if(!ze)break;if(ze.visible&&ze.enabled){if(ke===Math.abs(y))return this._menuItems[se];ke+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const z=this._menuItems.filter(se=>se.visible&&se.enabled).indexOf(y);return z<0?-1:z%this.columnCount}static get collator(){return Td._collator||(Td._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),Td._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 se=Math.max(...z.map(rt=>rt.label.length))-y.length;if(se<0)return null;let ke=null,ze=0;for(;ze<se&&!ke;)ke=(b=z.find(rt=>Td.collator.compare(y,rt.label.substring(ze,y.length))===0))!=null?b:null,ze++;return ke}show(y){return!this.visible||!y.container?!1:(this.updateElement(),y.container.appendChild(this.element),Ae()&&(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,se,ke;this.openSubmenu=null,this.activeMenuItem=null,this.parentMenu&&(this.parentMenu.openSubmenu=null),Ae()&&((y=this._element)!=null&&y.popover)&&this.element.hidePopover(),(z=(b=this.parentMenu)==null?void 0:b.element)==null||z.focus(),(ke=(se=this._element)==null?void 0:se.parentNode)==null||ke.removeChild(this._element)}set openSubmenu(y){var b,z,se,ke;const ze=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((z=this.activeMenuItem.element)==null||z.setAttribute("aria-expanded",ze.toString())),(ke=(se=this.activeMenuItem)==null?void 0:se.element)==null||ke.classList.toggle("is-submenu-open",ze),this.isSubmenuOpen=ze}},rm=class i0 extends nm{constructor(y,b){var z;super(y),this.state="closed",this.typingBufferResetTimer=0,this.hysteresisTimer=0,this._updating=!1,this._host=(z=b==null?void 0:b.host)!=null?z:null,this.isDynamic=y.some(im),this._modifiers={shift:!1,control:!1,alt:!1,meta:!1},this.typingBuffer="",this.state="closed"}get modifiers(){return this._modifiers}set modifiers(y){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=Nu(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,z,se;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=Nu(y));let ke=!0;const ze=this.activeSubmenu,rt=ze.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":rt==null||rt.select(Nu(y));break;case"ArrowRight":if((rt==null?void 0:rt.type)==="submenu")rt.select(Nu(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!rt)ze.activeMenuItem=ze.firstMenuItem;else{const ht=(b=ze.getMenuItemColumn(rt))!=null?b:-1;if(ht>=0&&ht<((z=ze.columnCount)!=null?z:1)-1){const gt=ze.nextMenuItem(1);gt&&(ze.activeMenuItem=gt)}}break;case"ArrowLeft":if(ze===this.rootMenu)rt||(ze.activeMenuItem=ze.firstMenuItem);else if((rt&&(se=ze.getMenuItemColumn(rt))!=null?se:-1)<=0||!rt){ze.hide();const gt=ze.parentMenu.activeMenuItem;if(gt){const{element:xt}=gt;xt==null||xt.focus(),xt==null||xt.classList.remove("is-submenu-open")}}else{const gt=ze.nextMenuItem(-1);gt&&(ze.activeMenuItem=gt)}break;case"ArrowDown":ze.activeMenuItem=ze.nextMenuItem(ze.columnCount);break;case"ArrowUp":ze.activeMenuItem=ze.nextMenuItem(-ze.columnCount);break;case"Home":case"PageUp":ze.activeMenuItem=ze.firstMenuItem;break;case"End":case"PageDown":ze.activeMenuItem=ze.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const ht=ze.findMenuItem(this.typingBuffer);ht&&(ze.activeMenuItem=ht),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}break;default:if(Mf(y)){isFinite(this.typingBufferResetTimer)&&clearTimeout(this.typingBufferResetTimer),this.typingBuffer+=y.key;const ht=ze.findMenuItem(this.typingBuffer);ht&&(ze.activeMenuItem=ht),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else ke=!1}ke&&(y.preventDefault(),y.stopPropagation())}handleEvent(y){if(y.type==="keydown")this.handleKeydownEvent(y);else if(y.type==="keyup")this.handleKeyupEvent(y);else if(y.type==="pointermove")this.lastMoveEvent=y;else if(y.type==="pointerup"&&y.target===this.scrim)Number.isFinite(this.rootMenu._openTimestamp)&&Date.now()-this.rootMenu._openTimestamp<120?this.state="modal":this.state==="modal"&&this.hide();else if(y.type==="contextmenu"){y.preventDefault(),y.stopPropagation();return}super.handleEvent(y)}dispatchEvent(y){return this._host?this._host.dispatchEvent(y):!0}get scrim(){return Tc.element}connectScrim(y){const b=this.scrim;b.addEventListener("pointerup",this),b.addEventListener("contextmenu",this),b.addEventListener("keydown",this),b.addEventListener("keyup",this),b.addEventListener("pointermove",this),Tc.open({root:y,onDismiss:()=>this.hide()})}disconnectScrim(){const y=this.scrim;y.removeEventListener("pointerup",this),y.removeEventListener("contextmenu",this),y.removeEventListener("keydown",this),y.removeEventListener("keyup",this),y.removeEventListener("pointermove",this),Tc.state==="open"&&Tc.scrim.close()}get rootMenu(){return this}show(y){return this._onDismiss=y==null?void 0:y.onDismiss,y!=null&&y.modifiers&&(this.modifiers=y.modifiers),this.updateState(),this.connectScrim(y==null?void 0:y.target),super.show(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,Tc.element.parentElement.focus(),super.hide(),this.state="closed",this.disconnectScrim()),this._onDismiss&&(this._onDismiss(),this._onDismiss=void 0))}scheduleOperation(y){this.cancelDelayedOperation();const b=i0.SUBMENU_DELAY;if(b<=0){y();return}this.hysteresisTimer=setTimeout(()=>{this.hysteresisTimer=0,y()},b)}cancelDelayedOperation(){this.hysteresisTimer&&(clearTimeout(this.hysteresisTimer),this.hysteresisTimer=0)}};rm.SUBMENU_DELAY=120;var Cv=rm;function im(a){return Kh(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(Bc(a)||bd(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||Bc(a)&&typeof a.checked=="function"?!0:bd(a)?a.submenu.some(im):!1}var qf=class{};qf.DELAY=300,qf.MAX_DISTANCE=10;function Ev(a){return new Promise((y,b)=>{const z=kf(a);z||y(!1);let se=z;const ke=setTimeout(()=>{ze.abort(),y(wv(se,z)<qf.MAX_DISTANCE)},qf.DELAY),ze=new AbortController,rt=ze.signal;for(const ht of["pointermove","pointerup","pointercancel"])window.addEventListener(ht,gt=>{if(gt.type==="pointerup"||gt.type==="pointercancel")clearTimeout(ke),ze.abort(),y(!1);else if(gt.type==="pointermove"){const xt=kf(gt);xt&&(se=xt)}},{passive:!0,signal:rt})})}function am(a,y,b){return bu(this,null,function*(){if(a.type==="contextmenu"){const z=a;if(b.show({target:y,location:kf(z),modifiers:Nu(z)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const z=a;if(z.code==="ContextMenu"||z.code==="F10"&&z.shiftKey){const se=y==null?void 0:y.getBoundingClientRect();if(se&&b.show({target:y,location:{x:Math.ceil(se.left+se.width/2),y:Math.ceil(se.top+se.height/2)},modifiers:Nu(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 se=kf(a);if(yield Ev(a))return b.state!=="closed"?!1:(b.show({target:y,location:se}),!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};wt(Object.keys(om),"{body:auto}",{createAtom:a=>new te(oe(ie({},a),{body:et(a.args[0]),accentChar:om[a.command.slice(1)]}))}),wt(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=lt(et(a.args[0]));return new te(oe(ie({},a),{body:et(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),wt(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new te(oe(ie({},a),{body:et(a.args[0]),svgAccent:"overarc"}))}),wt(["underarc","underparen"],"{body:auto}",{createAtom:a=>new ql(oe(ie({},a),{body:et(a.args[0]),svgBelow:"underarc"}))}),wt("utilde","{body:auto}",{createAtom:a=>{const y=et(a.args[0]),b=lt(y),z="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new ql(oe(ie({},a),{body:y,svgBelow:z,boxType:wc(y)}))}}),wt("^","{:string}",{createAtom:a=>{var y;return new pr(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:"^"}))}}),wt("`","{:string}",{createAtom:a=>{var y;return new pr(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:"`"}))}}),wt("'","{:string}",{createAtom:a=>{var y;return new pr(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:"'"}))}}),wt('"',"{:string}",{createAtom:a=>{var y,b;return new pr(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]:'"'}))}}),wt(".","{:string}",{createAtom:a=>{var y,b;return new pr(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]:"."}))}}),wt("=","{:string}",{createAtom:a=>{var y,b;return new pr(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]:"="}))}}),wt("~","{:string}",{createAtom:a=>{var y;return new pr(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"}))}}),wt("c","{:string}",{createAtom:a=>{var y;return new pr(oe(ie({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),wt("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const z=a.args,se={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 ze=z[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const rt of ze){const ht=rt.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(ht)se.strokeWidth=ht[1],se.strokeStyle=ht[2],se.strokeColor=ht[3];else{const gt=rt.match(/\s*([a-z]*)\s*=\s*"(.*)"/);gt&&(gt[1]==="mathbackground"?se.backgroundcolor=gt[2]:gt[1]==="mathcolor"?se.strokeColor=gt[2]:gt[1]==="padding"?se.padding=gt[2]:gt[1]==="shadow"&&(se.shadow=gt[2]))}}se.strokeStyle==="dashed"?se.svgStrokeStyle="5,5":se.strokeStyle==="dotted"&&(se.svgStrokeStyle="1,5")}se.borderStyle=`${se.strokeWidth} ${se.strokeStyle} ${se.strokeColor}`;const ke={};return((b=z[0])!=null?b:"").split(/[, ]/).filter(ze=>ze.length>0).forEach(ze=>{ke[ze.toLowerCase()]=!0}),new Kd(a.command,et(z[2]),ke,se)}}),wt("cancel","{body:auto}",{createAtom:a=>{var y;return new Kd(a.command,et(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:{}})}}),wt("bcancel","{body:auto}",{createAtom:a=>{var y;return new Kd(a.command,et(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:{}})}}),wt("xcancel","{body:auto}",{createAtom:a=>{var y;return new Kd(a.command,et(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:{}})}}),wt(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new ql(oe(ie({},a),{body:et((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),wt("overbrace","{:auto}",{createAtom:a=>new ql(oe(ie({},a),{body:et(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),wt(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new ql(oe(ie({},a),{body:et(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),wt(["underbrace"],"{:auto}",{createAtom:a=>new ql(oe(ie({},a),{body:et(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),wt(["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,se,ke;return new ql(oe(ie({},a),{svgBody:a.command.slice(1),above:((b=et((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:et((z=a.args)==null?void 0:z[1]),below:(ke=et((se=a.args)==null?void 0:se[0]))!=null?ke: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)}`}),wt(["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 Ru(a.command.slice(1),oe(ie({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),wt(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new Ru({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],oe(ie({},a),{limits:"over-under",variant:"main"}))}),wt(["lim","mod"],"",{ifMode:"math",createAtom:a=>new Ru(a.command.slice(1),oe(ie({},a),{limits:"over-under",variant:"main"}))}),wt(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new Ru(a.command.slice(1),oe(ie({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),wt(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new pr(oe(ie({},a),{body:et(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 se=new Qr("\xB0",{style:oe(ie({},a.style),{variant:"normal",variantStyle:"up"})});return new Qr([b,se],{type:"inner",isSelected:a.isSelected,caret:z})}}),wt("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new sp(oe(ie({},a),{body:et(a.args[1]),index:a.args[0]?et(a.args[0]):void 0}))}),wt(["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 ud(z[0]?et(z[0]):[new Qi],z[1]?et(z[1]):[new Qi],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}`:ho(a.command,b,z)}}),wt(["brace","brack"],"",{infix:!0,createAtom:a=>new ud(et(a.args[0]),et(a.args[1]),oe(ie({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>Ta([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),wt(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const z=a.args;return a.command==="\\choose"&&(y="(",b=")"),new ud(et(z[0]),et(z[1]),oe(ie({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>Ta([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),wt(["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 ud(et(z[0]),et(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)}`}),wt("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new ud(et(a.args[0]),et(a.args[1]),oe(ie({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),wt(["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"}))}),wt("smallint","",{ifMode:"math",createAtom:a=>new Ru("\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"};wt(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]}))}}),wt(["Re","Im"],"",{ifMode:"math",createAtom:a=>new Ru({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],oe(ie({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),wt("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new ip(oe(ie({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),wt("the","{:value}",{createAtom:a=>new pr(oe(ie({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const z=new Ha({parent:y},a.style);let se="";a.isSelected&&(se+=" ML__selected");const ke=z.evaluate(a.args[0]);return new Qr(((b=No(ke))!=null?b:"").split("").map(ze=>new Qr(ze,{type:"ord",classes:se,mode:a.mode,isSelected:a.isSelected,style:ie({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:se}).wrap(z)},serialize:a=>{var y;return`\\the${(y=No(a.args[0]))!=null?y:"\\relax"}`}}),wt("mathtip","{:auto}{:math}",{createAtom:a=>new ph(oe(ie({},a),{body:et(a.args[0]),tooltip:et(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${pr.serialize([a.tooltip],oe(ie({},y),{defaultMode:"math"}))}}`}),wt("texttip","{:auto}{:text}",{createAtom:a=>new ph(oe(ie({},a),{body:et(a.args[0]),tooltip:et(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${pr.serialize([a.tooltip],oe(ie({},y),{defaultMode:"text"}))}}`}),wt("error","{:math}",{createAtom:a=>new pr(oe(ie({},a),{body:et(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),wt("ensuremath","{:math}",{createAtom:a=>new pr(oe(ie({},a),{body:et(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(oe(ie({},y),{defaultMode:"math"}))}}`}),wt("color","{:value}",{applyStyle:(a,y,b)=>{var z,se;return{verbatimColor:(z=No(y[0]))!=null?z:void 0,color:b.toColor((se=y[0])!=null?se:{string:"red"})}}}),wt("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var z,se;return{verbatimColor:(z=No(y[0]))!=null?z:void 0,color:b.toColor((se=y[0])!=null?se:{string:"red"})}}}),wt("boxed","{content:math}",{createAtom:a=>new is(oe(ie({},a),{body:et(a.args[0]),framecolor:{string:"black"}}))}),wt("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var z,se;return{verbatimBackgroundColor:(z=No(y[0]))!=null?z:void 0,backgroundColor:b.toBackgroundColor((se=y[0])!=null?se:{string:"yellow"})}}}),wt("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new is(oe(ie({},a),{body:et(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"})):ho(a.command,(b=No(a.framecolor))!=null?b:"",(z=No(a.backgroundcolor))!=null?z:"",a.bodyToLatex(oe(ie({},y),{defaultMode:"text"})))}}),wt("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],z=et(a.args[1]);return b?new is(oe(ie({},a),{body:z,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new is(oe(ie({},a),{body:z}))},serialize:(a,y)=>{var b,z;if(y.skipStyles)return a.bodyToLatex(y);let se=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const ke=[];a.padding&&ke.push((b=No(a.padding))!=null?b:""),a.border&&ke.push(`border: ${a.border}`),a.backgroundcolor&&ke.push((z=No(a.backgroundcolor))!=null?z:""),se+=`[${ke.join(",")}]`}return ho(se,a.bodyToLatex(y))}}),wt(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new pr(oe(ie({},a),{body:et(a.args[0])})),render:(a,y)=>{const b=new Ha({parent:y,mathstyle:a.command.slice(1)},a.style),z=pr.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):`{${Ta([a.command,a.bodyToLatex(y)])}}`}),wt(["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]})}),wt("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),wt("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),wt("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),wt("selectfont","",{ifMode:"text",applyStyle:()=>({})}),wt("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),wt(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new pr(oe(ie({},a),{body:et(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),wt("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),wt("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),wt("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),wt("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),wt("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),wt("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),wt("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),wt("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),wt("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),wt("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),wt("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),wt("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),wt("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),wt("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),wt("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),wt("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),wt("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),wt("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),wt("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),wt("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),wt("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),wt("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),wt("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),wt("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),wt("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),wt("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),wt("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),wt(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),wt(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),wt("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),wt("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),wt("mbox","{:text}",{ifMode:"math",createAtom:a=>new pr(oe(ie({},a),{type:"mord",body:et(a.args[0]),mode:"math"})),serialize:(a,y)=>ho("\\mbox",a.bodyToLatex(oe(ie({},y),{defaultMode:"text"})))}),wt("text","{:text}",{ifMode:"math",applyMode:"text"}),wt(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new pr(oe(ie({},a),{body:et(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:""})}}),wt(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new pr(oe(ie({},a),{body:et(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}}),wt("htmlData","{data:string}{content:auto}",{createAtom:a=>new pr(oe(ie({},a),{body:et(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}}),wt(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new pr(oe(ie({},a),{body:et(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}}),wt("em","{:rest}",{createAtom:a=>new pr(oe(ie({},a),{body:et(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"})}),wt("emph","{:auto}",{createAtom:a=>new pr(oe(ie({},a),{body:et(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}};wt(["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}))}}),wt(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new Zd(oe(ie({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),wt(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new Zd(oe(ie({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),wt("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new pr(a),render:(a,y)=>{let b=0;const z=y.mathstyle.id;(z===Wc||z===jl)&&(b=1),(z===Fl||z===Cs)&&(b=2),(z===Gs||z===us)&&(b=3);const se=et(a.args[b]);return pr.createBox(y,se)},serialize:(a,y)=>`\\mathchoice{${pr.serialize(a.args[0],y)}}{${pr.serialize(a.args[1],y)}}{${pr.serialize(a.args[2],y)}}{${pr.serialize(a.args[3],y)}}`}),wt("mathop","{:auto}",{createAtom:a=>new pr(oe(ie({},a),{type:"mop",body:et(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let z=pr.createBox(y,a.body);if(a.superscript||a.subscript){const se=(b=a.subsupPlacement)!=null?b:"auto";z=se==="over-under"||se==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:z}):a.attachSupsub(y,{base:z})}return new Qr(a.bind(y,z),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[ho(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)),Ta(b)}}),wt(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new pr(oe(ie({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:et(a.args[0])}))}),wt(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=et(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 pr(oe(ie({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let z=pr.createBox(y,a.body);if(a.superscript||a.subscript){const se=(b=a.subsupPlacement)!=null?b:"auto";z=se==="over-under"||se==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:z}):a.attachSupsub(y,{base:z})}return a.caret&&(z.caret=a.caret),new Qr(a.bind(y,z),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[ho(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)),Ta(b)}}),wt(["char","unicode"],"{charcode:value}",{createAtom:a=>new pr(oe(ie({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${No((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)}}),wt("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new pr(a),render:(a,y)=>{var b,z,se;const ke=new Ha({parent:y,mathstyle:"textstyle"},a.style),ze=ke.toEm((b=a.args[0])!=null?b:{dimension:0}),rt=ke.toEm((z=a.args[1])!=null?z:{dimension:10}),ht=ke.toEm((se=a.args[2])!=null?se:{dimension:10}),gt=new Qr(null,{classes:"rule",type:"ord"});return gt.width=rt,gt.height=ht+ze,gt.depth=-ze,gt.setStyle("border-right-width",rt,"em"),gt.setStyle("border-top-width",ht,"em"),gt.setStyle("border-color",a.style.color),gt.setStyle("vertical-align",ze,"em"),a.isSelected&&gt.setStyle("opacity","50%"),a.bind(ke,gt),a.caret&&(gt.caret=a.caret),gt.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${No(a.args[0])}]`:""}{${No(a.args[1])}}{${No(a.args[2])}}`}),wt(["overline","underline"],"{:auto}",{createAtom:a=>new pr(oe(ie({},a),{body:et(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),z=new Ha({parent:y,mathstyle:"cramp"},a.style),se=pr.createBox(z,a.body);if(!se)return null;const ke=z.metrics.defaultRuleThickness/z.scalingFactor,ze=new Qr(null,{classes:b+"-line"});ze.height=ke,ze.maxFontSize=ke*1.125*z.scalingFactor;let rt;return b==="overline"?rt=new oo({shift:0,children:[{box:se},3*ke,{box:ze},ke]}):rt=new oo({top:se.height,children:[ke,{box:ze},3*ke,{box:se}]}),a.caret&&(rt.caret=a.caret),new Qr(rt,{classes:b,type:"ignore"})}}),wt("overset","{:auto}{base:auto}",{createAtom:a=>{const y=et(a.args[1]);return new ql(oe(ie({},a),{above:et(a.args[0]),body:y,skipBoundary:!1,boxType:wc(y)}))},serialize:(a,y)=>ho(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),wt("underset","{:auto}{base:auto}",{createAtom:a=>{const y=et(a.args[1]);return new ql(oe(ie({},a),{below:et(a.args[0]),body:y,skipBoundary:!1,boxType:wc(y)}))},serialize:(a,y)=>ho(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),wt("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=et(a.args[2]);return new ql(oe(ie({},a),{above:et(a.args[0]),below:et(a.args[1]),body:y,skipBoundary:!1,boxType:wc(y)}))},serialize:(a,y)=>ho(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),wt(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new ql(oe(ie({},a),{body:et(a.args[2]),above:et(a.args[1]),below:et(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>ho(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),wt("smash","[:string]{:auto}",{createAtom:a=>{var y,b,z,se;return new Wd(oe(ie({},a),{body:et(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(se=(z=a.args[0])==null?void 0:z.includes("b"))!=null?se:!0}))}}),wt(["vphantom"],"{:auto}",{createAtom:a=>new Wd(oe(ie({},a),{body:et(a.args[0]),isInvisible:!0,smashWidth:!0}))}),wt(["hphantom"],"{:auto}",{createAtom:a=>new Wd(oe(ie({},a),{body:et(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),wt(["phantom"],"{:auto}",{createAtom:a=>new Wd(oe(ie({},a),{body:et(a.args[0]),isInvisible:!0}))}),wt("not","{:math}",{createAtom:a=>{const y=et(a.args[0]);return y.length===0?new pr(oe(ie({},a),{type:"mrel",value:"\uE020"})):new pr(oe(ie({},a),{body:[new Lu(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{${pr.serialize(b.group,y)}}`:`\\not${pr.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":wc(et(a.args[0])),se=pr.createBox(y,a.body,{type:z});return a.caret&&(se.caret=a.caret),a.bind(y,se)}}),wt(["ne","neq"],"",{createAtom:a=>new pr(oe(ie({},a),{type:"mrel",body:[new Lu(oe(ie({},a),{body:"\uE020",align:"right",boxType:"rel"})),new pr(oe(ie({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),wt("rlap","{:auto}",{createAtom:a=>new Lu(oe(ie({},a),{body:et(a.args[0]),align:"right"}))}),wt("llap","{:auto}",{createAtom:a=>new Lu(oe(ie({},a),{body:et(a.args[0]),align:"left"}))}),wt("mathrlap","{:math}",{createAtom:a=>new Lu(oe(ie({},a),{body:et(a.args[0]),align:"left"}))}),wt("mathllap","{:math}",{createAtom:a=>new Lu(oe(ie({},a),{body:et(a.args[0]),align:"left"}))}),wt("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new is(oe(ie({},a),{body:et(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return ho("\\raisebox",(b=No(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),wt("raise","{:value}{:auto}",{createAtom:a=>{var y;return new is(oe(ie({},a),{body:et(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return ho("\\raise",(b=No(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),wt("lower","{:value}{:auto}",{createAtom:a=>{var y;return new is(oe(ie({},a),{body:et(a.args[1]),padding:{dimension:0},offset:(y=sl(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,z;return ho("\\lower",(z=No(sl((b=a.offset)!=null?b:{dimension:0},-1)))!=null?z:"0pt",a.bodyToLatex(y))}}),Pe("0123456789/@.?!"),Fe(65,90),Fe(97,122),Pe([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),Pe([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),Pe([["\\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]]),Pe([["\\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"),Pe([["\\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"]]),Pe([["\\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"]]),Pe([["\\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"),Pe([["+",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"),Pe([["\\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"),Pe([["\\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]]),Pe([["=",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"),Pe([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),Pe([["\\wp",8472],["\\aleph",8501]]),Pe([["\\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"),Pe([["\\ ",160],["~",160]],"space"),wt(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new Zd(a)}),wt("space","",{createAtom:a=>new Zd(a)}),Pe([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),Pe([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),Pe([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var cm="<mo>&#x2061;</mo>",eh="<mo>&#8290;</mo>";function th(a){return a.replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function wo(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Av(a,y,b){var z,se,ke,ze,rt,ht,gt,xt,jt,Gt,on;let gn=!1;y=y!=null?y:a.atoms.length;let tr="",qr="",qn=a.atoms[a.index];const kr=(se=(z=qn.style)==null?void 0:z.variant)!=null?se:"",ii=(ze=(ke=qn.style)==null?void 0:ke.variantStyle)!=null?ze:"";let Lr="";if(kr||ii){const Vi=dt(qn.value,(rt=qn.style)==null?void 0:rt.variant,(ht=qn.style)==null?void 0:ht.variantStyle);if(Vi!==qn.value)return a.index+=1,tr=`<mi${wo(qn.id,b)}>${Vi}</mi>`,Gc(tr,a,b)||(a.mathML+=tr,a.lastType="mi"),!0;Lr=(gt={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"}[ii+kr])!=null?gt:"",Lr=` mathvariant="${Lr}"`}const Li={"\\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(qn.command==="!")return a.index+=1,tr="<mo>!</mo>",Gc(tr,a,b)||(a.mathML+=tr,a.lastType="mo"),!0;if(Li[qn.command]){a.index+=1;let Vi=`<mi${wo(qn.id,b)}${Lr}>${Li[qn.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(Vi=eh+Vi),Gc(Vi,a,b)||(a.mathML+=Vi,a.lastType="mi"),!0}if(qn.command==="\\operatorname")qr=wd(qn.body),a.index+=1;else if(kr||ii)for(;a.index<y&&(qn.type==="mord"||qn.type==="macro")&&!qn.isDigit()&&kr===((jt=(xt=qn.style)==null?void 0:xt.variant)!=null?jt:"")&&ii===((on=(Gt=qn.style)==null?void 0:Gt.variantStyle)!=null?on:"");)qr+=wd([qn]),a.index+=1,qn=a.atoms[a.index];else(qn.type==="mord"||qn.type==="macro")&&!qn.isDigit()&&(qr+=wd([qn]),a.index+=1);if(qr.length>0){gn=!0,tr=`<mi${Lr}>${qr}</mi>`;const Vi=a.lastType;tr.endsWith(">f</mi>")||tr.endsWith(">g</mi>")?(tr+=cm,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(tr)?"mo":"mi",Gc(tr,a,b)||((Vi==="mi"||Vi==="mn"||Vi==="mtext"||Vi==="fence")&&(tr=eh+tr),a.mathML+=tr)}return gn}function kv(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function Mv(a){let y=-1,b=a.index,z=!1,se=!1;for(;b<a.atoms.length&&!z&&!se;){const ke=a.atoms[b];z=!ke.isDigit(),se=!z&&ke.superscript!==void 0,b++}return se&&(y=b-1),y}function Gc(a,y,b){var z;let se=y.atoms[y.index-1];if(!se)return!1;if(!se.superscript&&!se.subscript)if(((z=y.atoms[y.index])==null?void 0:z.type)==="subsup")se=y.atoms[y.index],y.index+=1;else return!1;const ke=y.lastType;y.lastType="";const ze=ro(se.superscript,b);y.lastType="";const rt=ro(se.subscript,b);if(y.lastType=ke,!ze&&!rt)return!1;let ht="";return ze&&rt?ht=`<msubsup>${a}${rt}${ze}</msubsup>`:ze?ht=`<msup>${a}${ze}</msup>`:rt&&(ht=`<msub>${a}${rt}</msub>`),y.mathML+=ht,y.lastType="",!0}function Tv(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let se="";for(;a.index<y&&a.atoms[a.index].mode==="text";)se+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return se.length>0?(a.mathML+=`<mtext ${wo(a.atoms[z].id,b)}>${se}</mtext>`,a.lastType="mtext",!0):!1}function Dv(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let se="",ke=Mv(a);for(ke>=0&&ke<y&&(y=ke);a.index<y&&a.atoms[a.index].isDigit();)se+=a.atoms[a.index].asDigit(),a.index+=1;return se.length<=0?!1:(se="<mn"+wo(a.atoms[z].id,b)+">"+se+"</mn>",ke<0&&kv(a)&&(ke=a.index,a.index+=1),Gc(se,a,b)||(a.mathML+=se,a.lastType="mn"),!0)}function Ov(a,y,b){let z=!1;y=y!=null?y:a.atoms.length;let se="",ke="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let ze=!1,rt=0;const ht=a.index;let gt=-1,xt=ht+1;for(;xt<y&&!ze;)a.atoms[xt].type==="mopen"?rt+=1:a.atoms[xt].type==="mclose"&&(rt-=1),rt===-1&&(ze=!0,gt=xt),xt+=1;ze&&(se="<mrow>",se+=Uu(a.atoms[ht],b),se+=ro(a.atoms,b,ht+1,gt),se+=Uu(a.atoms[gt],b),se+="</mrow>",a.index=gt+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=eh),Gc(se,a,b)&&(z=!0,a.lastType="",se=""),ke="fence")}return se.length>0&&(z=!0,a.mathML+=se,a.lastType=ke),z}function Iv(a,y,b){let z=!1;y=y!=null?y:a.atoms.length;let se="",ke="";const ze=a.atoms[a.index];if(!ze)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[ze.command]){a.index+=1;const ht=`<mo${wo(ze.id,b)}>${rt[ze.command]}</mo>`;return Gc(ht,a,b)||(a.mathML+=ht,a.lastType="mo"),!0}if(a.index<y&&(ze.type==="mbin"||ze.type==="mrel"))se+=Zh(a.atoms[a.index],b),a.index+=1,ke="mo";else if(a.index<y&&(ze.type==="mop"||ze.type==="operator"||ze.type==="extensible-symbol")){if(ze.subsupPlacement==="over-under"&&(ze.superscript||ze.subscript)){const ht=Uu(ze,b);return ze.superscript&&ze.subscript?(se+="<munderover>"+ht,se+=ro(ze.subscript,b),se+=ro(ze.superscript,b),se+="</munderover>"):ze.superscript?(se+="<mover>"+ht,se+=ro(ze.superscript,b),se+="</mover>"):ze.subscript&&(se+="<munder>"+ht,se+=ro(ze.subscript,b),se+="</munder>"),a.mathML+=se,a.lastType="mo",a.index+=1,!0}{const ht=a.atoms[a.index],gt=ht.value==="\\operatorname",xt=gt?'<mi class="MathML-Unit"'+wo(ht.id,b)+">"+wd(ht.value)+"</mi>":Uu(ht,b);se+=xt,!gt&&!/^<mo>(.*)<\/mo>$/.test(xt)?(se+=cm,ke="applyfunction"):ke=gt?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(se)&&(se=eh+se),a.index+=1}return se.length>0&&(z=!0,Gc(se,a,b)||(a.mathML+=se,a.lastType=ke)),z}function ro(a,y,b,z){y!=null||(y={});const se={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")se.mathML=a.toString();else if(typeof a=="string")se.mathML=a;else if(a instanceof pr)se.mathML=Zh(a,y);else if(Array.isArray(a)){se.atoms=a;let ke=0;for(z=z||(a?a.length:0);se.index<z;)if(Tv(se,z,y)||Dv(se,z,y)||Av(se,z,y)||Iv(se,z,y)||Ov(se,z,y))ke+=1;else if(se.index<z){let ze=Zh(se.atoms[se.index],y);se.lastType==="mn"&&ze.length>0&&se.atoms[se.index].type==="genfrac"&&(ze="<mo>&#x2064;</mo>"+ze),se.atoms[se.index].type==="genfrac"?se.lastType="mfrac":se.lastType="",se.index+=1,Gc(ze,se,y)?ke+=1:ze.length>0&&(se.mathML+=ze,ke+=1)}ke>1&&(se.mathML="<mrow>"+se.mathML+"</mrow>")}return se.mathML}function Uu(a,y){let b="";const z=wd(a.value);return z&&(b="<mo"+wo(a.id,y)+">"+z+"</mo>"),b}function wd(a){if(!a)return"";if(typeof a=="string")return th(a);if(!Array.isArray(a)&&typeof a.body=="string")return th(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return th(y)}function Zh(a,y){var b,z,se,ke,ze,rt,ht,gt,xt,jt,Gt,on,gn,tr,qr,qn,kr,ii,Lr,Li,Vi,Ki;if(a.mode==="text")return`<mi${wo(a.id,y)}>${a.value}</mi>`;const Za={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"},mo={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let ci="",Zl="",Lc,tc,Bs,Ul,vl,So;const{command:os}=a;if(a.command==="\\error")return`<merror${wo(a.id,y)}>${ro(a.body,y)}</merror>`;const Ps={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},Rc={"\\vec":"&#x20d7;","\\acute":"&#x00b4;","\\grave":"&#x0060;","\\dot":"&#x02d9;","\\ddot":"&#x00a8;","\\tilde":"&#x007e;","\\bar":"&#x00af;","\\breve":"&#x02d8;","\\check":"&#x02c7;","\\hat":"&#x005e;"};switch(a.type){case"first":break;case"group":case"root":ci=ro(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(ci+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(ci+="<mo>"+(Ps[a.leftDelim]||a.leftDelim)+"</mo>")),ci+="<mtable",a.colFormat){for(ci+=' columnalign="',Bs=0;Bs<a.colFormat.length;Bs++)a.colFormat[Bs].align&&(ci+={l:"left",c:"center",r:"right"}[a.colFormat[Bs].align]+" ");ci+='"'}for(ci+=">",tc=0;tc<a.array.length;tc++){for(ci+="<mtr>",Lc=0;Lc<a.array[tc].length;Lc++)ci+="<mtd>"+ro(a.array[tc][Lc],y)+"</mtd>";ci+="</mtr>"}ci+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(ci+="<mo>"+(Ps[a.leftDelim]||a.rightDelim)+"</mo>"),ci+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(ci+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(ci+="<mo"+wo(a.id,y)+">"+(Ps[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(ci+="<mfrac>",ci+=ro(a.above,y)||"<mi>&nbsp;</mi>",ci+=ro(a.below,y)||"<mi>&nbsp;</mi>",ci+="</mfrac>"):(ci+="<mtable"+wo(a.id,y)+">",ci+="<mtr>"+ro(a.above,y)+"</mtr>",ci+="<mtr>"+ro(a.below,y)+"</mtr>",ci+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(ci+="<mo"+wo(a.id,y)+">"+(Ps[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(ci+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(ci+="<msqrt"+wo(a.id,y)+">",ci+=ro(a.body,y),ci+="</msqrt>"):(ci+="<mroot"+wo(a.id,y)+">",ci+=ro(a.body,y),ci+=ro(a.above,y),ci+="</mroot>");break;case"leftright":const Nc=a,_c=Nc.leftDelim;ci="<mrow>",_c&&_c!=="."&&(ci+=`<mo${wo(a.id,y)}>${(b=Ps[_c])!=null?b:_c}</mo>`),a.body&&(ci+=ro(a.body,y));const jc=Nc.matchingRightDelim();jc&&jc!=="."&&(ci+=`<mo${wo(a.id,y)}>${(z=Ps[jc])!=null?z:jc}</mo>`),ci+="</mrow>";break;case"sizeddelim":case"delim":ci+=`<mo${wo(a.id,y)}>${Ps[a.value]||a.value}</mo>`;break;case"accent":ci+='<mover accent="true"'+wo(a.id,y)+">",ci+=ro(a.body,y),ci+="<mo>"+(Rc[os]||a.accent)+"</mo>",ci+="</mover>";break;case"line":case"overlap":break;case"overunder":vl=a.above,Ul=a.below,(a.svgAbove||vl)&&(a.svgBelow||Ul)?So=a.body:vl&&vl.length>0?(So=a.body,(ke=(se=a.body)==null?void 0:se[0])!=null&&ke.below?(Ul=a.body[0].below,So=a.body[0].body):((rt=(ze=a.body)==null?void 0:ze[0])==null?void 0:rt.type)==="first"&&((gt=(ht=a.body)==null?void 0:ht[1])!=null&&gt.below)&&(Ul=a.body[1].below,So=a.body[1].body)):Ul&&Ul.length>0&&(So=a.body,(jt=(xt=a.body)==null?void 0:xt[0])!=null&&jt.above?(vl=a.body[0].above,So=a.body[0].body):((on=(Gt=a.body)==null?void 0:Gt[0])==null?void 0:on.type)==="first"&&((tr=(gn=a.body)==null?void 0:gn[1])!=null&&tr.above)&&(vl=a.body[1].overscript,So=a.body[1].body)),(a.svgAbove||vl)&&(a.svgBelow||Ul)?(ci+=`<munderover ${wo(a.id,y)}>`,ci+=(qr=Za[a.svgBody])!=null?qr:ro(So,y),ci+=(qn=Za[a.svgBelow])!=null?qn:ro(Ul,y),ci+=(kr=Za[a.svgAbove])!=null?kr:ro(vl,y),ci+="</munderover>"):a.svgAbove||vl?(ci+=`<mover ${wo(a.id,y)}>`+((ii=Za[a.svgBody])!=null?ii:ro(So,y)),ci+=(Lr=Za[a.svgAbove])!=null?Lr:ro(vl,y),ci+="</mover>"):(a.svgBelow||Ul)&&(ci+=`<munder ${wo(a.id,y)}>`+((Li=Za[a.svgBody])!=null?Li:ro(So,y)),ci+=(Vi=Za[a.svgBelow])!=null?Vi:ro(Ul,y),ci+="</munder>");break;case"placeholder":ci+="?";break;case"mord":{ci=typeof a.value=="string"?a.value:os,os==="\\char"?ci="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":ci.length>0&&ci.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?ci="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?ci=a.value.charAt(0):(console.error("Did not expect this"),ci=""));const gc=/\d/.test(ci)?"mn":"mi";ci=`<${gc}${wo(a.id,y)}>${th(ci)}</${gc}>`;break}case"mbin":case"mrel":case"minner":ci=Uu(a,y);break;case"mpunct":ci='<mo separator="true"'+wo(a.id,y)+">"+os+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(ci="<mo"+wo(a.id,y)+">",ci+=os==="\\operatorname"?a.body:os||a.body,ci+="</mo>");break;case"box":ci='<menclose notation="box"',a.backgroundcolor&&(ci+=' mathbackground="'+a.backgroundcolor+'"'),ci+=wo(a.id,y)+">"+ro(a.body,y)+"</menclose>";break;case"spacing":ci+='<mspace width="'+((Ki=mo[os])!=null?Ki:0)+'em"/>';break;case"enclose":ci='<menclose notation="';for(const gc in a.notation)Object.prototype.hasOwnProperty.call(a.notation,gc)&&a.notation[gc]&&(ci+=Zl+gc,Zl=" ");ci+=wo(a.id,y)+'">'+ro(a.body,y)+"</menclose>";break;case"prompt":ci='<menclose notation="roundexbox""">'+ro(a.body,y)+"</menclose>";break;case"space":ci+="&nbsp;";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":ci+=Uu(a,y);break;case"mclose":ci+=Uu(a,y);break;case"macro":{const gc=a.command+wd(a.macroArgs);gc&&(ci+=`<mo ${wo(a.id,y)}>${gc}</mo>`)}break;case"latexgroup":ci+=ro(a.body,y);break;case"latex":ci+="<mtext"+wo(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":ci+=ro(a.body,y);break;case"text":ci+=`<mtext ${wo(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${wo(a.id,y)} displaystyle="true">${ro(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${wo(a.id,y)} displaystyle="false">${ro(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return ci}var Sd={"\\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"},Uh={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 of(a){let y=0;if(re(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function Pv(a){if(re(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function um(a){let y="";if(re(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function Lv(a){return a?a.map(y=>y.value).join(""):""}function za(a,y){var b,z,se,ke,ze;function rt(xt){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(xt)?` <say-as interpret-as="character">${xt}</say-as>`:/[A-Z]/.test(xt)?`capital <say-as interpret-as="character">${xt.toLowerCase()}</say-as>`:xt:/[a-z]/.test(xt)?" '"+xt.toUpperCase()+"'":/[A-Z]/.test(xt)?" 'capital "+xt.toUpperCase()+"'":xt}function ht(xt){return"<emphasis>"+xt+"</emphasis>"}if(!y)return"";let gt="";if(re(y)){let xt=!1,jt=!1;for(let Gt=0;Gt<y.length;Gt++)y[Gt].type!=="first"&&(y[Gt].mode!=="text"&&(jt=!1),Gt<y.length-2&&y[Gt].type==="mopen"&&y[Gt+2].type==="mclose"&&y[Gt+1].type==="mord"?(gt+=" of ",gt+=ht(za(a,y[Gt+1])),Gt+=2):y[Gt].mode==="text"?jt?gt+=(b=y[Gt].value)!=null?b:" ":(jt=!0,gt+=za("text",y[Gt])):y[Gt].isDigit()?xt?gt+=y[Gt].asDigit():(xt=!0,gt+=za(a,y[Gt])):(xt=!1,gt+=za(a,y[Gt])))}else if(y.mode==="text")y.id&&a==="math"&&(gt+='<mark name="'+y.id.toString()+'"/>'),gt+=y.value;else{y.id&&a==="math"&&(gt+='<mark name="'+y.id.toString()+'"/>');let xt="",jt="",Gt="",on=!1;const{command:gn}=y;switch(gn){case"\\vec":return"vector "+za(a,y.body);case"\\acute":return za(a,y.body)+" acute";case"\\grave":return za(a,y.body)+" grave";case"\\dot":return"dot over"+za(a,y.body);case"\\ddot":return"double dot over"+za(a,y.body);case"\\mathring":return"ring over"+za(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+za(a,y.body);case"\\bar":return za(a,y.body)+" bar";case"\\breve":return za(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+za(a,y.body);case"\\hat":case"\\widehat":return"hat over"+za(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+za(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+za(a,y.body)}switch(y.type){case"prompt":const tr=y.body.length>1?'start input . <break time="500ms"/> '+za(a,y.body)+'. <break time="500ms"/> end input':"blank";gt+=' <break time="300ms"/> '+tr+'. <break time="700ms"/>'+((z=y.correctness)!=null?z:"")+' . <break time="700ms"/> ';break;case"array":const qr=y.array,qn=y.environmentName;if(Object.keys(Uh).includes(qn)){gt+=` begin ${Uh[qn]} `;for(let Lr=0;Lr<qr.length;Lr++){Lr>0&&(gt+=","),gt+=` row ${Lr+1} `;for(let Li=0;Li<qr[Lr].length;Li++)Li>0&&(gt+=","),gt+=` column ${Li+1}: `,gt+=za("math",qr[Lr][Li])}gt+=` end ${Uh[qn]} `}break;case"group":gn==="\\ne"?gt+=" not equal ":(gn==="\\not"&&(gt+=" not "),gt+=za("math",y.body));break;case"root":gt+=za("math",y.body);break;case"genfrac":if(xt=za("math",y.above),jt=za("math",y.below),of(y.above)&&of(y.below)){const Li={"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)];Li?gt=Li:gt+=xt+" over "+jt}else gt+=' the fraction <break time="150ms"/>'+xt+' over <break time="150ms"/>'+jt+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(Gt=za("math",y.body),y.hasEmptyBranch("above"))gt+=of(y.body)?" the square root of "+Gt+" , ":' the square root of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End square root';else{let Lr=za("math",y.above);Lr=Lr.trim();const Li=Lr.replace(/<mark([^/]*)\/>/g,"");Li==="3"?gt+=' the cube root of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End cube root':Li==="n"?gt+=' the nth root of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End root':gt+=' the root with index: <break time="200ms"/>'+Lr+', of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End root'}break;case"leftright":{const Lr=y;gt+=(se=Lr.leftDelim?Sd[Lr.leftDelim]:void 0)!=null?se:Lr.leftDelim,gt+=za("math",y.body),gt+=(ke=Lr.rightDelim?Sd[Lr.rightDelim]:void 0)!=null?ke:Lr.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const kr=gn.replace(/^\\/g,""),ii=Nt()[kr];ii&&(ii!=null&&ii.expand?gt+=za("math",y.body):gt+=`${kr} `);break;case"placeholder":gt+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(gn==="\\mathbin"||gn==="\\mathrel"||gn==="\\mathopen"||gn==="\\mathclose"||gn==="\\mathpunct"||gn==="\\mathord"||gn==="\\mathinner"){gt=za(a,y.body);break}let Lr=y.isDigit()?y.asDigit():y.value,Li=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(Li=y.value,Lr=Li),a==="text")gt+=Lr;else{if(y.type==="mbin"&&(gt+='<break time="150ms"/>'),Lr){const Vi=Sd[Lr]||(Li?Sd[Li.trim()]:"");if(Vi)gt+=" "+Vi;else{const Ki=Li?Bv(Li.trim()):"";gt+=Ki||rt(Lr)}}else gt+=za("math",y.body);y.type==="mbin"&&(gt+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const Lr=y.command;if(Lr==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Li=za("math",y.superscript);Li=Li.trim();let Vi=za("math",y.subscript);Vi=Vi.trim(),gt+=' the summation from <break time="200ms"/>'+Vi+'<break time="200ms"/> to <break time="200ms"/>'+Li+'<break time="200ms"/> of <break time="150ms"/>',on=!0}else if(y.hasEmptyBranch("subscript"))gt+=" the summation of";else{let Li=za("math",y.subscript);Li=Li.trim(),gt+=' the summation from <break time="200ms"/>'+Li+'<break time="200ms"/> of <break time="150ms"/>',on=!0}else if(Lr==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Li=za("math",y.superscript);Li=Li.trim();let Vi=za("math",y.subscript);Vi=Vi.trim(),gt+=' the product from <break time="200ms"/>'+Vi+'<break time="200ms"/> to <break time="200ms"/>'+Li+'<break time="200ms"/> of <break time="150ms"/>',on=!0}else if(y.hasEmptyBranch("subscript"))gt+=" the product of ";else{let Li=za("math",y.subscript);Li=Li.trim(),gt+=' the product from <break time="200ms"/>'+Li+'<break time="200ms"/> of <break time="150ms"/>',on=!0}else if(Lr==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Li=za("math",y.superscript);Li=Li.trim();let Vi=za("math",y.subscript);Vi=Vi.trim(),gt+=' the integral from <break time="200ms"/>'+ht(Vi)+'<break time="200ms"/> to <break time="200ms"/>'+ht(Li)+' <break time="200ms"/> of ',on=!0}else gt+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const Li=(ze=Sd[y.value])!=null?ze:y.command?Sd[y.command]:void 0;gt+=Li||" "+y.value}else y.command&&(y.command==="\\mathop"?gt+=za("math",y.body):y.command==="\\operatorname"?gt+=Lv(y.body):gt+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":Gt=za("math",y.body),gt+=" crossed out "+Gt+". End crossed out.";break;case"space":case"spacing":break}if(!on&&!y.hasEmptyBranch("superscript")){let tr=za(a,y.superscript);tr=tr.trim();const qr=tr.replace(/<[^>]*>/g,"");if(of(y.superscript)){if(a==="math"){const qn=Pv(y.superscript);qn&&(gt+='<mark name="'+qn+'"/>')}qr==="\u2032"?gt+=" prime ":qr==="2"?gt+=" squared ":qr==="3"?gt+=" cubed ":Number.isNaN(Number.parseInt(qr))?gt+=" to the "+tr+"; ":gt+=' to the <say-as interpret-as="ordinal">'+qr+"</say-as> power; "}else Number.isNaN(Number.parseInt(qr))?gt+=" raised to the "+tr+"; ":gt+=' raised to the <say-as interpret-as="ordinal">'+qr+"</say-as> power; "}if(!on&&!y.hasEmptyBranch("subscript")){let tr=za("math",y.subscript);tr=tr.trim(),gt+=of(y.subscript)?" sub "+tr:" subscript "+tr+". End subscript. "}}return gt}function Cd(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const se=ro(a);if(se){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 ke=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&ke.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let ze="";try{ze=ke.toSpeech(se)}catch(rt){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",rt)}return ze}return""}let z=za("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let se="";window.MathfieldElement.speechEngineRate&&(se='<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>'+se+"<p><s>"+z+"</s></p>"+(se?"</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 sf={"\\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"},lf={"\\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 as(a){var y,b,z,se,ke,ze,rt,ht,gt,xt,jt,Gt,on;if(!a)return"";if(re(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(as).join("");if(a[0].mode==="text"){let ii=0,Lr="";for(;((y=a[ii])==null?void 0:y.mode)==="text";)Lr+=a[ii].body?as(a[ii].body):a[ii].value,ii++;return`"${Lr}" ${as(a.slice(ii))}`}let qn=0;const kr=[];for(;a[qn]&&a[qn].mode==="math";){let ii="";for(;a[qn]&&a[qn].type==="mord"&&/\d/.test(a[qn].value);)ii+=a[qn++].value;ii?kr.push(ii):kr.push(as(a[qn++]))}return kr.push(as(a.slice(qn))),Rv(kr)}if(a.mode==="text")return`"${a.value}"`;let gn="";const{command:tr}=a;let qr;if(tr==="\\placeholder")return`(${as(a.body)})`;switch(a.type){case"accent":const qn={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[tr];gn=`${qn!=null?qn:""} ${as(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(Ki=>Ki.value).join("");case"group":case"root":gn=(b=sf[tr])!=null?b:as(a.body);break;case"genfrac":{const Ki=a;(Ki.leftDelim||Ki.rightDelim)&&(gn=Ki.leftDelim==="."||!Ki.leftDelim?"{:":Ki.leftDelim),Ki.hasBarLine?(gn+="(",gn+=as(Ki.above),gn+=")/(",gn+=as(Ki.below),gn+=")"):(gn+="("+as(Ki.above)+"),",gn+="("+as(Ki.below)+")"),(Ki.leftDelim||Ki.rightDelim)&&(gn+=Ki.rightDelim==="."||!Ki.rightDelim?"{:":Ki.rightDelim)}break;case"surd":gn+=a.hasEmptyBranch("above")?"sqrt("+as(a.body)+")":"root("+as(a.above)+")("+as(a.body)+")";break;case"latex":gn=a.value;break;case"leftright":{const Ki=a,Za=Ki.leftDelim;gn+=Za==="."||!Za?"{:":Za,gn+=as(Ki.body);const mo=Ki.matchingRightDelim();gn+=mo==="."||!mo?":}":mo}break;case"sizeddelim":case"delim":gn=a.value;break;case"overlap":break;case"overunder":break;case"mord":gn=(se=(z=sf[tr])!=null?z:tr)!=null?se:typeof a.value=="string"?a.value:"",gn.startsWith("\\")&&(gn+=" "),qr=tr?tr.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,qr?gn=String.fromCodePoint(Number.parseInt("0x"+qr[1])):gn.length>0&&gn.startsWith("\\")&&(gn=typeof a.value=="string"?a.value.charAt(0):a.command),gn=Nv(gn,a.style);break;case"mbin":case"mrel":case"minner":gn=(ze=(ke=sf[tr])!=null?ke:lf[tr])!=null?ze:a.value;break;case"mopen":case"mclose":gn=a.value;break;case"mpunct":gn=(rt=lf[tr])!=null?rt:tr;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(lf[tr]?gn=lf[tr]:gn=tr==="\\operatorname"?as(a.body):(ht=a.value)!=null?ht:tr,gn+=" ");break;case"array":const kr=a.array,ii=a.environmentName,Lr=(gt={bmatrix:["[","]"],"bmatrix*":["[","]"]}[ii])!=null?gt:["(",")"],Li=[];for(const Ki of kr){const Za=[];for(const mo of Ki)Za.push(Lr[0]+as(mo)+Lr[1]);Li.push(Za.join(","))}const Vi=(xt={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[ii])!=null?xt:["(",")"];gn=Vi[0]+Li.join(",")+Vi[1];break;case"box":break;case"spacing":gn=(jt=sf[tr])!=null?jt:" ";break;case"enclose":gn="("+as(a.body)+")";break;case"space":gn=" ";break;case"subsup":gn="";break;case"macro":gn=(on=(Gt=sf[tr])!=null?Gt:lf[tr])!=null?on:as(a.body);break}if(!a.hasEmptyBranch("subscript")){gn+="_";const qn=as(a.subscript);gn+=qn.length!==1?`(${qn})`:qn}if(!a.hasEmptyBranch("superscript")){gn+="^";const qn=as(a.superscript);gn+=qn.length!==1?`(${qn})`:qn}return gn}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 Is(a,y){var b,z;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const se=new Ha({from:oe(ie({},rd()),{renderPlaceholder:()=>new Qr(160,{maxFontSize:1}),letterShapeStyle:(z=y==null?void 0:y.letterShapeStyle)!=null?z:"tex"}),mathstyle:y.mathstyle}),ze=new pr({mode:"math",type:"root",body:Os(a,{context:se,parseMode:"math",mathstyle:y.mathstyle})}).render(se);return ze?(su(Ud(ze,se)),lu(ze,{classes:"ML__latex"}).toMarkup()):""}function Ty(a){return np(a,{context:rd()})}function _v(a,y={}){return ro(Os(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function jv(a){const y=Os(a,{parseMode:"math",mathstyle:"displaystyle"});return Cd(y)}var nh;function Fv(a){var y,b;if(!nh){const z=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;z?nh=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=nh==null?void 0:nh.box(a).latex)!=null?b:""}function Dy(a,y="math"){return as(new pr({type:"root",body:Os(a,{parseMode:y})}))}function Oy(a){return Pu(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 Ed(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],se=z*Math.PI/180,ke={L:y,a:b*Math.cos(se),b:b*Math.sin(se)};return a.alpha!==void 0&&(ke.alpha=a.alpha),ke}function Kv(a){const[y,b,z]=[a.L,a.a,a.b],se=Math.sqrt(b*b+z*z),ze=Math.atan2(z,b)*180/Math.PI,rt={L:y,C:se,H:ze};return a.alpha!==void 0&&(rt.alpha=a.alpha),rt}function Xh(a){const[y,b,z]=[a.L,a.a,a.b],se=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*z,3),ke=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*z,3),ze=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*z,3),rt=4.076741661347994*se-3.307711590408193*ke+.230969928729428*ze,ht=-1.2684380040921763*se+2.6097574006633715*ke-.3413193963102197*ze,gt=-.004196086541837188*se-.7034186144594493*ke+1.7076147009309444*ze,xt=jt=>{const Gt=Math.abs(jt);return Gt<=.0031308?jt*12.92:(Math.sign(jt)||1)*(1.055*Math.pow(Gt,1/2.4)-.055)};return[xt(rt),xt(ht),xt(gt)]}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,se]=a;return b=Ed(b*255),z=Ed(z*255),se=Ed(se*255),y!==void 0?{r:b,g:z,b:se,alpha:y}:{r:b,g:z,b:se}}function dm(a){let[y,b,z]=Xh(a);if(Yh([y,b,z]))return Jh([y,b,z],a.alpha);const se=Kv(a);if(se.C=0,[y,b,z]=Xh(Gh(se)),!Yh([y,b,z]))return Jh([y,b,z],a.alpha);let ke=0,ze=a.L,rt=(ke+ze)/2;se.C=rt;const ht=.36/Math.pow(2,12);for(;ze-ke>ht;)rt=(ke+ze)/2,se.C=rt,[y,b,z]=Xh(Gh(se)),Yh([y,b,z])?ke=rt:ze=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),se=.56,ke=.57,ze=.62,rt=.65,ht=.022,gt=1.414,xt=.1,jt=5e-4,Gt=1.14,on=.027,gn=1.14,tr=.027;function qr(Ki){return Ki>=ht?Ki:Ki+Fc(ht-Ki,gt)}function qn(Ki){return(Ki<0?-1:1)*Math.pow(Math.abs(Ki),2.4)}const kr=qr(qn(z.r/255)*.2126729+qn(z.g/255)*.7151522+qn(z.b/255)*.072175),ii=qr(qn(b.r/255)*.2126729+qn(b.g/255)*.7151522+qn(b.b/255)*.072175);let Lr,Li,Vi;return Math.abs(ii-kr)<jt?Li=0:ii>kr?(Lr=Fc(ii,se)-Fc(kr,ke),Li=Lr*Gt):(Lr=Fc(ii,rt)-Fc(kr,ze),Li=Lr*gn),Math.abs(Li)<xt?Vi=0:Li>0?Vi=Li-tr:Vi=Li+on,Vi*100}function hm(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const z=fm(a,b),se=fm(a,y);return Math.abs(z)>Math.abs(se)?b:y}function Wv(a){const y=Vh(a);let b=((1<<24)+(Ed(y.r)<<16)+(Ed(y.g)<<8)+Ed(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 Io(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 Zv(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 Uv(a,y){return Io(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:()=>Is(`\\vec{${Io(a)}}`),visible:()=>Io(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>Is(`\\overrightarrow{${Io(a)}}`),visible:()=>Io(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>Is(`\\overleftarrow{${Io(a)}}`),visible:()=>Io(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>Is(`\\dot{${Io(a)}}`),visible:()=>Io(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>Is(`\\ddot{${Io(a)}}`),visible:()=>Io(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>Is(`\\bar{${Io(a)}}`),visible:()=>Io(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>Is(`\\overline{${Io(a)}}`),visible:()=>Io(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>Is(`\\overgroup{${Io(a)}}`),visible:()=>Io(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>Is(`\\overbrace{${Io(a)}}`),visible:()=>Io(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>Is(`\\underline{${Io(a)}}`),visible:()=>Io(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>Is(`\\undergroup{${Io(a)}}`),visible:()=>Io(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>Is(`\\underbrace{${Io(a)}}`),visible:()=>Io(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function Xv(a){return[{label:()=>Is(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>Is(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>Is(`\\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=Ee(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=Ee(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:(se,ke)=>new Qv(se,ke,b,z),label:"\u2610",tooltip:()=>Ee("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:()=>Ee("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>Vu(a)},{label:()=>Ee("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>Vu(a)},{label:()=>Ee("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>Vu(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,z]=ty(a);return b<y.maxColumns}},{label:()=>Ee("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>Vu(a)},{type:"divider"},{label:()=>Ee("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>Vu(a)},{label:()=>Ee("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>Vu(a)},{type:"divider"},{label:()=>Ee("menu.borders"),visible:()=>(ey(a)||Vu(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>cf(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>cf(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>cf(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>cf(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>cf(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>Ee("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:$v(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>Ee("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>Ee("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{hd(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>Ee("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{hd(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>Ee("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>Ee("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:Vv(a),submenuClass:"variant-submenu"},{label:()=>Ee("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:Jv(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>Ee("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:Yv(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>Ee("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:Gv(a),submenuClass:"variant-submenu"},{label:()=>Ee("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&Io(a).length>0,submenu:Xv(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>Ee("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=ny(a);if(!y){a.model.announce("plonk");return}a.model.selectionIsCollapsed?(a.model.position=a.model.lastOffset,a.insert(`=${y}`,{insertionMode:"insertAfter",selectionMode:"item"})):a.insert(y,{insertionMode:"replaceSelection",selectionMode:"item"})}},{label:()=>Ee("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?Ee("menu.solve-for",Is(b)):Ee("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],se=(y=b.solve(z))==null?void 0:y.map(ke=>{var ze;return(ze=ke.simplify().latex)!=null?ze:""});if(!se){a.model.announce("plonk");return}a.insert(`${z}=${se.length===1?se[0]:"\\left\\lbrace"+(se==null?void 0:se.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>Ee("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>Ee("menu.copy"),id:"copy",submenu:[{label:()=>Ee("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>ma.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>Ee("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>ma.copyToClipboard(a,"ascii-math")},{label:()=>Ee("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>ma.copyToClipboard(a,"math-ml")}]},{label:()=>Ee("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>Ee("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function Vu(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,se)=>Math.max(z,se.length),0)]:[0,0]}function cf(a,y){Df(a),a.flushInlineShortcutBuffer(),Pp(a.model,y),Yo(a)}function ny(a){var y,b;let z;if(a.model.selectionIsCollapsed?z=(y=window.MathfieldElement.computeEngine)==null?void 0:y.parse(a.getValue(),{canonical:!1}):z=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection),{canonical:!1}),!z)return"";let se=z.evaluate();return se.isSame(z)&&(se=z.N()),se.latex}function Qh(a,y,b,z){return{label:()=>Is(`\\${b}{${Io(a)}}`),tooltip:()=>{var se;return(se=Ee(z))!=null?se:z},visible:()=>Zv(a,y),checked:()=>{var se;return{some:"mixed",all:!0}[(se=a.queryStyle({variant:y}))!=null?se:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function $h(a,y,b,z){return{label:()=>Is(`\\${b}{${Io(a)}}`),tooltip:()=>{var se;return(se=Ee(z))!=null?se:z},visible:()=>Uv(a,y),checked:()=>{var se;return{some:"mixed",all:!0}[(se=a.queryStyle({variantStyle:y}))!=null?se:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Ad(a,y){return a+Cd(y)}Ol({speak:(a,y,b)=>ry(a,y,b)},{target:"mathfield"});function ry(a,y,b){var z,se;b=b!=null?b:{withHighlighting:!1};const{model:ke}=a;function ze(xt){let jt=null;switch(xt){case"all":jt=ke.root;break;case"selection":jt=ke.getAtoms(ke.selection);break;case"left":{jt=ke.getAtoms(ke.offsetOf(ke.at(ke.position).leftSibling),ke.position);break}case"right":{jt=ke.getAtoms(ke.position,ke.offsetOf(ke.at(ke.position).rightSibling));break}case"group":jt=ke.getAtoms(ke.getSiblingsRange(ke.position));break;case"parent":{const{parent:Gt}=ke.at(ke.position);Gt!=null&&Gt.parent?jt=Gt:jt=ke.root;break}default:jt=ke.root}return jt}function rt(xt){let jt="";switch(xt){case"all":console.log("Internal failure: speak all failed");break;case"selection":jt="no selection";break;case"left":jt="at start";break;case"right":jt="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":jt="no parent";break;default:console.log('unknown speak_ param value: "'+xt+'"');break}return jt}const ht=ze(y);if(ht===null)return(se=(z=window.MathfieldElement).speakHook)==null||se.call(z,rt(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const gt=Cd(ht);return ce()&&b.withHighlighting?(yu().readAloudMathfield=a,_u(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,gt)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(gt),!1}function iy(a){var y,b;if(!ce()){console.log("Speak:",a);return}if(!window.MathfieldElement.speechEngine||window.MathfieldElement.speechEngine==="local"){const z=new SpeechSynthesisUtterance(a);window.speechSynthesis.speak(z)}else if(window.MathfieldElement.speechEngine==="amazon")if(!("AWS"in window))console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");else{const z=new window.AWS.Polly({apiVersion:"2016-06-10"}),se={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(se,(ke,ze)=>{if(ke)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${ke}`);else if(ze!=null&&ze.AudioStream){const rt=new Uint8Array(ze.AudioStream),ht=new Blob([rt.buffer],{type:"audio/mpeg"}),gt=URL.createObjectURL(ht);new Audio(gt).play().catch(jt=>console.log(jt))}else console.log("polly.synthesizeSpeech():",ze)})}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 se="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")se=Ad("deleted: ",z);else if(y==="focus"||y.includes("move"))se=oy(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+sy(a.model);else if(y==="replacement")se=Ad("",a.model.at(a.model.position));else if(y==="line"){const ke=Ad("",a.model.root);a.keyboardDelegate.setAriaLabel(ke)}else se=z?Ad(y+" ",z):y;if(se){const ke=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=se+ke}}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="",se=b.parent;const ke=a.at(a.position).parent;for(;se!==a.root&&se!==ke;)z+=`out of ${mm(se)};`,se=se.parent;return z}function sy(a){if(!a.selectionIsCollapsed)return Ad("",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+=Ad("",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 se={};if((y==null?void 0:y.type)==="undo"&&(se={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(se={inputType:"historyRedo"}),this.contentWillChange(se)){const ke=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=pu(a.content),this.selection=a.selection,this.silenceNotifications=ke,this.contentDidChange(se)}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,se;const ke=this.normalizeSelection(a,y);if(ke===void 0)throw new TypeError("Invalid selection");if(ke.ranges.length===1&&ke.ranges[0][0]===ke.ranges[0][1]){const xt=ke.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(xt))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((z=this.at(xt-1))!=null&&z.parentPrompt){this._anchor=this.normalizeOffset(xt-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((se=this.at(xt+1))!=null&&se.parentPrompt){this._anchor=this.normalizeOffset(xt+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=xt,this._position=xt,this._selection=ke;return}const ze=Ts(ke);ke.direction==="backward"?[this._position,this._anchor]=ze:[this._anchor,this._position]=ze;const rt=this.at(ze[0]+1),ht=this.at(ze[1]),gt=pr.commonAncestor(rt,ht);(gt==null?void 0:gt.type)==="array"&&rt.parent===gt&&ht.parent===gt?this._selection={ranges:[ze],direction:ke.direction}:this._selection={ranges:[ze],direction:ke.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 zs&&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(ad(a)){if(z=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((gt,xt)=>[...gt,...this.getAtoms(xt,z)],[]);a=a.ranges[0]}let se,ke;if(Cc(a)){if(se=a,!Cc(y))return[];ke=y}else[se,ke]=a,z=y!=null?y:{};if(!Number.isFinite(se))return[];z.includeChildren===void 0&&(z.includeChildren=!1),se<0&&(se=this.lastOffset-se+1),ke<0&&(ke=this.lastOffset-ke+1);const ze=Math.min(se,ke)+1,rt=Math.max(se,ke);if(!z.includeChildren&&ze===1&&rt===this.lastOffset)return[this.root];let ht=[];for(let gt=ze;gt<=rt;gt++){const xt=this.atoms[gt];gm(this,xt,ze,rt)&&ht.push(xt)}return z.includeChildren||(ht=ht.filter(gt=>{let xt=!1,{parent:jt}=gt;for(;jt&&!xt;)xt=gm(this,jt,ze,rt),jt=jt.parent;return!xt})),ht}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 se=this.lastOffset;if(b==="forward"){for(let ke=y;ke<=se;ke++)if(z=this.atoms[ke],a(z))return z;for(let ke=0;ke<y;ke++)if(z=this.atoms[ke],a(z))return z;return}for(let ke=y;ke>=0;ke--)if(z=this.atoms[ke],a(z))return z;for(let ke=se;ke>y;ke--)if(z=this.atoms[ke],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 pr({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 pr.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 ro(a);if(b==="spoken")return Cd(a);if(b==="spoken-text"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const se=Cd(a);return window.MathfieldElement.textToSpeechMarkup=z,se}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const se=Cd(a);return window.MathfieldElement.textToSpeechMarkup=z,se}return b==="ascii-math"?as(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,se;if(Cc(a)&&Cc(y)?(z=[this.normalizeRange([a,y])],se=b):id(a)?(z=[this.normalizeRange(a)],se=y):ad(a)?(z=a.ranges,se=y):(z=[this.normalizeRange([0,-1])],se=a),se!=null||(se="latex"),se==="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 ke=this.getValue({ranges:z},"latex-unstyled");try{const ze=window.MathfieldElement.computeEngine.parse(ke);return JSON.stringify(ze.json)}catch(ze){return JSON.stringify(["Error",`'${ze.toString()}'`])}}if(se.startsWith("latex")){const ke={expandMacro:se==="latex-expanded",skipStyles:se==="latex-unstyled",skipPlaceholders:se==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return Ta(z.map(ze=>pr.serialize(this.getAtoms(ze),ke)))}return z.map(ke=>this.getAtoms(ke).map(ze=>this.atomToString(ze,se)).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,se]=b,{parent:ke}=this.at(se);if(ke&&(ke.type==="genfrac"||ke.type==="subsup"))for(;ke!==this.root&&qh(this,ke,[z,se]);)se=this.offsetOf(ke),ke=ke.parent;for(ke=this.at(z).parent;ke!==this.root&&qh(this,ke,[z,se]);)z=this.offsetOf(ke.leftSibling),ke=ke.parent;if(ke=this.at(se).parent,(ke==null?void 0:ke.type)==="genfrac")for(;ke!==this.root&&qh(this,ke,[z,se]);)se=this.offsetOf(ke),console.assert(se>=0),ke=ke.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[z,se]],direction:"none"}})}announce(a,y,b=[]){var z,se;((se=(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?se:!0)&&ay(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,z=this._anchor,se=this._position,ke=this.silenceNotifications;this.silenceNotifications=!0;const ze=this.root.changeCounter;y();const rt=this.root.changeCounter!==ze,ht=z!==this._anchor||se!==this._position||Bu(this._selection,b)==="different";return this.silenceNotifications=ke,a.content&&rt&&this.contentDidChange({inputType:a.type}),a.selection&&ht&&this.selectionDidChange(),rt||ht}normalizeOffset(a){return a>0?a=Math.min(a,this.lastOffset):a<0&&(a=this.lastOffset+a+1),a}normalizeRange(a){let[y,b]=a;return y=this.normalizeOffset(y),b=this.normalizeOffset(b),y<b?[y,b]:[b,y]}normalizeSelection(a,y){var b;let z;if(Cc(a)){const se=this.normalizeOffset(a);if(Cc(y)){const ke=this.normalizeOffset(y);z=se<=ke?{ranges:[[se,ke]],direction:"none"}:{ranges:[[ke,se]],direction:"backward"}}else z={ranges:[[se,se]],direction:"none"}}else if(id(a)){const se=this.normalizeOffset(a[0]),ke=this.normalizeOffset(a[1]);z=se<=ke?{ranges:[[se,ke]],direction:"none"}:{ranges:[[ke,se]],direction:"backward"}}else ad(a)&&(z={ranges:a.ranges.map(se=>this.normalizeRange(se)),direction:(b=a.direction)!=null?b:"none"});return console.assert(z!==void 0),z}get parentEnvironment(){let a=this.at(this.position).parent;if(a){for(;a.parent&&a.type!=="array";)a=a.parent;if(a.type==="array")return a}}get cell(){var a;let y=this.at(this.position);if(y){for(;y&&((a=y.parent)==null?void 0:a.type)!=="array";)y=y.parent;if(!(!(y!=null&&y.parent)||y.parent.type!=="array"))return y.parentBranch}}contentWillChange(a={}){if(this.silenceNotifications||!this.mathfield)return!0;const y=this.silenceNotifications;this.silenceNotifications=!0;const b=this.mathfield.onContentWillChange(a);return this.silenceNotifications=y,b}contentDidChange(a){var y;if(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ic(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",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(Ic(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 se=a.offsetOf(y);if(se<b||se>z)return!1;if(!y.hasChildren)return!0;const ke=a.offsetOf(y.firstChild);if(ke>=b&&ke<=z){const ze=a.offsetOf(y.lastChild);if(ze>=b&&ze<=z)return!0}return!1}function qh(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[z,se]=b,ke=a.offsetOf(y.firstChild),ze=a.offsetOf(y.lastChild);return ke>=z&&ke<=se&&ze>=ke&&ze<=se}function uf(a,y,b,z){var se,ke,ze,rt,ht,gt;const xt=b.parent;if(xt&&b instanceof no){const jt=!z&&y==="forward"||z==="body"&&y==="backward";let Gt=jt?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return jt?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(xt.addChildrenAfter(b.removeBranch("body"),b),xt.removeChild(b),Gt--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(xt.addChildrenAfter(b.removeBranch("body"),b),xt.removeChild(b),Gt--),a.position=Gt,!0}if(xt&&b.type==="surd"){if(y==="forward"&&!z||y==="backward"&&z==="body"){const jt=b.leftSibling;b.hasChildren&&xt.addChildrenAfter(b.removeBranch("body"),b),xt.removeChild(b),a.position=a.offsetOf(jt)}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),xt.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(xt&&(b.type==="box"||b.type==="enclose")){const jt=z&&y==="backward"||!z&&y==="forward"?b.leftSibling:b.lastChild;return xt.addChildrenAfter(b.removeBranch("body"),b),xt.removeChild(b),a.position=a.offsetOf(jt),!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 jt=df.fractionNavigationOrder==="numerator-denominator"?"above":"below",Gt=jt==="above"?"below":"above";if(xt&&(y==="forward"&&z===jt||y==="backward"&&z===Gt)){const on=b.removeBranch(jt),gn=b.removeBranch(Gt);return xt.addChildrenAfter([...on,...gn],b),xt.removeChild(b),a.position=a.offsetOf(on.length>0?on[on.length-1]:gn[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 jt=y==="forward"?(ze=(se=b.superscript)==null?void 0:se[0])!=null?ze:(ke=b.subscript)==null?void 0:ke[0]:(gt=(rt=b.subscript)==null?void 0:rt[0].lastSibling)!=null?gt:(ht=b.superscript)==null?void 0:ht[0].lastSibling;return jt&&(a.position=a.offsetOf(jt)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const jt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=jt,!0}if(z==="superscript")if(y==="backward"){const jt=a.offsetOf(b.firstChild)-1;console.assert(jt>=0),a.position=jt}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 jt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=jt}return!0}if((xt==null?void 0:xt.type)==="genfrac"&&!z&&b.type!=="first"){let jt=a.offsetOf(b.leftSibling);return xt.removeChild(b),xt.hasEmptyBranch("above")&&xt.hasEmptyBranch("below")?(jt=a.offsetOf(xt.leftSibling),xt.parent.removeChild(xt),a.announce("delete",void 0,[xt]),a.position=jt,!0):(a.announce("delete",void 0,[b]),a.position=jt,!0)}if(y==="backward"&&((xt==null?void 0:xt.command)==="\\ln"||(xt==null?void 0:xt.command)==="\\log")&&b.parentBranch!=="body"){const jt=a.offsetOf(xt.leftSibling);return xt.parent.removeChild(xt),a.announce("delete",void 0,[xt]),a.position=jt,!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&&uf(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(uf(a,"backward",y.parent,y.parentBranch))return;y=null}if(!y){a.announce("plonk");return}a.position=a.offsetOf(y.leftSibling),y.parent.removeChild(y),a.announce("delete",void 0,[y])}}):Pc(a,Ts(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&&uf(a,"forward",z))return;if(z){if(a.at(a.position).isLastSibling&&uf(a,"forward",z.parent,z.parentBranch))return}else{if(z=a.at(a.position),z.isLastSibling&&uf(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 se=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(se==null?void 0:se.type)==="subsup";)se.parent.removeChild(se),se=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[z])}):Pc(a,Ts(a.selection),"deleteContentForward")}function Pc(a,y,b){const z=a.getAtoms(y);if(z.length>0&&z[0].parent){let se=z[0].parent.firstChild;se.type==="first"&&(se=se.rightSibling);const ke=z[z.length-1].parent.lastChild;let ze=z[0];ze.type==="first"&&(ze=ze.rightSibling);const rt=z[z.length-1];if(ze===se&&rt===ke){const ht=z[0].parent;ht.parent&&ht.type!=="prompt"&&(y=[a.offsetOf(ht.leftSibling),a.offsetOf(ht)])}if(z.length===1&&z[0].type==="placeholder"&&z[0].parent.type==="genfrac"){const ht=z[0].parent,gt=z[0].parentBranch==="below"?"above":"below",xt=a.offsetOf(ht.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var jt,Gt;const on=ht.removeBranch(gt);if(on.length===1&&on[0].type==="placeholder")(Gt=ht.parent)==null||Gt.removeChild(ht),a.position=Math.max(0,xt);else{const gn=ht.parent.addChildrenAfter(on,ht);(jt=ht.parent)==null||jt.removeChild(ht),a.position=a.offsetOf(gn)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}Ol({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&Pc(a,[0,-1],"deleteContent"),deleteForward:a=>uy(a),deleteBackward:a=>cy(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&Pc(a,[a.anchor,Th(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&Pc(a,[a.anchor,Th(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&Pc(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&Pc(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&Pc(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&Pc(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var dy=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${Ee("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="${Ee("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,se;this.options=ie(oe(ie({},zf()),{macros:Nt(),registers:Ql()}),Ff(y)),this.eventController=new AbortController;const ke=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 ze=(z=(b=y.value)!=null?b:this.element.textContent)!=null?z:"";ze=ze.trim();const rt=Op(this.options),ht=new pr({type:"root",mode:rt,body:Os(ze,{context:this.context})});this.model=new ly(this,rt,ht),this.undoManager=new jg(this.model);const gt=[];if(gt.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>"),gt.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),gt.push("<span part=content class=ML__content>"),gt.push(Sp(this)),gt.push("</span>"),window.mathVirtualKeyboard&&(gt.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">`),gt.push(dy),gt.push("</div>")),gt.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),gt.push(fy),gt.push("</div>"),gt.push("</span>"),gt.push("<span class=ML__sr-only>"),gt.push("<span role=status aria-live=assertive aria-atomic=true></span>"),gt.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(gt.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",jt=>jt.stopImmediatePropagation(),{capture:!1,signal:ke}),this.field.addEventListener("wheel",this,{passive:!1,signal:ke}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:ke}):this.field.addEventListener("mousedown",this,{signal:ke}),(se=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||se.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(Ic(this)))},{signal:ke}),this._menu=new Cv(qv(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:ke});const xt=this.element.querySelector("[part=menu-toggle]");xt==null||xt.addEventListener("pointerdown",jt=>{if(jt.currentTarget!==xt||this._menu.state!=="closed")return;this.element.classList.add("tracking");const Gt=xt.getBoundingClientRect();this._menu.modifiers=Nu(jt),this._menu.show({target:xt,location:{x:Gt.left,y:Gt.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),jt.preventDefault(),jt.stopPropagation()},{signal:ke}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(xt.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:ke}),document.addEventListener("scroll",this,{signal:ke}),this.resizeObserver=new ResizeObserver(()=>Yo(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:ke}),Xd&&!ye.locale.startsWith(Xd.locale)&&F0(ye.locale),Wl!=="ready"&&document.fonts.ready.then(()=>Lf(this)),a.querySelector("[part=container]").style.removeProperty("visibility"),this.undoManager.startRecording(),this.undoManager.snapshot("set-value")}get defaultStyle(){return this._defaultStyle}set defaultStyle(a){this._defaultStyle=a}get effectiveStyle(){if(this.adoptStyle==="none")return this.defaultStyle;const a=this.model.at(this.model.position),y=this.adoptStyle==="right"?a.rightSibling:a;if(!y)return this.defaultStyle;if(y.type==="group"){const b=y.branch("body");return!b||b.length<2?{}:this.adoptStyle==="right"?b[1].computedStyle:b[b.length-1].computedStyle}return y.computedStyle}connectToVirtualKeyboard(){this.connectedToVirtualKeyboard||(this.connectedToVirtualKeyboard=!0,window.addEventListener("message",this,{signal:this.eventController.signal}),window.mathVirtualKeyboard.connect(),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ic(this)),$f(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:kc(this.field))!=null?b:void 0,se=a==null?void 0:a.modifiers,ke=this.element.querySelector("[part=container]");return this._menu.show({target:ke,location:z,modifiers:se})}get colorMap(){return a=>{var y,b,z;return(z=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?z:Be(a)}}get backgroundColorMap(){return a=>{var y,b,z,se,ke,ze;return(ze=(ke=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?ke:(se=(z=this.options).colorMap)==null?void 0:se.call(z,a))!=null?ze:Re(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=pr.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,se]of Object.entries(b.style))y[z]!==se&&delete y[z];return y}queryStyle(a){const y=Lh(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 ht of Object.keys(y)){const gt=this.queryStyle({[ht]:y[ht]});if(gt==="none")return"none";if(gt==="some")return"some"}return"all"}const z=Object.keys(y)[0],se=y[z];if(this.model.selectionIsCollapsed)return this.effectiveStyle[z]===se?"all":"none";const ke=this.model.getAtoms(this.model.selection,{includeChildren:!0});let ze=ke.length;if(ze===0)return"none";let rt=0;for(const ht of ke){if(ht.type==="first"){ze-=1;continue}ht.style[z]===se&&(rt+=1)}return rt===0?"none":rt===ze?"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),Ff(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=pr.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==z)&&ma.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)&&Yo(this)}getOptions(a){return Fu(this.options,a)}getOption(a){return Fu(this.options,a)}handleEvent(a){return bu(this,null,function*(){var y;if(zl(this)){if(Eh(a)){if(!zd(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(md(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"&&Up(this,a);break;case"pointerdown":this.userSelect!=="none"&&(Up(this,a),a.shiftKey===!1&&(yield am(a,this.element.querySelector("[part=container]"),this._menu))&&Xf.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield am(a,this.element.querySelector("[part=container]"),this._menu))&&Xf.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&$f(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>zl(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>zl(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!zl(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 md(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(Ic(this))),!1):sg(this,a)}get errors(){return np(this.model.getValue(),{context:this.context})}getValue(a,y,b){return this.model.getValue(a,y,b)}setValue(a,y){var b;y=y!=null?y:{mode:"math"},y.insertionMode===void 0&&(y.insertionMode="replaceAll"),(y.format===void 0||y.format==="auto")&&(y.format="latex"),(y.mode===void 0||y.mode==="auto")&&(y.mode=(b=oh(this.model,this.model.position))!=null?b:"math");const z=this.undoManager.canUndo();ma.insert(this.model,a,y)&&(Yo(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,se=this.host.getBoundingClientRect();se.bottom>z.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,se.bottom-z.top+8))}}this.dirty&&_u(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=kc(this.field);else{const z=Fd(this);if(z.length>0){let se=-1/0,ke=-1/0;for(const ze of z)ze.right>se&&(se=ze.right),ze.top<ke&&(ke=ze.top);b={x:se+y.left-this.field.scrollLeft,y:ke+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const z=this.host.getBoundingClientRect(),se=b.y;let ke=this.host.scrollTop;se<z.top?ke=se-z.top+this.host.scrollTop:se>z.bottom&&(ke=se-z.bottom+this.host.scrollTop+b.height),this.host.scroll({top:ke,left:0})}if(b){const z=b.x-window.scrollX;let se=this.field.scrollLeft;z<y.left?se=z-y.left+this.field.scrollLeft-20:z>y.right&&(se=z-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:se})}}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&&me()&&navigator.vibrate(Cp),window.MathfieldElement.playSound("keypress")),a==="\\\\"?Ip(this.model):a==="&"?Bp(this.model):this.model.selectionIsCollapsed?ma.insert(this.model,a,ie({style:this.model.at(this.model.position).computedStyle},y)):ma.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),Yo(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 se=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=se;return}const ke=this.model.mode,{model:ze}=this;ze.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let rt=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const ht=Os(y,{context:this.context,parseMode:a});ze.collapseSelection("forward");const gt=ze.at(ze.position);ze.position=ze.offsetOf(gt.parent.addChildrenAfter(ht,gt)),rt=!0}if(this.model.mode=a,a==="latex"){let ht=ze.selectionIsCollapsed;hd(this,"accept");let gt,xt=ze.at(ze.position);if(ht)gt="\\";else{const Gt=Ts(ze.selection);gt=this.model.getValue(Gt,"latex");const on=this.model.extractAtoms(Gt);on.length===1&&on[0].type==="placeholder"&&(gt=y,ht=!0),xt=ze.at(Gt[0])}const jt=new Hd(gt);xt.parent.addChildAfter(jt,xt),ht?ze.position=ze.offsetOf(jt.lastChild):ze.setSelection(ze.offsetOf(jt.firstChild),ze.offsetOf(jt.lastChild))}else Jd(ze).forEach(ht=>{ht.isError=!1});if(b){const ht=Os(b,{context:this.context,parseMode:ke});ze.collapseSelection("forward");const gt=ze.at(ze.position);ze.position=ze.offsetOf(gt.parent.addChildrenAfter(ht,gt)),rt=!0}return Yo(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),rt}),this.model.mode=a,window.mathVirtualKeyboard.update(Ic(this))}hasFocus(){return!this.blurred}focus(a){var y;this.hasFocus()||(this.keyboardDelegate.focus(),this.connectToVirtualKeyboard(),this.onFocus(),this.model.announce("line")),(y=a==null?void 0:a.preventScroll)!=null&&y||this.scrollIntoView()}blur(){this.disconnectFromVirtualKeyboard(),this.hasFocus()&&this.keyboardDelegate.blur()}select(){this.model.selection={ranges:[[0,this.model.lastOffset]]},this.focus()}applyStyle(a,y={}){var b,z;const se={operation:"set",silenceNotifications:!1};id(y)?se.range=y:(y.operation==="toggle"&&(se.operation="toggle"),se.range=y.range,se.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const ke=Lh(this,a),ze=(z=se.operation)!=null?z:"set";if(se.range===void 0&&this.model.selectionIsCollapsed){if(ze==="set"){this.defaultStyle=ie(ie({},this.defaultStyle),ke);return}const rt=ie({},this.defaultStyle);for(const ht of Object.keys(ke))rt[ht]===ke[ht]?(ht==="color"&&delete rt.verbatimColor,ht==="backgroundColor"&&delete rt.verbatimBackgroundColor,delete rt[ht]):rt[ht]=ke[ht];this.defaultStyle=rt;return}this.model.deferNotifications({content:!se.silenceNotifications,type:"insertText"},()=>{if(se.range===void 0)for(const rt of this.model.selection.ranges)kh(this.model,rt,ke,{operation:ze});else kh(this.model,se.range,ke,{operation:ze})}),Yo(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=kc(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=af(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),Yo(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),se=this.model.offsetOf(b.lastChild);return this.model.getValue(z,se,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 se=this.model.getBranchRange(this.model.offsetOf(z),"body");this.model.setSelection(se),this.insert(y,oe(ie({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),Yo(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),Yo(this)}getPromptState(a){const y=this.getPrompt(a);return y?[y.correctness,y.locked]:(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[void 0,!0])}getPromptRange(a){const y=this.getPrompt(a);return y?this.model.getBranchRange(this.model.offsetOf(y),"body"):(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[0,0])}canUndo(){return this.undoManager.canUndo()}canRedo(){return this.undoManager.canRedo()}popUndoStack(){this.undoManager.pop()}snapshot(a){var y;this.undoManager.snapshot(a)&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ic(this)),(y=this.host)==null||y.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"snapshot"}})))}stopCoalescingUndo(){this.undoManager.stopCoalescing(this.model.selection)}stopRecording(){this.undoManager.stopRecording()}startRecording(){this.undoManager.startRecording()}undo(){var a;this.undoManager.undo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ic(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}redo(){var a;this.undoManager.redo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ic(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}resetUndo(){var a;(a=this.undoManager)==null||a.reset()}onSelectionDidChange(){var a,y;const b=this.model;this.keyboardDelegate.setValue(b.getValue(this.model.selection,"latex-expanded"));{const z=b.at(b.position),se=(a=z.mode)!=null?a:Op(this.options);this.model.mode!==se&&(this.model.mode==="latex"?(hd(this,"accept",{mode:se}),b.position=b.offsetOf(z)):this.switchMode(se))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ic(this)),$f(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(),_u(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="",pd(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})),Yo(this),this.focusBlurInProgress=!1,Fh();const z=new AbortController,se=z.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{zl(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:se})},{once:!0,signal:se}),setTimeout(()=>z.abort(),100)}onInput(a){Ih(this,a)}onKeystroke(a){return Hp(this,a)}onCompositionStart(a){this.model.deleteAtoms(Ts(this.model.selection));const y=kc(this.field);y&&requestAnimationFrame(()=>{_u(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Dg(this.model,a),Yo(this)}onCompositionEnd(a){Og(this.model),Ih(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),ma.onCopy(this,a),Pc(this.model,Ts(this.model.selection),"deleteByCut"),this.snapshot("cut"),Yo(this))}onCopy(a){ma.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=ma.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(),If(this),$f(this)}onWheel(a){const y=5*a.deltaX;if(!Number.isFinite(y)||y===0)return;const b=this.field;y<0&&b.scrollLeft===0||y>0&&b.offsetWidth+b.scrollLeft>=b.scrollWidth||(b.scrollBy({top:0,left:y}),a.preventDefault(),a.stopPropagation())}getHTMLElement(a){let y=a;for(;!y.id&&y.hasChildren;)y=a.children[0];return this.field.querySelector(`[data-atom-id="${y.id}"]`)}get context(){var a,y;return{registers:(a=this.options.registers)!=null?a:{},smartFence:this.smartFence,letterShapeStyle:this.letterShapeStyle,minFontScale:this.minFontScale,placeholderSymbol:(y=this.options.placeholderSymbol)!=null?y:"\u25A2",colorMap:b=>this.colorMap(b),backgroundColorMap:b=>this.backgroundColorMap(b),getMacro:b=>Ft(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(!ce())return;if(window.MathfieldElement.speechEngine!=="amazon"){console.error("MathLive 0.98.5: Use Amazon TTS Engine for synchronized highlighting"),typeof window.MathfieldElement.speakHook=="function"&&window.MathfieldElement.speakHook(y);return}if(!window.AWS){console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");return}const z=new window.AWS.Polly({apiVersion:"2016-06-10"}),se={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};yu().readAloudElement=a,z.synthesizeSpeech(se,(ke,ze)=>{if(ke){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${ke}`);return}if(!(ze!=null&&ze.AudioStream)){console.log("polly.synthesizeSpeech():",ze);return}const rt=new TextDecoder("utf-8").decode(new Uint8Array(ze.AudioStream));yu().readAloudMarks=rt.split(`
`).map(ht=>ht?JSON.parse(ht):{}),yu().readAloudTokens=[];for(const ht of yu().readAloudMarks)ht.value&&yu().readAloudTokens.push(ht.value);yu().readAloudCurrentMark="",se.OutputFormat="mp3",se.SpeechMarkTypes=[],z.synthesizeSpeech(se,(ht,gt)=>{if(ht){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${ht}`);return}if(!(gt!=null&&gt.AudioStream))return;const xt=new Uint8Array(gt.AudioStream),jt=new Blob([xt.buffer],{type:"audio/mpeg"}),Gt=URL.createObjectURL(jt),on=yu();on.readAloudAudio?on.readAloudAudio.pause():(on.readAloudAudio=new Audio,on.readAloudAudio.addEventListener("ended",()=>{const gn=on.readAloudMathfield;on.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),gn?(_u(gn),on.readAloudElement=null,on.readAloudMathfield=null,on.readAloudTokens=[],on.readAloudMarks=[],on.readAloudCurrentMark=""):vm(on.readAloudElement)}),on.readAloudAudio.addEventListener("timeupdate",()=>{let gn="";const tr=on.readAloudAudio.currentTime*1e3+100;for(const qr of on.readAloudMarks)qr.time<tr&&(gn=qr.value);on.readAloudCurrentMark!==gn&&(on.readAloudCurrentToken=gn,gn&&gn===on.readAloudFinalToken?on.readAloudAudio.pause():(on.readAloudCurrentMark=gn,ep(on.readAloudElement,on.readAloudCurrentMark)))})),on.readAloudAudio.src=Gt,on.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),on.readAloudAudio.play()})})}ce()||console.error('MathLive 0.98.5: this version of the MathLive library is for use in the browser. A subset of the API is available on the server side in the "mathlive-ssr" library. If using server side rendering (with React for example) you may want to do a dynamic import of the MathLive library inside a `useEffect()` call.');var Qa=new WeakMap,my=.5,vu={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 = ..."},Ks=class Gu extends HTMLElement{static get formAssociated(){return kd()}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,rg())}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,se;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:(se=y.delete)!=null?se: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 bu(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 ke=yield(yield fetch(yield wp(`${z}/${b}`))).arrayBuffer(),ze=yield this.audioContext.decodeAudioData(ke);this.audioBuffers[y]=ze}catch(se){}})}static playSound(y){return bu(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(vu[z])if(vu[z].startsWith("mf."))if(vu[z].startsWith(`mf.${z}`))b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${vu[z]}`);else{const se=vu[z].match(/([a-zA-Z]+) =/);b.push(`Option \`${z}\` has been renamed \`${se[1]}\``)}else b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${vu[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(kd()&&(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=[hu("core"),hu("mathfield"),hu("mathfield-element"),hu("ui"),hu("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>"+Zc("core")+Zc("mathfield")+Zc("mathfield-element")+Zc("ui")+Zc("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(se=>se.nodeType===3?se.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,se;return(se=(z=this._mathfield)==null?void 0:z.getPromptValue(y,b))!=null?se:""}setPromptValue(y,b,z){var se;(se=this._mathfield)==null||se.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 se=(z=(b=Gu.computeEngine)==null?void 0:b.box(y).latex)!=null?z:null;se!==null&&this._mathfield.setValue(se),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?Fu(this._mathfield.options,y):Qa.has(this)?ie({},Fu(ie(ie({},zf()),Ff(Qa.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?Fu(this._mathfield.options,y):Qa.has(this)?Fu(ie(ie({},zf()),Ff(Qa.get(this).options)),y):null}reflectAttributes(){const y=zf(),b=this._getOptions();Object.keys(Gu.optionsAttributes).forEach(z=>{const se=Xc(z);Gu.optionsAttributes[z]==="on/off"?y[se]!==b[se]?this.setAttribute(z,b[se]?"on":"off"):this.removeAttribute(z):y[se]!==b[se]&&(Gu.optionsAttributes[z]==="boolean"?b[se]?this.setAttribute(z,""):this.removeAttribute(z):(typeof b[se]=="string"||typeof b[se]=="number")&&this.setAttribute(z,b[se].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(Qa.has(this)){const b=ie(ie({},Qa.get(this).options),y);Qa.set(this,oe(ie({},Qa.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else Qa.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))vu[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${vu[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 se,ke;if(this._mathfield)return this._mathfield.model.getValue(y,b,z);if(Qa.has(this)){let ze,rt,ht;if(ad(y)?([ze,rt]=y.ranges[0],ht=b):id(y)?([ze,rt]=y,ht=b):Cc(y)&&Cc(b)?(ze=y,rt=b,ht=z):(ze=0,rt=-1,ht=y),(ht===void 0||ht==="latex")&&ze===0&&rt===-1)return(ke=(se=Qa.get(this).value)!=null?se:this.textContent)!=null?ke:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(Qa.has(this)){const se=Qa.get(this).options;Qa.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:se,menuItems:void 0});return}const z=ff(this);Qa.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,se;return(se=(z=this._mathfield)==null?void 0:z.insert(y,b))!=null?se:!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,se;return(se=(z=this._mathfield)==null?void 0:z.setCaretPoint(y,b))!=null?se:!1}offsetFromPoint(y,b,z){return this._mathfield?af(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=du(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,se,ke;Tc.state==="closed"&&((z=(b=this._mathfield)==null?void 0:b.menu)==null?void 0:z.state)==="closed"&&(y.type==="pointerdown"&&this.onPointerDown(),y.type==="focus"&&((se=this._mathfield)==null||se.focus()),y.type==="blur"&&((ke=this._mathfield)==null||ke.blur()))}connectedCallback(){var y,b,z,se;const ke=window.getComputedStyle(this),ze=this.shadowRoot,rt=ke.userSelect!=="none";if(rt)ze.host.addEventListener("pointerdown",this,!0);else{const xt=ze.querySelector("span");xt.style.pointerEvents="none"}ze.host.addEventListener("focus",this,!0),ze.host.addEventListener("blur",this,!0),kd()||(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 ht=ze.querySelector("slot:not([name])");if(ht)try{this._style=ht.assignedElements().filter(xt=>xt.tagName.toLowerCase()==="style").map(xt=>xt.textContent).join("")}catch(xt){console.error(xt)}if(this._style){const xt=document.createElement("style");xt.textContent=this._style,ze.appendChild(xt)}let gt="";if(this.hasAttribute("value")?gt=this.getAttribute("value"):gt=(y=ht==null?void 0:ht.assignedNodes().map(xt=>xt.nodeType===3?xt.textContent:"").join("").trim())!=null?y:"",this._mathfield=new hy(ze.querySelector(":host > span"),oe(ie({},(z=(b=Qa.get(this))==null?void 0:b.options)!=null?z:ff(this)),{eventSink:this,value:gt})),!Qa.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const xt of Object.keys(Gu.optionsAttributes))this.upgradeProperty(Xc(xt))}if(!((se=this._mathfield)!=null&&se.model)){this._mathfield=null;return}if(Qa.has(this)){const xt=this._mathfield,jt=Qa.get(this),Gt=jt.menuItems;xt.model.deferNotifications({content:!1,selection:!1},()=>{const on=jt.value;on!==void 0&&xt.setValue(on),xt.model.selection=jt.selection,Qa.delete(this)}),Gt&&(this.menuItems=Gt)}window.queueMicrotask(()=>{this.isConnected&&this.dispatchEvent(new Event("mount",{cancelable:!1,bubbles:!0,composed:!0}))}),Pf()}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=Fu(this._mathfield.options,Object.keys(Gu.optionsAttributes).map(se=>Xc(se)));Qa.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 se=z!==null;switch(y){case"contenteditable":Yo(this._mathfield);break;case"disabled":this.disabled=se;break;case"read-only":case"readonly":this.readOnly=se;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),kd()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(kd()?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"),kd()?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,se){return typeof z!="string"?!1:(y._setOptions({registers:oe(ie({},y._getOption("registers")),{[z]:se})}),!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(se=>se.menuItem))!=null?y:[]:(z=(b=Qa.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}Qa.has(this)?Qa.set(this,oe(ie({},Qa.get(this)),{menuItems:y})):Qa.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:ff(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 se;(se=this._mathfield)==null||se.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:Qa.has(this)?Qa.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,Yo(this._mathfield);return}if(Qa.has(this)){Qa.set(this,oe(ie({},Qa.get(this)),{selection:y}));return}Qa.set(this,{value:void 0,selection:y,options:ff(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:Qa.has(this)?Qa.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,Yo(this._mathfield)),Qa.has(this)){Qa.set(this,oe(ie({},Qa.get(this)),{selection:{ranges:[[y,y]]}}));return}Qa.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:ff(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}};Ks.version="0.98.5",Ks._fontsDirectory="./fonts",Ks._soundsDirectory="./sounds",Ks.keypressVibration=!0,Ks._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},Ks._plonkSound="plonk.wav",Ks.audioBuffers={},Ks.createHTML=a=>a,Ks._speechEngineRate="100%",Ks._speechEngineVoice="Joanna",Ks._textToSpeechMarkup="",Ks._textToSpeechRules="mathlive",Ks._textToSpeechRulesOptions={},Ks.speakHook=iy,Ks.readAloudHook=py,Ks._decimalSeparator=".",Ks.fractionNavigationOrder="numerator-denominator",Ks._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 df=Ks;function Xc(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function ff(a){const y={readOnly:!1},b=df.optionsAttributes;return Object.keys(b).forEach(z=>{if(a.hasAttribute(z)){const se=a.getAttribute(z);z==="placeholder"?y.contentPlaceholder=se!=null?se:"":b[z]==="boolean"?y[Xc(z)]=!0:b[z]==="on/off"?se==="on"?y[Xc(z)]=!0:se==="off"?y[Xc(z)]=!1:y[Xc(z)]=void 0:b[z]==="number"?y[Xc(z)]=Number.parseFloat(se!=null?se:"0"):y[Xc(z)]=se}}),y}function kd(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var ym=df,bm,xm,wm,Sm;if(ce()&&!((bm=window.customElements)!=null&&bm.get("math-field"))){(wm=window[xm=Symbol.for("io.cortexjs.mathlive")])!=null||(window[xm]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=df,(Sm=window.customElements)==null||Sm.define("math-field",df)}function gy(a,y,b){let z=b,se=0;const ke=a.length;for(;z<y.length;){const ze=y[z];if(se<=0&&y.slice(z,z+ke)===a)return z;ze==="\\"?z++:ze==="{"?se++:ze==="}"&&se--,z++}return-1}function rh(a,y,b,z,se="latex"){const ke=[];for(const ze of a)if(ze.type==="text"){const rt=ze.data;let ht=!0,gt=0,xt;xt=rt.indexOf(y),xt!==-1&&(gt=xt,gt>0&&ke.push({type:"text",data:rt.slice(0,gt)}),ht=!1);let jt=!1;for(;!jt;){if(ht){if(xt=rt.indexOf(y,gt),xt===-1){jt=!0;break}gt!==xt&&ke.push({type:"text",data:rt.slice(gt,xt)}),gt=xt}else{if(xt=gy(b,rt,gt+y.length),xt===-1){jt=!0;break}let Gt=rt.slice(gt+y.length,xt);se==="ascii-math"&&([,Gt]=Pu(Gt,{format:"ascii-math"})),ke.push({type:"math",data:Gt,rawData:rt.slice(gt,xt+b.length),mathstyle:z}),gt=xt+b.length}ht=!ht}gt<rt.length&&ke.push({type:"text",data:rt.slice(gt)})}else ke.push(ze);return ke}function Cm(a,y,b){let z=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([se,ke])=>{z=rh(z,se,ke,"textstyle")}),y!=null&&y.display&&y.display.forEach(([se,ke])=>{z=rh(z,se,ke,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([se,ke])=>{z=rh(z,se,ke,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([se,ke])=>{z=rh(z,se,ke,"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 se=y.renderToMarkup(a,{mathstyle:b,format:"html"}),ke=document.createElement("span");return ke.dataset.latex=a,ke.style.display=b==="displaystyle"?"flex":"inline-flex",ke.setAttribute("aria-hidden","true"),ke.setAttribute("translate","no"),ke.innerHTML=window.MathfieldElement.createHTML(se),ke}catch(se){if(console.error("Could not parse'"+a+"' with ",se),z)return document.createTextNode(a)}return null}function Md(a,y,b,z){var se;const ke=yy(a,b,y||"textstyle",z),ze=(se=b.renderAccessibleContent)!=null?se:"";if(ke&&/\b(mathml|speakable-text)\b/i.test(ze)){const rt=document.createElement("span");if(/\bmathml\b/i.test(ze)&&b.renderToMathML&&rt.append(vy(a,b)),/\bspeakable-text\b/i.test(ze)&&b.renderToSpeakableText){const ht=document.createElement("span");ht.setAttribute("translate","no");const gt=b.renderToSpeakableText(a);ht.innerHTML=window.MathfieldElement.createHTML(gt),ht.className="ML__sr-only",rt.append(ht)}return rt.append(ke),rt}return ke}function by(a,y){var b,z,se;let ke=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){ke=document.createDocumentFragment();const ze=Md(a,"",y,!0);ze&&ke.appendChild(ze)}else{if(!a.trim())return null;const ze=Cm(a,(z=y.TeX)==null?void 0:z.delimiters,(se=y.asciiMath)==null?void 0:se.delimiters);if(ze.length===1&&ze[0].type==="text")return null;ke=document.createDocumentFragment();for(const rt of ze)if(rt.type==="text")ke.appendChild(document.createTextNode(rt.data));else{const ht=Md(rt.data,rt.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);ht&&ke.appendChild(ht)}}return ke}function Em(a,y){var b,z,se,ke,ze,rt,ht,gt,xt,jt,Gt,on,gn,tr,qr,qn;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const kr=(b=a.childNodes[0].textContent)!=null?b:"";if((z=y.TeX)!=null&&z.processEnvironments&&/^\s*\\begin/.test(kr)){a.textContent="";const Lr=Md(kr,"",y,!0);Lr&&a.append(Lr);return}const ii=Cm(kr,(se=y.TeX)==null?void 0:se.delimiters,(ke=y.asciiMath)==null?void 0:ke.delimiters);if(ii.length===1&&ii[0].type==="math"){a.textContent="";const Lr=Md(ii[0].data,ii[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);Lr&&a.append(Lr);return}if(ii.length===1&&ii[0].type==="text")return}for(let kr=a.childNodes.length-1;kr>=0;kr--){const ii=a.childNodes[kr];if(ii.nodeType===3){const Lr=by((ze=ii.textContent)!=null?ze:"",y);Lr&&(kr+=Lr.childNodes.length-1,ii.replaceWith(Lr))}else if(ii.nodeType===1){const Lr=ii,Li=ii.nodeName.toLowerCase();if(Li==="script"){const Vi=ii;let Ki;if((rt=y.processScriptTypePattern)!=null&&rt.test(Vi.type))Ki=(ht=Vi.textContent)!=null?ht:"";else if((gt=y.processMathJSONScriptTypePattern)!=null&&gt.test(Vi.type))try{Ki=(jt=y.serializeToLatex)==null?void 0:jt.call(y,JSON.parse((xt=Vi.textContent)!=null?xt:""))}catch(Za){console.error(Za)}if(Ki){let Za="textstyle";for(const ci of Vi.type.split(";")){const[Zl,Lc]=ci.toLowerCase().split("=");Zl.trim()==="mode"&&(Za=Lc.trim()==="display"?"displaystyle":"textstyle")}const mo=Md(Ki,Za,y,!0);mo&&Vi.parentNode.replaceChild(mo,Vi)}}else if(((on=(Gt=y.processClassPattern)==null?void 0:Gt.test(Lr.className))!=null?on:!1)||!((tr=(gn=y.skipTags)==null?void 0:gn.includes(Li))!=null&&tr||(qn=(qr=y.ignoreClassPattern)==null?void 0:qr.test(Lr.className))!=null&&qn))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const Ki=a.textContent;a.textContent="";const Za=Md(Ki!=null?Ki:"","displaystyle",y,!0);Za&&a.append(Za)}else Em(Lr,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,se,ke;try{const ze=ie(ie({},xy),y);ze.ignoreClassPattern=new RegExp((b=ze.ignoreClass)!=null?b:""),ze.processClassPattern=new RegExp((z=ze.processClass)!=null?z:""),ze.processScriptTypePattern=new RegExp((se=ze.processScriptType)!=null?se:""),ze.processMathJSONScriptTypePattern=new RegExp((ke=ze.processMathJSONScriptType)!=null?ke:""),Pf(),Dl("core"),Em(a,ze)}catch(ze){ze instanceof Error?console.error("renderMathInElement(): "+ze.message):console.error("renderMathInElement(): Could not render math for element",a)}}function Sy(a,y){const b=mu.singleton;return b?(b.show(),qd(),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}Ol({switchKeyboardLayer:Sy,toggleVirtualKeyboard:Cy,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function yu(){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,se,ke;const ze=Ey(a);if(!ze)return;const rt=y!=null?y:{};(b=rt.renderToMarkup)!=null||(rt.renderToMarkup=Is),(z=rt.renderToMathML)!=null||(rt.renderToMathML=_v),(se=rt.renderToSpeakableText)!=null||(rt.renderToSpeakableText=jv),(ke=rt.serializeToLatex)!=null||(rt.serializeToLatex=Fv),wy(ze,rt)}var Py={mathlive:"0.98.5"}},16722:function(kn,Qt,Te){"use strict";Te.d(Qt,{Z:function(){return ie}});const Ne=oe=>typeof oe=="object"&&oe!=null&&oe.nodeType===1,bt=(oe,le)=>(!le||oe!=="hidden")&&oe!=="visible"&&oe!=="clip",E=(oe,le)=>{if(oe.clientHeight<oe.scrollHeight||oe.clientWidth<oe.scrollWidth){const pe=getComputedStyle(oe,null);return bt(pe.overflowY,le)||bt(pe.overflowX,le)||(re=>{const ae=(ce=>{if(!ce.ownerDocument||!ce.ownerDocument.defaultView)return null;try{return ce.ownerDocument.defaultView.frameElement}catch(de){return null}})(re);return!!ae&&(ae.clientHeight<re.scrollHeight||ae.clientWidth<re.scrollWidth)})(oe)}return!1},je=(oe,le,pe,re,ae,ce,de,me)=>ce<oe&&de>le||ce>oe&&de<le?0:ce<=oe&&me<=pe||de>=le&&me>=pe?ce-oe-re:de>le&&me<pe||ce<oe&&me>pe?de-le+ae:0,ve=oe=>{const le=oe.parentElement;return le==null?oe.getRootNode().host||null:le},ne=(oe,le)=>{var pe,re,ae,ce;if(typeof document=="undefined")return[];const{scrollMode:de,block:me,inline:we,boundary:xe,skipOverflowHiddenElements:Ae}=le,ye=typeof xe=="function"?xe:at=>at!==xe;if(!Ne(oe))throw new TypeError("Invalid target");const Ee=document.scrollingElement||document.documentElement,Le=[];let Ce=oe;for(;Ne(Ce)&&ye(Ce);){if(Ce=ve(Ce),Ce===Ee){Le.push(Ce);break}Ce!=null&&Ce===document.body&&E(Ce)&&!E(document.documentElement)||Ce!=null&&E(Ce,Ae)&&Le.push(Ce)}const _e=(re=(pe=window.visualViewport)==null?void 0:pe.width)!=null?re:innerWidth,Me=(ce=(ae=window.visualViewport)==null?void 0:ae.height)!=null?ce:innerHeight,{scrollX:De,scrollY:Se}=window,{height:Be,width:Re,top:Xe,right:Ie,bottom:Ye,left:Ge}=oe.getBoundingClientRect(),{top:qe,right:it,bottom:st,left:Ve}=(at=>{const tt=window.getComputedStyle(at);return{top:parseFloat(tt.scrollMarginTop)||0,right:parseFloat(tt.scrollMarginRight)||0,bottom:parseFloat(tt.scrollMarginBottom)||0,left:parseFloat(tt.scrollMarginLeft)||0}})(oe);let Qe=me==="start"||me==="nearest"?Xe-qe:me==="end"?Ye+st:Xe+Be/2-qe+st,nt=we==="center"?Ge+Re/2-Ve+it:we==="end"?Ie+it:Ge-Ve;const dt=[];for(let at=0;at<Le.length;at++){const tt=Le[at],{height:et,width:ot,top:yt,right:pt,bottom:Pt,left:Mt}=tt.getBoundingClientRect();if(de==="if-needed"&&Xe>=0&&Ge>=0&&Ye<=Me&&Ie<=_e&&(tt===Ee&&!E(tt)||Xe>=yt&&Ye<=Pt&&Ge>=Mt&&Ie<=pt))return dt;const ct=getComputedStyle(tt),Je=parseInt(ct.borderLeftWidth,10),Ze=parseInt(ct.borderTopWidth,10),ue=parseInt(ct.borderRightWidth,10),he=parseInt(ct.borderBottomWidth,10);let He=0,We=0;const fe="offsetWidth"in tt?tt.offsetWidth-tt.clientWidth-Je-ue:0,Pe="offsetHeight"in tt?tt.offsetHeight-tt.clientHeight-Ze-he:0,Fe="offsetWidth"in tt?tt.offsetWidth===0?0:ot/tt.offsetWidth:0,Ke="offsetHeight"in tt?tt.offsetHeight===0?0:et/tt.offsetHeight:0;if(Ee===tt)He=me==="start"?Qe:me==="end"?Qe-Me:me==="nearest"?je(Se,Se+Me,Me,Ze,he,Se+Qe,Se+Qe+Be,Be):Qe-Me/2,We=we==="start"?nt:we==="center"?nt-_e/2:we==="end"?nt-_e:je(De,De+_e,_e,Je,ue,De+nt,De+nt+Re,Re),He=Math.max(0,He+Se),We=Math.max(0,We+De);else{He=me==="start"?Qe-yt-Ze:me==="end"?Qe-Pt+he+Pe:me==="nearest"?je(yt,Pt,et,Ze,he+Pe,Qe,Qe+Be,Be):Qe-(yt+et/2)+Pe/2,We=we==="start"?nt-Mt-Je:we==="center"?nt-(Mt+ot/2)+fe/2:we==="end"?nt-pt+ue+fe:je(Mt,pt,ot,Je,ue+fe,nt,nt+Re,Re);const{scrollLeft:Ue,scrollTop:ut}=tt;He=Ke===0?0:Math.max(0,Math.min(ut+He/Ke,tt.scrollHeight-et/Ke+Pe)),We=Fe===0?0:Math.max(0,Math.min(Ue+We/Fe,tt.scrollWidth-ot/Fe+fe)),Qe+=ut-He,nt+=Ue-We}dt.push({el:tt,top:He,left:We})}return dt},ee=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 ce=ae;for(;ce&&ce.parentNode;){if(ce.parentNode===document)return!0;ce=ce.parentNode instanceof ShadowRoot?ce.parentNode.host:ce.parentNode}return!1})(oe))return;const pe=(ae=>{const ce=window.getComputedStyle(ae);return{top:parseFloat(ce.scrollMarginTop)||0,right:parseFloat(ce.scrollMarginRight)||0,bottom:parseFloat(ce.scrollMarginBottom)||0,left:parseFloat(ce.scrollMarginLeft)||0}})(oe);if((ae=>typeof ae=="object"&&typeof ae.behavior=="function")(le))return le.behavior(ne(oe,le));const re=typeof le=="boolean"||le==null?void 0:le.behavior;for(const{el:ae,top:ce,left:de}of ne(oe,ee(le))){const me=ce-pe.top+pe.bottom,we=de-pe.left+pe.right;ae.scroll({top:me,left:we,behavior:re})}}}}]);
}());