|
|
(self.webpackChunk=self.webpackChunk||[]).push([[8827],{89489:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={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"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},59477:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={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"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},40001:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},26227:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},49198:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={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"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},41464:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},87169:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},73331:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},15277:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},52671:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},8657:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},10906:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},56082:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},61481:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},33853:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},15075:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},43531:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},61485:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},47472:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},87395:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},32050:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(54476),oe=ae(59301),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 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:"upload",theme:"outlined"},De=ye,de=ae(7657),ve=function(E,te){return oe.createElement(de.Z,(0,b.Z)({},E,{ref:te,icon:De}))},re=oe.forwardRef(ve),se=re},3706:function(){"use strict"},96772:function(){"use strict"},50718:function(Un,pn){"use strict";pn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},45936: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 Un={},pn="5.0",ae={},b=null,oe=!1,ye=!1,De=null,de=!1,ve=null,re=null,se=0;se<arguments.length;se++){var fe=arguments[se];if(fe!==null)switch(typeof fe){case"number":pn=fe.toFixed(1);break;case"string":fe.match(new RegExp("^[0-9]\\.[0-9]+$"))?pn=fe:De=fe;break;case"object":typeof fe.is3D!="undefined"?b=fe:ae=fe;break;case"boolean":oe=fe,ye=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ae.material_id!==void 0&&!ye&&(oe=!0)),De!==null&&ae.id===void 0&&(ae.id=De);var E="",te="",ne=!1,ge=null,we=null,xe=null,ue=!1,Ee=null,Oe=null,Ae=null,Re=null,Me=null;ae.height!==void 0&&(ae.height=Math.round(ae.height)),ae.width!==void 0&&(ae.width=Math.round(ae.width));var be=function(Ve){return parseFloat(Ve)>4?parseFloat(Ve):5};Un.setHTML5Codebase=function(Ve,ht){re=Ve,Xe(Ve,ht)},Un.setJavaCodebase=Un.setJavaCodebaseVersion=Un.isCompiledInstalled=Un.setPreCompiledScriptPath=Un.setPreCompiledResourcePath=function(){},Un.setHTML5CodebaseVersion=function(Ve,ht){var st=parseFloat(Ve);if(st!==NaN&&st<5){console.log("The GeoGebra HTML5 codebase version "+st+" is deprecated. Using version latest instead.");return}ve=Ve,Ue(Ve,ht)},Un.getHTML5CodebaseVersion=function(){return we},Un.getParameters=function(){return ae},Un.setFontsCSSURL=function(Ve){Re=Ve},Un.setGiacJSURL=function(Ve){},Un.setJNLPFile=function(Ve){E=Ve},Un.setJNLPBaseDir=function(Ve){},Un.inject=function(){function Ve(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ht="auto",st=ae.id,Nt,dt=!1,Tt=0;Tt<arguments.length;Tt++){var bt=arguments[Tt];typeof bt=="string"?(bt=bt.toLowerCase(),bt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ht=bt:st=arguments[Tt]):typeof bt=="boolean"?dt=bt:bt instanceof HTMLElement&&(Nt=bt)}Ct();function Ct(){if(!de){setTimeout(Ct,200);return}ht=Bt(ht);var gt=Nt||document.getElementById(st);if(!gt){console.log("possibly bug on ajax loading? ");return}if(Un.removeExistingApplet(gt,!1),ae.width===void 0&>.clientWidth&&(ae.width=gt.clientWidth),ae.height===void 0&>.clientHeight&&(ae.height=gt.clientHeight),!(ae.width&&ae.height)&&ht==="html5"&&(delete ae.width,delete ae.height),ge=ht,ht==="screenshot")Je(gt,ae);else{var je=!1;ae.hasOwnProperty("playButton")&&ae.playButton||ae.hasOwnProperty("clickToLoad")&&ae.clickToLoad?je=!0:ae.hasOwnProperty("playButtonAutoDecide")&&ae.playButtonAutoDecide&&(je=(!Pe()||Ve())&&Fe()),je?(ge="screenshot",lt(gt,ae,dt,ht)):Ye(gt,ae,dt)}}};function Pe(){try{return window.self!==window.top}catch(Ve){return!0}}function Fe(){return ae.hasOwnProperty("screenshotGenerator")&&ae.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Un.getViews=function(){return b},Un.isJavaInstalled=function(){return!1};var _e=function(Ve){var ht=function(Tt){var bt=JSON.parse(Tt),Ct=function(le){return le.type=="G"||le.type=="E"},gt=bt.elements?bt.elements.filter(Ct)[0]:bt;if(!gt||!gt.url){st();return}ae.fileName=gt.url,Te(gt.settings||{}),b.is3D=!0;var je="https://www.geogebra.org/images/";Un.setPreviewImage(Ee||gt.previewUrl,je+"GeoGebra_loading.png",je+"applet_play.png"),Ve()},st=function(){ae.onError&&ae.onError(),$e("Error: Fetching material (id "+ae.material_id+") failed.",ae)},Nt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",dt="/materials/"+ae.material_id+"?scope=basic";Ke("https://"+Nt+"/api/proxy.php?path="+encodeURIComponent(dt),ht,st)};function Te(Ve){var ht=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(st){Ve[st]=!!Ve[st]}),ht.forEach(function(st){ae[st]===void 0&&Ve[st]!==void 0&&(ae[st]=Ve[st])}),ae.showToolBarHelp===void 0&&(ae.showToolBarHelp=ae.showToolBar)}function Ke(Ve,ht,st){var Nt=new XMLHttpRequest;Nt.open("GET",Ve),Nt.onload=function(){ht(Nt.responseText)},Nt.onerror=st,Nt.send()}Un.isHTML5Installed=function(){return!0},Un.getLoadedAppletType=function(){return ge},Un.setPreviewImage=function(Ve,ht,st){Ee=Ve,Oe=ht,Ae=st},Un.removeExistingApplet=function(Ve,ht){var st;typeof Ve=="string"&&(Ve=document.getElementById(Ve)),ge=null;var Nt=null;for(st=0;st<Ve.childNodes.length;st++){var dt=Ve.childNodes[st],Tt=dt.className;Tt==="applet_screenshot"?ht?(dt.style.display="block",ge="screenshot"):dt.style.display="none":Tt!=="applet_scaler prerender"&&(Ve.removeChild(dt),Nt=Tt&&Tt.indexOf("appletParameters")!=-1?dt.id:null,st--)}var bt=ae.id!==void 0?ae.id:Nt,Ct=window[bt];Ct&&typeof Ct.getBase64=="function"&&(Ct.remove(),window[bt]=null)},Un.refreshHitPoints=function(){if(be(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ve=Un.getAppletObject();return Ve&&typeof Ve.recalculateEnvironments=="function"?(Ve.recalculateEnvironments(),!0):!1},Un.startAnimation=function(){var Ve=Un.getAppletObject();return Ve&&typeof Ve.startAnimation=="function"?(Ve.startAnimation(),!0):!1},Un.stopAnimation=function(){var Ve=Un.getAppletObject();return Ve&&typeof Ve.stopAnimation=="function"?(Ve.stopAnimation(),!0):!1},Un.getAppletObject=function(){var Ve=ae.id!==void 0?ae.id:"ggbApplet";return window[Ve]},Un.resize=function(){};var We=function(Ve,ht,st){var Nt=document.createElement("param");Nt.setAttribute("name",ht),Nt.setAttribute("value",st),Ve.appendChild(Nt)},Ne=function(Ve){return Ve&&Ve!=="false"},Ye=function(Ve,ht,st){be(we)<=4.2&&(st=!0);var Nt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==we||ggbHTML5LoadedCodebaseIsWebSimple&&!ue)&&(Nt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var dt=document.createElement("div");dt.classList.add("appletParameters","notranslate");var Tt=ht.width,bt=ht.height;if(ht.disableAutoScale=ht.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ht.disableAutoScale,ht.width!==void 0)if(be(we)<=4.4)Ne(ht.showToolBar)&&(ht.height-=7),Ne(ht.showAlgebraInput)&&(ht.height-=37),ht.width<605&&Ne(ht.showToolBar)&&(ht.width=605,Tt=605);else{var Ct=100;(Ne(ht.showToolBar)||Ne(ht.showMenuBar))&&(ht.hasOwnProperty("customToolBar")&&(ht.customToolbar=ht.customToolBar),Ct=Ne(ht.showMenuBar)?245:155),Tt<Ct&&(ht.width=Ct,Tt=Ct)}dt.style.border="none",dt.style.display="inline-block";for(var gt in ht)ht.hasOwnProperty(gt)&>!=="appletOnLoad"&&dt.setAttribute("data-param-"+gt,ht[gt]);Re&&dt.setAttribute("data-param-fontscssurl",Re),Un.resize=function(){GGBAppletUtils.responsiveResize(Ve,ht)},window.addEventListener("resize",function(Qe){Un.resize()});var je=typeof ht.appletOnLoad=="function"?ht.appletOnLoad:function(){};if(!st&&ht.width!==void 0){ht.hasOwnProperty("showSplash")||dt.setAttribute("data-param-showSplash","false");var le=Ve.querySelector(".applet_scaler.prerender"),ie=le!==null;if(ie)var ke=le.querySelector(".ggb_preview");else{var ke=tt(Tt,bt,ht.borderColor,!1);le=document.createElement("div"),le.className="applet_scaler",le.style.position="relative",le.style.display="block",le.style.width=Tt+"px",le.style.height=bt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(le,"66%"),be(we)>=5?(ht.appletOnLoad=function(Qe){var it=Ve.querySelector(".ggb_preview");it&&it.parentNode.removeChild(it),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(le),window.GGBT_wsf_view&&$(window).trigger("resize"),je(Qe)},ie||le.appendChild(ke)):dt.appendChild(ke),le.appendChild(dt),ie||Ve.appendChild(le),setTimeout(function(){Un.resize()},1)}else{var Ge=document.createElement("div");Ge.className="applet_scaler",Ge.style.position="relative",Ge.style.display="block",Ge.appendChild(dt),Ve.appendChild(Ge),ht.appletOnLoad=function(Qe){Un.resize(),je(Qe)}}function Ie(Qe,it){it&&typeof it.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Qe,it.appletOnLoad):renderGGBElement(Qe),$e("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",it)}function pe(Qe,it){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Qe,params:it}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ot){Ie(ot.article,ot.params)}),html5AppletsToProcess=null)},be(we)<5&&(Qe.className+=" geogebraweb")):Ie(Qe,it)}if(Nt){scriptLoadStarted=!0;for(var x=0;x<dt.childNodes.length;x++){var me=dt.childNodes[x].tagName;me==="TABLE"&&(dt.removeChild(dt.childNodes[x]),x--)}if(ggbHTML5LoadedScript!==null){var Le=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Le!=null&&Le.parentNode.removeChild(Le)}var Se=document.createElement("script"),Be=function(){pe(dt,ht)};Se.src=te+xe,ggbHTML5LoadedCodebaseIsWebSimple=ue,ggbHTML5LoadedCodebaseVersion=we,ggbHTML5LoadedScript=Se.src,$e("GeoGebra HTML5 codebase loaded: '"+te+"'.",ht),!re&&(!ve||ve=="5.0")?(ue?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Be()):te.requirejs?__webpack_require__.e(2667).then(function(){var Qe=[__webpack_require__(72667)];Be.apply(null,Qe)}.bind(this)).catch(__webpack_require__.oe):(Se.onload=Be,Ve.appendChild(Se))}else pe(dt,ht);ht.height=bt,ht.width=Tt},Je=function(Ve,ht,st){var Nt=tt(ht.width,ht.height,ht.borderColor,st),dt=document.createElement("div");dt.style.position="relative",dt.style.display="block",dt.style.width=ht.width+"px",dt.style.height=ht.height+"px",dt.className="applet_screenshot applet_scaler"+(st?" applet_screenshot_play":""),dt.appendChild(Nt);var Tt=GGBAppletUtils.getScale(ht,Ve,st);st?(Ve.appendChild(ct()),window.GGBT_wsf_view||(Ve.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(dt,"66%"),Ve.appendChild(dt),Tt!==1&&!isNaN(Tt)&&(GGBAppletUtils.scaleElement(dt,Tt),dt.style.width=ht.width+"px",dt.style.height=ht.height+"px",dt.parentNode.style.width=ht.width*Tt+"px",dt.parentNode.style.height=ht.height*Tt+"px"),Un.resize=function(){He(Ve,Nt,dt,st)},window.addEventListener("resize",function(bt){Un.resize()}),Un.resize()};function He(Ve,ht,st,Nt){if(Ve.contains(ht)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ve.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ve)}var dt=GGBAppletUtils.getScale(ae,Ve,Nt);st.parentNode!==null&&(!isNaN(dt)&&dt!==1?(GGBAppletUtils.scaleElement(st,dt),st.parentNode.style.width=ae.width*dt+"px",st.parentNode.style.height=ae.height*dt+"px"):(GGBAppletUtils.scaleElement(st,1),st.parentNode.style.width=ae.width+"px",st.parentNode.style.height=ae.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ve),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Un.onExitFullscreen=function(Ve,ht){ht.appendChild(Ve)};var lt=function(Ve,ht,st,Nt){Je(Ve,ht,!0);for(var dt=function(){var Ct=[];for(bt=0;bt<Ve.childNodes.length;bt++)Ct.push(Ve.childNodes[bt]);if(window.GGBT_wsf_view){var gt=window.GGBT_wsf_view.renderFullScreen(Ve,ht.id),je=document.getElementById("fullscreencontainer"),le=jQuery(Ve).find(".fullscreencontent");le.length>0?(gt.remove(),le.attr("id","fullscreencontent").show(),jQuery(je).append(le),window.dispatchEvent(new Event("resize"))):Ye(gt,ht,!1),window.GGBT_wsf_view.launchFullScreen(je)}else ge=Nt,Ye(Ve,ht,!1);if(!window.GGBT_wsf_view)for(bt=0;bt<Ct.length;bt++)Ve.removeChild(Ct[bt])},Tt=Ve.getElementsByClassName("ggb_preview_play"),bt=0;bt<Tt.length;bt++)Tt[bt].addEventListener("click",dt,!1),Tt[bt].addEventListener("ontouchstart",dt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ve),Fe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ct=function(){var Ve=document.createElement("div");if(Ve.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ht='.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");}',st=document.createElement("style");st.styleSheet?st.styleSheet.cssText=ht:st.appendChild(document.createTextNode(ht)),document.getElementsByTagName("head")[0].appendChild(st)}return Ve},tt=function(Ve,ht,st,Nt){var dt=document.createElement("div");dt.className="ggb_preview",dt.style.position="absolute",dt.style.zIndex="90",dt.style.width=Ve-2+"px",dt.style.height=ht-2+"px",dt.style.top="0px",dt.style.left="0px",dt.style.overflow="hidden",dt.style.backgroundColor="white";var Tt="lightgrey";st!==void 0&&(st==="none"?Tt="transparent":Tt=st),dt.style.border="1px solid "+Tt;var bt=document.createElement("img");if(bt.style.position="relative",bt.style.zIndex="1000",bt.style.top="-1px",bt.style.left="-1px",Ee!==null&&bt.setAttribute("src",Ee),bt.style.opacity=.7,Oe!==null){var Ct,gt,je;if(!Nt){Ct=document.createElement("img"),Ct.style.position="absolute",Ct.style.zIndex="1001",Ct.style.opacity=1,bt.style.opacity=.3,gt=360,gt>Ve/4*3&&(gt=Ve/4*3),je=gt/5.8,Ct.setAttribute("src",Oe),Ct.setAttribute("width",gt),Ct.setAttribute("height",je);var le=(Ve-gt)/2,ie=(ht-je)/2;Ct.style.left=le+"px",Ct.style.top=ie+"px",dt.appendChild(Ct)}}return dt.appendChild(bt),dt},Bt=function(Ve){return Ve=Ve.toLowerCase(),Ve==="html5"||Ve==="screenshot"?Ve:"html5"},nt=["web","webSimple","web3d","tablet","tablet3d","phone"],Ue=function(Ve,ht){if(we=Ve,ht){Xe(we,!0);return}var st=!oe;if(st){var Nt=be(we);!isNaN(Nt)&&Nt<4.4&&(st=!1)}var dt,Tt;window.location.protocol.substr(0,4)==="http"?dt=window.location.protocol:dt="http:";var bt=we.indexOf("//");bt>0?Tt=we:bt===0?Tt=dt+we:Tt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ct in nt)if(we.slice(nt[Ct].length*-1)===nt[Ct]||we.slice((nt[Ct].length+1)*-1)===nt[Ct]+"/"){Xe(Tt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&st&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Ne(ae.showToolBar)&&!Ne(ae.showMenuBar)&&!Ne(ae.showAlgebraInput)&&!Ne(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?Tt+="webSimple/":Tt+="web3d/",Xe(Tt,!1)},Xe=function(Ve,ht){if(Ve.requirejs){te=Ve;return}Ve.slice(-1)!=="/"&&(Ve+="/"),te=Ve,ht===null&&(ht=Ve.indexOf("http")===-1),ne=ht,xe="web.nocache.js",ue=!1;var st=te.split("/");st.length>1&&(!ht&&st[st.length-2]==="webSimple"?(xe="webSimple.nocache.js",ue=!0):nt.indexOf(st[st.length-2])>=0&&(xe=st[st.length-2]+".nocache.js")),st=Ve.split("/"),we=st[st.length-3],we.substr(0,4)==="test"?we=we.substr(4,1)+"."+we.substr(5,1):(we.substr(0,3)==="war"||we.substr(0,4)==="beta")&&(we="5.0");var Nt=parseFloat(we);Nt!==NaN&&Nt<5&&Ve.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Nt+" is deprecated. Using version latest instead."),Ue("5.0",ht))},$e=function(Ve,ht){window.console&&window.console.log&&(!ht||typeof ht.showLogging=="undefined"||ht.showLogging&&ht.showLogging!=="false")&&console.log(Ve)};ae.material_id!==void 0?_e(qe):qe();function qe(){var Ve=pn;ve!==null?Ve=ve:parseFloat(Ve)<5&&(Ve="5.0"),Ue(Ve,!1),re!==null&&Xe(re,ne),de=!0}return Un},GGBAppletUtils=function(){"use strict";function Un(){return window.GGBT_wsf_edit!==void 0}function pn(de,ve){ve!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+ve+","+ve+")",de.style.webkitTransform="scale("+ve+","+ve+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function ae(de,ve,re,se,fe,E){var te=null;if(E!=null&&E!="")for(var ne=de.parentNode;ne!=null;)if((" "+ne.className+" ").indexOf(" "+E+" ")>-1){te=ne;break}else ne=ne.parentNode;var ge=0,we=0,xe=0,ue=0,Ee=0,Oe=0,Ae=0;if(te)ge=te.offsetWidth,we=Math.max(se?te.offsetWidth:0,te.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ge=Math.min(window.innerWidth,document.documentElement.clientWidth),we=Math.min(window.innerHeight,document.documentElement.clientHeight),xe=ge):(ge=window.innerWidth,we=window.innerHeight,xe=window.innerWidth),de){var Re=de.getBoundingClientRect();Re.left>0&&Re.left<=ge&&(fe===void 0||!fe)&&(document.dir==="rtl"?(Ee=ge-Re.width-Re.left,Oe=xe<=480?10:30):(Oe=Re.left,Ee=xe<=480?10:30),ue=Oe+Ee)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Me=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ue=40,Ae=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue=0,Ae=40)}}return de&&((re===void 0||!re)&&ve>0&&ve+ue<ge?ge=ve:ge-=ue,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(re===void 0||!re)&&(we-=Ae)),{width:ge,height:we}}function b(de,ve,re,se,fe){if(de.isScreenshoGenerator)return 1;var E=se!==void 0&&se,te=de.noScaleMargin!=null&&de.noScaleMargin,ne=function(Me){return Me&&Me!=="false"},ge=ne(de.autoHeight),we=ae(ve,de.width,re,ge,E&&window.GGBT_wsf_view||te,fe),xe=parseInt(we.width),ue=de.width,Ee=de.height;if(ue===void 0){var Oe=ve.querySelector(".appletParameters");Oe&&(ue=Oe.offsetWidth,Ee=Oe.offsetHeight)}var Ae=xe/ue,Re=E?1:we.height/Ee;return re!==void 0&&!re&&(Ae=Math.min(1,Ae),Re=Math.min(1,Re)),Math.min(Ae,Re)}function oe(de,ve,re){var se=1,fe,E=!1;if(de.hasOwnProperty("allowUpscale")&&(E=de.allowUpscale),de.hasOwnProperty("scale")&&(se=parseFloat(de.scale),(isNaN(se)||se===null||se===0)&&(se=1),se>1&&(E=!0)),ve&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(E=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))fe=b(de,ve,E,re,de.scaleContainerClass);else return se;return E&&(!de.hasOwnProperty("scale")||se===1)?fe:Math.min(se,fe)}function ye(de){var ve=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),se=de.getBoundingClientRect(),fe=(ve-se.width)/2,E=(re-se.height)/2;E<0&&(E=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(fe<40?de.style.left="40px":de.style.left=fe+"px",de.style.top=E+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E<40?de.style.top="40px":de.style.top=E+"px",de.style.left=fe+"px")}function De(de,ve){var re=de.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ve.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var se=oe(ve,de);Un()&&re.setAttribute("data-param-scale",se);for(var fe=null,E=0;E<de.childNodes.length;E++)if(de.childNodes[E].className!==void 0&&de.childNodes[E].className.match(/^applet_scaler/)){fe=de.childNodes[E];break}if(fe!==null&&fe.querySelector(".noscale")!==null)return;var te=ve.id!==void 0?ve.id:"ggbApplet",ne=window[te];(ne==null||!ne.recalculateEnvironments)&&fe!==null&&!fe.className.match(/fullscreen/)&&(fe.parentNode.style.transform="",!isNaN(se)&&se!==1?(fe.parentNode.style.width=ve.width*se+"px",fe.parentNode.style.height=ve.height*se+"px",pn(fe,se)):(pn(fe,1),fe.parentNode.style.width=ve.width+"px",fe.parentNode.style.height=ve.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&ye(de),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:De,isFlexibleWorksheetEditor:Un,positionCenter:ye,getScale:oe,scaleElement:pn}}();__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 Un=n.location.search;return Un.indexOf(J)!=-1||Un.indexOf(K)!=-1}function q(Un,pn){}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(Un){var pn=s[L].bindings;s[L].bindings=function(){for(var ae=pn?pn():{},b=Un[webModule.__softPermutationId],oe=O;oe<b.length;oe++){var ye=b[oe];ae[ye[O]]=ye[P]}return ae}};var t;function u(){return v(),t}function v(){if(!t){var Un=o.createElement(Q);if(Un.id=L,Un.style.cssText=R+S,Un.tabIndex=-1,o.body.appendChild(Un),t=Un.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var pn=document.compatMode==U?V:W;t.write(pn+X),t.close()}}}function w(Un){function pn(b){function oe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var ye=oe();if(ye){b();return}function De(){if(!ye){if(!oe())return;ye=!0,b(),o.removeEventListener&&o.removeEventListener(Z,De,!1),de&&clearInterval(de)}}o.addEventListener&&o.addEventListener(Z,De,!1);var de=setInterval(function(){De()},$)}function ae(b){var oe=u(),ye=oe.body,De=oe.createElement(_);De.language=ab,De.crossOrigin=W,De.src=b,webModule.__errFn&&(De.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),ye.appendChild(De)}pn(function(){ae(Un)})}webModule.__startLoadingFragment=function(Un){return C(Un)},webModule.__installRunAsyncCode=function(Un){var pn=u(),ae=pn.body,b=pn.createElement(_);b.language=ab,b.text=Un,ae.appendChild(b),ae.removeChild(b)};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(Un){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Un){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Un){var pn=c[Un];return pn==null?null:pn},r=d,webModule.__errFn=e}function B(){function Un(de){var ve=de.lastIndexOf(rb);ve==-1&&(ve=de.length);var re=de.indexOf(sb);re==-1&&(re=de.length);var se=de.lastIndexOf(tb,Math.min(re,ve));return se>=O?de.substring(O,se+P):W}function pn(de){if(!de.match(/^\w+:\/\//)){var ve=o.createElement(ub);ve.src=de+vb,de=Un(ve.src)}return de}function ae(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function b(){for(var de=o.getElementsByTagName(_),ve=O;ve<de.length;++ve)if(de[ve].src.indexOf(xb)!=-1)return Un(de[ve].src);return W}function oe(){var de=o.getElementsByTagName(yb);return de.length>O?de[de.length-P].href:W}function ye(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var De=ae();return De==W&&(De=b()),De==W&&(De=oe()),De==W&&ye()&&(De=Un(o.location.href)),De=pn(De),De}function C(Un){return Un.match(/^\//)||Un.match(/^[a-zA-Z]+:\/\//)?Un:webModule.__moduleBase+Un}function D(){var Un=[],pn=O,ae=[],b=[];function oe(de){var ve=b[de](),re=ae[de];if(ve in re)return ve;var se=[];for(var fe in re)se[re[fe]]=fe;throw r&&r(de,se,ve),null}if(__gwt_isKnownPropertyValue=function(de,ve){return ve in ae[de]},webModule.__getPropMap=function(){var de={};for(var ve in ae)ae.hasOwnProperty(ve)&&(de[ve]=oe(ve));return de},webModule.__computePropValue=oe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ye;try{ye=Cb;var De=ye.indexOf(Db);De!=-1&&(pn=parseInt(ye.substring(De+P),$),ye=ye.substring(O,De))}catch(de){}return webModule.__softPermutationId=pn,C(ye+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/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})()},18989:function(Un,pn,ae){"use strict";ae.d(pn,{$Y:function(){return Tt},A0:function(){return ht},EP:function(){return de},F_:function(){return se},Fk:function(){return Ie},G9:function(){return re},GB:function(){return Xe},GR:function(){return Oe},GW:function(){return Nt},Hh:function(){return pe},Hp:function(){return ge},Ir:function(){return oe},N$:function(){return $e},NZ:function(){return He},Nv:function(){return Ge},OA:function(){return le},OJ:function(){return tt},QF:function(){return it},RS:function(){return Pe},RY:function(){return Be},Rj:function(){return lt},SX:function(){return Te},Tp:function(){return bt},Ui:function(){return Ve},V1:function(){return nt},Vn:function(){return _e},dL:function(){return ke},fo:function(){return We},gG:function(){return Ne},gK:function(){return Ee},hK:function(){return we},i3:function(){return E},ib:function(){return xe},lS:function(){return ue},m5:function(){return ve},n4:function(){return b},n_:function(){return te},oP:function(){return Ct},p2:function(){return st},pl:function(){return Je},rM:function(){return Me},sM:function(){return ne},t2:function(){return Fe},tD:function(){return Ae},u8:function(){return Re},um:function(){return Qe},vm:function(){return ie},wQ:function(){return fe},wj:function(){return Bt},wt:function(){return Ye},yS:function(){return be},yi:function(){return ye},ym:function(){return ct},z2:function(){return De}});const b="FETCH_TASK_START",oe="FETCH_TASK_FAILURE",ye="FETCH_TASK_SUCCESS",De="UPDATE_TASK_DATA",de="HIDE_EVALUATE_RESULT",ve="SHOW_EVALUATE_RESULT",re="UPDATE_TIMESTRAP",se="MOVE_X",fe="MOVE_Y",E="TRIGGER_RIGHT_PANEL_MASK ",te="SET_ACTIVE_INDEX",ne="GET_TASK_LIST",ge="SHOW_TASK_LIST",we="HIDE_TASK_LIST",xe="SET_TASK_STAR",ue="TRIGGER_ENLARGE_UNITY3D ",Ee="TRIGGER_TAB_FIXED ",Oe="GET_DISCUSSES",Ae="SHOW_DISCUSSES_LOADING",Re="TOP_OR_DOWN_DISCUSS",Me="PLUS_DISCUSS",be="SET_ACTION_TYPE",Pe="SHOW_REWARD_DIALOG",Fe="CANCEL_REWARD_DIALOG",_e="SET_REWARD",Te="ACTIVE_DISCUSS_INDEX",Ke="CREATE_DISCUSS",We="DISABLE_DISCUSS",Ne="CHANGE_PAGE",Ye="SHOW_ANSWER_LOADING",Je="FETCH_ANSWER_INFO",He="HIGH_TIP_MODAL",lt="SHOW_TIP_MODAL",ct="SELECT_UNLOCK_ANSWER",tt="SET_CHOOSE_ANSWERS",Bt="EVAL_CHOOSE_START",nt="EVAL_CHOOSE_END",Ue="SHOW_REP_loading",Xe="FETCH_REP_CONTENT",$e="EDIT_REP_CONTENT",qe="SET_REP_PATH",Ve="SHOW_EVALUATE_LOADING",ht="HIDE_EVALUATE_LOADING",st="SET_EVALUATE_MESSAGE",Nt="SET_SHOW_DIR",dt="SET_EDITOR_SETTING",Tt="SET_EDITOR_THEME",bt="SET_EDITOR_FONTSIZE",Ct="SET_REPOS",gt="SHOW_PATH_LIST",je="HIDE_PATH_LIST",le="HIDE_PICTURE_VIEW",ie="SHOW_PICTURE_VIEW",ke="SHOW_NOTICE",Ge="HIDE_NOTICE",Ie="SHOW_CASE_NOTICE",pe="HIDE_CASE_NOTICE",x="SET_TAB_INDEX",me="SET_SSH_TABS",Le="SET_SSH_CONFIGDATA",Se="SET_SSH_CONFIGDATAARR",Be="SET_VNC_LOADING ",Qe="ON_TAB_TO_SPACE ",it="ON_AUTO_FORMAT "},8240:function(Un,pn,ae){"use strict";ae.d(pn,{Ax:function(){return De},Ds:function(){return de},KI:function(){return re},SI:function(){return ye},f1:function(){return oe}});var b=ae(35783);function oe(se){let fe=!0;if(se.length>0){for(let E=0;E<se.length;E++)if(se[E].compile_success==0||!se[E].compile_success){fe=!1;break}}else fe=!1;return fe}function ye(se,fe=""){let E=[];for(let te=0;te<se.length;te++){let ne=se[te],ge=fe?`${fe}/${ne.name}`:`${ne.name}`;E.push({title:ne.name,type:ne.type,isLeaf:ne.type!=="tree",key:ge})}return E}function De(se,fe,E){for(let te=0;te<se.length;te++){let ne=se[te];if(ne.key===fe){ne.children=E;break}ne.children&&De(ne.children,fe,E)}return se}function de(se,fe,E){let te;return function(){let ne=this,ge=arguments,we=function(){te=null,E||se.apply(ne,ge)},xe=E&&!te;clearTimeout(te),te=setTimeout(we,fe),xe&&se.apply(ne,ge)}}const ve=!0,re=b.Z.API_SERVER},99050:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return we}});var b=ae(7939),oe=ae(59301),ye=Object.defineProperty,De=Object.defineProperties,de=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,fe=(xe,ue,Ee)=>ue in xe?ye(xe,ue,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):xe[ue]=Ee,E=(xe,ue)=>{for(var Ee in ue||(ue={}))re.call(ue,Ee)&&fe(xe,Ee,ue[Ee]);if(ve)for(var Ee of ve(ue))se.call(ue,Ee)&&fe(xe,Ee,ue[Ee]);return xe},te=(xe,ue)=>De(xe,de(ue)),ne=(xe,ue)=>{var Ee={};for(var Oe in xe)re.call(xe,Oe)&&ue.indexOf(Oe)<0&&(Ee[Oe]=xe[Oe]);if(xe!=null&&ve)for(var Oe of ve(xe))ue.indexOf(Oe)<0&&se.call(xe,Oe)&&(Ee[Oe]=xe[Oe]);return Ee},ge=(xe,ue,Ee)=>new Promise((Oe,Ae)=>{var Re=Pe=>{try{be(Ee.next(Pe))}catch(Fe){Ae(Fe)}},Me=Pe=>{try{be(Ee.throw(Pe))}catch(Fe){Ae(Fe)}},be=Pe=>Pe.done?Oe(Pe.value):Promise.resolve(Pe.value).then(Re,Me);be((Ee=Ee.apply(xe,ue)).next())});const we=xe=>{var ue=xe,{children:Ee}=ue,Oe=ne(ue,["children"]);const[Ae,Re]=(0,oe.useState)(!1);return oe.createElement(b.ZP,te(E({},Oe),{loading:Ae,onClick:Me=>ge(void 0,null,function*(){try{Re(!0),yield Oe.onClick(Me),Re(!1)}catch(be){console.error(be),Re(!1)}})}),Ee)}},73606:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Fe}});var b=ae(59301),oe=ae(28284),ye=ae(62957),De=ae(82326),de=ae(29787),ve=ae(70858),re={flex_box_center:"flex_box_center___bIXR2",flex_space_between:"flex_space_between___Qd_bs",flex_box_vertical_center:"flex_box_vertical_center___m4yjg",flex_box_center_end:"flex_box_center_end___QlnxS",flex_box_column:"flex_box_column___BKnnV",zhishidian:"zhishidian___D2PeN"},se=ae(63823),fe=ae(29596),E=ae(68911),te=ae(22972),ne=ae(59301),ge=Object.defineProperty,we=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Ae=(_e,Te,Ke)=>Te in _e?ge(_e,Te,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):_e[Te]=Ke,Re=(_e,Te)=>{for(var Ke in Te||(Te={}))Ee.call(Te,Ke)&&Ae(_e,Ke,Te[Ke]);if(ue)for(var Ke of ue(Te))Oe.call(Te,Ke)&&Ae(_e,Ke,Te[Ke]);return _e},Me=(_e,Te)=>we(_e,xe(Te)),be=(_e,Te,Ke)=>new Promise((We,Ne)=>{var Ye=lt=>{try{He(Ke.next(lt))}catch(ct){Ne(ct)}},Je=lt=>{try{He(Ke.throw(lt))}catch(ct){Ne(ct)}},He=lt=>lt.done?We(lt.value):Promise.resolve(lt.value).then(Ye,Je);He((Ke=Ke.apply(_e,Te)).next())});const Pe=({dispatch:_e,user:Te,classroomList:Ke,account:We,knowledgeList:Ne,setKnowledgeList:Ye,disabled:Je=!1,course_discipline_id:He=null})=>{const[lt]=oe.default.useForm(),ct=(0,se.useParams)(),[tt,Bt]=(0,b.useState)(!1),[nt,Ue]=(0,b.useState)({page:1,limit:10,keyword:""}),[Xe,$e]=(0,b.useState)([]),[qe,Ve]=(0,b.useState)({}),[ht,st]=(0,b.useState)("");(0,b.useEffect)(()=>{We.actionTabs.key=="\u5173\u8054\u8BFE\u7A0B\u77E5\u8BC6\u70B9"?Nt():(nt.keyword="",nt.page=1,Ue(Re({},nt)))},[We.actionTabs]);const Nt=()=>be(void 0,null,function*(){var bt,Ct,gt,je,le,ie,ke,Ge,Ie,pe,x,me,Le;Bt(!0);const Se=yield(0,te.ZP)("/api/v2/course_disciplines.json",{method:"get"});if((Se==null?void 0:Se.status)===0){$e((bt=Se==null?void 0:Se.data)==null?void 0:bt.list),console.log("account.actionTabs.params",We.actionTabs.params);const Be=(Ct=We.actionTabs.params)==null?void 0:Ct.course_discipline_id;console.log("id",Be),lt.setFieldsValue({course_discipline_id:Be||((le=(je=(gt=Se==null?void 0:Se.data)==null?void 0:gt.list)==null?void 0:je[0])==null?void 0:le.id)}),((ke=(ie=Se==null?void 0:Se.data)==null?void 0:ie.list)==null?void 0:ke.length)>0?dt(Be||((pe=(Ie=(Ge=Se==null?void 0:Se.data)==null?void 0:Ge.list)==null?void 0:Ie[0])==null?void 0:pe.id)):Bt(!1),st(Be||((Le=(me=(x=Se==null?void 0:Se.data)==null?void 0:x.list)==null?void 0:me[0])==null?void 0:Le.id))}}),dt=bt=>be(void 0,null,function*(){const Ct=yield(0,te.ZP)("/api/v2/tag_disciplines.json",{method:"get",params:{subject_id:(ct==null?void 0:ct.pathId)||"",course_discipline_id:bt,keyword:nt==null?void 0:nt.keyword}});(Ct==null?void 0:Ct.status)===0&&Ve(Ct==null?void 0:Ct.data),Bt(!1)});(0,b.useEffect)(()=>{We.actionTabs.key=="\u5173\u8054\u8BFE\u7A0B\u77E5\u8BC6\u70B9"&&(st(lt.getFieldValue("course_discipline_id")),dt(lt.getFieldValue("course_discipline_id")))},[nt==null?void 0:nt.keyword]);const Tt=[{title:"\u77E5\u8BC6\u70B9\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,align:"left",render:(bt,Ct)=>ne.createElement("span",null,bt||"--")},{title:"\u64CD\u4F5C",key:"action",align:"right",width:200,render:(bt,Ct)=>ne.createElement(ne.Fragment,null,Ne!=null&&Ne.map(gt=>gt.id).includes(Ct==null?void 0:Ct.id)?ne.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{Ne=Ne.filter(gt=>(gt==null?void 0:gt.id)!=(Ct==null?void 0:Ct.id)),Ye([...Ne])}},"\u53D6\u6D88\u5173\u8054"):ne.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{(Ne==null?void 0:Ne.length)>0?Ye([...Ne,Ct]):Ye([Ct])}},"\u5173\u8054"))}].filter(bt=>!!bt);return ne.createElement("div",null,ne.createElement(ye.default,{title:"\u5173\u8054\u8BFE\u7A0B\u77E5\u8BC6\u70B9",open:We.actionTabs.key=="\u5173\u8054\u8BFE\u7A0B\u77E5\u8BC6\u70B9",width:900,centered:!0,destroyOnClose:!0,footer:null,className:re.scoremodal,onCancel:()=>{_e({type:"account/setActionTabs",payload:{key:""}})}},ne.createElement(oe.default,{layout:"inline",form:lt,className:re.myForm},ne.createElement(oe.default.Item,{name:"course_discipline_id",colon:!1},ne.createElement(De.default,{style:{width:200},size:"large",placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B",disabled:Je,onChange:bt=>{dt(bt),st(bt)}},Xe==null?void 0:Xe.map(bt=>ne.createElement(De.default.Option,{key:bt==null?void 0:bt.id,value:bt==null?void 0:bt.id},bt==null?void 0:bt.name)))),ne.createElement(fe.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",value:nt==null?void 0:nt.keyword,style:{width:240},onChange:bt=>{Ue(Me(Re({},nt),{keyword:bt,page:1}))}}),ne.createElement("div",{className:re.zhishidian,onClick:()=>{(0,E.xg)(`/knowledgeHub?course_discipline_id=${ht}`)}},"\u77E5\u8BC6\u70B9\u7BA1\u7406")),ne.createElement(de.Z,{spinning:tt},ne.createElement(ve.default,{columns:Tt,pagination:!1,scroll:{y:400},style:{marginTop:"10px",marginBottom:"20px"},dataSource:(qe==null?void 0:qe.tag_disciplines)||[]}))))};var Fe=(0,se.connect)(({user:_e,classroomList:Te,account:Ke})=>({user:_e,classroomList:Te,account:Ke}))(Pe)},1453:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return E}});var b=ae(59301),oe=ae(7939),ye=ae(6767),De=ae(94968),de=ae(32050),ve=ae(19248),re=ae(35783),se={img:"img___BgL9D"},E=({value:te,onChange:ne,getFileProgress:ge})=>{const[we,xe]=(0,b.useState)(!1),ue=b.createElement(oe.ZP,{loading:we,icon:b.createElement(de.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),Ee=()=>b.createElement("div",{className:se.img},b.createElement("img",{src:re.Z.API_SERVER+"/api/attachments/"+te,alt:"avatar",style:{width:288}}),b.createElement("div",null,b.createElement(ve.Z,{onClick:()=>ne(""),style:{fontSize:"16px",color:"red"}}))),Oe=Ae=>{var Re,Me,be,Pe,Fe,_e;if(ge&&ge(Ae),Ae.file.status==="uploading"){xe(!0);return}if(Ae.file.status==="done"){if(xe(!1),Ae.file.status==="done"&&((Me=(Re=Ae.file)==null?void 0:Re.response)==null?void 0:Me.status)===-1){ye.ZP.error((Pe=(be=Ae.file)==null?void 0:be.response)==null?void 0:Pe.message);return}ne((_e=(Fe=Ae==null?void 0:Ae.file)==null?void 0:Fe.response)==null?void 0:_e.id)}};return b.createElement(b.Fragment,null,te?Ee():b.createElement("div",null,b.createElement(De.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${re.Z.API_SERVER}/api/attachments.json`,onChange:Oe,accept:"image/*"},ue),b.createElement("div",{className:"mt20 c-light-black"},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528288*158\u50CF\u7D20\uFF1B"),b.createElement("div",{className:"c-light-black"},"\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002")))}},78265:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return te}});var b=ae(59301),oe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ye=ae(92310),De=ae.n(ye),de=ae(29787),ve=ae(2859),re=ae(22972),se=ae(68911),fe=(ne,ge,we)=>new Promise((xe,ue)=>{var Ee=Re=>{try{Ae(we.next(Re))}catch(Me){ue(Me)}},Oe=Re=>{try{Ae(we.throw(Re))}catch(Me){ue(Me)}},Ae=Re=>Re.done?xe(Re.value):Promise.resolve(Re.value).then(Ee,Oe);Ae((we=we.apply(ne,ge)).next())}),te=({data:ne,className:ge,fullWidth:we,style:xe={},onClose:ue,onOk:Ee,showFullTools:Oe,noAssociationId:Ae})=>{const Re=(0,b.useRef)(null),Me=(0,b.useRef)(null),be=(0,b.useRef)(null),Pe=(0,b.useRef)(null),[Fe,_e]=(0,b.useState)(!1),[Te,Ke]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(be.current||(be.current=document.createElement("style"),document.head.appendChild(be.current)),ne!=null&&ne.visible?(document.body.setAttribute("data-custom","y-hidden"),be.current.innerHTML=" html { overflow-y: hidden; }",ne!=null&&ne.src&&We()):(document.body.removeAttribute("data-custom"),be.current&&(document.head.removeChild(be.current),be.current=null)),()=>{document.body.removeAttribute("data-custom"),be.current&&(document.head.removeChild(be.current),be.current=null)}),[ne==null?void 0:ne.visible]);const We=()=>fe(void 0,null,function*(){_e(!0),Ke("\u6B63\u5728\u52A0\u8F7D\u4E2D");const He=yield(0,se.ZJ)(ne==null?void 0:ne.src);Re.current.src="",Re.current.src=He,Re.current.onload=function(){Je()},_e(!1),Ke("")}),Ne=He=>fe(void 0,null,function*(){_e(!0),Ke("\u6B63\u5728\u4FDD\u5B58\u4E2D");const lt=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ne.title,file:He.dataUrl}});lt!=null&<.id&&!Ae?(yield(0,re.ZP)(`/api/attachments/${ne.id}/add_subitem.json`,{method:"post",body:{subitem_id:lt==null?void 0:lt.id,settings:JSON.stringify(He.state)}})).status===0&&Ee():lt!=null&<.id&&Ee(lt),_e(!1),Ke("")}),Ye=()=>{const He=document.querySelector('a[href="https://markerjs.com/"]');He&&He.parentNode&&(He.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(ct=>{const tt=document.querySelector(ct.name);tt&&tt.setAttribute("title",ct.title)})},Je=()=>{Me.current=new ve.hP(Re.current),Me.current.targetRoot=Pe.current,Me.current.addEventListener("render",Ne),Me.current.addEventListener("beforeclose",ue),Oe&&(Me.current.availableMarkerTypes=Me.current.ALL_MARKER_TYPES,Me.current.uiStyleSettings.redoButtonVisible=!0,Me.current.uiStyleSettings.notesButtonVisible=!0,Me.current.uiStyleSettings.zoomButtonVisible=!0,Me.current.uiStyleSettings.zoomOutButtonVisible=!0,Me.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Me.current.uiStyleSettings,Me.current.show(),ne!=null&&ne.snapshotData&&Me.current.restoreState(ne.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ye()},300)};return b.createElement(b.Fragment,null,(ne==null?void 0:ne.visible)&&b.createElement(de.Z,{spinning:Fe,tip:Te,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:Pe,className:De()(oe.imageDimensions,ge,we?oe.fullWidth:""),style:xe},b.createElement("img",{className:oe.img,ref:Re}))))}},9043:function(Un,pn,ae){"use strict";var b=ae(59301),oe=ae(77019),ye=ae(5269),De=ae(31691),de=ae(7939),ve=ae(56375),re=ae(50718),se=ae(48136),fe=ae(59301);const E=(0,b.forwardRef)(({callback:te,showSaveButton:ne,value:ge=""},we)=>{const xe=(0,b.useRef)(),ue=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Ee=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
|
y=b + r\\text{sin}\\theta \r
|
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\left\\{\\begin{matrix} \r
|
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
|
\\end{matrix}\\right. \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\perp \\alpha \\ \r
|
|
|
b \\perp \\alpha \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
|
a \\perp m,a \\perp n \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
|
a^{2}+b^{2}=c^{2} \r
|
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R^{+} \\ \r
|
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R \\ \r
|
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
|
P \\left( S \\right) =1 \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
\\forall A \\in S \\\\ \r
|
|
|
P \\left( A \\right) \\ge 0 \r
|
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
P_{n}=n! \\\\ \r
|
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
|
\\end{array}`}]}]}],Oe=Me=>{xe.current.setValue(xe.current.getValue()+" "+Me.value+" ")},Ae=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:fe.createElement(oe.Z,{className:re.Z.lists,gutter:[10,10]},ue.map((Me,be)=>fe.createElement(ye.Z,{flex:"110px",className:re.Z.item},fe.createElement("div",null,fe.createElement(ve.Z,{value:`$$${Me.value}$$`}),Me.name),fe.createElement("div",{className:re.Z.children},Me.children.map((Pe,Fe)=>fe.createElement("div",{key:Fe},fe.createElement("h1",null,Pe.name),fe.createElement(oe.Z,{gutter:[10,10]},Pe.data.map((_e,Te)=>fe.createElement(ye.Z,{key:Te,onClick:()=>Oe(_e),className:re.Z.diamond},fe.createElement(ve.Z,{value:"`$$"+_e.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:fe.createElement(oe.Z,{className:re.Z.lists,gutter:[10,10]},Ee.map((Me,be)=>fe.createElement(ye.Z,{flex:"110px",className:re.Z.item},fe.createElement("div",null,fe.createElement(ve.Z,{value:"`$$"+Me.value+"$$`"}),Me.name),fe.createElement("div",{className:re.Z.children},Me.children.map((Pe,Fe)=>fe.createElement("div",{key:Fe},Pe.name&&fe.createElement("h1",null,Pe.name),fe.createElement(oe.Z,{gutter:[10,10]},Pe.data.map((_e,Te)=>fe.createElement(ye.Z,{key:Te,onClick:()=>Oe(_e),className:re.Z.diamond},fe.createElement(ve.Z,{value:"`$$"+_e.value+"$$`"}))))))))))}],Re=()=>{var Me=document.createElement("div");Me.innerHTML=xe.current.getValue();var be=Me.innerText;return te&&te(be),be};return(0,b.useImperativeHandle)(we,()=>({getData:Re})),fe.createElement("div",{className:re.Z.mathWrap},fe.createElement(De.default,{defaultActiveKey:"1",items:Ae}),fe.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:xe,style:{width:800,marginTop:30,fontSize:18}},ge||""),ne&&fe.createElement("div",{className:re.Z.button},fe.createElement(de.ZP,{size:"large",onClick:Re,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});pn.Z=E},28349:function(Un,pn,ae){"use strict";ae.d(pn,{z:function(){return Bt},Z:function(){return nt}});var b=ae(59301),oe=ae(94968),ye=ae(6767),De=ae(62957),de=ae(7939),ve=ae(35783),re=ae(26386),se=Object.defineProperty,fe=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(Ue,Xe,$e)=>Xe in Ue?se(Ue,Xe,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ue[Xe]=$e,ge=(Ue,Xe)=>{for(var $e in Xe||(Xe={}))E.call(Xe,$e)&&ne(Ue,$e,Xe[$e]);if(fe)for(var $e of fe(Xe))te.call(Xe,$e)&&ne(Ue,$e,Xe[$e]);return Ue},we=(Ue,Xe,$e)=>new Promise((qe,Ve)=>{var ht=dt=>{try{Nt($e.next(dt))}catch(Tt){Ve(Tt)}},st=dt=>{try{Nt($e.throw(dt))}catch(Tt){Ve(Tt)}},Nt=dt=>dt.done?qe(dt.value):Promise.resolve(dt.value).then(ht,st);Nt(($e=$e.apply(Ue,Xe)).next())});const xe="\u3000\u3000";function ue(Ue){var Xe=["Bytes","KB","MB","GB","TB"];if(Ue==0)return"0 Byte";var $e=parseInt(""+Math.floor(Math.log(Ue)/Math.log(1024)),10);return(Ue/Math.pow(1024,$e)).toFixed(1)+" "+Xe[$e]}var Ee=({value:Ue=[],action:Xe,onChange:$e,className:qe,maxSize:Ve=150,title:ht="\u6587\u4EF6\u4E0A\u4F20",accept:st=null})=>{const Nt={multiple:!1,fileList:Ue,accept:st,withCredentials:!0,beforeUpload:Tt=>Tt.size/1024/1024<Ve?!0:(message.error(`\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(${Ve}MB),\u5EFA\u8BAE\u4E0A\u4F20\u5230\u767E\u5EA6\u4E91\u7B49\u5176\u5B83\u5171\u4EAB\u5DE5\u5177\u91CC\uFF0C\u7136\u540E\u518Dtxt\u6587\u6863\u91CC\u7ED9\u51FA\u94FE\u63A5\u4EE5\u53CA\u5171\u4EAB\u5BC6\u7801\u5E76\u4E0A\u4F20`),Promise.reject()),action:`${ENV.API_SERVER}/api/attachments.json`,onChange(Tt){var bt,Ct,gt,je;let le=[...Tt.fileList];if(le=le.map(ie=>(ie.name.indexOf(xe)===-1&&(ie.name=`${ie.name}${xe}${ue(ie.size)}`),ge({},ie))),Tt.file.status==="done"&&((Ct=(bt=Tt.file)==null?void 0:bt.response)==null?void 0:Ct.status)===-1){message.error((je=(gt=Tt.file)==null?void 0:gt.response)==null?void 0:je.message),$e([]);return}$e(le)},onRemove:Tt=>we(void 0,null,function*(){const bt=Tt.size/1024/1024;return Tt.status==="uploading"?!0:bt<Ve&&(Tt.response?Tt.response.id:Tt.uid)?yield removeAttachment(Tt.response?Tt.response.id:Tt.id):!0})};function dt(Tt){Tt.preventDefault(),Tt.stopPropagation()}return React.createElement("div",{className:`single-upload ${qe||""}`},React.createElement(Upload,ge({},Nt),React.createElement(Button,{type:"primary",title:Ue.length>0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:Ue.length>0,ghost:!0},ht),React.createElement("span",{onClick:dt,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",Ve,"M)"," ")))},Oe=ae(61481),Ae=ae(89392),Re=Object.defineProperty,Me=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Fe=(Ue,Xe,$e)=>Xe in Ue?Re(Ue,Xe,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ue[Xe]=$e,_e=(Ue,Xe)=>{for(var $e in Xe||(Xe={}))be.call(Xe,$e)&&Fe(Ue,$e,Xe[$e]);if(Me)for(var $e of Me(Xe))Pe.call(Xe,$e)&&Fe(Ue,$e,Xe[$e]);return Ue};const Te=Ue=>React.createElement("svg",_e({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Ue),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Ke="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",We=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,He=(Ue,Xe,$e)=>Xe in Ue?We(Ue,Xe,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ue[Xe]=$e,lt=(Ue,Xe)=>{for(var $e in Xe||(Xe={}))Ye.call(Xe,$e)&&He(Ue,$e,Xe[$e]);if(Ne)for(var $e of Ne(Xe))Je.call(Xe,$e)&&He(Ue,$e,Xe[$e]);return Ue},ct=(Ue,Xe,$e)=>new Promise((qe,Ve)=>{var ht=dt=>{try{Nt($e.next(dt))}catch(Tt){Ve(Tt)}},st=dt=>{try{Nt($e.throw(dt))}catch(Tt){Ve(Tt)}},Nt=dt=>dt.done?qe(dt.value):Promise.resolve(dt.value).then(ht,st);Nt(($e=$e.apply(Ue,Xe)).next())});const{Dragger:tt}=oe.default;function Bt(Ue){let Xe=[];return Ue&&Ue.length>0&&(Xe=Ue.map($e=>({uid:$e.id,id:$e.id,name:$e.title+xe+$e.filesize,url:$e.url,filesize:$e.filesize,status:"done",response:{id:$e.id}}))),Xe}var nt=({value:Ue,onChange:Xe,action:$e,data:qe,className:Ve,maxSize:ht=150,title:st="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:Nt=!1,accept:dt="",additionalText:Tt,isDragger:bt,number:Ct=1e3,aloneClear:gt=!1,realTimeRemove:je=!0,uploadText:le,setFileProgress:ie,showFileProgress:ke})=>{const[Ge,Ie]=(0,b.useState)(!1);let[pe,x]=(0,b.useState)(Ue||[]),[me,Le]=(0,b.useState)(1);(0,b.useEffect)(()=>{Ue&&(me===1&&x([...Ue]),Le(2),Ct===(Ue==null?void 0:Ue.length)&&Ie(!0))},[Ue]);const Se=()=>{setTimeout(()=>{pe.pop(),x([...pe])},500)};ke&&ie(pe.some(it=>it.status==="uploading"));const Be={multiple:!0,disabled:Ge,accept:dt,withCredentials:!0,fileList:pe,beforeUpload:(it,ot)=>{const at=it.size/1024/1024;return pe.concat(ot).length>Ct?(pe.pop(),x([...pe]),ye.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${Ct}\u4E2A\u6587\u4EF6`),gt?Promise.reject():(Se(),!1)):at<ht?!0:(ye.ZP.error(`\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(${ht}MB).`),gt?Promise.reject():(Se(),!1))},data:qe,action:$e||`${ve.Z.API_SERVER}/api/attachments.json`,onChange(it){var ot,at,Rt,Ft;if(it.file.status==="removed"?pe=it.fileList:pe=(0,Ae.uniqBy)([...it.fileList,...pe],"uid"),it.file.status==="done"&&((at=(ot=it.file)==null?void 0:ot.response)==null?void 0:at.status)===-1){ye.ZP.error((Ft=(Rt=it.file)==null?void 0:Rt.response)==null?void 0:Ft.message);return}pe.length>=Ct?Ie(!0):Ie(!1),x([...pe]),pe=pe.map(rn=>{var nn,Lt;return(nn=rn==null?void 0:rn.response)!=null&&nn.id&&(rn.url=(Lt=rn==null?void 0:rn.response)==null?void 0:Lt.url),rn.name.indexOf(xe)===-1&&(rn.name=`${rn.name}${xe}${ue(rn.size)}`),lt({},rn)}),console.log("info:",it,pe),Xe(pe)},onRemove:it=>ct(void 0,null,function*(){if(!je)return!0;const ot=()=>ct(void 0,null,function*(){if(it.response?it.response.id:it.id){let Rt=yield(0,re.JZ)(it.response?it.response.id:it.uid);return Promise.resolve(Rt)}else return!0});return Nt?new Promise((at,Rt)=>{De.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:b.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>ct(void 0,null,function*(){const Ft=yield ot();ye.ZP.success("\u5220\u9664\u6210\u529F"),at(!0)}),onCancel:()=>at(!1)})}):yield ot()})};function Qe(it){it.preventDefault(),it.stopPropagation()}return b.createElement("div",{className:`multi-upload ${Ve||""}`},bt&&b.createElement(tt,lt({},Be),b.createElement("p",{className:"ant-upload-drag-icon"},b.createElement(Oe.Z,null)),b.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",b.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",ht,"MB)"," "),Tt),!bt&&b.createElement(oe.default,lt({},Be),b.createElement(de.ZP,{disabled:Ge,className:"upload_button"},b.createElement("img",{className:"aBtn_img",src:Ke}),st),b.createElement("span",{onClick:Qe,className:"upload_text"},le||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${ht}MB)`)))}},71347:function(Un,pn,ae){"use strict";var b=ae(59301),oe=ae(93314),ye=ae(7939),De=Object.defineProperty,de=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,E=(we,xe,ue)=>xe in we?De(we,xe,{enumerable:!0,configurable:!0,writable:!0,value:ue}):we[xe]=ue,te=(we,xe)=>{for(var ue in xe||(xe={}))se.call(xe,ue)&&E(we,ue,xe[ue]);if(re)for(var ue of re(xe))fe.call(xe,ue)&&E(we,ue,xe[ue]);return we},ne=(we,xe)=>de(we,ve(xe));const ge=({img:we,buttonProps:xe={},styles:ue={},customText:Ee,ButtonText:Oe,ButtonClick:Ae,Buttonclass:Re,ButtonTwo:Me,imgStyles:be,loading:Pe=!1,className:Fe=""})=>b.createElement("section",{className:`tc animated fadeIn ${Fe}`,style:te({color:"#999",margin:"100px auto",visibility:Pe?"hidden":"visible"},ue)},b.createElement("img",{src:we||oe,style:ne(te({},be),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},Ee||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Oe&&b.createElement(ye.ZP,te({className:Re,onClick:Ae},xe),Oe),Me&&Me);pn.Z=ge},98893:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Re}});var b=ae(59301),oe={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},ye=ae(7939),De=ae(70557),de=ae(94871),ve=ae(25399),re=ae(68911),se=ae(58870),fe=ae(71347),E=ae(35783),te=ae(25341),ne=ae(59301),ge=Object.defineProperty,we=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,Ee=(Me,be,Pe)=>be in Me?ge(Me,be,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Me[be]=Pe,Oe=(Me,be)=>{for(var Pe in be||(be={}))xe.call(be,Pe)&&Ee(Me,Pe,be[Pe]);if(we)for(var Pe of we(be))ue.call(be,Pe)&&Ee(Me,Pe,be[Pe]);return Me},Ae=(Me,be,Pe)=>new Promise((Fe,_e)=>{var Te=Ne=>{try{We(Pe.next(Ne))}catch(Ye){_e(Ye)}},Ke=Ne=>{try{We(Pe.throw(Ne))}catch(Ye){_e(Ye)}},We=Ne=>Ne.done?Fe(Ne.value):Promise.resolve(Ne.value).then(Te,Ke);We((Pe=Pe.apply(Me,be)).next())}),Re=({editOffice:Me="view",data:be,issaver:Pe,onSaver:Fe,theme:_e,type:Te,filename:Ke,monacoEditor:We,className:Ne,style:Ye,close:Je,onClose:He,hasMask:lt,disabledDownload:ct,onImgDimensions:tt,showNodata:Bt,recordInfo:nt})=>{const[Ue,Xe]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[$e,qe]=(0,b.useState)(""),[Ve,ht]=(0,b.useState)(),st=window.ENV==="build"?"/react/build":"",Nt=location.host.startsWith("localhost")?E.Z.PROXY_SERVER:E.Z.API_SERVER,Tt=10*(1024*1024),bt=(0,b.useRef)();be!=null&&be.startsWith("/api")&&Te!=="txt"&&(be=E.Z.API_SERVER+be);const Ct=Ge=>Ge.substring(Ge.lastIndexOf("/")+1).split(".").pop();Ke&&We&&(We.filename=Ke),(0,b.useEffect)(()=>{var Ge,Ie;const pe=(Ie=(Ge=document.cookie)==null?void 0:Ge.replace(/\s/g,""))==null?void 0:Ie.split(";");pe==null||pe.map(x=>{let me=x.split("=");me[0]==="_educoder_session"&&qe(me[1])})},[]),(0,b.useEffect)(()=>{Te==="office"&&(be.indexOf("bigfilescdn.")>-1||be.indexOf("bigfiles1")>-1?ht({url:be,fileType:Ct(be),model:be.indexOf("model=edit")?"edit":"view"}):be.indexOf("coze")>-1?ht({url:be,fileType:"doc",model:"view"}):je())},[Te,be]);function gt(Ge){return Ae(this,null,function*(){Ge.data.type==="pdfdata"&&(Fe(Ge.data.data),window.removeEventListener("message",gt,!1)),console.log("mess---:",Ge.data)})}const je=()=>Ae(void 0,null,function*(){console.log("data:",be);let Ge=be;be.startsWith("http")||(Ge=location.origin+Ge);let Ie=new URL(Ge).pathname.split("/").pop();const pe=yield(0,se.gJ)({attachment_id:Ie});pe.url=Nt+pe.url,ht(pe)}),le=()=>{if(be.startsWith("http")||be.startsWith("blob:")){ie();return}(0,re.Sv)(Ke||"educoder",be,Ke)},ie=()=>{nt&&(0,te.fc)({id:nt==null?void 0:nt.id,watch_type:1,course_id:nt==null?void 0:nt.course_id}),(0,re.Nd)(Ke||"educoder",decodeURIComponent(be))};(0,b.useEffect)(()=>(window.addEventListener("message",ke),()=>{window.removeEventListener("message",ke)}),[]);const ke=Ge=>{var Ie;((Ie=Ge==null?void 0:Ge.data)==null?void 0:Ie.type)==="closePop"&&He()};return ne.createElement("div",{style:Oe({},Ye||{}),className:`${lt&&oe.bgBlack} ${Te?oe.wrp:"hide"}`},!!Te&&Je&&ne.createElement("div",{id:"closePop",className:oe.close,ref:bt},!!tt&&ne.createElement(ve.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>bt.current},ne.createElement("span",{onClick:()=>{He(),tt()}},ne.createElement("i",{className:"icon-yulanpizhu"}))),!ct&&window.parent===window&&ne.createElement(ve.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>bt.current},ne.createElement("span",{onClick:ie},ne.createElement("i",{className:"icon-quxiaozhiding"}))),Pe&&ne.createElement(ve.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>bt.current},ne.createElement("span",{className:"",onClick:()=>{const Ge=document.getElementById("pdfiframe");window.addEventListener("message",gt,!1),setTimeout(()=>{Ge.contentWindow.postMessage("getData","*")},300)}},ne.createElement("i",{className:"icon-baocun"}))),ne.createElement(ve.Z,{title:"\u5173\u95ED",getPopupContainer:()=>bt.current},ne.createElement("span",{className:"",onClick:()=>{He()}},ne.createElement("i",{className:"icon-guanbi1"})))),ne.createElement("div",{className:`${oe[Ne]} ${Ne} ${oe.monaco} ${Te==="txt"?"show":"hide"}`},Te==="txt"&&ne.createElement(ne.Fragment,null,ne.createElement(de.ZP,Oe({},We)))),Te==="audio"&&ne.createElement("audio",{src:`${(be==null?void 0:be.indexOf("http://"))>-1||(be==null?void 0:be.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${be}`,autoPlay:!0}),Te==="video"&&ne.createElement(ne.Fragment,null,(be==null?void 0:be.indexOf("http"))>-1?ne.createElement("video",{controls:!0,src:`${be}`,autoPlay:!0}):ne.createElement("video",{controls:!0,src:`data:video/mp4;base64,${be}`,autoPlay:!0})),Te==="office"&&Ve&&ne.createElement("iframe",{src:`${st}/office.html?key=${Ve.key}&url=${btoa(Ve.url)}&callbackUrl=${Nt+(Ve.callbackUrl||"")}&fileType=${Ve.fileType}&title=${Ve.title||""}&model=${Me}&officeServer=${E.Z.ONLYOFFICE}&disabledDownload=${!!ct}`}),Te==="html"&&ne.createElement("iframe",{src:be+"&disposition=inline"}),Te==="pdf"&&ne.createElement("iframe",{id:"pdfiframe",src:`${st}/js/pdf/index.html?filename=${Ke||"educoder.pdf"}&url=${encodeURIComponent(be)}&disabledDownload=${!!ct}&model=${Me}`}),Te==="image"&&ne.createElement("img",{src:`${(be==null?void 0:be.indexOf("http://"))>-1||(be==null?void 0:be.indexOf("https://"))>-1?"":"data:image/png;base64,"}${be}`}),(Te==="other"||Te==="download")&&ne.createElement(ne.Fragment,null,Bt?ne.createElement(fe.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ne.createElement(ye.ZP,{icon:ne.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:le,disabled:ct},"\u4E0B\u8F7D")}):ne.createElement(ye.ZP,{type:"primary",size:"middle",onClick:le,disabled:ct},ne.createElement(De.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Te==="flowChart"&&ne.createElement("div",{className:"embed"},ne.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${be||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},56375:function(Un,pn,ae){"use strict";ae.d(pn,{z:function(){return We},Z:function(){return Ne}});var b=ae(59301),oe=ae(64310),ye=ae(74410),De=ae(64018),de=ae(16471),ve=ae(35783),re=ae(68911),se=ae(15342),fe=ae(44104),E=ae(7939),te=ae(1012),ne=ae(98893),ge=ae(59301),xe=({html:Ye})=>{const Je=(0,b.useRef)(null),He=(0,b.useRef)(null),lt=`.markdown-body p {
|
|
|
margin: 0 0 16px 0 !important;
|
|
|
line-height: 28px;
|
|
|
white-space: pre-wrap;
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
li {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
dl {
|
|
|
margin-bottom: 0px;
|
|
|
}
|
|
|
|
|
|
.markdown-body {
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
color: #333;
|
|
|
overflow: hidden;
|
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
|
word-break: break-word;
|
|
|
font-size: 16px;
|
|
|
line-height: 1.6;
|
|
|
white-space: normal;
|
|
|
word-wrap: break-word;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul>li {
|
|
|
list-style-type: disc;
|
|
|
}
|
|
|
|
|
|
.markdown-body ol>li {
|
|
|
list-style-type: decimal;
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
background: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:active,
|
|
|
.markdown-body a:hover {
|
|
|
outline: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body strong {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 2em;
|
|
|
margin: 0.67em 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
-moz-box-sizing: content-box;
|
|
|
box-sizing: content-box;
|
|
|
height: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
overflow: auto;
|
|
|
}
|
|
|
|
|
|
.markdown-body code,
|
|
|
.markdown-body kbd,
|
|
|
.markdown-body pre {
|
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
color: inherit;
|
|
|
font: inherit;
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body html input[disabled] {
|
|
|
cursor: default;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
line-height: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body td,
|
|
|
.markdown-body th {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body * {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
color: #4183c4;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:hover,
|
|
|
.markdown-body a:active {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
height: 0;
|
|
|
margin: 15px 0;
|
|
|
overflow: hidden;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:before {
|
|
|
display: table;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:after {
|
|
|
display: table;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
margin-top: 15px;
|
|
|
margin-bottom: 15px;
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
font-size: 21px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 11px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding: 0;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
ul.linenums,
|
|
|
ol.linenums {
|
|
|
padding: 16px 0 0 56px !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding-left: 2em;
|
|
|
}
|
|
|
|
|
|
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ul ol {
|
|
|
list-style-type: lower-roman;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul ol,
|
|
|
.markdown-body ul ol ol,
|
|
|
.markdown-body ol ul ol,
|
|
|
.markdown-body ol ol ol {
|
|
|
list-style-type: lower-alpha;
|
|
|
}
|
|
|
|
|
|
.markdown-body dd {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon {
|
|
|
font: normal normal 16px octicons-anchor;
|
|
|
line-height: 1;
|
|
|
display: inline-block;
|
|
|
text-decoration: none;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon-link:before {
|
|
|
content: '\f05c';
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:first-child {
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:last-child {
|
|
|
margin-bottom: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
display: block;
|
|
|
padding-right: 6px;
|
|
|
padding-left: 30px;
|
|
|
margin-left: -30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
position: relative;
|
|
|
margin-top: 1em;
|
|
|
margin-bottom: 16px;
|
|
|
font-weight: bold;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
|
.markdown-body h2 .octicon-link,
|
|
|
.markdown-body h3 .octicon-link,
|
|
|
.markdown-body h4 .octicon-link,
|
|
|
.markdown-body h5 .octicon-link,
|
|
|
.markdown-body h6 .octicon-link {
|
|
|
display: none;
|
|
|
color: #000;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
|
.markdown-body h2:hover .anchor,
|
|
|
.markdown-body h3:hover .anchor,
|
|
|
.markdown-body h4:hover .anchor,
|
|
|
.markdown-body h5:hover .anchor,
|
|
|
.markdown-body h6:hover .anchor {
|
|
|
padding-left: 8px;
|
|
|
margin-left: -30px;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 2.25em;
|
|
|
line-height: 1.2;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 1.75em;
|
|
|
line-height: 1.225;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 1.5em;
|
|
|
line-height: 1.43;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 1.25em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 1em;
|
|
|
color: #777;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul,
|
|
|
.markdown-body ul ol,
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ol ul {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body li>p {
|
|
|
margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dt {
|
|
|
padding: 0;
|
|
|
margin-top: 16px;
|
|
|
font-size: 1em;
|
|
|
font-style: italic;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dd {
|
|
|
padding: 0 16px;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
padding: 0 15px;
|
|
|
color: #777;
|
|
|
border-left: 4px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
|
word-break: normal;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th {
|
|
|
font-weight: bold;
|
|
|
text-align: revert;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th,
|
|
|
.markdown-body table td {
|
|
|
padding: 6px 13px;
|
|
|
border: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr {
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
|
background-color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
max-width: 100%;
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
padding: 0;
|
|
|
padding-top: 0.2em;
|
|
|
padding-bottom: 0.2em;
|
|
|
margin: 0;
|
|
|
font-size: 85%;
|
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:has(.katex) {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:before,
|
|
|
.markdown-body code:after {
|
|
|
letter-spacing: -0.2em;
|
|
|
content: "\\00a0";
|
|
|
}
|
|
|
|
|
|
.markdown-body pre>code {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
font-size: 100%;
|
|
|
word-break: normal;
|
|
|
white-space: pre;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight {
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre,
|
|
|
.markdown-body pre {
|
|
|
padding: 16px;
|
|
|
overflow: auto;
|
|
|
font-size: 85%;
|
|
|
line-height: 1.45;
|
|
|
background-color: #f7f7f7;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre {
|
|
|
margin-bottom: 0;
|
|
|
word-break: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
word-wrap: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code {
|
|
|
display: inline;
|
|
|
max-width: initial;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
overflow: initial;
|
|
|
line-height: inherit;
|
|
|
word-wrap: normal;
|
|
|
background-color: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code:before,
|
|
|
.markdown-body pre code:after {
|
|
|
content: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font-size: 11px;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c {
|
|
|
color: #969896;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c1,
|
|
|
.markdown-body .pl-mdh,
|
|
|
.markdown-body .pl-mm,
|
|
|
.markdown-body .pl-mp,
|
|
|
.markdown-body .pl-mr,
|
|
|
.markdown-body .pl-s1 .pl-v,
|
|
|
.markdown-body .pl-s3,
|
|
|
.markdown-body .pl-sc,
|
|
|
.markdown-body .pl-sv {
|
|
|
color: #0086b3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-e,
|
|
|
.markdown-body .pl-en {
|
|
|
color: #795da3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
|
.markdown-body .pl-smi,
|
|
|
.markdown-body .pl-smp,
|
|
|
.markdown-body .pl-stj,
|
|
|
.markdown-body .pl-vo,
|
|
|
.markdown-body .pl-vpf {
|
|
|
color: #333;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ent {
|
|
|
color: #63a35c;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-k,
|
|
|
.markdown-body .pl-s,
|
|
|
.markdown-body .pl-st {
|
|
|
color: #a71d5d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-pds,
|
|
|
.markdown-body .pl-s1,
|
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
|
.markdown-body .pl-sr,
|
|
|
.markdown-body .pl-sr .pl-cce,
|
|
|
.markdown-body .pl-sr .pl-sra,
|
|
|
.markdown-body .pl-sr .pl-sre,
|
|
|
.markdown-body .pl-src {
|
|
|
color: #df5000;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mo,
|
|
|
.markdown-body .pl-v {
|
|
|
color: #1d3e81;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-id {
|
|
|
color: #b52a1d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ii {
|
|
|
background-color: #b52a1d;
|
|
|
color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
|
color: #63a35c;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ml {
|
|
|
color: #693a17;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mh,
|
|
|
.markdown-body .pl-mh .pl-en,
|
|
|
.markdown-body .pl-ms {
|
|
|
color: #1d3e81;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mq {
|
|
|
color: #008080;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mi {
|
|
|
color: #333;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mb {
|
|
|
color: #333;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-md,
|
|
|
.markdown-body .pl-mdhf {
|
|
|
background-color: #ffecec;
|
|
|
color: #bd2c00;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdht,
|
|
|
.markdown-body .pl-mi1 {
|
|
|
background-color: #eaffea;
|
|
|
color: #55a532;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdr {
|
|
|
color: #795da3;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item {
|
|
|
list-style-type: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
|
margin-top: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item input {
|
|
|
float: left;
|
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
|
z-index: 1;
|
|
|
position: relative;
|
|
|
border-color: #4183c4;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
|
.pln {
|
|
|
color: #000
|
|
|
}
|
|
|
|
|
|
/* plain text */
|
|
|
|
|
|
@media screen {
|
|
|
.str {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* string content */
|
|
|
.kwd {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a keyword */
|
|
|
.com {
|
|
|
color: #800
|
|
|
}
|
|
|
|
|
|
/* a comment */
|
|
|
.typ {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a type name */
|
|
|
.lit {
|
|
|
color: #066
|
|
|
}
|
|
|
|
|
|
/* a literal value */
|
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #660
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a markup tag name */
|
|
|
.atn {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a markup attribute name */
|
|
|
.atv {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* a markup attribute value */
|
|
|
.dec,
|
|
|
.var {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a declaration; a variable name */
|
|
|
.fun {
|
|
|
color: red
|
|
|
}
|
|
|
|
|
|
/* a function name */
|
|
|
}
|
|
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
|
@media print,
|
|
|
projection {
|
|
|
.str {
|
|
|
color: #060
|
|
|
}
|
|
|
|
|
|
.kwd {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.com {
|
|
|
color: #600;
|
|
|
font-style: italic
|
|
|
}
|
|
|
|
|
|
.typ {
|
|
|
color: #404;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.lit {
|
|
|
color: #044
|
|
|
}
|
|
|
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #440
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.atn {
|
|
|
color: #404
|
|
|
}
|
|
|
|
|
|
.atv {
|
|
|
color: #060
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
|
pre.prettyprint {
|
|
|
padding: 2px;
|
|
|
/* border: 1px solid #888 */
|
|
|
}
|
|
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
|
ol.linenums {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0
|
|
|
}
|
|
|
|
|
|
/* IE indents via margin-left */
|
|
|
li.L0,
|
|
|
li.L1,
|
|
|
li.L2,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L6,
|
|
|
li.L7,
|
|
|
li.L8 {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
/* Alternate shading for lines */
|
|
|
li.L1,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L7,
|
|
|
li.L9 {
|
|
|
background: #eee
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}`;return(0,b.useEffect)(()=>{const ct=Je.current.attachShadow({mode:"open"});He.current=document.createElement("div"),He.current.className="markdown-body",He.current.innerHTML=Ye,ct.appendChild(He.current);const tt=document.createElement("style");return tt.textContent=lt,ct.appendChild(tt),()=>{ct.innerHTML=""}},[]),(0,b.useEffect)(()=>{He.current&&(He.current.innerHTML=Ye)},[Ye]),ge.createElement("div",{ref:Je})};function ue(Ye){const Je=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],He=new RegExp(`\\b(${Je.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),lt=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return Ye.replace(He,"").replace(lt,"").trim()}var Ee={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Oe=Object.defineProperty,Ae=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,be=(Ye,Je,He)=>Je in Ye?Oe(Ye,Je,{enumerable:!0,configurable:!0,writable:!0,value:He}):Ye[Je]=He,Pe=(Ye,Je)=>{for(var He in Je||(Je={}))Re.call(Je,He)&&be(Ye,He,Je[He]);if(Ae)for(var He of Ae(Je))Me.call(Je,He)&&be(Ye,He,Je[He]);return Ye};const Fe="@\u2581\u2581@",_e="@\u2581@",Te=/<pre[^>]*>/g;function Ke(Ye){let Je=document.createElement("div");return Je.innerHTML=Ye,Je.childNodes.length===0?"":Je.childNodes[0].nodeValue}const We=(Ye,Je)=>{Ye=Ye||"";const He=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,lt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ct=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,tt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Je?Ye.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(He,(Bt,nt,Ue,Xe,$e,qe,Ve)=>{const ht=nt||Xe||qe,st=Ue||$e||Ve||"?";return ve.Z.API_SERVER+"/api/attachments/"+ht+st+"&t="+(0,re.Jn)(ht,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Ye=Ye.replace(tt,(Bt,nt,Ue,Xe,$e,qe,Ve)=>{const ht=nt||Xe||qe,st=Ue||$e||Ve||"?";return ve.Z.API_SERVER+"/attachments/download/"+ht+st+"&t="+(0,re.Jn)(ht,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replace(He,(Bt,nt,Ue,Xe,$e,qe,Ve)=>{const ht=nt||Xe||qe,st=Ue||$e||Ve||"?";return ve.Z.API_SERVER+"/api/attachments/"+ht+st+"&t="+(0,re.Jn)(ht,Date.now())+(Bt.indexOf(")")>-1?")":"&")}).replace(lt,(Bt,nt,Ue,Xe,$e)=>{const qe=nt||Xe,Ve=Ue||$e||"";return'"'+ve.Z.API_SERVER+"/api/attachments/"+qe+Ve+qe+Ve+"&t="+(0,re.Jn)(qe,Date.now())}).replace(ct,(Bt,nt,Ue,Xe,$e)=>{const qe=nt||Xe,Ve=Ue||$e||"";return"("+ve.Z.API_SERVER+"/files/uploads/"+qe+Ve+qe+Ve+"&t="+(0,re.Jn)(qe,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`),Ye)};var Ne=({value:Ye="",edit:Je=!1,className:He,showTextOnly:lt,showLines:ct,style:tt={},stylesPrev:Bt={},highlightKeywords:nt,showProgramFill:Ue,isProgramFill:Xe,disabledFill:$e=!1,programFillValue:qe,openEditor:Ve=()=>{},onFillChange:ht=dt=>{},onFillBlur:st=()=>{},onFillFocus:Nt=()=>{}})=>{let dt=ue(String(Ye||""));const Tt=(0,b.useRef)(),bt=(0,b.useRef)(),[Ct,gt]=(0,b.useState)(""),[je,le]=(0,b.useState)("office"),[ie,ke]=(0,b.useState)([]),Ge=(0,b.useRef)("a"+(0,te.Z)()),Ie={},pe=Lt=>/<style[\s\S]*?>/i.test(Lt||""),x=(Lt,qt,Wt)=>{const Dt=document.createElement(Lt===_e?"input":"textarea");Dt.style.width="100%",Dt.style.height=Lt===_e?"40px":"151px",Dt.rows=5,Dt.spellcheck=!1,Dt.name="edu-program-fill",Dt.placeholder="\u8BF7\u8F93\u5165",Dt.dataset.id=qt;const zt=Object.keys(Ie).length;return Ie[zt]=Dt,`<span class="edu-program-fill-wrap ${Lt===_e?"":"show"}" style="width:${Lt===_e?"600px":"100%"}" title=${Wt||""}><span>${Dt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function me(Lt){return Lt=Lt.replace(/!\[.*?\]\(.*?\)/g,""),Lt=Lt.replace(/\[.*?\]\(.*?\)/g,""),Lt=Lt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Lt=Lt.replace(/<embed.*?>/g,""),Lt=Lt.replace(/<img.*?>/g,""),Lt=Lt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Lt=Lt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Lt=Lt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Lt=Lt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Lt}const Le=Lt=>!lt&&pe(dt)?Lt:Lt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(qt,Wt){let Dt=Wt.replace(/(\n|\r)/g,"").split("}"),zt=[];return Dt.map(un=>{un!=""&&zt.push(`.${Ge.current} ${un}`)}),`<style>${zt.join("}")}</style>`}),Se=(0,b.useMemo)(()=>{(0,ye.Iy)();try{const Dt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,zt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,un=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,mn=/\(\/attachments\/download\//g;dt=dt.replace(mn,"("+ve.Z.API_SERVER+"/attachments/download/").replace(Dt,"("+ve.Z.API_SERVER+"/api/attachments/").replace(zt,'"'+ve.Z.API_SERVER+"/api/attachments/").replace(un,'"'+ve.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`),Tt.current.style.display="none"}catch(Dt){}if(Ue){let Dt=-1;return dt=dt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(zt,un,mn){var Et;return++Dt,x(zt,Dt,(Et=qe==null?void 0:qe[Dt])==null?void 0:Et.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Le(dt||"")}</pre>`}let Lt=Le(dt);Lt=(0,ye.ZP)(Lt);const qt=(0,ye.ez)();dt.match(/\[TOC\]/)&&(Lt=Lt.replace("<p>[TOC]</p>",(0,ye.Qv)()),(0,ye.Iy)()),Lt=Lt.replace(/(__special_katext_id_\d+__)/g,(Dt,zt)=>{const{type:un,expression:mn}=qt[zt];return(0,se.renderToString)(Ke(mn)||"",{displayMode:un==="block",throwOnError:!1,output:"html"})}),Lt=Lt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,ye.AL)();const Wt=document.createElement("div");if(Wt.innerHTML=Lt,lt)return Wt.innerText;if(nt){const Dt=nt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return ot(Wt,Dt),Wt.innerHTML}return setTimeout(()=>Ft(),500),Wt.innerHTML},[dt,nt]);(0,b.useEffect)(()=>{at.current&&at.current.querySelectorAll(["input","textarea"]).forEach(qt=>{qt.oninput=Be,qt.onblur=Qe,qt.onfocus=it})},[ie]),(0,b.useEffect)(()=>{var Lt,qt,Wt,Dt,zt;if(qe!=null&&qe.length)try{const un=at.current.querySelectorAll(".edu-program-fill-score"),mn=at.current.querySelectorAll('[name="edu-program-fill"]');for(const[Et,Ht]of mn.entries())Ht.value=((Lt=qe==null?void 0:qe[Et])==null?void 0:Lt.value)||"",((qt=qe==null?void 0:qe[Et])==null?void 0:qt.type)==="warning"?Ht.className="program-fill-warning":((Wt=qe==null?void 0:qe[Et])==null?void 0:Wt.type)==="success"?Ht.className="program-fill-success":Ht.className="";for(const[Et,Ht]of un.entries())Ht.innerHTML=(Dt=qe==null?void 0:qe[Et])!=null&&Dt.score?`${(zt=qe==null?void 0:qe[Et])==null?void 0:zt.score}\u5206`:"";ke(qe)}catch(un){console.log(un,"error")}},[qe]);const Be=Lt=>{ie[Lt.target.dataset.id]=ie[Lt.target.dataset.id]||{},ie[Lt.target.dataset.id].value=Lt.target.value,ke([...ie]),ht(ie,Lt.target.dataset.id)},Qe=Lt=>{ie[Lt.target.dataset.id]=ie[Lt.target.dataset.id]||{},ie[Lt.target.dataset.id].value=Lt.target.value,ke([...ie]),st(ie,Lt.target.dataset.id)},it=Lt=>{ie[Lt.target.dataset.id]=ie[Lt.target.dataset.id]||{},ie[Lt.target.dataset.id].value=Lt.target.value,ke([...ie]),Nt(ie,Lt.target.dataset.id)};function ot(Lt,qt){return Lt.childNodes.forEach(Wt=>{var Dt;if(Wt.childNodes.length>0)ot(Wt,qt);else if(Wt.nodeName!=="IMG")if(Wt.innerHTML)Wt.innerHTML=(Dt=Wt.innerHTML)==null?void 0:Dt.replace(new RegExp(qt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const zt=document.createElement("span");zt.innerHTML=Wt.textContent.replace(new RegExp(qt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),Wt.replaceWith(zt)}})}const at=(0,b.useRef)();ye.jb.WebkitLineClamp=ct,ct&&(tt=Pe(Pe({},tt),ye.jb));function Rt(Lt){let qt=Lt.target;if(qt.tagName.toUpperCase()==="A"){let Wt=qt.getAttribute("href");if(Wt.indexOf("office")>-1)Lt.preventDefault(),gt(Wt),le("office");else if(Wt.indexOf("application/pdf")>-1)Lt.preventDefault(),gt(Wt),le("pdf");else if(Wt.indexOf("text/html")>-1)Lt.preventDefault(),gt(Wt),le("html");else if(Wt.startsWith("#")){Lt.preventDefault();let Dt=document.getElementById(Wt.replace("#",""));Dt&&Dt.scrollIntoView(!0)}}}const Ft=()=>{var Lt;const qt=(Lt=at.current)==null?void 0:Lt.querySelectorAll("video");qt==null||qt.forEach(Wt=>{if(Wt.oncontextmenu=()=>!1,Wt.src.indexOf(".m3u8")>-1&&!Wt.canPlayType("application/vnd.apple.mpegurl")){if(de.ZP.isSupported()){var Dt=new de.ZP;Dt.loadSource(Wt.src),Dt.attachMedia(Wt)}}})};(0,b.useEffect)(()=>{if(at.current&&Se&&Se.match(Te)&&window.PR.prettyPrint(),at.current)return at.current.addEventListener("click",Rt),()=>{var Lt;(Lt=at.current)==null||Lt.removeEventListener("click",Rt),(0,ye.AL)(),(0,ye.Iy)()}},[Se,at.current,Rt]);const rn=Lt=>{Lt.target.nodeName==="IMG"&&Lt.target.className.indexOf("draw-flowchart")>-1?(Tt.current.style.zIndex=1,Tt.current.style.display="flex",Tt.current.style.width=Lt.target.clientWidth+"px",Tt.current.style.height=Lt.target.clientHeight+"px",Tt.current.style.top=Lt.target.offsetTop+"px",Tt.current.style.left=Lt.target.offsetLeft+"px",Lt.target.id&&(bt.current=Lt.target.id)):Tt.current.style.display="none"},nn=()=>{Tt.current.style.display="none"};return(0,b.useEffect)(()=>{var Lt;const qt=Wt=>{Wt.preventDefault(),Wt.clipboardData.setData("text",window.getSelection().toString())};return(Lt=at.current)==null||Lt.addEventListener("copy",qt),()=>{var Wt;(Wt=at.current)==null||Wt.removeEventListener("copy",qt)}},[at.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:nn},lt&&b.createElement("div",{ref:at,className:`${Ee.mdBody} `},Se),!lt&&!pe(Se)&&b.createElement("div",{ref:at,style:Pe({},tt),onMouseOver:rn,className:`${He||""} ${$e?"disabled-fill":""} markdown-body ${Ee.mdBody} ${Ge.current}`,dangerouslySetInnerHTML:{__html:Se}}),!lt&&pe(Se)&&b.createElement(xe,{html:Se}),b.createElement("div",{ref:Tt,className:`${Ee.button} ${Je?"":Ee.previewFlowChart}`},b.createElement(fe.Z,null,b.createElement(E.ZP,{onClick:()=>{Je?Ve(bt.current):(gt(bt.current),le("flowChart"))}},Je?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(ne.Z,{close:!0,data:Ct,type:Ct!=null&&Ct.length?je:"",style:Pe({},Bt),onClose:()=>gt("")}))}},24618:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return De}});var b=ae(63823),oe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},ye=ae(59301),De=({message:de,className:ve,children:re,style:se={}})=>ye.createElement("div",{className:`custom-spinner ${oe.idsRingWrapper} ${ve}`},ye.createElement("div",{className:oe.ldsRing},ye.createElement("div",null),ye.createElement("div",null),ye.createElement("div",null),ye.createElement("div",null)),de?ye.createElement("p",{style:se},de):null,re,ye.createElement(b.Outlet,null))},32042:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return De}});var b=ae(59301),oe=ae(99936),ye=ae(75786),De=()=>{const[de,ve]=(0,b.useState)(""),[re,se]=(0,b.useState)(0);let[fe,E]=(0,b.useState)(),[te,ne]=(0,b.useState)();const[ge,we]=(0,b.useState)(!1),xe=(0,b.useRef)("");(0,b.useEffect)(()=>oe.Z.subscribe("preview-image",Te=>{ve(Te),console.log(Pe.current)}),[]),(0,b.useEffect)(()=>(document.addEventListener("keydown",ue),()=>{document.removeEventListener("keydown",ue)}),[]),(0,b.useEffect)(()=>{xe.current=de},[de]);function ue(_e){console.log("e====",_e),_e.keyCode==27&&xe.current&&Ee()}function Ee(){document.body.style.overflow="auto",E(void 0),ne(void 0),se(0),ve("")}function Oe(){se(re+90)}function Ae(){fe=Pe.current.width*1.1,te=Pe.current.height*1.1,ne(te),E(fe)}function Re(){fe=Pe.current.width/1.1,te=Pe.current.height/1.1,ne(te),E(fe)}const Me=(0,b.useRef)(),be=(0,b.useRef)(),Pe=(0,b.useRef)(),Fe=_e=>{(_e.nativeEvent.target===Me.current||_e.nativeEvent.target===be.current)&&Ee()};return b.createElement(b.Fragment,null,de?b.createElement("div",null,b.createElement("div",{className:"preview-wrp-group",ref:be},b.createElement(ye.Z,{className:"image-preview",src:de,style:{display:"none"},preview:{visible:!0,src:de,onVisibleChange:_e=>{ve("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},56383:function(Un,pn,ae){"use strict";ae.d(pn,{h:function(){return Me}});var b=ae(59301),oe=ae(82326),ye=ae(28284),De=ae(7939),de=ae(89780),ve=ae.n(de),re=ae(3706),se=ae(96772),fe=Object.defineProperty,E=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,xe=(be,Pe,Fe)=>Pe in be?fe(be,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):be[Pe]=Fe,ue=(be,Pe)=>{for(var Fe in Pe||(Pe={}))ge.call(Pe,Fe)&&xe(be,Fe,Pe[Fe]);if(ne)for(var Fe of ne(Pe))we.call(Pe,Fe)&&xe(be,Fe,Pe[Fe]);return be},Ee=(be,Pe)=>E(be,te(Pe));const Oe=oe.default.Option,Ae={labelCol:{span:4},wrapperCol:{span:20}},Re={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"]};pn.Z=({callback:be,onCancel:Pe})=>{const[Fe,_e]=(0,b.useState)("python");function Te(We){_e(Re[We][1])}function Ke(We){be(We)}return b.createElement(ye.default,Ee(ue({},Ae),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ke,style:{width:500}}),b.createElement(ye.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(oe.default,{getPopupContainer:We=>We.parentNode,onChange:Te},Object.keys(Re).map(We=>b.createElement(Oe,{key:We,value:We},Re[We][0])))),b.createElement(ye.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(Me,{mode:Fe})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(De.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))};function Me({value:be,onChange:Pe,mode:Fe,options:_e={}}){const Te=(0,b.useRef)(),[Ke,We]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ke){let Ne=function(Ye){const Je=Ye.getValue();Pe&&Pe(Je)};return Ke.on("change",Ne),()=>{Ke.off("change",Ne)}}},[Ke,Pe]),(0,b.useEffect)(()=>{Ke&&Ke.setOption("mode",Fe)},[Ke,Fe]),(0,b.useEffect)(()=>{Ke&&(be!==Ke.getValue()||be==="")&&setTimeout(()=>{Ke.setValue(be||"")},300)},[Ke,be]),(0,b.useEffect)(()=>{if(Te.current&&!Ke){const Ne=ve().fromTextArea(Te.current,ue({mode:Fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},_e));We(Ne)}},[Te.current,Ke]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:Te}))}},32862:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Tn}});var b=ae(59301),oe=ae(63823),ye=ae(89780),De=ae.n(ye),de=ae(76374),ve=ae(3706),re=ae(6313),se=ae(25717),fe=ae(99498),E=ae(25419),te=ae(67549),ne=ae(56375),ge=({value:An="",className:zn,showTextOnly:Kn,showLines:er,style:wr={}})=>{const Sr=(0,b.useMemo)(()=>"",[An]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:Sr}}))},we=Object.defineProperty,xe=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Re=(An,zn,Kn)=>zn in An?we(An,zn,{enumerable:!0,configurable:!0,writable:!0,value:Kn}):An[zn]=Kn,Me=(An,zn)=>{for(var Kn in zn||(zn={}))Oe.call(zn,Kn)&&Re(An,Kn,zn[Kn]);if(Ee)for(var Kn of Ee(zn))Ae.call(zn,Kn)&&Re(An,Kn,zn[Kn]);return An},be=(An,zn)=>xe(An,ue(zn));let Pe=[{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\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Fe({onActionCallback:An,title:zn,icon:Kn,actionName:er,className:wr="",children:Sr}){function Er(){An(er)}return b.createElement("a",{title:zn,className:wr,onClick:Er},b.createElement("i",{className:`${Kn}`}),Sr)}var _e=({watch:An,showNullButton:zn,showNullProgramButton:Kn,onActionCallback:er,fullScreen:wr,insertTemp:Sr,hidetoolBar:Er,extraUse:Nr})=>{const Br=[...Pe,{title:`${An?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${An?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!Er&&Br.map((jr,Rr)=>b.createElement("li",{key:Rr},jr.actionName?b.createElement(Fe,be(Me({},jr),{onActionCallback:er})):b.createElement("span",{className:"v-line"}))),zn?b.createElement("li",null,b.createElement(Fe,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:er},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Kn?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(Fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:er},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(Fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:er},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Sr&&b.createElement("li",null,b.createElement(Fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Sr}`,onActionCallback:er},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Nr&&b.createElement("li",null,Nr),b.createElement("li",{className:"btn-full-screen"},b.createElement(Fe,{icon:`${wr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:wr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:er})))},Te=ae(88969),Ke=ae(28284),We=ae(37568),Ne=ae(7939),Ye=Object.defineProperty,Je=Object.defineProperties,He=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Bt=(An,zn,Kn)=>zn in An?Ye(An,zn,{enumerable:!0,configurable:!0,writable:!0,value:Kn}):An[zn]=Kn,nt=(An,zn)=>{for(var Kn in zn||(zn={}))ct.call(zn,Kn)&&Bt(An,Kn,zn[Kn]);if(lt)for(var Kn of lt(zn))tt.call(zn,Kn)&&Bt(An,Kn,zn[Kn]);return An},Ue=(An,zn)=>Je(An,He(zn));const Xe={labelCol:{span:4},wrapperCol:{span:20}};var $e=({callback:An,onCancel:zn})=>{function Kn(er){An(er)}return b.createElement(Ke.default,Ue(nt({},Xe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Kn,style:{width:500}}),b.createElement(Ke.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(We.default,null)),b.createElement(Ke.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(We.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ne.ZP,{type:"ghost",onClick:zn},"\u53D6\u6D88")))},qe=ae(56383),Ve=ae(79203),ht=ae(62957),st=ae(77019),Nt=ae(78265),dt=ae(59301),Tt=({callback:An,onCancel:zn})=>{const Kn=document.createElement("canvas"),er=Kn.getContext("2d");Kn.width=1e3,Kn.height=800,er.fillStyle="#ffffff",er.fillRect(0,0,Kn.width,Kn.height);const wr=Kn.toDataURL("image/png");return dt.createElement(ht.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},dt.createElement(st.Z,{style:{height:"100vh"}},dt.createElement(Nt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:wr,visible:!0,title:String(Date.now())},onOk:Sr=>{An({src:Sr.url})},onClose:zn})))},bt=ae(36207),Ct=ae(5269),gt=ae(6767),je={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},le=ae(59301),ke=(0,b.forwardRef)(({onCancel:An,editImgId:zn,callback:Kn},er)=>{let wr=(0,b.useRef)(),Sr=(0,b.useRef)(),Er=(0,b.useRef)(),Nr=(0,b.useRef)(!1);const Br=(0,b.useRef)(!1);console.log("ref:",er);const[jr,Rr]=(0,b.useState)(0),[Ln,tr]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{Rr(1)},[]),(0,b.useImperativeHandle)(er,()=>({setHeight:tr})),le.createElement("div",{ref:Br,className:"body-overflow-initial"},le.createElement(bt.Z,{width:"100vw",height:Ln,footer:null,closable:!0,placement:"bottom",open:!!jr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${je.drawerWrap}`,onClose:()=>{window.saveDrawData(Ar=>{Kn({src:`/api/attachments/${Ar}`,id:Ar})})},title:le.createElement(st.Z,{align:"middle"},le.createElement(Ct.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),le.createElement(Ct.Z,{onClick:()=>{tr(Ln==="60px"?"100vh":"60px")}},le.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),le.createElement(Ct.Z,{onClick:()=>{window.saveDrawData(Ar=>{if(Ar===null){gt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}gt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Kn({src:`/api/attachments/${Ar}`,id:Ar,disabledClose:!0})})}},le.createElement(Ne.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},le.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${zn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Sr})))}),Ge=ae(35783),Ie=ae(47889),pe=ae(4875);const x=Ie.ZP.Group,me={margin:"0 8px"};var Le=({callback:An,onCancel:zn})=>{function Kn(er){An(er)}return b.createElement(Ke.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Kn},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:me},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:me},"\u884C\u6570"),b.createElement(Ke.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(pe.Z,null)),b.createElement("span",{style:me},"\u5217\u6570"),b.createElement(Ke.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(pe.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:me},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ke.default.Item,{name:"align"},b.createElement(x,null,b.createElement(Ie.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(Ie.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(Ie.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(Ie.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ne.ZP,{type:"ghost",onClick:zn},"\u53D6\u6D88")))},Se=ae(58755),Be=ae(45936),Qe=ae.n(Be),ot=(0,b.forwardRef)(({use3d:An,width:zn,height:Kn,callback:er,showSaveButton:wr},Sr)=>{const Er=(0,b.useRef)(),Nr=(0,b.useRef)(),[Br,jr]=(0,b.useState)(!1),Rr=(0,b.useRef)({id:Er,appName:"graphing",width:zn||1e3,height:Kn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{Nr.current=new(Qe())(Rr.current,!0),window.onload=function(){Nr.current.inject("applet_container")}},[]);const Ln=()=>{var tr=window.ggbApplet.getPNGBase64(1,!0,72);return er&&er(tr),tr};return(0,b.useEffect)(()=>{Rr.current.appName=Br?"3D":"graphing",Nr.current.inject("applet_container")},[Br]),(0,b.useEffect)(()=>{jr(An)},[An]),(0,b.useImperativeHandle)(Sr,()=>({getImgData:Ln})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Er}),b.createElement(st.Z,{align:"middle"},b.createElement(Ct.Z,{flex:1},b.createElement(Se.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Br,onChange:tr=>jr(tr)})),b.createElement(Ct.Z,null,b.createElement(Ne.ZP,{size:"large",onClick:Ln,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),at=ae(9043);const Rt="link",Ft="upload-image",rn="add-flowchart",nn="draw-image",Lt="add-flowchart",qt="code-block",Wt="add-table",Dt="------------",zt={default:Dt,left:`:${Dt}`,center:`:${Dt}:`,right:`${Dt}:`};var un=ae(2408),mn=ae(68911);function Et(){}let Ht=0;const Jt=1e4,gn="\u2581",Nn="@\u2581\u2581@",Xn="@\u2581@",gr=`
|
|
|
**\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`,br=["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 Yn(An){return/^\d+$/.test(An)?`${An}px`:An}const Wn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",xn={[Wn+"-B"]:"bold",[Wn+"-I"]:"italic"},Pn={[Rt]:"\u6DFB\u52A0\u94FE\u63A5",[qt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ft]:"\u6DFB\u52A0\u56FE\u7247",[nn]:"\u6DFB\u52A0\u753B\u56FE",[rn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Wt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Tn=({defaultValue:An="",onChange:zn,width:Kn="100%",height:er=400,miniToolbar:wr=!1,isFocus:Sr=!1,watch:Er,insertTemp:Nr,mode:Br="markdown",id:jr="markdown-editor-id",showResizeBar:Rr=!1,noStorage:Ln=!1,showNullButton:tr=!1,showNullProgramButton:Ar=!1,hidetoolBar:yr=!1,fullScreen:Zt=!1,onBlur:St,onCMBeforeChange:Ot,onFullScreen:Gt,className:kt="",disablePaste:Pt=!1,disabled:xt=!1,disabledFill:en=!1,placeholder:on="",values:cn="",extraUse:Yt,onAddBlank:$t})=>{const[Xt,fn]=(0,b.useState)(null),[lr,Ut]=(0,b.useState)(An),[Qt,Cn]=(0,b.useState)(Er),[Vt,jt]=(0,b.useState)(Zt),[hn,wn]=(0,b.useState)(""),[bn,In]=(0,b.useState)(0),[Fn,Zn]=(0,b.useState)(er),[Mn,Gn]=(0,b.useState)(!1),[sr,jn]=(0,b.useState)(0),[ir,Dr]=(0,b.useState)(0),Tr=(0,b.useRef)(),Wr=(0,b.useRef)(),vr=(0,b.useRef)(),Ir=(0,b.useRef)(),_r=(0,b.useRef)(),mr=(0,b.useRef)(),Gr=(0,oe.useDispatch)();(0,b.useEffect)(()=>{const Kt=window.scrollY||window.pageYOffset;Ut(cn),Xt==null||Xt.setValue(cn),window.scrollTo(0,Kt)},[cn]),(0,b.useEffect)(()=>{Gt==null||Gt(Vt)},[Vt]),(0,b.useEffect)(()=>{if(Tr.current){let Kt=function($n,pr){var zr;if(Pt){pr.preventDefault();return}const Qr=pr.clipboardData;if(Qr){const Yr=Qr.types.toString(),ki=Qr.items;if(Yr==="Files"||Qr.types.indexOf("Files")>-1){if(pr.preventDefault(),Br=="stex")return;try{let or=ki[1];((zr=ki[0])==null?void 0:zr.kind)==="file"&&(or=ki[0]);const Di=or.getAsFile(),mi=Di.name.split(".").pop();(0,Ve.I)(Di,Ii=>{var Bi,Si,so;Ii.id?((Bi=Di==null?void 0:Di.type)==null?void 0:Bi.indexOf("image"))>-1?On.replaceSelection(`<img width="100%" src="/api/attachments/${Ii.id}?type=${Ii.content_type})" alt="" />`):((Si=Di==null?void 0:Di.type)==null?void 0:Si.indexOf("video"))>-1?On.replaceSelection(`<video width="100%" controls src="/api/attachments/${Ii.id}"></video>`):((so=Di==null?void 0:Di.type)==null?void 0:so.indexOf("pdf"))>-1?On.replaceSelection(`<a href="/api/attachments/${Ii.id}?type=${Di.type}&disposition=inline" target="_blank">${Di.name}</a>`):br.includes(mi)?On.replaceSelection(`<a href="/api/attachments/${Ii.id}?type=office&disposition=inline" target="_blank">${Di.name}</a>`):On.replaceSelection(`[${Di.name}](/api/attachments/${Ii.id}?type=${Ii.content_type})`):(Ii==null?void 0:Ii.status)===401&&(document.location.href="/user/login")})}catch(or){gt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const On=De().fromTextArea(Tr.current,{mode:Br,lineNumbers:!wr,lineWrapping:!0,value:An,autoCloseTags:!0,autoCloseBrackets:!0});return On.on("keyup",function($n,pr){pr.keyCode===8&&($n.getValue()==""?On.setOption("placeholder",on):On.setOption("placeholder",null))}),On.on("keydown",function($n,pr){if(pr.keyCode===8){var zr=gi($n);zr&&pr.preventDefault()}}),Sr&&On.focus(),On.on("paste",Kt),xt&&On.on("beforeChange",function($n,pr){(pr.origin==="paste"||pr.origin==="+input")&&pr.cancel()}),fn(On),()=>{On.off("paste",Kt)}}},[]);const Fr=(0,b.useCallback)(()=>{if(Wr.current)try{}catch(Kt){console.log(Kt,"---- to set md editor body height")}},[Fn,Wr,Vt]);(0,b.useEffect)(()=>{function Kt(){let On=new de.Z($n=>{for(let pr of $n)(pr.target.offsetHeight>0||pr.target.offsetWidth>0)&&(Fr(),Xt.setSize("100%","100%"),Xt.refresh())});return On.observe(Tr.current.parentElement),On}if(Xt){const On=Kt();return()=>{var $n,pr;($n=Tr.current)!=null&&$n.parentElement&&On.unobserve((pr=Tr.current)==null?void 0:pr.parentElement)}}},[Xt,Fr]),(0,b.useEffect)(()=>{if(Xt){let Kt=[];for(const[On,$n]of Object.entries(xn)){let pr={[On]:()=>{Xr($n)}};Kt.push(pr),Xt.addKeyMap(pr)}return()=>{for(let On of Kt)Xt.removeKeyMap(On)}}},[Xt]),(0,b.useEffect)(()=>{Zt!==Vt&&jt(Zt)},[Zt]),(0,un.Z)(()=>{if(!Ln&&bn>0){let Kt=new Date().getTime(),On=window.sessionStorage.getItem(jr);Kt>=bn+Jt&&(!On||On!==lr)&&(window.sessionStorage.setItem(jr,lr),Gn(!0))}},Jt),(0,b.useEffect)(()=>{Cn(Er)},[Xt,Er]),(0,b.useEffect)(()=>{Xt&&Sr&&Xt.focus()},[Xt,Sr]),(0,b.useEffect)(()=>{if(Qt&&Xt){let Kt=function($n){let pr=$n.target;if(Ir.current){let zr=pr.scrollTop/pr.scrollHeight;Ir.current.scrollTop=Ir.current.scrollHeight*zr}};const On=Xt.getScrollerElement();return On.addEventListener("scroll",Kt),()=>{On.removeEventListener("scroll",Kt)}}},[Xt,Qt]),(0,b.useEffect)(()=>{if(Xt&&Ot){let Kt=function(On,$n){Ot(On,$n)};return Xt.on("beforeChange",Kt),()=>{Xt.off("beforeChange",Kt)}}},[Xt,Ot]),(0,b.useEffect)(()=>{if(Xt&&St){let Kt=function(){St(Xt.getValue())};return Xt.on("blur",Kt),()=>{Xt.off("blur",Kt)}}},[Xt,St]);function gi(Kt,On){var $n=Kt.getDoc(),pr=$n.getCursor(),zr=$n.getLine(pr.line),Qr=zr.charAt(pr.ch-1),Yr=zr.lastIndexOf("@\u2581@",pr.ch),ki=zr.lastIndexOf("@\u2581\u2581@",pr.ch),or=Yr>ki?Yr:ki,Di=Yr>ki?3:4;if(Nn.indexOf(Qr)===-1)return null;if(console.log("change1:",On,Kt,zr,pr,or,Yr,ki,Qr),or>=0&&pr.ch-or<5){var mi=or+Di;return $n.replaceRange("",{line:pr.line,ch:or},{line:pr.line,ch:mi}),{line:pr.line,ch:mi}}return null}(0,b.useEffect)(()=>{if(Xt){let Kt=function(On,$n){const pr=On.getValue();Ut(pr),In(new Date().getTime()),On.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),zn&&(Ar?zn(pr,ur(pr)):zn(pr))};return Xt.on("change",Kt),()=>{Xt.off("change",Kt)}}},[Xt,zn]),(0,b.useEffect)(()=>{if(Xt)if(An==null)Xt.setValue(""),Ut("");else{const Kt=window.scrollY||window.pageYOffset;An!==Xt.getValue()&&(Xt.setValue(An),Ut(An),Xt.setCursor(xt?1:Xt.lineCount(),0),window.scrollTo(0,Kt))}},[Xt,An]);const Xr=(0,b.useCallback)(Kt=>{const On=Xt.getCursor(),$n=Xt.getSelection();let pr=$n.split(`
|
|
|
`);switch(Kt){case"bold":return Xt.replaceSelection("**"+$n+"**"),$n===""&&Xt.setCursor(On.line,On.ch+2),Xt.focus();case"italic":return Xt.replaceSelection("*"+$n+"*"),$n===""&&Xt.setCursor(On.line,On.ch+1),Xt.focus();case"code":return Xt.replaceSelection("`"+$n+"`"),$n===""&&Xt.setCursor(On.line,On.ch+1),Xt.focus();case"inline-latex":return(0,mn.Ye)(Gr)?void 0:(wn("inline-latex"),Xt.focus());case"latex":return Xt.replaceSelection("```latex\n"+$n+"\n```"),Xt.setCursor(On.line+1,$n.length+1),Xt.focus();case"line-break":return Xt.replaceSelection(`<br/>
|
|
|
`),Xt.focus();case"list-ul":return $n===""?Xt.replaceSelection("- "+$n):Xt.replaceSelection(pr.map(zr=>zr===""?"":`- ${zr}`).join(`
|
|
|
`)),Xt.focus();case"list-ol":return $n===""?Xt.replaceSelection("1. "+$n):Xt.replaceSelection(pr.map((zr,Qr)=>zr===""?"":`${Qr+1}. ${zr}`).join(`
|
|
|
`)),Xt.focus();case"add-null-ch":$t==null||$t();return;case"add-signal":return $n===""&&Xt.setCursor(On.line,On.ch),Xt.replaceSelection(Xn),Xt.focus();case"add-multiple":return $n===""&&Xt.setCursor(On.line,On.ch),Xt.replaceSelection(Nn),Xt.focus();case"inster-template-1":return $n===""&&Xt.setCursor(On.line,On.ch),Xt.replaceSelection(gr),Xt.focus();case"eraser":return Xt.setValue(""),Xt.focus();case"trigger-watch":return Cn(!Qt),Xt.focus();case"trigger-full-screen":return jt(!Vt),Xt.focus();case Rt:wn(Rt);return;case qt:wn(qt);return;case Ft:wn(Ft);return;case nn:wn(nn);return;case"maths-latex":if((0,mn.Ye)(Gr))return;wn("maths-latex");return;case rn:_r.current="",sessionStorage.removeItem("file_id"),wn(rn);return;case Wt:wn(Wt);return;default:throw new Error}},[Xt,Qt,Vt]),$r=(0,b.useCallback)((Kt,On)=>{var $n,pr,zr,Qr,Yr,ki;Kt!=null&&Kt.disabledClose||wn("");const{src:or,alt:Di,id:mi}=Kt||{};switch(hn){case Rt:const{title:Co,link:$i}=Kt;return Xt.replaceSelection(`[${Co}](${$i})`),Xt.focus();case qt:const{language:Ji,content:li}=Kt;return Xt.replaceSelection(["```"+Ji,li,"```"].join(`
|
|
|
`)),Xt.focus();case"maths-latex":for(var Ii=atob(Kt),Bi=new Uint8Array(Ii.length),Si=0;Si<Ii.length;Si++)Bi[Si]=Ii.charCodeAt(Si);var so=new Blob([Bi],{type:"image/png"});(0,Ve.I)(so,Gi=>{Gi.id?Xt.replaceSelection(``):(Gi==null?void 0:Gi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,mn.Ye)(Gr))return;Xt.replaceSelection("`$$"+Kt+"$$`");break;case Lt:if(!mi)return;Xt.getValue().indexOf(or)===-1?Xt.replaceSelection(`<center><img id="${mi}" width="80%" src="${or}" class="draw-flowchart" alt="${Di||""}" /></center>`):document.getElementById(mi).src=Ge.Z.API_SERVER+or+"?t="+Date.now();break;case Ft:case nn:const ci=On,qi=(zr=(pr=($n=ci==null?void 0:ci.name)==null?void 0:$n.split("."))==null?void 0:pr.pop)==null?void 0:zr.call(pr);return((Qr=ci==null?void 0:ci.type)==null?void 0:Qr.indexOf("image"))>-1||!(ci!=null&&ci.type)?ci!=null&&ci.align||ci!=null&&ci.width?Xt.replaceSelection(`<p style="text-align:${ci.align||"initial"}"><img width="${ci.width?ci.width+"%":"initial"}" src="${or}" alt="${Di||""}" /></p>`):Xt.replaceSelection(`<img width="100%" src="${or}" alt="${Di||""}" />`):((Yr=ci==null?void 0:ci.type)==null?void 0:Yr.indexOf("video"))>-1?Xt.replaceSelection(`<video width="100%" controls src="${or}"></video>`):((ki=ci==null?void 0:ci.type)==null?void 0:ki.indexOf("pdf"))>-1?Xt.replaceSelection(`<a href="${or}?type=${ci.type}&disposition=inline" target="_blank">${ci.name}</a>`):br.includes(qi)?Xt.replaceSelection(`<a href="${or}?type=office&disposition=inline" target="_blank">${ci.name}</a>`):Xt.replaceSelection(`[${ci.name}](${or})`),Xt.focus();case Wt:const{row:po,col:Ri,align:no}=Kt;let lo=`
|
|
|
`;for(let Gi=0;Gi<po;Gi++){let fo=[],ao=[];for(let Fo=0;Fo<Ri;Fo++)Gi===1&&ao.push(zt[no]),fo.push(" ");Gi===1&&(lo+=`| ${ao.join(" | ")} |
|
|
|
`),lo+=`| ${fo.join(Ri===1?"":" | ")} |
|
|
|
`}return Xt.replaceSelection(lo+`
|
|
|
`),Xt.focus();default:throw new Error}},[Xt,hn]),ti=(0,b.useMemo)(()=>{switch(hn){case Rt:return b.createElement($e,{callback:$r,onCancel:oi});case qt:return b.createElement(qe.Z,{callback:$r,onCancel:oi});case Ft:return b.createElement(Ve.Z,{callback:$r,onCancel:oi});case rn:return b.createElement(ke,{editImgId:_r.current,callback:$r,onCancel:oi});case Wt:return b.createElement(Le,{callback:$r,onCancel:oi});case"maths-latex":return b.createElement(ot,{showSaveButton:!0,callback:$r});case"inline-latex":return b.createElement(at.Z,{showSaveButton:!0,callback:$r});default:return null}},[hn]);function oi(){wn("")}(0,b.useEffect)(()=>{if(vr.current){let Kt=function(Yr){zr=!0,Qr=Yr.pageY},On=function(){zr=!1},$n=function(Yr){if(zr){let ki=Yr.pageY-Qr;ki<0&&(ki=0),ki>300&&(ki=300);let or=er+ki+"px";Zn(or)}},pr=vr.current,zr=!1,Qr=0;return pr.addEventListener("mousedown",Kt),document.addEventListener("mousemove",$n),document.addEventListener("mouseup",On),()=>{pr.removeEventListener("mousedown",Kt),document.removeEventListener("mousemove",$n),document.removeEventListener("mouseup",On)}}},[Xt,vr]),(0,b.useEffect)(()=>{Zn(er)},[er]);const kr=Yn(Kn),Vr=Yn(Fn),Cr={width:kr,height:Vr},_n=(0,b.useMemo)(()=>{if(bn){let Kt=new Date(bn),On=Kt.getHours(),$n=Kt.getMinutes(),pr=Kt.getSeconds();return On=On<10?"0"+On:On,$n=$n<10?"0"+$n:$n,pr=pr<10?"0"+pr:pr,`${On}:${$n}:${pr}`}return 0},[bn]),ur=Kt=>{const On=[];if(Ar){let $n=-1;Kt=Kt.replace(/(@▁▁@|@▁@)/g,function(pr,zr,Qr){On.push({multiLine:pr!==Xn})})}return On};function fr(){window.sessionStorage.removeItem(jr),Gn(!1),In(0)}function Qn(){Gn(!1),In(0),Xt.setValue(window.sessionStorage.getItem(jr))}(0,b.useEffect)(()=>{Pn[hn]&&hn!==nn&&hn!==rn&&setTimeout(()=>{const Kt=document.getElementsByClassName("markdown-popup-form")[0],On=window.innerWidth/2-Kt.offsetWidth/2,$n=window.innerHeight/2-Kt.offsetHeight/2;jn(On),Dr($n)},0)},[hn]);const Pr=Kt=>{Kt.preventDefault();const On=Kt.clientX-sr,$n=Kt.clientY-ir;document.body.onmousemove=pr=>{let zr=pr.clientX-On,Qr=pr.clientY-$n;const Yr=document.getElementsByClassName("markdown-popup-form")[0],ki=window.innerWidth-Yr.offsetWidth,or=window.innerHeight-Yr.offsetHeight;zr=Math.max(0,Math.min(zr,ki)),Qr=Math.max(0,Math.min(Qr,or)),Mr(pr.clientX,pr.clientY,On,$n)&&(jn(zr),Dr(Qr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Mr=(Kt,On,$n,pr)=>{const zr=document.body.clientHeight,Qr=document.body.clientWidth;return Kt<20&&$n>Kt||Kt>Qr-20&&$n<Kt||On<20&&pr>On||On>zr-20&&pr<On?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:Wr},b.createElement("div",{className:`markdown-editor-container ${kt} ${Qt?"on-preview":""} ${wr?"mini":""} ${Vt?"full-screen":""}`,style:Cr},b.createElement(_e,{insertTemp:Nr,watch:Qt,fullScreen:Vt,showNullButton:tr,showNullProgramButton:Ar,onActionCallback:Xr,hidetoolBar:yr,extraUse:Yt}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:Tr,placeholder:on})),Qt?b.createElement("div",{ref:Ir,className:"preview-container"},Br==="stex"&&b.createElement(ge,{value:lr}),Br!=="stex"&&b.createElement(ne.Z,{edit:!0,disabledFill:en,showProgramFill:Ar,value:lr,openEditor:Kt=>{var On;_r.current=Kt,(On=mr.current)==null||On.setHeight("100vh"),setTimeout(()=>{wn("add-flowchart")},150)}})):null))),Rr?b.createElement("a",{ref:vr,className:"editor-resize"}):null,hn===nn&&b.createElement(Tt,{callback:$r,onCancel:oi}),hn===rn&&b.createElement(ke,{ref:mr,editImgId:_r.current,callback:$r,onCancel:oi}),b.createElement(Te.Z,null,Pn[hn]&&hn!==nn&&hn!==rn?b.createElement(ht.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:sr,top:ir},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Pr},Pn[hn]),open:!0,onCancel:oi,footer:null,destroyOnClose:!0,width:hn===rn?"1200px":null,height:hn===rn?"80vh":null,className:"markdown-popup-form"},ti):null))}},79203:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Pe},I:function(){return _e}});var b=ae(28284),oe=ae(6767),ye=ae(37568),De=ae(44104),de=ae(4875),ve=ae(47889),re=ae(7939),se=ae(8240),fe=ae(59301),E=ae(59301),te=Object.defineProperty,ne=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,Ee=(Te,Ke,We)=>Ke in Te?te(Te,Ke,{enumerable:!0,configurable:!0,writable:!0,value:We}):Te[Ke]=We,Oe=(Te,Ke)=>{for(var We in Ke||(Ke={}))xe.call(Ke,We)&&Ee(Te,We,Ke[We]);if(we)for(var We of we(Ke))ue.call(Ke,We)&&Ee(Te,We,Ke[We]);return Te},Ae=(Te,Ke)=>ne(Te,ge(Ke));const{useForm:Re}=b.default,Me={width:280,marginRight:10},be={labelCol:{span:5},wrapperCol:{span:19}};var Pe=({callback:Te,onCancel:Ke})=>{const[We]=Re();let Ne=(0,fe.useRef)();function Ye(lt){Ne.current.width=We.getFieldValue("width"),Ne.current.align=We.getFieldValue("align"),Te(lt,Ne.current)}function Je(lt,ct){if(lt.status===-1){oe.ZP.error(lt.message);return}We.setFieldsValue({src:`/api/attachments/${lt.id}`,type:ct.type})}function He(lt){let ct=lt.target.files[0];Ne.current=ct,_e(ct,Je)}return E.createElement(b.default,Ae(Oe({form:We},be),{className:"upload-image-panel",onFinish:Ye,style:{width:470,overflow:"hidden"}}),E.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},E.createElement("div",{className:"flex-container"},E.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},E.createElement(ye.default,{style:Me})),E.createElement(Fe,{onFileChange:He}))),E.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},E.createElement(ye.default,{style:{width:264}})),E.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},E.createElement(De.Z,null,E.createElement(b.default.Item,{name:"width",style:{margin:0}},E.createElement(de.Z,{style:{width:264}})),E.createElement("span",{className:"ml8"},"%"))),E.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},E.createElement(ve.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"}]})),E.createElement("aside",null,E.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},E.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),E.createElement(re.ZP,{type:"default",onClick:Ke},"\u53D6\u6D88"))))};function Fe({onFileChange:Te}){return E.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",E.createElement("input",{type:"file",onChange:Te}))}function _e(Te,Ke){if(!Te)throw new String("\u6CA1\u6709\u6587\u4EF6");let We=new FormData;We.append("editormd-image-file",Te),We.append("file_param_name","editormd-image-file"),We.append("byxhr","true");var Ne=new window.XMLHttpRequest;Ne.withCredentials=!0,Ne.addEventListener("load",function(Ye){Ke(JSON.parse(Ye.target.responseText),Te)},!1),Ne.addEventListener("error",function(Ye){console.error(Ye)},!1),Ne.open("POST",`${se.KI}/api/attachments.json`),Ne.send(We)}},88969:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return ye}});var b=ae(59301),oe=ae(4676);class ye extends b.Component{constructor(de){super(de);const ve=window.document;this.node=ve.createElement("div"),ve.body.appendChild(this.node)}render(){const{children:de}=this.props;return(0,oe.createPortal)(de,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},94871:function(Un,pn,ae){"use strict";ae.d(pn,{SV:function(){return Tt},ZP:function(){return dt}});var b=ae(59301),oe=ae(76374);const ye={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},De={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},de={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
|
`)},{label:"using namespace std",content:["using namespace std"].join(`
|
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},ve={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
|
`)}]},re={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
|
`)}]};var se=ae(53184),fe=ae.n(se),E=(bt,Ct,gt)=>new Promise((je,le)=>{var ie=Ie=>{try{Ge(gt.next(Ie))}catch(pe){le(pe)}},ke=Ie=>{try{Ge(gt.throw(Ie))}catch(pe){le(pe)}},Ge=Ie=>Ie.done?je(Ie.value):Promise.resolve(Ie.value).then(ie,ke);Ge((gt=gt.apply(bt,Ct)).next())});const te={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},ne=(bt,Ct,gt,je)=>{const le=Ct.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:gt.lineNumber,endColumn:gt.column});return Array.from(new Set(le.match(/\b\w{2,}\b/g)||[])).map(ke=>({label:ke,kind:bt.languages.CompletionItemKind.Text,insertText:ke,range:je}))},ge=(bt,Ct,gt,je)=>{bt.languages.registerCompletionItemProvider(Ct,{provideCompletionItems(le,ie){const ke=le.getWordUntilPosition(ie),Ge={startLineNumber:ie.lineNumber,endLineNumber:ie.lineNumber,startColumn:ke.startColumn,endColumn:ke.endColumn},Ie=le.getLineContent(ie.lineNumber).substring(ke.startColumn-2,ke.endColumn);return{suggestions:[...ne(bt,le,ie,Ge),...gt.map(x=>({label:x,kind:bt.languages.CompletionItemKind.Keyword,documentation:x,insertText:x,insertTextRules:bt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ge})),...je.map(x=>({label:x.label,kind:bt.languages.CompletionItemKind.Snippet,documentation:x.content,insertText:Ie.startsWith("#")?x.content.replace(/#/,""):x.content,insertTextRules:bt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ge}))]}}})};var we=bt=>{te.languages.forEach(Ct=>{bt.languages.registerDocumentFormattingEditProvider(Ct,{provideDocumentFormattingEdits(gt){return E(this,null,function*(){const je=fe()(gt.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:gt.getFullModelRange(),text:je}]})}})}),ge(bt,"java",De.keywords,De.quickKey),ge(bt,"cpp",de.keywords,de.quickKey),ge(bt,"c",ye.keywords,[]),ge(bt,"python",ve.keywords,ve.quickKey),ge(bt,"scala",re.keywords,re.quickKey)};const xe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ue=Object.defineProperty,Ee=(bt,Ct,gt)=>Ct in bt?ue(bt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:gt}):bt[Ct]=gt,Oe=(bt,Ct,gt)=>Ee(bt,typeof Ct!="symbol"?Ct+"":Ct,gt);const Ae=class Xc{constructor(Ct,gt,je){this.placeholder=Ct,this.editor=gt,this.monaco=je,gt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Xc.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Oe(Ae,"ID","editor.widget.placeholderHint");var Me=Ae,be=ae(96236),Pe=ae(6767),Fe=ae(25399),_e=ae(89392),Te=ae(99936),Ke=ae(56102),We=Object.defineProperty,Ne=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ct=(bt,Ct,gt)=>Ct in bt?We(bt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:gt}):bt[Ct]=gt,tt=(bt,Ct)=>{for(var gt in Ct||(Ct={}))He.call(Ct,gt)&&ct(bt,gt,Ct[gt]);if(Je)for(var gt of Je(Ct))lt.call(Ct,gt)&&ct(bt,gt,Ct[gt]);return bt},Bt=(bt,Ct)=>Ne(bt,Ye(Ct)),nt=(bt,Ct)=>{var gt={};for(var je in bt)He.call(bt,je)&&Ct.indexOf(je)<0&&(gt[je]=bt[je]);if(bt!=null&&Je)for(var je of Je(bt))Ct.indexOf(je)<0&<.call(bt,je)&&(gt[je]=bt[je]);return gt},Ue=(bt,Ct,gt)=>new Promise((je,le)=>{var ie=Ie=>{try{Ge(gt.next(Ie))}catch(pe){le(pe)}},ke=Ie=>{try{Ge(gt.throw(Ie))}catch(pe){le(pe)}},Ge=Ie=>Ie.done?je(Ie.value):Promise.resolve(Ie.value).then(ie,ke);Ge((gt=gt.apply(bt,Ct)).next())});function Xe(bt){return/^\d+$/.test(bt)?`${bt}px`:bt}function $e(){}let qe=!1;const Ve={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function ht(bt=[]){let Ct=bt;if(Array.isArray(bt)){for(let gt=0;gt<bt.length;gt++){let je=Ve[bt[gt]];if(je)return je}return Ct[0]}return Ve[Ct]||Ct}let st=null;const Nt=()=>Ue(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(bt){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",bt)}});var dt=bt=>{var Ct=bt,{width:gt="100%",height:je="100%",value:le,language:ie="javascript",style:ke={},options:Ge={},overrideServices:Ie={},theme:pe="vs-dark",onEditBlur:x,isCopy:me=!1,onSave:Le,autoHeight:Se=!1,forbidCopy:Be=!1,forbidCopyTips:Qe,onChange:it=$e,editorDidMount:ot=$e,onFocus:at=$e,onBreakPoint:Rt=$e,breakPointValue:Ft=[],filename:rn="educoder.txt",errorLine:nn,errorContent:Lt="",highlightLine:qt,openBreakPoint:Wt=!1,placeholder:Dt="",showMiniMap:zt=!0}=Ct,un=nt(Ct,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const mn=(0,b.useRef)(),Et=(0,b.useRef)({}),Ht=(0,b.useRef)(),Jt=(0,b.useRef)(),gn=(0,b.useRef)([]),Nn=(0,b.useRef)(!1),Xn=(0,b.useRef)(),gr=(0,b.useRef)(),br=(0,b.useRef)(!1),[Yn,hr]=(0,b.useState)(!1);function Wn(){let Ln;return mn.current&&(Ln=new oe.Z(tr=>{for(let Ar of tr)(Ar.target.offsetHeight>0||Ar.target.offsetWidth>0)&&Et.current.instance.layout()}),Ln.observe(mn.current)),Ln}function xn(){Pe.ZP.warning({content:decodeURIComponent(Qe||xe),key:"monaco-editor-tip"})}const Pn=()=>{let Ln=Et.current.instance;if(le!=null&&Ln&&Yn){const tr=Ln.getModel();tr&&le!==tr.getValue()&&(qe=!0,tr.setValue(le),Ln.layout(),qe=!1)}};(0,b.useEffect)(()=>{const Ln=Te.Z.subscribe("formatDocument",tr=>{var Ar;let yr=Et.current.instance;(Ar=yr==null?void 0:yr.getAction)==null||Ar.call(yr,"editor.action.formatDocument").run()});return window.updateMonacoValue=tr=>{it(tr)},Ln},[]),(0,b.useEffect)(()=>{var Ln;let tr=Et.current.instance;Jt.current&&clearTimeout(Jt.current),Jt.current=setTimeout(()=>{Pn()},500),le&&(le!=null&&le.length)&&((Ln=tr==null?void 0:tr.updateOptions)==null||Ln.call(tr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(le.split(/\r\n|\r|\n/g).length))+3,5)}))},[le,Yn,Et.current]),(0,b.useEffect)(()=>{if(nn&&Et.current&&Et.current.instance){let tr=Et.current.instance;tr.changeViewZones(function(Ar){var yr=document.createElement("div");yr.style.padding="10px 20px",yr.style.width="calc(100% - 20px)",yr.className="my-error-line-wrp",yr.innerHTML=Lt,Ar.addZone({afterLineNumber:nn||11,heightInLines:3,domNode:yr})});var Ln={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};tr.addOverlayWidget(Ln),tr.revealPositionInCenter({lineNumber:20,column:1})}},[nn,Et.current,Yn]);const Tn=(Ln="",tr)=>{if(!Ln||Ln.trim()==="")return!0;const yr=Et.current.instance.getModel().getLineTokens(tr);let Zt=!1;for(let St=0;St<2;St++)yr.getStandardTokenType(St)===1&&(Zt=!0);return Zt};(0,b.useEffect)(()=>{var Ln;const tr=(Ln=Et.current)==null?void 0:Ln.instance;if(tr&&Yn&&Be){const Ar=tr.onDidBlurEditorWidget(()=>{br.current=!1}),yr=tr.onDidFocusEditorText(()=>{br.current=!0});return()=>{Ar.dispose(),yr.dispose()}}},[Et.current,Yn,Be]),(0,b.useEffect)(()=>{var Ln;if((Ln=Et.current)!=null&&Ln.instance&&Yn&&Wt){let tr=Et.current.instance,Ar=tr.getModel();if(!Ar)return;(()=>{var Yt;let $t=[],Xt=[];const fn=Ar.getAllDecorations();for(let Ut of fn)Ut.options.className==="highlighted-line"&&($t.push((Yt=Ut==null?void 0:Ut.range)==null?void 0:Yt.startLineNumber),Xt.push(Ut==null?void 0:Ut.id));if(qt===$t[0])return;Ar.deltaDecorations(Xt,[]);const lr=Ar.getLineCount();qt&&qt<=lr&&(tr.deltaDecorations([],[{range:new st.Range(qt,1,qt,Ar.getLineMaxColumn(qt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),tr.revealLineInCenter(qt))})();const Zt=(Yt=!1)=>{var $t;let Xt=[],fn=[];const lr=Ar.getAllDecorations();for(let Ut of lr)Ut.options.linesDecorationsClassName==="breakpoints-select"&&(Xt.push(($t=Ut==null?void 0:Ut.range)==null?void 0:$t.startLineNumber),fn.push(Ut==null?void 0:Ut.id));if(Yt)return{lines:Xt,ids:fn};Rt(Xt)},St=Yt=>Ue(void 0,null,function*(){let $t={range:new st.Range(Yt,1,Yt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Ar.deltaDecorations([],[$t]),Zt()}),Ot=Yt=>Ue(void 0,null,function*(){let $t=[];const Xt=tr.getLineDecorations(Yt);for(let fn of Xt)fn.options.linesDecorationsClassName==="breakpoints-select"&&$t.push(fn.id);yield Ar.deltaDecorations($t,[]),Zt()}),Gt=Yt=>{let $t=tr.getLineDecorations(Yt);for(let Xt of $t)if(Xt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,_e.isEqual)(Ft,Zt(!0).lines)){Ar.deltaDecorations(Zt(!0).ids,[]);const Yt=Ft.map($t=>({range:new st.Range($t,1,$t,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Ar.deltaDecorations([],Yt)}const kt=tr.onDidChangeModelContent(Yt=>{let $t=tr.getPosition();if($t){let Xt=$t.lineNumber;clearTimeout(gr.current),gr.current=setTimeout(()=>{Tn(Ar.getLineContent(Xt),Xt)?Ot(Xt):Gt(Xt)?(Ot(Xt),St(Xt)):Zt()},100)}}),Pt=tr.onMouseDown(Yt=>{var $t,Xt,fn;if(Yt.target.detail&&((fn=(Xt=($t=Yt.target)==null?void 0:$t.element)==null?void 0:Xt.className)!=null&&fn.includes("line-numbers"))){let lr=Yt.target.position.lineNumber;if(Tn(Ar.getLineContent(lr),lr))return;Gt(lr)?Ot(lr):St(lr)}}),xt=Yt=>{let $t={range:new st.Range(Yt,1,Yt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};gn.current=tr.deltaDecorations(gn.current,[$t])},en=()=>{gn.current=tr.deltaDecorations(gn.current,[])},on=tr.onMouseMove(Yt=>{var $t,Xt,fn;if(en(),Yt.target.detail&&((fn=(Xt=($t=Yt.target)==null?void 0:$t.element)==null?void 0:Xt.className)!=null&&fn.includes("line-numbers"))){let lr=Yt.target.position.lineNumber;if(Tn(Ar.getLineContent(lr),lr))return;xt(lr)}}),cn=tr.onMouseLeave(()=>{en()});return()=>{kt.dispose(),Pt.dispose(),on.dispose(),cn.dispose()}}},[Et.current,Yn,Ft,qt,Wt,ie]),(0,b.useEffect)(()=>{var Ln;(Ln=Et.current)!=null&&Ln.instance&&Wt&&Et.current.instance.setPosition({lineNumber:0,column:0})},[qt]);function An(){let Ln=Et.current.instance;if(Ln){const tr=Ln.getSelection(),Ar=Et.current.pastePos||{},yr=new st.Range(Ar.startLineNumber||tr.endLineNumber,Ar.startColumn||tr.endColumn,Ar.endLineNumber||tr.endLineNumber,Ar.endColumn||tr.endColumn);setTimeout(()=>{Ln.executeEdits("",[{range:yr,text:""}])},300)}}function zn(Ln){(window.navigator.platform.match("Mac")?Ln.metaKey:Ln.ctrlKey)&&Ln.keyCode==83&&(Ln.preventDefault(),Le())}const Kn=()=>{if(Se&&Et.current.instance){const Ln=Et.current.instance.getContentHeight();jr(Ln<je?je:Ln)}else jr(je)};function er(Ln){var tr=document.createEvent("MouseEvents");tr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Ln.dispatchEvent(tr)}const wr=Ln=>{if(!br.current)return;const{keyCode:tr,ctrlKey:Ar,metaKey:yr,target:Zt,type:St}=Ln;return(St==="paste"||(tr===67||tr===86)&&(yr||Ar))&&Zt.nodeName==="TEXTAREA"&&(xn(),Ln.preventDefault()),!1};function Sr(Ln,tr){var Ar=window.URL||window.webkitURL||window,yr=new Blob([tr]),Zt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Zt.href=Ar.createObjectURL(yr),Zt.download=Ln,er(Zt)}(0,b.useEffect)(()=>{Kn()},[Kn]),(0,b.useEffect)(()=>{mn.current&&!Yn&&Promise.all([ae.e(8909),ae.e(1859)]).then(ae.bind(ae,71448)).then(Ln=>{try{st=Ln,Et.current.instance=st.editor.create(mn.current,{value:le,language:ht(ie),theme:pe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:zt||!1}},Ie);const tr=Et.current.instance;let Zt=[...be.BH._menuItems].find(kt=>kt[0]._debugName=="EditorContext")[1],St=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ot=(kt,Pt)=>{var xt,en;let on=kt._first;do Pt.includes((en=(xt=on.element)==null?void 0:xt.command)==null?void 0:en.id)&&kt._remove(on);while(on=on.next)};if(ot(tr,st),setTimeout(()=>{Kn(),Et.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Sr(rn||"educoder.txt",tr.getValue())}})},500),Et.current.subscription=tr.onDidChangeModelContent(kt=>{Nn.current?clearTimeout(Xn.current):(Kn(),it(tr.getValue(),kt)),Xn.current=setTimeout(()=>{Nn.current=!1},500)}),window.Monaco||we(st,ht(ie)),Be&&(Ot(Zt,St),mn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",wr),window.removeEventListener("paste",wr),window.addEventListener("keydown",wr),window.addEventListener("paste",wr)),window.Monaco=st,x&&tr.onDidBlurEditorWidget(()=>{x(tr.getValue())}),at&&tr.onDidFocusEditorText(()=>{Be&&Nt(),at(tr.getValue())}),Be){Nt();try{tr.onDidPaste(kt=>{const Pt=tr.getSelection(),xt=Et.current.pastePos||{},en=new st.Range(xt.startLineNumber||Pt.endLineNumber,xt.startColumn||Pt.endColumn,xt.endLineNumber||Pt.endLineNumber,xt.endColumn||Pt.endColumn);tr.executeEdits("",[{range:kt.range,text:""}])})}catch(kt){}}let Gt=Wn();return Dt&&typeof Dt=="string"&&new Me(Dt,tr,st),hr(!0),()=>{const kt=Et.current.instance;kt.dispose();const Pt=kt.getModel();Pt&&Pt.dispose(),Et.current.subscription&&Et.current.subscription.dispose(),Gt.unobserve(mn.current)}}catch(tr){}})},[]),(0,b.useEffect)(()=>{if(Et.current.instance&&Yn)return document.addEventListener("keydown",zn,!1),()=>{document.removeEventListener("keydown",zn)}},[Le,Yn]),(0,b.useEffect)(()=>{let Ln=Et.current.instance;if(Ln&&Yn){let tr=ht(ie);st.editor.setModelLanguage(Ln.getModel(),tr)}},[ie,Yn]),(0,b.useEffect)(()=>{Et.current.instance&&Yn&&st.editor.setTheme(pe)},[pe,Yn]),(0,b.useEffect)(()=>{let Ln=Et.current.instance;Ht.current=Ge,Ln&&Yn&&(Ln.updateOptions(tt({},Ge)),setTimeout(()=>{Ln.getModel().updateOptions(tt({},Ge))},200))},[JSON.stringify(Ge),Yn]),(0,b.useEffect)(()=>{let Ln=Et.current.instance;Ln&&Yn&&Ln.layout()},[gt,je,Yn]);const[Er,Nr]=(0,b.useState)(Xe(gt)),[Br,jr]=(0,b.useState)(Xe(je)),Rr=Bt(tt({},ke),{width:Er,height:Br,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:mn,style:Rr,onFocus:()=>{Be&&Nt()}},me&&b.createElement(Ke.CopyToClipboard,{text:le,onCopy:()=>Pe.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(Fe.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Tt({width:bt="100%",height:Ct="100%",original:gt,modified:je,language:le,options:ie={}}){const ke=(0,b.useRef)(),[Ge,Ie]=(0,b.useState)(null);function pe(Se){let Be;return ke.current&&(Be=new oe.Z(Qe=>{for(let it of Qe)(it.target.offsetHeight>0||it.target.offsetWidth>0)&&Se.layout()}),Be.observe(ke.current)),Be}(0,b.useEffect)(()=>(ke.current&&Promise.all([ae.e(8909),ae.e(9404)]).then(ae.bind(ae,2550)).then(Se=>{st=Se;const Be=st.editor.createDiffEditor(ke.current,Bt(tt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},ie),{wordWrap:!0}));Ie(Be);let Qe=pe(Be);return()=>{Be.dispose();const it=Be.getModel();it&&it.dispose(),Qe.unobserve(ke.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{Ge&&Ge.setModel({original:st.editor.createModel(gt,le),modified:st.editor.createModel(je,le)})},[gt,je,le,Ge]);const x=Xe(bt),me=Xe(Ct),Le={width:x,height:me};return b.createElement("div",{className:"my-diff-editor",ref:ke,style:Le})}},64194:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return te}});var b={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",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},oe=ae(29787),ye=ae(25399),De=ae(89787),de=ae(92310),ve=ae.n(de),re=ae(68911),se=ae(71347),fe=ae(59301),te=({className:ne,dataSource:ge=[],col:we=4,right:xe,bottom:ue=23,precision:Ee=0,wrapWidth:Oe=1200,trackEventItems:Ae,loading:Re,onRemove:Me=()=>{},isCurrent:be=!0,showProgress:Pe=!1,showAlias:Fe=!1,category:_e,hiddenClick:Te})=>{const Ke=Math.floor((Oe-(we-1)*xe)/we),We=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return fe.createElement(oe.Z,{spinning:Re},fe.createElement("div",{className:ve()(b.list,ne)},!!(ge!=null&&ge.length)&&(ge==null?void 0:ge.map((Ne,Ye)=>{var Je,He,lt,ct,tt,Bt,nt,Ue,Xe,$e,qe,Ve,ht;const{name:st,id:Nt,identifier:dt,featured:Tt,school_name:bt,image_url:Ct,excellent:gt,is_plan:je}=Ne;return fe.createElement("div",{key:Nt,className:be&&Pe?b.wrapisCurrent:b.wrap,style:{width:Ke,marginRight:(1+Ye)%we===0?0:xe+Ee,marginBottom:ue}},fe.createElement("a",{className:b.li,onClick:le=>{le.preventDefault(),le.stopPropagation(),Ae&&(0,re.L9)([Ae]),(0,re.xg)(`/paths/${dt}`)}},fe.createElement("div",{className:b.img},fe.createElement("img",{className:b.cover,src:`${Ct}`}),(Je=Ne==null?void 0:Ne.subject_tags)==null?void 0:Je.map((le,ie)=>{var ke,Ge;if(ie===0){const pe=(ke=We.find(x=>x.name==le))==null?void 0:ke.swclass;return fe.createElement("span",{className:`sprite ${pe} ${b.sign}`,style:{left:"-4px"}})}const Ie=(Ge=We.find(pe=>pe.name==le))==null?void 0:Ge.ptclass;return fe.createElement("span",{className:`sprite ${Ie} ${b.sign}`,style:{left:`${48+52*(ie-1)+2*ie}px`}})}),fe.createElement("div",{className:b.tagsDom},fe.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(Ne==null?void 0:Ne.excellent)&&fe.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"),((He=Ne==null?void 0:Ne.custom_tags)==null?void 0:He.length)>0&&fe.createElement(ye.Z,{title:(tt=(ct=Ne==null?void 0:Ne.custom_tags)==null?void 0:ct[((lt=Ne==null?void 0:Ne.custom_tags)==null?void 0:lt.length)-1])==null?void 0:tt.tag_name},fe.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},fe.createElement("span",{className:"multi-llipsis1e text-10px"},(Ue=(nt=Ne==null?void 0:Ne.custom_tags)==null?void 0:nt[((Bt=Ne==null?void 0:Ne.custom_tags)==null?void 0:Bt.length)-1])==null?void 0:Ue.tag_name))))),_e=="hide"&&(Ne==null?void 0:Ne.studying)&&be&&fe.createElement("div",{className:`${b.movebq} user-path-items`,onClick:le=>{le.stopPropagation(),Me(Ne)}},fe.createElement("i",{className:"iconfont icon-yichu1 font12"}),fe.createElement("span",null,"\u79FB\u9664")),!["collect","payed"].includes(_e)&&be&&fe.createElement("div",{className:`${b.hiddenbq} user-path-items`,onClick:le=>{le.stopPropagation(),Te(Ne)}},fe.createElement("i",{className:`iconfont ${_e=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),fe.createElement("span",null,_e=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),fe.createElement("div",{className:b.name},fe.createElement(ye.Z,{title:Fe&&(Ne!=null&&Ne.excellent_alias_name)?fe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${st}`,fe.createElement("br",null),fe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ne==null?void 0:Ne.excellent_alias_name}`)):st},fe.createElement("span",{className:b.e},Fe&&(Ne==null?void 0:Ne.excellent_alias_name)||st))),be&&Pe&&((Xe=Ne==null?void 0:Ne.progress)==null?void 0:Xe.all_score)!=0&&fe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},fe.createElement(De.Z,{strokeColor:"#44d7b6",gap:"small",percent:((($e=Ne==null?void 0:Ne.progress)==null?void 0:$e.my_score)/((qe=Ne==null?void 0:Ne.progress)==null?void 0:qe.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ve=Ne==null?void 0:Ne.progress)==null?void 0:Ve.my_score,"/",(ht=Ne==null?void 0:Ne.progress)==null?void 0:ht.all_score),(!be||!Pe)&&fe.createElement(ye.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${bt}`},fe.createElement("div",{className:b.unit},fe.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),bt)),(!be||!Pe)&&fe.createElement("div",{className:b.tags},fe.createElement("div",null,fe.createElement(ye.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},fe.createElement("span",null,fe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),fe.createElement("span",null,Ne.stages_count))),fe.createElement(ye.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},fe.createElement("span",null,fe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),fe.createElement("span",null,Ne.members_count)))))))})),!ge.length&&fe.createElement(se.Z,null)))}},29596:function(Un,pn,ae){"use strict";ae.d(pn,{jL:function(){return De},w9:function(){return Ue},QD:function(){return Ft},cQ:function(){return Ye.Z},op:function(){return Be},O5:function(){return Wn},_b:function(){return Dt},t7:function(){return Ee},Gi:function(){return st},YG:function(){return Ve},qp:function(){return E},vr:function(){return Lt},qE:function(){return ot},Je:function(){return Re},wb:function(){return Ne},cq:function(){return gt},tp:function(){return ge}});var b=ae(59301),oe={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},De=({dataSource:xn=[],img:Pn,imgWidth:Tn=346,title:An,sunTitle:zn,bannerExtraContent:Kn})=>b.createElement("div",{className:oe.banner},b.createElement("div",{className:oe.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,An),b.createElement("span",null,zn)),xn.length>0&&b.createElement("div",{className:oe.btns},xn.map((er,wr)=>b.createElement("div",{key:wr,onClick:er.click},er.name,er.sign?b.createElement("span",{className:"sprite sprite-33"}):null))),Kn),Pn&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:Pn,width:Tn}))),de={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"},ve=ae(92310),re=ae.n(ve),se=ae(89392),E=({dataSource:xn=[],value:Pn,onChange:Tn,onTitleChange:An,className:zn,title:Kn,titleWidth:er=41,style:wr={},fontColor:Sr="#6A7283",showCount:Er})=>{const[Nr,Br]=(0,b.useState)(1),[jr,Rr]=(0,b.useState)(!1),Ln=(0,b.useRef)(null),tr=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Ar;xn.length!==0&&(((Ar=Ln==null?void 0:Ln.current)==null?void 0:Ar.clientHeight)>97?Br(1):Br(0)),xn.length===0&&Br(0),Rr(!1)},[xn]),b.createElement("div",{className:re()(de.row,zn,"fadeIn","animated"),style:wr},b.createElement("div",{onClick:(0,se.throttle)(()=>An==null?void 0:An(),2e3),style:{width:er,marginTop:jr?12:4},className:`${de.title} ${An?"current":""}`},Kn),b.createElement("div",{className:jr?`${de.tagsWrap} ${de.tagsBorderWrap}`:de.tagsWrap},b.createElement("div",{className:de.bar,ref:tr,style:Nr>0?{height:Nr===1?97:"auto",overflow:Nr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:de.tag,ref:Ln},xn==null?void 0:xn.map(Ar=>b.createElement("span",{onClick:()=>Tn(Ar.id),key:Ar.id,style:{color:Sr},className:Pn===Ar.id?de.active:""},b.createElement("span",{title:Ar.name,className:de.name},Ar.name),!!Er&&b.createElement("span",{className:de.num},Ar.count))))),!!Nr&&b.createElement(b.Fragment,null,Nr===1?b.createElement("div",{onClick:()=>{var Ar;Br(2),((Ar=Ln==null?void 0:Ln.current)==null?void 0:Ar.clientHeight)>245?Rr(!0):Rr(!1)},className:de.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{tr.current.scrollTop=0,Br(1),Rr(!1)},className:de.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},te={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"},ge=({dataSource:xn=[],value:Pn,onChange:Tn,className:An,style:zn={}})=>b.createElement("div",{style:zn,className:re()(te.tabs,An)},xn.map(Kn=>b.createElement("span",{onClick:()=>Tn(Kn.id),className:Pn===Kn.id?te.active:"",key:Kn.id},Kn.name))),we={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"},xe=ae(37568),Ee=({dataSource:xn=[],value:Pn="",onChange:Tn,onInputChange:An=()=>{},className:zn,style:Kn={},placeholder:er,allowClear:wr=!1})=>{var Sr;const[Er,Nr]=(0,b.useState)(""),[Br,jr]=(0,b.useState)("");(0,b.useEffect)(()=>{var tr;let Ar=Pn;(tr=JSON.stringify(Pn))!=null&&tr.includes("{")&&(Nr(Pn.id),Ar=Pn.value||"");try{jr(decodeURIComponent(Ar||""))}catch(yr){jr(decodeURIComponent(Ar||""))}},[Pn]);const Rr=()=>{Tn(encodeURIComponent(Br),Er||null)},Ln=tr=>{tr!==Er&&(Nr(tr),Tn(encodeURIComponent(Br),tr))};return b.createElement("div",{className:re()(we.input,zn),style:Kn},!!xn.length&&b.createElement("div",{className:we.dropdown},b.createElement("div",{className:we.text},(Sr=xn.find(tr=>tr.id===Er))==null?void 0:Sr.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:we.b1}),b.createElement("b",{className:we.b2})),b.createElement("div",{className:we.menu},xn.map((tr,Ar)=>b.createElement("div",{key:Ar,onClick:()=>Ln(tr.id)},tr.name)))),b.createElement(xe.default,{onPressEnter:Rr,value:Br,onChange:tr=>{jr(tr.target.value),An(encodeURIComponent(tr.target.value),Er||null)},placeholder:er,variant:"borderless",allowClear:wr,onClear:()=>Tn("",Er||null)}),b.createElement("i",{onClick:Rr,className:"iconfont icon-sousuo9 font14 current"}))},Oe={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"},Re=({value:xn,onChange:Pn,className:Tn,total:An,pageSize:zn,style:Kn={}})=>{const er=xn<2,wr=xn>=Math.ceil(An/zn);return An<=zn?b.createElement(b.Fragment,null):b.createElement("div",{className:re()(Oe.quickPager,Tn),style:Kn},b.createElement("div",{onClick:()=>{er||Pn(xn-1,"prev")},className:er?Oe.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{wr||Pn(xn+1,"next")},className:wr?Oe.disabled:""},"\u4E0B\u4E00\u9875"))},Me={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"},be=ae(29787),Pe=ae(25399),Fe=ae(63139),_e=ae(35783),Te=ae(68911),Ke=ae(71347),Ne=({className:xn,dataSource:Pn=[],col:Tn=4,right:An,bottom:zn=23,precision:Kn=0,wrapWidth:er=1200,trackEventItems:wr,loading:Sr})=>{const Er=Math.floor((er-(Tn-1)*An)/Tn);return b.createElement(be.Z,{spinning:Sr},b.createElement("div",{className:re()(Me.list,xn)},!!Pn.length&&Pn.map((Nr,Br)=>{const{name:jr,id:Rr,identifier:Ln,power:tr,cover_image_id:Ar,pic:yr}=Nr;return b.createElement("div",{className:Me.wrap,key:Rr,style:{width:Er,marginRight:(1+Br)%Tn===0?0:An+Kn,marginBottom:zn}},b.createElement("a",{target:"_blank",href:`/shixuns/${Ln}/challenges`,className:Me.li,onClick:Zt=>{Zt.preventDefault(),wr&&(0,Te.L9)([wr]),tr&&(0,Te.xg)(`/shixuns/${Ln}/challenges`)}},b.createElement("div",{className:Me.img},b.createElement("img",{className:Me.cover,src:`${yr}`}),Nr.is_jupyter&&b.createElement("span",{className:`sprite sprite-43 ${Me.sign}`}),Nr.is_jupyter_lab&&b.createElement("span",{className:`sprite sprite-42 ${Me.sign}`}),Nr.is_unity_3d&&b.createElement("span",{className:`sprite sprite-44 ${Me.sign}`})),b.createElement("div",{className:Me.name},b.createElement(Pe.Z,{title:jr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:Me.e},jr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:Me.tags},b.createElement(Pe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Nr.challenges_count))),!!Nr.myshixuns_count&&b.createElement(Pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Nr.myshixuns_count))),b.createElement(Pe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Nr.level))),b.createElement("div",{className:Me.rate},b.createElement(Fe.Z,{allowHalf:!0,disabled:!0,defaultValue:Nr.score_info}),b.createElement("span",null,"\xA0",Nr.score_info?`${Nr.score_info}\u5206`:"5\u5206")))),!tr&&b.createElement("div",{className:Me.lockWrap},b.createElement("img",{src:`${_e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Pn.length&&b.createElement(Ke.Z,null)))},Ye=ae(64194),Je={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",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},He=ae(62957),lt=ae(96599),ct="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA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5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",tt=ae(59301),Bt=(xn,Pn,Tn)=>new Promise((An,zn)=>{var Kn=Sr=>{try{wr(Tn.next(Sr))}catch(Er){zn(Er)}},er=Sr=>{try{wr(Tn.throw(Sr))}catch(Er){zn(Er)}},wr=Sr=>Sr.done?An(Sr.value):Promise.resolve(Sr.value).then(Kn,er);wr((Tn=Tn.apply(xn,Pn)).next())}),Ue=({className:xn,dataSource:Pn=[],col:Tn=4,right:An,bottom:zn=23,precision:Kn=0,wrapWidth:er=1200,trackEventItems:wr,loading:Sr,category:Er,hiddenClick:Nr,handleVery:Br=()=>!0,isCurrent:jr})=>{const[Rr,Ln]=He.default.useModal(),tr=Math.floor((er-(Tn-1)*An)/Tn),Ar=yr=>Bt(void 0,null,function*(){Rr.confirm({title:"\u7F6E\u9876",width:500,content:tt.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",tt.createElement("span",{className:"c-blue"},"\u201C",yr.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return tt.createElement(be.Z,{spinning:Sr},Ln,tt.createElement("div",{className:re()(Je.list,xn)},!!Pn.length&&Pn.map((yr,Zt)=>{const{subject_identifier:St,id:Ot,identifier:Gt,power:kt}=yr,Pt=yr.is_public!=0&&yr.is_public;return tt.createElement("div",{className:Je.wrap,key:Ot,style:{width:tr,marginRight:(1+Zt)%Tn===0?0:An+Kn,marginBottom:zn}},yr.homepage_show&&tt.createElement("div",{className:Je.btnsTop},tt.createElement(lt.default,{color:"red"},"\u7F6E\u9876")),tt.createElement("a",{className:Je.li,onClick:xt=>{xt.preventDefault(),Br(yr==null?void 0:yr.first_category_url)&&(wr&&(0,Te.L9)([wr]),(0,Te.xg)(yr.first_category_url))}},tt.createElement("div",{className:Je.top},tt.createElement(Pe.Z,{title:yr.name},tt.createElement("div",{className:Je.name},yr.name)),tt.createElement("img",{className:Je.img,src:_e.Z.IMG_SERVER+"/images/"+yr.avatar_url}),tt.createElement("div",{className:Je.text,title:yr.creator},yr.creator),St&&tt.createElement("div",{className:Je.btns},tt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),tt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Pt&&tt.createElement("div",{className:Je.sign},"\u516C\u5F00"),jr&&tt.createElement("div",{className:Je.hidden,onClick:xt=>{xt.stopPropagation(),Nr(yr)}},tt.createElement("i",{className:`iconfont ${Er=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Er=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),tt.createElement("div",{className:Je.bottom},yr.visits>0&&tt.createElement(Pe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},tt.createElement("span",null,tt.createElement("i",{className:"iconfont icon-liulanyan"}),tt.createElement("span",null,yr.visits))),yr.course_members_count>0&&tt.createElement(Pe.Z,{title:"\u6210\u5458",placement:"bottom"},tt.createElement("span",null,tt.createElement("i",{className:"iconfont icon-chengyuan"}),yr.course_members_count)),yr.tasks_count>0&&tt.createElement(Pe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},tt.createElement("span",null,tt.createElement("i",{className:"iconfont icon-zuoye"}),yr.tasks_count)),yr.is_end?tt.createElement("div",{style:{color:"#6B758B"}}):tt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!yr.is_accessible&&tt.createElement("div",{className:Je.lockWrap},tt.createElement("img",{src:`${_e.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),tt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Pn.length&&tt.createElement(Ke.Z,null)))},Xe={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"},$e=ae(63823),Ve=({dataSource:xn=[],value:Pn,onChange:Tn,className:An,style:zn={},tabBarExtraContent:Kn})=>b.createElement("div",{className:re()(Xe.tabs,An),style:zn},b.createElement("div",{className:Xe.tabsWrap},xn.map((er,wr)=>!(er!=null&&er.hide)&&b.createElement("aside",{className:Xe.tab,onClick:()=>{Tn(er.id),er.link&&$e.history.push(er.link)},key:wr},b.createElement("div",{className:Pn===er.id?Xe.active:""},er.name),(er==null?void 0:er.resetCount)==null&&(er==null?void 0:er.total)!==void 0&&b.createElement("span",null,"\uFF08",er==null?void 0:er.total,"\uFF09"),(er==null?void 0:er.resetCount)!==void 0&&(er==null?void 0:er.total)!==void 0&&b.createElement(Pe.Z,{title:(er==null?void 0:er.tip)!=null?er==null?void 0:er.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},er==null?void 0:er.resetCount),"/",b.createElement("span",null,er==null?void 0:er.total),"\uFF09"))))),b.createElement("div",{className:Xe.tabBar},Kn)),st=({className:xn,style:Pn={},children:Tn})=>b.createElement("div",{className:re()(xn),style:Pn},Tn),Nt={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"},dt=ae(75727),Tt=ae(93041);const bt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var gt=({sortValue:xn,dropValue:Pn,className:Tn,onSort:An,onDrop:zn,dataSource:Kn=bt})=>{var er;return b.createElement("div",{className:re()(Nt.orderWrap,Tn)},b.createElement(dt.Z,{dropdownRender:()=>b.createElement(Tt.default,null,Kn.map((wr,Sr)=>b.createElement(Tt.default.Item,{key:Sr,onClick:()=>zn(wr.id)},wr.name)))},b.createElement("span",{className:Nt.orderTextWrap},(er=Kn.find(wr=>Pn===wr.id))==null?void 0:er.name)),b.createElement("span",{className:Nt.orderIconWrap},b.createElement("span",{className:Nt.orderAsc},b.createElement("i",{className:xn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Nt.cursorPointer} ${Nt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Nt.cursorPointer}`,onClick:()=>An(xn==="asc"?"desc":"asc")})),b.createElement("span",{className:Nt.orderDesc},b.createElement("i",{className:xn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Nt.cursorPointer} ${Nt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Nt.cursorPointer}`,onClick:()=>An(xn==="asc"?"desc":"asc")}))))},je={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"},le=ae(7939),ie=Object.defineProperty,ke=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,pe=(xn,Pn,Tn)=>Pn in xn?ie(xn,Pn,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):xn[Pn]=Tn,x=(xn,Pn)=>{for(var Tn in Pn||(Pn={}))Ge.call(Pn,Tn)&&pe(xn,Tn,Pn[Tn]);if(ke)for(var Tn of ke(Pn))Ie.call(Pn,Tn)&&pe(xn,Tn,Pn[Tn]);return xn},me=(xn,Pn)=>{var Tn={};for(var An in xn)Ge.call(xn,An)&&Pn.indexOf(An)<0&&(Tn[An]=xn[An]);if(xn!=null&&ke)for(var An of ke(xn))Pn.indexOf(An)<0&&Ie.call(xn,An)&&(Tn[An]=xn[An]);return Tn},Le=(xn,Pn,Tn)=>new Promise((An,zn)=>{var Kn=Sr=>{try{wr(Tn.next(Sr))}catch(Er){zn(Er)}},er=Sr=>{try{wr(Tn.throw(Sr))}catch(Er){zn(Er)}},wr=Sr=>Sr.done?An(Sr.value):Promise.resolve(Sr.value).then(Kn,er);wr((Tn=Tn.apply(xn,Pn)).next())}),Be=xn=>{var Pn=xn,{className:Tn,style:An,children:zn,loading:Kn=!1,openLoading:er,onClick:wr=()=>{},size:Sr="middle",shape:Er="round"}=Pn,Nr=me(Pn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Br,jr]=(0,b.useState)(!1);return b.createElement(le.ZP,x({onClick:(0,se.throttle)(Rr=>Le(void 0,null,function*(){er&&jr(!0);try{yield wr(Rr)}catch(Ln){console.log("error",Ln)}er&&jr(!1)}),2e3,{leading:!0,trailing:!1}),className:re()(je.btn,je[`${Sr}-${Er}`],Tn),style:An,size:Sr,shape:Er,loading:Br||Kn},Nr),zn)},Qe={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"},ot=({className:xn,style:Pn,children:Tn=null,onClick:An,title:zn})=>b.createElement("div",{className:re()(Qe.head,xn),style:Pn},b.createElement("span",{className:"primary-hover",onClick:An},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:zn},zn),b.createElement("div",{className:Qe.node},Tn)),at={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"},Ft=({confirmShow:xn=!0,confirmTitle:Pn,confirmClick:Tn,cancelShow:An=!0,cancelTitle:zn,cancelClick:Kn,className:er,style:wr,confirmLoading:Sr=!1})=>b.createElement("div",{className:re()(at.btns,er),style:wr},xn&&b.createElement(le.ZP,{loading:Sr,onClick:Tn,type:"primary",className:at.confirm},Pn),An&&b.createElement(le.ZP,{onClick:Kn,className:at.cancel},zn)),rn={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"},Lt=({className:xn,style:Pn={},LeftContent:Tn,children:An,RightContent:zn})=>b.createElement("div",{className:re()(rn.fixedBottom,xn),style:Pn},b.createElement("div",{className:rn.wrap},b.createElement("div",{className:rn.left},Tn),b.createElement("div",{className:rn.center},An),b.createElement("div",{className:rn.right},zn))),qt={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"},Dt=({className:xn,style:Pn={},dataSource:Tn=[]})=>b.createElement("div",{className:re()(qt.crumbs,xn),style:Pn},Tn.map((An,zn)=>zn<Tn.length-1?b.createElement(b.Fragment,{key:zn},An.path||An.onClick?b.createElement("span",{className:qt.hover,onClick:An!=null&&An.onClick?An.onClick:()=>$e.history.push(An.path)},An.name):b.createElement("span",null,An.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:zn,style:{color:"#5F6368"}},An.name))),zt=ae(11938),un=Object.defineProperty,mn=Object.defineProperties,Et=Object.getOwnPropertyDescriptors,Ht=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,Nn=(xn,Pn,Tn)=>Pn in xn?un(xn,Pn,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):xn[Pn]=Tn,Xn=(xn,Pn)=>{for(var Tn in Pn||(Pn={}))Jt.call(Pn,Tn)&&Nn(xn,Tn,Pn[Tn]);if(Ht)for(var Tn of Ht(Pn))gn.call(Pn,Tn)&&Nn(xn,Tn,Pn[Tn]);return xn},gr=(xn,Pn)=>mn(xn,Et(Pn)),br=(xn,Pn)=>{var Tn={};for(var An in xn)Jt.call(xn,An)&&Pn.indexOf(An)<0&&(Tn[An]=xn[An]);if(xn!=null&&Ht)for(var An of Ht(xn))Pn.indexOf(An)<0&&gn.call(xn,An)&&(Tn[An]=xn[An]);return Tn};const{Countdown:Yn}=zt.default;var Wn=xn=>{var Pn=xn,{onChange:Tn}=Pn,An=br(Pn,["onChange"]);const[zn,Kn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof zn=="number"&&zn>=0&&Tn(zn)},[zn]);const er=wr=>{const Sr=Math.floor(wr/1e3);Kn(Sr)};return b.createElement(Yn,gr(Xn({},An),{onChange:er}))}},2408:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return oe}});var b=ae(59301);function oe(ye,De){const de=(0,b.useRef)();(0,b.useEffect)(()=>{de.current=ye}),(0,b.useEffect)(()=>{function ve(){de.current()}if(De!==null){let re=setInterval(ve,De);return()=>clearInterval(re)}},[De])}},87330:function(Un,pn,ae){"use strict";ae.r(pn),ae.d(pn,{default:function(){return lr}});var b=ae(59301),oe=ae(63823),ye=ae(28284),De=ae(6767),de=ae(62957),ve=ae(77019),re=ae(5269),se=ae(25399),fe=ae(7939),E=ae(37285),te=ae(37568),ne=ae(458),ge=ae(47889),we=ae(22061),xe=ae(52123),ue=ae(68911),Ee=ae(66649),Oe=ae.n(Ee),Ae={flex_box_center:"flex_box_center___Eli3_",flex_space_between:"flex_space_between___b9mMZ",flex_box_vertical_center:"flex_box_vertical_center___HDlqC",flex_box_center_end:"flex_box_center_end___wxSjo",flex_box_column:"flex_box_column___riQIC",icons:"icons___fU5ZJ",shixuns:"shixuns___HhH4T",buttons:"buttons___Xd62N",addStage:"addStage___Ap4gr",color4CA:"color4CA___dMAG4",color204:"color204___ySVKY",completed:"completed___pNt1x",actionTabs:"actionTabs___x3cPl",tab:"tab___BFnIn",s1:"s1___O6K2P",tabActive:"tabActive___v3_qF",total:"total___oZdqK",introContent:"introContent___dSvDD",introContentMaxHeight:"introContentMaxHeight___NxSzO"},Re=ae(36207),Me=ae(62673),be=ae(31709),Pe=ae(22972),Fe=ae(29429),_e=ae(10102),Te={flex_box_center:"flex_box_center___bI3gK",flex_space_between:"flex_space_between___ZyemH",flex_box_vertical_center:"flex_box_vertical_center___vOG6y",flex_box_center_end:"flex_box_center_end___g0YQU",flex_box_column:"flex_box_column___a7oLH",wrp:"wrp___wYwtQ",drawer:"drawer___UVA9h",menu:"menu___s5Hi1",actived:"actived___GavBb",actived2:"actived2___XNyxe",listItem:"listItem___OyHb7",info:"info___UU9rA",title:"title___CmRLc",titleLeft:"titleLeft___xWCXz",titleRight:"titleRight___PeYdC",search:"search___CzPOL",description:"description___TEI_C",menuCourse:"menuCourse___Z8Z9h"},Ke=ae(59301),We=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,He=(Ut,Qt,Cn)=>Qt in Ut?We(Ut,Qt,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Ut[Qt]=Cn,lt=(Ut,Qt)=>{for(var Cn in Qt||(Qt={}))Ye.call(Qt,Cn)&&He(Ut,Cn,Qt[Cn]);if(Ne)for(var Cn of Ne(Qt))Je.call(Qt,Cn)&&He(Ut,Cn,Qt[Cn]);return Ut},ct=(Ut,Qt,Cn)=>new Promise((Vt,jt)=>{var hn=In=>{try{bn(Cn.next(In))}catch(Fn){jt(Fn)}},wn=In=>{try{bn(Cn.throw(In))}catch(Fn){jt(Fn)}},bn=In=>In.done?Vt(In.value):Promise.resolve(In.value).then(hn,wn);bn((Cn=Cn.apply(Ut,Qt)).next())});const{Search:tt}=te.default,Bt=[{id:"type",name:"\u7B5B\u9009",children:[{name:"\u5168\u90E8\u5B9E\u8BAD",id:"all",type:"type"},{name:"\u6211\u7684\u5B9E\u8BAD",id:"mine",type:"type"}]},{id:"diff",name:"\u96BE\u5EA6",children:[{name:"\u5168\u90E8",id:"",type:"diff"},{name:"\u521D\u7EA7",id:1,type:"diff"},{name:"\u4E2D\u7EA7",id:2,type:"diff"},{name:"\u4E2D\u9AD8\u7EA7",id:3,type:"diff"},{name:"\u9AD8\u7EA7",id:4,type:"diff"}]}],nt=({classroomList:Ut,loading:Qt,dispatch:Cn,cb:Vt,shixunIds:jt=[]})=>{var hn;const wn=(0,oe.useParams)(),bn=(0,oe.useLocation)(),{actionTabs:In}=Ut,[Fn]=ye.default.useForm(),{shixunLists:Zn}=Ut,[Mn,Gn]=(0,b.useState)([]),[sr,jn]=(0,b.useState)([]),[ir,Dr]=(0,b.useState)({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null});(0,b.useEffect)(()=>{Ut.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&(ir.page=1,Cn({type:"classroomList/getShixunLists",payload:lt({},ir)}))},[Ut.actionTabs.key]),(0,b.useEffect)(()=>{Tr()},[wn]);const Tr=()=>ct(void 0,null,function*(){const vr=yield(0,Pe.ZP)("/api/users/user_setting_groups.json",{method:"get",params:{type:"Shixun"}});Gn([{id:null,name:"\u5168\u90E8"},{id:-1,name:"\u672A\u52A0\u5165\u76EE\u5F55"},...(vr==null?void 0:vr.groups)||[]])}),Wr=()=>{Cn({type:"classroomList/setActionTabs",payload:{}}),Dr({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null})};return Ut.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"?null:Ke.createElement(Re.Z,{placement:"bottom",height:"100%",closable:!1,open:Ut.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",key:"bottom",rootClassName:Te.drawer,footer:Ke.createElement("div",{className:"tc"},Ke.createElement(fe.ZP,{size:"middle",onClick:()=>{Wr(),jn([]),Vt("\u53D6\u6D88")},style:{marginRight:8}},"\u53D6\u6D88"),Ke.createElement(fe.ZP,{size:"middle",onClick:()=>ct(void 0,null,function*(){var vr,Ir;for(let mr=0;mr<(sr==null?void 0:sr.length);mr++){const Gr=sr[mr];if(jt.includes(Gr)){De.ZP.info(`\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\uFF1A${(Ir=(vr=Zn==null?void 0:Zn.shixun_list)==null?void 0:vr.find(Fr=>Fr.id===Gr))==null?void 0:Ir.title}`);return}}const _r=yield(0,Fe.Ep)({id:Ut.actionTabs.id,course_id:Ut.actionTabs.course_id,shixun_ids:[...sr]});jn([]),_r!=null&&_r.shixuns_list&&(Wr(),Vt(_r.shixuns_list))}),type:"primary"},"\u786E\u5B9A"))},Ke.createElement("section",{className:"tc"},Ke.createElement(tt,{placeholder:"\u5B9E\u8BAD\u4FE1\u606F/\u9662\u6821\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"middle",className:Te.search,onSearch:vr=>{ir.keyword=vr,ir.page=1,Cn({type:"classroomList/getShixunLists",payload:lt({},ir)})}})),Ke.createElement("section",{className:"edu-container"},Bt.map(function(vr,Ir){var _r;return Ke.createElement("ul",{className:Te.menu,key:Ir},Ke.createElement("li",null,vr.name),(_r=vr==null?void 0:vr.children)==null?void 0:_r.map(function(mr,Gr){return Ke.createElement("li",{className:ir[vr.id]==mr.id?Te.actived:"",onClick:()=>{ir[vr.id]=mr.id,ir.page=1,Dr(lt({},ir)),Cn({type:"classroomList/getShixunLists",payload:lt({},ir)})}},Ke.createElement("strong",null,mr.name))}))}),ir.type==="mine"&&Ke.createElement("ul",{className:Te.menu},Ke.createElement("li",null,"\u76EE\u5F55"),Mn==null?void 0:Mn.map((vr,Ir)=>Ke.createElement("li",{className:ir.group_id==vr.id?Te.actived:"",key:vr.name,onClick:()=>{ir.group_id=vr.id,ir.page=1,Dr(lt({},ir)),Cn({type:"classroomList/getShixunLists",payload:lt({},ir)})}},Ke.createElement("strong",null,vr.name)))),(hn=Zn==null?void 0:Zn.shixun_list)==null?void 0:hn.map(function(vr,Ir){return Ke.createElement("div",{className:Te.listItem,key:Ir},Ke.createElement(Me.default,{checked:sr.includes(vr.id),value:vr.id,onChange:_r=>{let mr=sr.indexOf(vr.id);sr.indexOf(vr.id)>-1?jn(sr.filter(Gr=>Gr!==vr.id)):jn(sr.concat(vr.id))}}),Ke.createElement("div",{className:Te.info},Ke.createElement("div",{className:Te.title},Ke.createElement("div",{className:Te.titleLeft},Ke.createElement("a",{className:"c-black",href:`/shixuns/${vr==null?void 0:vr.identifier}/challenges`,target:"_blank"},Ke.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:vr.title}})),(0,_e.Ny)()&&(vr==null?void 0:vr.mark_status)===1&&Ke.createElement(se.Z,{title:vr==null?void 0:vr.mark_content},Ke.createElement("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10"},"\u6B63\u5E38")),(0,_e.Ny)()&&(vr==null?void 0:vr.mark_status)===2&&Ke.createElement(se.Z,{title:vr==null?void 0:vr.mark_content},Ke.createElement("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10"},"\u9700\u5B8C\u5584")),(0,_e.Ny)()&&(vr==null?void 0:vr.mark_status)===3&&Ke.createElement(se.Z,{title:vr==null?void 0:vr.mark_content},Ke.createElement("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10"},"\u65E0\u6CD5\u4F7F\u7528")))),Ke.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},Ke.createElement("span",{className:Te.description,dangerouslySetInnerHTML:{__html:vr.description}})),Ke.createElement("div",{className:"flex-wrp mt15"},vr.challenge_names.map(function(_r,mr){return Ke.createElement("span",{key:mr,className:"mr30 font12"},"\u7B2C",mr+1,"\u5173 ",_r," ")})),Ke.createElement(E.Z,{dashed:!0}),Ke.createElement("div",{className:"c-light-black mt20 font12"},Ke.createElement("span",null,vr.author_name),Ke.createElement("span",{className:"ml15 mr15"},"|"),Ke.createElement("span",null,vr.author_school_name),Ke.createElement("span",{className:"ml15 mr15"},"|"),Ke.createElement("span",null,"\u96BE\u5EA6\u7CFB\u6570:",vr.level),Ke.createElement("span",{className:"ml15 mr15"},"|"),Ke.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570:"),Ke.createElement("span",null,vr.study_count))))}),Ke.createElement("p",null)),Ke.createElement("div",{className:"tc"},Ke.createElement(be.Z,{current:ir.page||1,hideOnSinglePage:!0,showSizeChanger:!1,defaultPageSize:20,showQuickJumper:!0,total:Zn==null?void 0:Zn.shixuns_count,onChange:vr=>{ir.page=vr,Cn({type:"classroomList/getShixunLists",payload:lt({},ir)})}})))};var Ue=(0,oe.connect)(({classroomList:Ut,loading:Qt})=>({classroomList:Ut,loading:Qt}))(nt),Xe=ae(17958),$e=ae(89787),qe={wrap:"wrap___UWG0f",name:"name___LIQSC",button:"button___CSggN",progress:"progress___AQo_Y",havaLearn:"havaLearn___fq9Cb"},Ve=(Ut,Qt,Cn)=>new Promise((Vt,jt)=>{var hn=In=>{try{bn(Cn.next(In))}catch(Fn){jt(Fn)}},wn=In=>{try{bn(Cn.throw(In))}catch(Fn){jt(Fn)}},bn=In=>In.done?Vt(In.value):Promise.resolve(In.value).then(hn,wn);bn((Cn=Cn.apply(Ut,Qt)).next())}),st=({data:Ut={},dispatch:Qt=()=>{},onReloadData:Cn=()=>{}})=>{const Vt=()=>{var bn,In,Fn;if(!(0,Xe.tJ)(Qt)||(0,_e.Jd)())return;let Zn;for(let Mn=0;Mn<((bn=Ut==null?void 0:Ut.stages)==null?void 0:bn.length);Mn++){const Gn=(In=Ut==null?void 0:Ut.stages)==null?void 0:In[Mn],sr=(Fn=Gn==null?void 0:Gn.shixuns_list)==null?void 0:Fn.find(jn=>(jn==null?void 0:jn.shixun_status)!=="\u6682\u672A\u516C\u5F00");if(sr){Zn=sr.identifier;break}}Zn?wn(Zn):De.ZP.info("\u5B9E\u8BAD\u6682\u672A\u516C\u5F00!")},jt=bn=>{bn=bn!=null&&bn.includes(".json")?bn:`${bn}.json`,de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:b.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Ve(void 0,null,function*(){const In=yield(0,xe.$Q)({url:bn});if(!In)return;De.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Fn=yield(0,xe.Ir)({id:In.shixun_identifier});if(Fn!=null&&Fn.game_identifier){(0,ue.xg)(`/tasks/${Fn.game_identifier}`),Cn();return}(Fn==null?void 0:Fn.status)===2?jt(Fn==null?void 0:Fn.message):(Fn==null?void 0:Fn.status)===3&&hn(Fn==null?void 0:Fn.message)})})},hn=bn=>{de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:b.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",bn,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},wn=bn=>Ve(void 0,null,function*(){const In=yield(0,xe.Ir)({id:bn});if(In!=null&&In.game_identifier){(0,ue.xg)(`/tasks/${In.game_identifier}`),Cn();return}(In==null?void 0:In.status)===2?jt(In==null?void 0:In.message):(In==null?void 0:In.status)===3&&hn(In==null?void 0:In.message)});return b.createElement("section",null,!(0,_e.GJ)()&&b.createElement(b.Fragment,null,Ut!=null&&Ut.start_learning?b.createElement(ve.Z,{className:qe.wrap,align:"middle"},b.createElement(re.Z,{flex:"1"},b.createElement("div",{className:`mt5 ${qe.havaLearn}`},b.createElement("span",null,"\u5DF2\u5B66",Ut==null?void 0:Ut.learned,"%")),b.createElement("div",{className:`mt5 ${qe.progress}`},b.createElement($e.Z,{percent:Ut==null?void 0:Ut.learned,showInfo:!1})),b.createElement("div",{className:"mt5"},b.createElement("span",{className:"font16"},"\u4E0A\u6B21\u5B66\u4E60\u5185\u5BB9"),b.createElement("span",{className:"ml20 c-blue-4ca"},Ut==null?void 0:Ut.last_shixun))),b.createElement(re.Z,null,b.createElement(fe.ZP,{className:qe.button,type:"primary",onClick:()=>wn(Ut==null?void 0:Ut.last_shixun_identifier)},"\u5F00\u59CB\u5B66\u4E60"))):b.createElement(ve.Z,{className:qe.wrap,align:"middle"},b.createElement(re.Z,{flex:"1"},b.createElement("span",{className:qe.name},"\u8FD8\u672A\u5F00\u59CB\u5B66\u4E60")),b.createElement(re.Z,null,b.createElement(fe.ZP,{className:qe.button,type:"primary",onClick:Vt},"\u5F00\u59CB\u5B66\u4E60")))))},Nt=ae(58870),dt=ae(95487),Tt=ae(28349),bt=ae(18287),Ct=ae(10906),gt=ae(11134),je=ae(59672),le={tree:"tree___SHCwq",learn:"learn___buOG9",name:"name___dwQwe",sign:"sign___aQzc5",pdf_name:"pdf_name___m1wEX",name_style:"name_style___CnJ7d",color333:"color333___TbHdH"},ie=ae(89392),ke=ae(84105),Ge=ae(38819),Ie=ae(35783),pe=ae(99050),x=ae(59301),me=Object.defineProperty,Le=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,Qe=(Ut,Qt,Cn)=>Qt in Ut?me(Ut,Qt,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Ut[Qt]=Cn,it=(Ut,Qt)=>{for(var Cn in Qt||(Qt={}))Se.call(Qt,Cn)&&Qe(Ut,Cn,Qt[Cn]);if(Le)for(var Cn of Le(Qt))Be.call(Qt,Cn)&&Qe(Ut,Cn,Qt[Cn]);return Ut},ot=(Ut,Qt)=>{var Cn={};for(var Vt in Ut)Se.call(Ut,Vt)&&Qt.indexOf(Vt)<0&&(Cn[Vt]=Ut[Vt]);if(Ut!=null&&Le)for(var Vt of Le(Ut))Qt.indexOf(Vt)<0&&Be.call(Ut,Vt)&&(Cn[Vt]=Ut[Vt]);return Cn},at=(Ut,Qt,Cn)=>new Promise((Vt,jt)=>{var hn=In=>{try{bn(Cn.next(In))}catch(Fn){jt(Fn)}},wn=In=>{try{bn(Cn.throw(In))}catch(Fn){jt(Fn)}},bn=In=>In.done?Vt(In.value):Promise.resolve(In.value).then(hn,wn);bn((Cn=Cn.apply(Ut,Qt)).next())});const Rt=(Ut={})=>{var Qt,Cn;switch(Ut==null?void 0:Ut.item_type){case"Challenge":return x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u4EFB\u52A1\u5173\u5361"},x.createElement("i",{className:"iconfont icon-renwuguanka1 font20",style:{color:"#39B97E"}}));case"VideoItem":return x.createElement(se.Z,{title:"\u6559\u5B66\u89C6\u9891"},x.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"}));case"StageCatalog":return x.createElement("i",{className:"iconfont icon-kongbai c-brilliant-blue font20"});case"SubjectHomework":if((Ut==null?void 0:Ut.homework_type)==="group")return x.createElement(se.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u5206\u7EC4\u4F5C\u4E1A"},x.createElement("i",{className:"iconfont icon-fenzuzuoye3 font20",style:{color:"#acc218"}}));if((Ut==null?void 0:Ut.homework_type)==="normal")return x.createElement(se.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u56FE\u6587\u4F5C\u4E1A"},x.createElement("i",{className:"iconfont icon-tuwenzuoye font20",style:{color:"#1db37f"}}));break;case"ExaminationBank":return x.createElement(se.Z,{title:"\u6D4B\u9A8C\u5F62\u5F0F\uFF1A\u5728\u7EBF\u8003\u8BD5"},x.createElement("i",{className:"iconfont icon-zhangjieceshibeifen font20",style:{color:"#e9a318"}}));case"HomeworkCommon":if((Ut==null?void 0:Ut.homework_type)==="hack")return x.createElement(se.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u4F5C\u4E1A"},x.createElement("i",{className:"iconfont icon-bianchengzuoye1 font20",style:{color:"#E99237"}}));break;case"Shixun":return Ut!=null&&Ut.is_all_choice?x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898"},x.createElement("i",{className:"iconfont icon-xuanzeti4 c-lake-blue font20"})):Ut!=null&&Ut.is_unity_3d?((Qt=Ut==null?void 0:Ut.challenge_types)==null?void 0:Qt.length)<=1?x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u865A\u62DF\u4EFF\u771F"},x.createElement("i",{className:"iconfont icon-xunifangzhenti1 font20",style:{color:"#A504D8"}})):x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u865A\u62DF\u4EFF\u771F"},x.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):((Cn=Ut==null?void 0:Ut.challenge_types)==null?void 0:Cn.length)>1?x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u7F16\u7A0B\u5F00\u53D1"},x.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):x.createElement(se.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u5F00\u53D1"},x.createElement("i",{className:"iconfont icon-shixunti2 c-light-primary font20"}));default:return x.createElement(se.Z,{title:"\u6559\u5B66\u8BFE\u4EF6"},x.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"}))}},Ft=Ut=>{var Qt=Ut,{pathsDetail:Cn,globalSetting:Vt,user:jt,loading:hn,visibleType:wn,subjectHomeworkType:bn,updateSort:In,isPaths:Fn,dispatch:Zn,keywords:Mn,isShowSchedule:Gn,getData:sr}=Qt,jn=ot(Qt,["pathsDetail","globalSetting","user","loading","visibleType","subjectHomeworkType","updateSort","isPaths","dispatch","keywords","isShowSchedule","getData"]);let[ir,Dr]=(0,b.useState)([]),[Tr,Wr]=(0,b.useState)([]);const vr=(0,oe.useParams)(),[Ir,_r]=(0,b.useState)([]),[mr,Gr]=(0,b.useState)({});(0,b.useEffect)(()=>{if(jn.data&&!(0,ie.isEqual)(jn.data,Ir)){Tr=[];const Kt=JSON.parse(JSON.stringify(jn.data));oi(Kt,0),_r([...Kt]),jn!=null&&jn.expandAll||wn!="All"?Dr([...Tr]):Dr([])}},[jn.data,wn,jn==null?void 0:jn.expandAll]),(0,b.useEffect)(()=>{var Kt,On,$n,pr,zr,Qr,Yr,ki,or,Di;let mi;if((Kt=Cn.detail)!=null&&Kt.has_start){const Ii=($n=(On=Cn.detail)==null?void 0:On.courses)==null?void 0:$n.findIndex(Bi=>{var Si;return parseInt((Si=Bi.course_status)==null?void 0:Si.status)===1});mi=Ii>-1?Ii:0}else{let Ii=(Qr=(zr=(pr=Cn.detail)==null?void 0:pr.courses)==null?void 0:zr.map(Bi=>{var Si;return parseInt((Si=Bi.course_status)==null?void 0:Si.status)}))==null?void 0:Qr.lastIndexOf(2);mi=Ii>-1?Ii:0,Ii=(ki=(Yr=Cn.detail)==null?void 0:Yr.courses)==null?void 0:ki.findIndex(Bi=>{var Si;return parseInt((Si=Bi.course_status)==null?void 0:Si.status)===0}),mi=Ii>-1?Ii:mi}(or=Cn.detail)!=null&&or.courses&&Gr(((Di=Cn.detail)==null?void 0:Di.courses[mi])||{})},[Cn.detail]);const Fr=(Kt,On,...$n)=>at(void 0,[Kt,On,...$n],function*(pr,zr,Qr={}){const Yr=zr?yield(0,xe.BK)({id:pr,challenge_id:Qr==null?void 0:Qr.challenge_id,subject_id:vr.pathId}):yield(0,xe.Ir)({id:pr,challenge_id:Qr==null?void 0:Qr.challenge_id,subject_id:vr.pathId});if(Yr!=null&&Yr.game_identifier||Yr!=null&&Yr.identifier){(0,ue.xg)(zr?`/tasks/${Yr==null?void 0:Yr.identifier}/jupyter`:`/tasks/${Yr.game_identifier}?subject_id=${vr.pathId||""}`);return}(Yr==null?void 0:Yr.status)===-3?(0,ue.eF)():(Yr==null?void 0:Yr.status)===2?gi(Yr==null?void 0:Yr.message):(Yr==null?void 0:Yr.status)===3&&Xr(Yr==null?void 0:Yr.message)}),gi=Kt=>{Kt=Kt!=null&&Kt.includes(".json")?Kt:`${Kt}.json`,de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:x.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>at(void 0,null,function*(){const On=yield(0,Nt.L8)({url:Kt});if(!On)return;De.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const $n=yield(0,xe.Ir)({id:On.shixun_identifier});if($n!=null&&$n.game_identifier){(0,ue.xg)(`/tasks/${$n.game_identifier}`);return}($n==null?void 0:$n.status)===2?gi($n==null?void 0:$n.message):($n==null?void 0:$n.status)===3&&Xr($n==null?void 0:$n.message)})})},Xr=Kt=>{de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:x.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Kt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},$r=Kt=>{console.log("onDragEnter:",Kt)},ti=Kt=>at(void 0,null,function*(){var On,$n,pr,zr;console.log("onDrop:",Kt);const Qr=Kt.node.props.eventKey,Yr=Kt.dragNode.props.eventKey,ki=Kt.node.props.pos.split("-"),or=Kt.dropPosition-Number(ki[ki.length-1]);if(ki.length>3&&!Kt.node.dragOverGapBottom&&!Kt.node.dragOverGapTop||Kt.node.dragOver&&Kt.dragNodesKeys.length>1||ki.length>2&&Kt.dragNodesKeys.length>1)return!1;let Di=["Attachment","Hack","Shixun","SubjectHomework","Videoltem"];if(Di.includes((On=Kt.dragNode)==null?void 0:On.item_type)&&(($n=Kt.node)==null?void 0:$n.item_type)!="StageCatalog"&&or===0||((pr=Kt.dragNode)==null?void 0:pr.item_type)==="StageCatalog"&&Di.includes((zr=Kt.node)==null?void 0:zr.item_type)&&or===0)return!1;const mi=(Si,so,Co)=>{for(let $i=0;$i<Si.length;$i++){if(Si[$i].key===so)return Co(Si[$i],$i,Si);Si[$i].children&&mi(Si[$i].children,so,Co)}},Ii=[...Ir];let Bi;if(mi(Ii,Yr,(Si,so,Co)=>{Co.splice(so,1),Bi=Si}),!Kt.dropToGap)mi(Ii,Qr,Si=>{Si.children=Si.children||[],Si.children.unshift(Bi)});else if((Kt.node.props.children||[]).length>0&&Kt.node.props.expanded&&or===1)mi(Ii,Qr,Si=>{Si.children=Si.children||[],Si.children.unshift(Bi)});else{let Si,so;mi(Ii,Qr,(Co,$i,Ji)=>{Si=Ji,so=$i}),or===-1?Si.splice(so,0,Bi):Si.splice(so+1,0,Bi)}yield In({stage_id:jn.stage_id,list:Ii}),oi(Ii,0,0,!0),console.log("data:",Ii),_r([...Ii]),Dr([...ir,Kt.node.key])}),oi=(Kt,On,$n,pr)=>{On=On||0,Kt.map((zr,Qr)=>{var Yr;try{return zr.key2=On+1+"-"+(Qr+1),zr.key3=jn.index+1+"-"+(Qr+1),zr.title="",pr||(zr.key=On+1+"-"+(Qr+1)),On?zr.index=$n+"-"+(Qr+1):zr.index=zr.key3,(Yr=zr.children)!=null&&Yr.length&&(Tr.push(zr.key2),oi(zr.children,zr.key2,zr.index,pr)),zr}catch(ki){}})},kr=Kt=>{Kt=Kt||"";let On=new RegExp(Mn,"ig");const $n=Kt.replace(On,'<span style="color:#3061D0">$&</span>');return Mn?x.createElement("span",{dangerouslySetInnerHTML:{__html:$n}}):Kt},Vr=(Kt,On)=>{const{learning_status:$n,name:pr}=Kt;return($n==null?void 0:$n[0])==="can"&&($n==null?void 0:$n[1])==="try"?x.createElement("div",{className:le.learn},x.createElement("span",{className:le.name},On?pr:kr(pr)),x.createElement("span",{className:le.sign},"\u514D\u8D39\u8BD5\u5B66")):On?pr:kr(pr)},Cr=Kt=>{wn==="All"&&(ir.includes(Kt)?Dr(ir.filter(On=>On!=Kt)):Dr(ir.concat(Kt)))},_n=(Kt,On)=>at(void 0,null,function*(){if((0,Xe.tJ)(Zn,!0)){if(Kt!=null&&Kt.need_authorize){(0,Xe.rX)(!1);return}yield Fr(Kt.identifier,Kt.is_jupyter||Kt.is_jupyter_lab,Kt),On(),mr!=null&&mr.course_id&&(0,gt.JS)({id:mr==null?void 0:mr.course_id})}}),ur=Kt=>at(void 0,null,function*(){var On,$n,pr,zr,Qr;if(!(0,Xe.tJ)(Zn))return;if(!((On=jt.userInfo)!=null&&On.admin)&&!(($n=jt.userInfo)!=null&&$n.business)&&!Kt.can_view&&Kt.item_type!=="Attachment")return de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:x.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});Kt.link&&(0,je.DH)({is_f:1,id:Kt.id,point:0,total:0});const Yr=jn!=null&&jn.course_id?`course_id=${jn==null?void 0:jn.course_id}`:`subject_id=${vr.pathId||jn.subject_id}`;if(((zr=Kt==null?void 0:Kt.name)==null?void 0:zr.substr((pr=Kt==null?void 0:Kt.name)==null?void 0:pr.lastIndexOf("."))).toUpperCase()===".ZIP"){if(!((Qr=Cn.detail)!=null&&Qr.allow_download)){De.ZP.info("\u6559\u5B66\u8BFE\u4EF6\u4E0D\u652F\u6301\u4E0B\u8F7D");return}(0,ue.FH)(Kt.name,Ie.Z.API_SERVER+Kt.url)}else(0,ue.xg)(Kt.link||`/video/${Kt.id}?${Yr}`);if(Kt.item_type==="Attachment"&&Kt.complete_status!=2){const or=yield(0,gt.rS)({attachment_id:Kt.id,status:2})}(Kt.item_type==="Attachment"||Kt.item_type==="VideoItem")&&sr()}),[fr,Qn]=(0,b.useState)(!1),Pr=Kt=>{fr||Qn(!0)},Mr=(0,b.useMemo)(()=>(console.log("doms:"),x.createElement(bt.default,{className:le.tree,disabled:jn.disabled,expandedKeys:[...ir],draggable:!0,onDragEnter:$r,onDrop:ti,onExpand:Cr,blockNode:!0,titleRender:Kt=>{var On,$n,pr,zr,Qr,Yr,ki;let or=Kt;if(wn=="SubjectHomework"){if(bn=="group_count"&&(or==null?void 0:or.homework_type)!="group"||bn=="normal_count"&&(or==null?void 0:or.homework_type)!="normal")return null}else if(or.item_type!==wn&&wn!=="All")return null;const Di=((On=Kt==null?void 0:Kt.learning_status)==null?void 0:On[0])==="can";return x.createElement(ve.Z,{align:"middle",className:"font14",onClick:()=>Cr(or.key),style:{flexWrap:"nowrap",whiteSpace:"nowrap"},onMouseOver:()=>Pr(or.key)},x.createElement(re.Z,{flex:"30px",style:{display:"flex",alignItems:"center"}},Rt(Kt)),x.createElement(re.Z,{flex:"1",className:le.color333,style:{display:"flex",alignItems:"center",width:300}},jn.cust_seq&&x.createElement("span",{className:`${le.color333} mr10`},Kt.index),Kt.item_type!=="Attachment"&&x.createElement("div",{className:le.name_style},x.createElement(se.Z,{placement:"topLeft",title:Kt.name},Vr(Kt,!1))),Kt.item_type==="Attachment"&&x.createElement("a",{target:"_blank",className:le.pdf_name,title:Kt.name,onClick:()=>at(void 0,null,function*(){if((0,Xe.tJ)(Zn)){if(mr!=null&&mr.course_id){const mi=yield(0,gt.JS)({id:mr==null?void 0:mr.course_id})}switch(Kt.item_type){case"Attachment":ur(or);break;case"VideoItem":ur(Kt);break;case"ExaminationBank":ur(Kt);break;case"HomeworkCommon":ur(Kt);break;case"SubjectHomework":(Kt.homework_type=="group"||Kt.homework_type=="normal")&&ur(Kt);break;case"Shixun":_n(Kt);break}}})},Kt.name),(Kt.item_type==="Shixun"||Kt.item_type==="Challenge")&&Kt.is_unity_3d&&x.createElement("span",{style:{background:"#a300d8",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"68px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"\u865A\u62DF\u4EFF\u771F"),(Kt.item_type==="Shixun"||Kt.item_type==="Challenge")&&Kt.is_jupyter_lab&&x.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"76px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"JupyterLab"),(Kt.item_type==="Shixun"||Kt.item_type==="Challenge")&&Kt.is_jupyter&&x.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"112px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"Jupyter Notebook"),(Kt.item_type==="Shixun"||Kt.item_type==="Challenge")&&(($n=Kt==null?void 0:Kt.shixun_marks)==null?void 0:$n.length)>0&&(((pr=jt==null?void 0:jt.userInfo)==null?void 0:pr.role)==1||((zr=jt==null?void 0:jt.userInfo)==null?void 0:zr.role)==2)&&(Kt==null?void 0:Kt.shixun_marks.map((mi,Ii)=>x.createElement(se.Z,{title:`${mi}`,key:Ii},x.createElement("span",{style:{background:"#43a2ff",color:"#fff",borderRadius:"13px",marginLeft:"5px",height:"20px",textAlign:"center",fontSize:"12px",maxWidth:"70px",padding:"0px 13px",overflow:"hidden",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",justifyContent:"center",textOverflow:"ellipsis"}},mi)))),!!((Qr=Kt.schools)!=null&&Qr.length)&&x.createElement(se.Z,{title:"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E"},x.createElement("i",{className:"iconfont icon-zhidinggongkai1 ml10 c-orange",style:{transform:"translateY(1px)",display:"inline-block"}})),(Kt.item_type==="Shixun"||Kt.item_type==="Challenge")&&!!(Kt!=null&&Kt.finished_challenges_count)&&x.createElement(se.Z,{title:`\u5B8C\u6210\u5EA6:${Math.round((Kt==null?void 0:Kt.finished_challenges_count)/(Kt==null?void 0:Kt.challenges_count)*100)}%`},x.createElement("i",{className:`iconfont icon-a-wanchengdu100 ml10 ${(Kt==null?void 0:Kt.finished_challenges_count)-(Kt==null?void 0:Kt.challenges_count)===0?"c-light-green":"c-grey-333"}`,style:{transform:"translateY(1px)",display:"inline-block"}}))),!jn.disabled&&x.createElement("aside",{style:{color:"#0152d9",fontSize:"14px",marginRight:"20px"}},"\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u9879\u76EE\u663E\u793A\u987A\u5E8F"),fr&&x.createElement(re.Z,{className:"tr"},(or.item_type==="VideoItem"||(or==null?void 0:or.item_type)==="Attachment"||(or==null?void 0:or.item_type)==="StageCatalog"||(or==null?void 0:or.item_type)==="SubjectHomework"||(or==null?void 0:or.item_type)==="ExaminationBank"||(or==null?void 0:or.item_type)==="HomeworkCommon")&&!jn.disabled&&!jn.hiddenEditBtn&&x.createElement(se.Z,{title:"\u7F16\u8F91"},x.createElement("span",{onClick:()=>{jn.editVidoItem(it({stage_id:jn.stage_id},or))},style:{color:"#ccc",marginRight:"10px"}},x.createElement(Ct.Z,null))),!jn.disabled&&x.createElement(x.Fragment,null,x.createElement(se.Z,{title:"\u5220\u9664"},x.createElement("span",{onClick:()=>{jn.deleteStages({id:or.stage_item_id,stage_id:jn.stage_id})},className:"iconfont icon-shanchu c-grey-c"}))),jn.showVideoPlay&&jn.disabled&&or.item_type==="SubjectHomework"&&Di&&x.createElement("aside",null,!(0,_e.JA)()&&Fn&&((0,_e.Ny)()||(or==null?void 0:or.is_free)||!(or!=null&&or.is_free)&&(or==null?void 0:or.is_trial_study))&&x.createElement(fe.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Xe.tJ)(Zn)&&Zn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:or.stage_item_id,title:(or==null?void 0:or.homework_type)=="group"?"\u5206\u7EC4\u4F5C\u4E1A":"\u56FE\u6587\u4F5C\u4E1A"}}})})},"\u53D1\u9001"),!(0,_e.JA)()&&Fn&&x.createElement(fe.ZP,{type:"primary",onClick:()=>at(void 0,null,function*(){(0,Xe.tJ)(Zn)&&jn.showInfoModal(it({stage_id:jn.stage_id},or))})},"\u67E5\u770B\u8BE6\u60C5")),jn.showVideoPlay&&jn.disabled&&or.item_type==="ExaminationBank"&&Di&&x.createElement("aside",null,!(0,_e.JA)()&&Fn&&((0,_e.Ny)()||(or==null?void 0:or.is_free)||!(or!=null&&or.is_free)&&(or==null?void 0:or.is_trial_study))&&x.createElement(fe.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Xe.tJ)(Zn)&&Zn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:or.stage_item_id,title:"\u6D4B\u9A8C",examinationid:or.id}}})})},"\u53D1\u9001"),!(0,_e.JA)()&&Fn&&x.createElement(fe.ZP,{type:"primary",onClick:()=>at(void 0,null,function*(){(0,Xe.tJ)(Zn)&&window.open(`/paperlibrary/see/${or.id}?defaultActiveKey=1`)})},"\u67E5\u770B\u8BE6\u60C5")),jn.showVideoPlay&&jn.disabled&&or.item_type==="HomeworkCommon"&&Di&&x.createElement("aside",null,!(0,_e.JA)()&&Fn&&((0,_e.Ny)()||(or==null?void 0:or.is_free)||!(or!=null&&or.is_free)&&(or==null?void 0:or.is_trial_study))&&x.createElement(fe.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Xe.tJ)(Zn)&&Zn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:or.stage_item_id,title:"\u7F16\u7A0B\u4F5C\u4E1A",examinationid:or.id}}})})},"\u53D1\u9001"),!(0,_e.JA)()&&Fn&&x.createElement(fe.ZP,{type:"primary",onClick:()=>at(void 0,null,function*(){(0,Xe.tJ)(Zn)&&jn.showInfoModal(it({stage_id:jn.stage_id},or))})},"\u67E5\u770B\u8BE6\u60C5")),jn.showVideoPlay&&jn.disabled&&or.item_type==="VideoItem"&&Di&&x.createElement("aside",null,!(0,_e.JA)()&&Fn&&((0,_e.Ny)()||(or==null?void 0:or.is_free)||!(or!=null&&or.is_free)&&(or==null?void 0:or.is_trial_study))&&x.createElement(fe.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Xe.tJ)(Zn)&&Zn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:or.stage_item_id,title:"\u89C6\u9891"}}})})},"\u53D1\u9001"),x.createElement(fe.ZP,{type:"primary",className:"mr10",onClick:()=>at(void 0,null,function*(){ur(or)})},or.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),(or.allow_visit||or.to_be_built||!or.shixun_status)&&jn.disabled&&(or.item_type==="Shixun"||or.item_type==="Challenge")&&Di&&x.createElement("aside",null,!(0,_e.JA)()&&Fn&&!or.shixun_status&&((0,_e.Ny)()||(or==null?void 0:or.is_free)||!(or!=null&&or.is_free)&&(or==null?void 0:or.is_trial_study))&&x.createElement(fe.ZP,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Xe.tJ)(Zn)&&Zn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:or.stage_item_id,title:"\u5B9E\u8BAD",is_jupyter:or==null?void 0:or.is_jupyter,identifier:or==null?void 0:or.identifier}}})})},"\u53D1\u9001"),x.createElement(fe.ZP,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,Xe.tJ)(Zn)&&(mr!=null&&mr.course_id&&(yield(0,gt.JS)({id:mr==null?void 0:mr.course_id})),window.open(`/shixuns/${or.identifier}/challenges`))})},"\u67E5\u770B\u8BE6\u60C5"),!or.shixun_status&&x.createElement(pe.Z,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){return new Promise(mi=>at(void 0,null,function*(){_n(or,mi)}))})},or!=null&&or.need_authorize?"\u9700\u6388\u6743":Kt!=null&&Kt.finished_challenges_count?(Kt==null?void 0:Kt.finished_challenges_count)-(Kt==null?void 0:Kt.challenges_count)===0?"\u518D\u6B21\u5B9E\u6218":"\u7EE7\u7EED\u5B9E\u6218":"\u5F00\u59CB\u5B9E\u6218")),jn.showVideoPlay&&jn.disabled&&or.item_type==="Attachment"&&Di&&x.createElement("aside",null,((Yr=Cn.detail)==null?void 0:Yr.allow_download)&&x.createElement(fe.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){var mi;(0,Xe.tJ)(Zn)&&(0,ue.Nd)("",`${Ie.Z.API_SERVER}${(mi=or.url)==null?void 0:mi.replace("disposition=inline","")}`)})},"\u4E0B\u8F7D\u8D44\u6E90"),x.createElement(fe.ZP,{type:"primary",className:"mr10",onClick:()=>at(void 0,null,function*(){(0,Xe.tJ)(Zn)&&(0,ue.xg)(`/video/${or.id}?subject_id=${vr.pathId||""}`)})},"\u5F00\u59CB\u5B66\u4E60"))),x.createElement(re.Z,null,jn.disabled&&or.shixun_status==="\u6682\u672A\u516C\u5F00"&&x.createElement("span",{className:`${le.color204} ml5`},"\u6682\u672A\u53D1\u5E03"),or.shixun_status==="\u5DF2\u5220\u9664"&&x.createElement("span",{className:`${le.color204} ml5`},"\u5DF2\u5220\u9664"),jn.disabled&&!Gn&&(or.item_type==="Shixun"||or.item_type==="Challenge")&&!!or.challenges_count&&x.createElement("span",{className:"exper\u02C6iment-number ml5 c-grey-999"},"\u5B9E\u9A8C\u6570 ",or.challenges_count),jn.disabled&&Gn&&(or.item_type==="Shixun"||or.item_type==="Challenge")&&!!or.challenges_count&&or.shixun_status!=="\u6682\u672A\u516C\u5F00"&&or.shixun_status!=="\u5DF2\u5220\u9664"&&x.createElement(x.Fragment,null,x.createElement("i",{className:"iconfont icon-wanchenggouxuan font14",style:{marginLeft:"5px",color:or.finished_challenges_count===or.challenges_count?"#50DAAE":"#DEDEDE"}}),x.createElement("span",{style:{marginLeft:"4px"}},x.createElement("span",{style:{color:"#165DFF",fontSize:"14px"}},or.finished_challenges_count),x.createElement("span",{style:{color:"#DEDEDE",fontSize:"14px"}},"/",or.challenges_count))),jn.disabled&&Gn&&(or.item_type==="VideoItem"||or.item_type==="Attachment")&&(or.complete_status==0?x.createElement("i",{className:"iconfont icon-weidianjixuexi font14",style:{color:"#DEDEDE"}}):or.complete_status==1?x.createElement("i",{className:"iconfont icon-yidianjixuexiweiwancheng font14",style:{color:"#50DAAE"}}):x.createElement("i",{className:"iconfont icon-xuexiwancheng font14",style:{color:"#50DAAE"}})),wn==="All"&&!!((ki=Kt.children)!=null&&ki.length)&&x.createElement("span",{className:"ml10"},ir.includes(Kt.key)?x.createElement(ke.Z,null):x.createElement(Ge.Z,null))))},treeData:Ir})),[Ir,Tr,ir,wn,fr]);return x.createElement(x.Fragment,null,Mr)};var rn=(0,oe.connect)(({pathsDetail:Ut,loading:Qt,user:Cn,globalSetting:Vt})=>({pathsDetail:Ut,globalSetting:Vt,user:Cn,loading:Qt.effects}))(Ft),nn=ae(24618),Lt=ae(88969),qt=ae(71347),Wt=ae(4875),Dt=ae(32862);const zt=({user:Ut,onReplyDiscuss:Qt,dispatch:Cn,id:Vt,activeDiscussIndex:jt,params:hn})=>{const[wn,bn]=(0,b.useState)("");function In(Zn){bn(Zn)}console.log(hn,"params33");function Fn(){if(!wn){De.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}Qt(Vt,wn),bn("")}return b.createElement("div",{key:Vt,className:"discuss-item-editor",style:{display:jt===Vt?"block":"none",width:"100%"}},b.createElement(Dt.Z,{miniToolbar:!0,startInit:jt===Vt,defaultValue:wn,id:Vt,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:In}),b.createElement("a",{onClick:Fn,className:"btn-send"},"\u53D1\u9001"))};var un=(0,oe.connect)(({shixunsDetail:Ut,loading:Qt,globalSetting:Cn})=>({shixunsDetail:Ut,globalSetting:Cn,loading:Qt.models.index}))(zt),mn=(Ut,Qt,Cn)=>new Promise((Vt,jt)=>{var hn=In=>{try{bn(Cn.next(In))}catch(Fn){jt(Fn)}},wn=In=>{try{bn(Cn.throw(In))}catch(Fn){jt(Fn)}},bn=In=>In.done?Vt(In.value):Promise.resolve(In.value).then(hn,wn);bn((Cn=Cn.apply(Ut,Qt)).next())});const Et=({user:Ut,upDataList:Qt,params:Cn,page:Vt,getTypeNumber:jt,dispatch:hn,keywords:wn})=>{const bn=(In,Fn)=>mn(void 0,null,function*(){const Zn=yield(0,gt.ke)({id:In,content:Fn});(Zn==null?void 0:Zn.status)===0&&Qt(1,wn)});return b.createElement("div",{className:"discuss-item-container bg-white"},b.createElement("a",{href:`/users/${Ut.login}`,target:"_blank"},b.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${Ie.Z.IMG_SERVER}/images/${Ut.image_url}`,width:"50"})),b.createElement("section",null,b.createElement(un,{id:Cn.pathId,params:Cn,activeDiscussIndex:Cn.pathId,onReplyDiscuss:bn})))};var Ht=(0,oe.connect)(({shixunsDetail:Ut,loading:Qt,globalSetting:Cn})=>({shixunsDetail:Ut,globalSetting:Cn,loading:Qt.models.index}))(Et),Jt=ae(18989);function gn(Ut,Qt=1){return get("/discusses.json",{page:Qt-1,container_identifier:Ut,container_type:"Shixun"})}function Nn(Ut,Qt){return(0,Pe.v_)(`/discusses/${Ut}/top_or_down_discuss.json`,{top:Qt})}function Xn(Ut,Qt){return(0,Pe.v_)(`/discusses/${Ut}/plus.json`,{container_type:"Discuss",type:Qt?1:0})}function gr(Ut,Qt){return(0,Pe.v_)(`/discusses/${Ut}/hidden.json`,Qt)}function br(Ut,Qt){return(0,Pe.v_)(`/discusses/${Ut}/reward_code.json`,Qt)}function Yn(Ut){return(0,Pe.ZP)(`/api/discusses/${Ut}.json`,{method:"delete"})}function hr(Ut,Qt){return(0,Pe.v_)(`/discusses/${Ut}/reply.json`,{container_type:"Shixun",content:Qt})}function Wn(Ut){return post("/discusses.json",Ut)}var xn=ae(56375),Pn=ae(32042),Tn=ae(99936);function An({data:Ut,index:Qt,adminOrOperator:Cn,parentDiscussIndex:Vt,shixunIdentifier:jt,isDelete:hn,user:wn,onSetRewardData:bn,onSetActionType:In,params:Fn,deleteCommentAlert:Zn,shixunName:Mn,keywords:Gn}){const{author:sr,can_delete:jn,manage:ir,content:Dr,hidden:Tr,id:Wr,reward:vr,time:Ir}=Ut;function _r(){bn({id:Wr,index:Qt,user_id:sr.user_id,parentDiscussIndex:Vt})}function mr(){In({id:Wr,index:Qt,params:{hidden:Tr?"0":"1",container_identifier:jt},type:"hidden-discuss",parentDiscussIndex:Vt,message:Tr?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}function Gr(){if(Zn){de.default.info({title:"\u63D0\u793A",content:b.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",Mn,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}In({id:Wr,index:Qt,type:"delete-discuss",parentDiscussIndex:Vt,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}return b.createElement("div",{className:"second-level-discuss"},b.createElement("div",{className:"discuss-info-body"},b.createElement("div",{className:"discuss-info"},b.createElement("a",{href:`/users/${sr.login}`,target:"_blank"},sr.name),b.createElement("span",{className:"grey"},Ir),vr?b.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${vr}`},b.createElement("i",{className:"iconfont icon-gift c-orange "}),b.createElement("span",null,vr)):null),b.createElement("div",{className:Gn?"hidden":"btn-group"},Cn?b.createElement("a",{onClick:_r,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},b.createElement("i",{className:"iconfont icon-jiangli"})):null,Cn?b.createElement("a",{onClick:mr,title:Tr?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},b.createElement("i",{className:Tr?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,ir?b.createElement("a",{onClick:Gr,title:"\u5220\u9664"},b.createElement("i",{className:"iconfont icon-shanchu"})):null)),b.createElement(xn.Z,{className:"discuss-content",value:Dr,highlightKeywords:Gn}))}var zn=({data:Ut,index:Qt,shixunIdentifier:Cn,adminOrOperator:Vt,identity:jt,onTopOrDownDiscuss:hn,onPlusDiscuss:wn,onSetActionType:bn,onSetRewardData:In,user:Fn,isDelete:Zn,activeDiscussIndex:Mn,onReplyDiscuss:Gn,onSetActiveDiscussIndex:sr,params:jn,keywords:ir})=>{const{content:Dr,children:Tr,game_url:Wr,hidden:vr,id:Ir,position:_r,praise_count:mr,reward:Gr,sticky:Fr,time:gi,user_praise:Xr,game_passed:$r,delete_comment_alert:ti,author:oi,shixun_name:kr,manage:Vr}=Ut;function Cr(){sr(Ir)}function _n(){hn(Ir,!Fr,Qt)}function ur(){wn(Ir,!Xr,Qt)}function fr(){In({id:Ir,index:Qt,user_id:oi.user_id})}function Qn(){if(ti){de.default.info({title:"\u63D0\u793A",content:b.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",kr,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}bn({id:Ir,index:Qt,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function Pr(){bn({id:Ir,index:Qt,params:{hidden:vr?"0":"1",container_identifier:Cn},type:"hidden-discuss",message:vr?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Mr=Kt=>{let{nodeName:On,src:$n}=Kt.target;On==="IMG"&&(Tn.Z.publish("preview-image",$n),console.log("src:",$n))};return b.createElement("div",{className:"discuss-item-container",key:Ir},b.createElement("a",{href:`/users/${oi.login}`,target:"_blank"},b.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${Ie.Z.IMG_SERVER}/images/${oi.image_url}`,width:"50"})),b.createElement("section",null,b.createElement("div",{className:"discuss-info"},b.createElement("a",{href:`/users/${oi.login}`,target:"_blank"},oi.name),b.createElement("span",{className:"grey"},gi),_r?b.createElement("span",{className:"c-green"}," [\u7B2C",_r,"\u5173] "):null,Wr?b.createElement("a",{href:Wr,target:"_blank",className:"view-code",title:"\u70B9\u51FB\u67E5\u770BTA\u7684\u4EE3\u7801\u9875\u9762"},"\u67E5\u770B"):null,Gr?b.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${Gr}`},b.createElement("i",{className:"iconfont icon-gift c-orange "}),b.createElement("span",null,Gr)):null,jt<=5?b.createElement("span",{style:{flex:"1",textAlign:"right",color:$r===1?"#29bd8b":""}},$r||$r===0?$r===1?"\u5DF2\u901A\u5173":"\u672A\u901A\u5173":""):null),b.createElement("div",{onClick:Mr},b.createElement(xn.Z,{className:"discuss-content",value:Dr,highlightKeywords:ir})),Tr&&Tr.length>0?b.createElement("div",{className:"reply-discuss-container",onClick:Mr},Tr.map((Kt,On)=>b.createElement(An,{key:Kt.id,data:Kt,index:On,deleteCommentAlert:ti,shixunName:kr,shixunIdentifier:Cn,adminOrOperator:Vt,user:Fn,isDelete:Zn,onSetRewardData:In,onSetActionType:bn,parentDiscussIndex:Qt,keywords:ir}))):null,b.createElement("div",{className:ir?"hidden":"btn-group"},Vt?b.createElement("a",{onClick:fr,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},b.createElement("i",{className:"iconfont icon-jiangli"})):null,Vt?b.createElement("a",{onClick:Pr,title:vr?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},b.createElement("i",{className:vr?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Vr&&(!Tr||Tr.length==0)&&b.createElement("a",{onClick:Qn,title:"\u5220\u9664"},b.createElement("i",{className:"iconfont icon-shanchu"})),b.createElement("a",{onClick:Cr,title:"\u56DE\u590D"},b.createElement("i",{className:"iconfont icon-huifu1"})),b.createElement("a",{onClick:ur,className:Xr?"c-orange":""},b.createElement("i",{className:Xr?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),b.createElement("span",null,mr||""))),b.createElement(un,{id:Ir,params:jn,activeDiscussIndex:Mn,onReplyDiscuss:Gn})))},Kn=Object.defineProperty,er=Object.defineProperties,wr=Object.getOwnPropertyDescriptors,Sr=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,Br=(Ut,Qt,Cn)=>Qt in Ut?Kn(Ut,Qt,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Ut[Qt]=Cn,jr=(Ut,Qt)=>{for(var Cn in Qt||(Qt={}))Er.call(Qt,Cn)&&Br(Ut,Cn,Qt[Cn]);if(Sr)for(var Cn of Sr(Qt))Nr.call(Qt,Cn)&&Br(Ut,Cn,Qt[Cn]);return Ut},Rr=(Ut,Qt)=>er(Ut,wr(Qt)),Ln=(Ut,Qt,Cn)=>new Promise((Vt,jt)=>{var hn=In=>{try{bn(Cn.next(In))}catch(Fn){jt(Fn)}},wn=In=>{try{bn(Cn.throw(In))}catch(Fn){jt(Fn)}},bn=In=>In.done?Vt(In.value):Promise.resolve(In.value).then(hn,wn);bn((Cn=Cn.apply(Ut,Qt)).next())});const tr={showRewardDialog:!1,data:null,page:1,loading:!1,actionType:null,activeDiscussIndex:null};function Ar(Ut,Qt){switch(Qt.type){case Jt.tD:return Rr(jr({},Ut),{loading:!0});case Jt.RS:return Rr(jr({},Ut),{showRewardDialog:!0});case Jt.t2:return Rr(jr({},Ut),{showRewardDialog:!1});case Jt.GR:return jr(jr({},Ut),Qt.payload);case Jt.u8:return jr(jr({},Ut),Qt.payload);case Jt.rM:return jr(jr({},Ut),Qt.payload);case Jt.yS:return jr(jr({},Ut),Qt.payload);case Jt.Vn:return jr(jr({},Ut),Qt.payload);case Jt.SX:return jr(jr({},Ut),Qt.payload);default:throw new Error}}var yr=({shixunIdentifier:Ut,identity:Qt,activeIndex:Cn,user:Vt,isShixunDetail:jt=!1,isDelete:hn,getTypeNumber:wn,params:bn,getData:In,isNotDiscuss:Fn,keywords:Zn,setTypeCount:Mn})=>{const[Gn,sr]=(0,b.useReducer)(Ar,tr),{page:jn,loading:ir,data:Dr,actionType:Tr,showRewardDialog:Wr,activeDiscussIndex:vr}=Gn,Ir=(0,b.useRef)(),_r=(0,b.useRef)();function mr(Kt){return Ln(this,null,function*(){if(!ir)try{sr({type:Jt.tD});const On=yield(0,gt.Mu)({coursesId:bn==null?void 0:bn.pathId,page:Kt,keywords:Zn});Mn(On==null?void 0:On.disscuss_count),sr({type:Jt.GR,payload:{activeDiscussIndex:null,page:Kt,data:On,loading:!1}})}catch(On){console.log(On)}})}function Gr(Kt){document.body.scrollIntoView(),mr(Kt)}function Fr(Kt,On,$n){return Ln(this,null,function*(){try{const pr=yield Xn(Kt,On);Qn[$n].user_praise=On,Qn[$n].praise_count=pr.praise_count,sr({type:Jt.rM,payload:{data:Rr(jr({},Dr),{comments:Qn})}})}catch(pr){console.log(pr)}})}function gi(Kt,On,$n){return Ln(this,null,function*(){try{yield Nn(Kt,On),Qn[$n].sticky=On,sr({type:Jt.u8,payload:{data:Rr(jr({},Dr),{comments:Qn})}})}catch(pr){console.log(pr)}})}function Xr(){sr({type:Jt.yS,payload:{actionType:null}})}function $r(){return Ln(this,null,function*(){const{id:Kt,params:On,type:$n,index:pr,parentDiscussIndex:zr}=Tr;if($n==="hidden-discuss"&&(yield gr(Kt,On),zr?Qn[zr].children[pr].hidden=On.hidden==1:Qn[pr].hidden=On.hidden==1,sr({type:Jt.yS,payload:{actionType:null,data:Rr(jr({},Dr),{comments:Qn})}})),$n==="delete-discuss"){if(yield Yn(Kt),zr||zr===0){let Qr=Qn[zr].children;for(let Yr=Qr.length-1;Yr>=0;Yr--)if(Qr[Yr].id===Kt){Qr.splice(Yr,1);break}Qn[zr].children=Qr}else for(let Qr=Qn.length-1;Qr>=0;Qr--)if(Qn[Qr].id===Kt){Qn.splice(Qr,1);break}sr({type:Jt.yS,payload:{actionType:null,data:Rr(jr({},Dr),{comments:Qn})}})}})}function ti(Kt){sr({type:Jt.yS,payload:{actionType:Kt}})}function oi(){sr({type:Jt.t2})}function kr(){return Ln(this,null,function*(){const{id:Kt,index:On,score:$n,user_id:pr,parentDiscussIndex:zr}=Ir.current,Qr=yield br(Kt,{container_type:"Discusses",score:$n,user_id:pr});zr?Qn[zr].children[On].reward=Qr.code:Qn[On].reward=Qr.code,sr({type:Jt.Vn,payload:{showRewardDialog:!1,data:Rr(jr({},Dr),{comments:Qn})}}),Ir.current=null})}function Vr(Kt){Ir.current=Kt,sr({type:Jt.RS})}function Cr(Kt){Ir.current.score=Kt}function _n(Kt,On){return Ln(this,null,function*(){try{yield hr(Kt,On),mr(jn),In()}catch($n){console.log($n)}})}function ur(Kt){sr(vr===Kt?{type:Jt.SX,payload:{activeDiscussIndex:null}}:{type:Jt.SX,payload:{activeDiscussIndex:Kt}})}if((0,b.useEffect)(()=>{function Kt(){return Ln(this,null,function*(){Cn===3&&!Dr&&Ut&&(yield mr(jn))})}Kt()},[bn.pathId,Zn]),(0,b.useEffect)(()=>{mr()},[Zn]),!Dr)return!jt&&b.createElement(nn.Z,null);const{disscuss_count:fr,comments:Qn,all:Pr,can_hidden:Mr}=Dr;return b.createElement(b.Fragment,null,b.createElement("div",{className:"discuss-container discuss-warp-container",ref:_r},!jt&&ir?b.createElement(nn.Z,null):null,fr===0?b.createElement("div",{style:{display:"flex"}},b.createElement(qt.Z,null)):null,(0,_e.bg)()&&!Fn&&!Zn&&b.createElement(Ht,{getTypeNumber:wn,upDataList:mr,page:jn,user:Vt,params:bn,keywords:Zn}),b.createElement("aside",{className:"bg-white"},Qn==null?void 0:Qn.map((Kt,On)=>b.createElement(zn,{user:Vt,key:Kt.id,data:Kt,index:On,identity:Qt,onPaginationChange:Gr,shixunIdentifier:Ut,isDelete:hn,onSetActionType:ti,onTopOrDownDiscuss:gi,adminOrOperator:Mr,onPlusDiscuss:Fr,onSetRewardData:Vr,activeDiscussIndex:vr,onSetActiveDiscussIndex:ur,onReplyDiscuss:_n,keywords:Zn}))),fr>10?b.createElement("div",{className:"pagination-container tc"},b.createElement(be.Z,{showQuickJumper:!0,showSizeChanger:!1,onChange:Gr,current:jn,total:fr})):null),b.createElement(Lt.Z,null,b.createElement(de.default,{centered:!0,title:"\u63D0\u793A",open:!!Tr,onOk:$r,onCancel:Xr},b.createElement("p",null,Tr?Tr.message:"")),b.createElement(de.default,{centered:!0,width:400,title:"\u5956\u52B1\u8BBE\u7F6E",open:Wr,onCancel:oi,onOk:kr},b.createElement(Wt.Z,{placeholder:"\u8BF7\u8F93\u5165\u5956\u52B1\u7684\u91D1\u5E01\u6570\u91CF",min:1,onChange:Cr,style:{width:"228px"}}))))},Zt=ae(29596),St=ae(59301),Ot=Object.defineProperty,Gt=Object.defineProperties,kt=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,on=(Ut,Qt,Cn)=>Qt in Ut?Ot(Ut,Qt,{enumerable:!0,configurable:!0,writable:!0,value:Cn}):Ut[Qt]=Cn,cn=(Ut,Qt)=>{for(var Cn in Qt||(Qt={}))xt.call(Qt,Cn)&&on(Ut,Cn,Qt[Cn]);if(Pt)for(var Cn of Pt(Qt))en.call(Qt,Cn)&&on(Ut,Cn,Qt[Cn]);return Ut},Yt=(Ut,Qt)=>Gt(Ut,kt(Qt)),$t=(Ut,Qt)=>{var Cn={};for(var Vt in Ut)xt.call(Ut,Vt)&&Qt.indexOf(Vt)<0&&(Cn[Vt]=Ut[Vt]);if(Ut!=null&&Pt)for(var Vt of Pt(Ut))Qt.indexOf(Vt)<0&&en.call(Ut,Vt)&&(Cn[Vt]=Ut[Vt]);return Cn},Xt=(Ut,Qt,Cn)=>new Promise((Vt,jt)=>{var hn=In=>{try{bn(Cn.next(In))}catch(Fn){jt(Fn)}},wn=In=>{try{bn(Cn.throw(In))}catch(Fn){jt(Fn)}},bn=In=>In.done?Vt(In.value):Promise.resolve(In.value).then(hn,wn);bn((Cn=Cn.apply(Ut,Qt)).next())});const fn=Ut=>{var Qt=Ut,{classroomList:Cn,user:Vt,globalSetting:jt,loading:hn,dispatch:wn}=Qt,bn=$t(Qt,["classroomList","user","globalSetting","loading","dispatch"]),In;const Fn=(0,oe.useParams)(),{detailTopBanner:Zn}=Cn,[Mn,Gn]=(0,b.useState)([]),[sr,jn]=(0,b.useState)({}),[ir,Dr]=(0,b.useState)(-1),[Tr,Wr]=(0,b.useState)(!1),[vr,Ir]=(0,b.useState)({name:"",is_jupyter:!1}),[_r]=ye.default.useForm(),[mr]=ye.default.useForm(),[Gr]=ye.default.useForm(),[Fr,gi]=(0,b.useState)(!1),[Xr,$r]=(0,b.useState)(),[ti,oi]=(0,b.useState)([]),[kr,Vr]=(0,b.useState)(),[Cr,_n]=(0,b.useState)("All"),[ur,fr]=(0,b.useState)(!0),[Qn,Pr]=(0,b.useState)(0),[Mr,Kt]=(0,b.useState)(""),[On,$n]=(0,b.useState)(0),[pr,zr]=(0,b.useState)([{name:"\u5168\u90E8",totalName:"\u8BFE\u7A0B\u5B66\u4E60",type:"All",number:0},{name:"\u5B9E\u8DF5\u9879\u76EE",totalName:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",number:0},{name:"\u89C6\u9891\u9879\u76EE",totalName:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",number:0},{name:"\u6559\u5B66\u8BFE\u4EF6",totalName:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",number:0},{name:"\u8BA8\u8BBA",totalName:"\u8BA8\u8BBA",type:"Discusses",number:0},{name:"\u5173\u5361",totalName:"\u5173\u5361",type:"challenges_count",number:0}]),Qr=(0,b.useRef)();(0,b.useEffect)(()=>{li()},[Fn==null?void 0:Fn.coursesId]),(0,b.useEffect)(()=>{Cn.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&li()},[Cn.actionTabs.key]),(0,b.useEffect)(()=>{ki()},[sr]),(0,b.useEffect)(()=>{const Jn=Mn.map(qr=>qr.items);let Hr=0;Jn.map(qr=>{qr.map(mo=>{new RegExp(Mr,"ig").test(mo.name)&&(mo.item_type===Cr||Cr==="All")&&Hr++})}),Hr>pr.find(qr=>qr.type===Cr).number&&(Hr=pr.find(qr=>qr.type===Cr).number),$n(Hr)},[Mn,Cr,Mr]),(0,b.useEffect)(()=>{if(!Qr.current)return;function Jn(){var qr;let mo=new ResizeObserver(bo=>{for(let xa of bo);});return mo.observe((qr=Qr.current)==null?void 0:qr.firstElementChild),mo}const Hr=Jn();return()=>{var qr,mo;(qr=Qr.current)!=null&&qr.firstElementChild&&Hr.unobserve((mo=Qr.current)==null?void 0:mo.firstElementChild)}},[Qr.current,Mn]);const Yr=Jn=>Xt(void 0,null,function*(){const Hr=yield(0,Fe.Ex)(cn({},Jn));return Mn[ir].items=Jn.list,Hr}),ki=()=>{const{shixuns_count:Jn=0,videos_count:Hr=0,pdf_attachments_count:qr=0,disscuss_count:mo=0,challenges_count:bo=0}=sr,xa={All:Jn+Hr+qr+bo,Shixun:Jn,VideoItem:Hr,Attachment:qr,Discusses:mo,challenges_count:bo},ka=pr.map(wo=>Yt(cn({},wo),{number:xa[wo.type]}));zr(ka)},or=Jn=>{var Hr;ir===-1?(Kt((Hr=decodeURIComponent(Jn))==null?void 0:Hr.trim()),Dr(-1)):De.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")},Di=Jn=>Xt(void 0,null,function*(){wn({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Hr=yield(0,xe.Ir)({id:Jn});if(wn({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Hr!=null&&Hr.game_identifier){(0,ue.xg)(`/tasks/${Hr.game_identifier}`);return}(Hr==null?void 0:Hr.status)===2?mi(Hr==null?void 0:Hr.message):(Hr==null?void 0:Hr.status)===3&&Ii(Hr==null?void 0:Hr.message)}),mi=Jn=>{Jn=Jn!=null&&Jn.includes(".json")?Jn:`${Jn}.json`,de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:St.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Xt(void 0,null,function*(){const Hr=yield(0,Nt.L8)({url:Jn});if(!Hr)return;De.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const qr=yield(0,xe.Ir)({id:Hr.shixun_identifier});if(qr!=null&&qr.game_identifier){(0,ue.xg)(`/tasks/${qr.game_identifier}`);return}(qr==null?void 0:qr.status)===2?mi(qr==null?void 0:qr.message):(qr==null?void 0:qr.status)===3&&Ii(qr==null?void 0:qr.message)})})},Ii=Jn=>{de.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:St.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Jn,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Bi=()=>{const Jn={shixuns_list:[],items:[]};so(Mn.length,Jn),Gn([...Mn,Jn]),$r(!0)},Si=()=>{ir===Mn.length-1&&Xr&&(Zo(),Gn(Mn.filter((Jn,Hr)=>Hr!==Mn.length-1))),li(),Dr(-1)},so=(Jn,Hr)=>{Fo()&&(Dr(Jn),_r.setFieldsValue({name:Hr.stage_name,description:Hr.stage_description}))},Co=Jn=>{var Hr;setTimeout(()=>{document.documentElement.scrollTop=Qn},300),Jn!=="\u53D6\u6D88"&&(Mn[ir].items=(Hr=Mn[ir].items)==null?void 0:Hr.concat(Jn),Gn([...Mn]))},$i=Jn=>{var Hr;Jn.map(qr=>(qr.type="Attachment",qr.id=qr.id||qr.response.id,qr.url=`/api/attachments/${qr.id||qr.response.id}`,qr)),Mn[ir].items=(Hr=Mn[ir].items)==null?void 0:Hr.concat(Jn),Gn([...Mn])},Ji=Jn=>Xt(void 0,null,function*(){const Hr=yield(0,Fe.A2)(cn({id:Mn[ir].stage_id,course_id:Fn.coursesId},Jn));if(Hr.id){Vr(!1);const qr=[cn({},Hr)];Mn[ir].items=Mn[ir].items.concat(qr),Gn([...Mn])}return Hr}),li=()=>Xt(void 0,null,function*(){fr(!0);const Jn=yield(0,Fe.R7)({coursesId:Fn==null?void 0:Fn.coursesId});Jn!=null&&Jn.stages&&Gn(Jn!=null&&Jn.stages?[...Jn==null?void 0:Jn.stages]:[]),jn(Jn?cn({},Jn):{}),fr(!1),Zo(),Dr(-1)}),ci=(Jn,Hr)=>Xt(void 0,null,function*(){var qr;if(!(Jn!=null&&Jn.name))return De.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");Zo();const mo=[];if((qr=Mn[ir][Hr||"shixuns_list"])==null||qr.map(bo=>{mo.push({type:bo.item_type,id:bo.id})}),Xr){const bo=yield(0,Fe.CI)(Yt(cn({},Jn),{coursesId:Fn.coursesId,list:mo}));bo&&(Mn[ir]=cn(cn({},Mn[ir]),bo))}else{const bo=yield(0,Fe.xn)(Yt(cn({},Jn),{id:Mn[ir].stage_id,type:Array.from(new Set(mo.map(xa=>xa.type))),list:mo}));bo&&(Mn[ir]=cn(cn({},Mn[ir]),bo))}}),qi=(Jn,Hr,qr)=>{const mo=Array.from(Jn),[bo]=mo.splice(Hr,1);return mo.splice(qr,0,bo),mo},po=(Jn,Hr)=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u5B9E\u8BAD\u5417\uFF1F",onOk:()=>{Mn[ir][Hr||"shixuns_list"].splice(Jn,1),De.ZP.success("\u5220\u9664\u6210\u529F"),Gn([...Mn]),ci(_r.getFieldsValue(),Hr)}})},Ri=Jn=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>Xt(void 0,null,function*(){(yield(0,Fe._V)({id:Jn})).status===0&&(Dr(-1),De.ZP.success("\u5220\u9664\u6210\u529F"),li())})})},no=Jn=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>Xt(void 0,null,function*(){(yield(0,Fe.WW)(cn({},Jn))).status===0&&(Dr(-1),De.ZP.success("\u5220\u9664\u6210\u529F"),li())})})},lo=()=>{Ir({name:"",is_jupyter:!1}),mr.setFieldsValue({name:"",is_jupyter:!1}),Wr(!1)},Gi=(Jn,Hr)=>{if(!Jn.destination)return;const qr=qi(Mn[ir][Hr||"shixuns_list"],Jn.source.index,Jn.destination.index);Mn[ir][Hr||"shixuns_list"]=qr,Gn([...Mn]),ci(_r.getFieldsValue(),Hr)},fo=Jn=>Xt(void 0,null,function*(){if(!Fo())return;(yield(0,Fe.ms)({id:Jn})).status===0&&li()}),ao=Jn=>Xt(void 0,null,function*(){if(!Fo())return;(yield(0,Fe.yy)({id:Jn})).status===0&&li()}),Fo=()=>ir!==-1?(de.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,title:"\u63D0\u793A",content:St.createElement("div",{className:"tc font14"},"\u5F53\u524D\u5355\u5143\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u8BB0\u5F55\uFF0C\u8BF7\u5148\u4FDD\u5B58\uFF01"),onOk:()=>{const Jn=`Edit_${ir}`;let Hr=document.getElementById(Jn);Hr&&setTimeout(()=>Hr.scrollIntoView({block:"start",behavior:"smooth"}))}}),!1):!0,qo=()=>{ci(_r.getFieldsValue())},Zo=()=>{$r(!1)},Yo=(Jn,Hr,qr)=>St.createElement(ve.Z,{className:"list-item-row",align:"middle",key:Hr,gutter:[5,10]},St.createElement(re.Z,null,Jn.item_type==="Shixun"?St.createElement("i",{className:"iconfont c-green-shixun c-light-primary font20"}):St.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"})),St.createElement(re.Z,{flex:1,className:!Jn.allow_visit&&!Jn.to_be_built&&(Jn.shixun_status==="\u6682\u672A\u516C\u5F00"||Jn.shixun_status==="\u5DF2\u5220\u9664")?Ae.color204:""},qr+1,"-",Hr+1,"\xA0\xA0",Jn.name,ir===-1&&Jn.complete_status===1&&St.createElement("span",{className:Ae.completed},St.createElement("i",{className:"iconfont icon-duigou1 mr5 font12"}),"\u5DF2\u5B8C\u6210")),St.createElement(re.Z,null,ir===qr&&St.createElement("div",null,St.createElement(se.Z,{title:"\u5220\u9664"},St.createElement("span",{onClick:()=>{po(Hr,"shixuns_list")},className:"iconfont icon-shanchu c-grey-c"}))),ir!==qr&&Jn.item_type==="VideoItem"&&St.createElement("aside",null,St.createElement(fe.ZP,{type:"primary",href:Jn.link||`/video/${Jn.id}?course_id=${Fn==null?void 0:Fn.coursesId}`,target:"_blank"},Jn.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),(Jn.allow_visit||Jn.to_be_built||Jn.shixun_status!=="\u6682\u672A\u516C\u5F00"&&Jn.shixun_status!=="\u5DF2\u5220\u9664")&&ir!==qr&&Jn.item_type==="Shixun"&&St.createElement("aside",null,St.createElement(oe.Link,{to:`/shixuns/${Jn.identifier}/challenges`,target:"_blank"},"\u67E5\u770B\u8BE6\u60C5"),Jn.shixun_status!=="\u6682\u672A\u516C\u5F00"&&St.createElement(fe.ZP,{className:"ml20",type:"primary",onClick:()=>{(0,Xe.tJ)(wn)&&Di(Jn.identifier)}},"\u5F00\u59CB\u5B9E\u6218")),ir===-1&&!Jn.allow_visit&&Jn.shixun_status==="\u6682\u672A\u516C\u5F00"&&St.createElement("span",{className:Ae.color204},"\u6682\u672A\u516C\u5F00"),ir===-1&&!Jn.allow_visit&&Jn.shixun_status==="\u5DF2\u5220\u9664"&&St.createElement("span",{className:Ae.color204},"\u5DF2\u5220\u9664"),ir===-1&&Jn.allow_visit&&Jn.item_type==="Shixun"&&St.createElement("span",{className:`${Ae.color204} ml5 experiment-number`},"\u5B9E\u9A8C\u6570 ",Jn.challenges_count))),Wa=(Jn,Hr)=>{var qr,mo,bo,xa;if(Cr!=="All"&&!((qr=Jn.stage_tag)!=null&&qr.includes(Cr)))return null;const ka=Jn.items.filter(wo=>{var ya,Ga;return new RegExp(Mr,"ig").test(wo.name)&&(wo.item_type===Cr||Cr==="All"||((Ga=(ya=wo==null?void 0:wo.children)==null?void 0:ya.filter(Xa=>{var Ss,js;return Xa.item_type===Cr||Cr==="All"||((js=(Ss=Xa==null?void 0:Xa.children)==null?void 0:Ss.filter(la=>la.item_type===Cr||Cr==="All"))==null?void 0:js.length)>0}))==null?void 0:Ga.length)>0)});return Mr&&(ka!=null&&ka.length)||!Mr?St.createElement("section",{key:Hr,className:"bg-white pt30 mb20 pb20 pl10 pr10"},St.createElement("aside",{className:"pl20 pr20"},St.createElement(ve.Z,{gutter:[5,20],align:"middle",style:{lineHeight:"16px"}},St.createElement(re.Z,{flex:"22px"},St.createElement("span",{className:Ae.icons},St.createElement("i",{className:"iconfont icon-zhangjie2 font18"}))),St.createElement(re.Z,{flex:1,className:"tl font18 bold c-grey-333"},Jn.stage_name||`\u7B2C${Mn==null?void 0:Mn.length}\u90E8\u5206`),St.createElement(re.Z,null,(0,_e.GJ)()&&ir===Hr&&!Xr&&St.createElement(se.Z,{title:"\u5220\u9664"},St.createElement("span",{onClick:()=>{Ri(Jn.stage_id)},className:"iconfont icon-shanchu c-grey-c"})),(0,_e.GJ)()&&ir!==Hr&&Cr==="All"&&!Mr&&St.createElement("div",null,Hr>0&&St.createElement(se.Z,{title:"\u5411\u4E0A\u79FB\u52A8"},St.createElement("span",{onClick:()=>fo(Jn.stage_id),className:"iconfont icon-xiangshangyi c-light-green font18 current"})),Hr<Mn.length-1&&St.createElement(se.Z,{title:"\u5411\u4E0B\u79FB\u52A8"},St.createElement("span",{onClick:()=>ao(Jn.stage_id),className:"iconfont icon-xiangxiayi c-light-green font18 current ml5"})),!Xr&&St.createElement(se.Z,{title:"\u7F16\u8F91"},St.createElement("span",{onClick:()=>so(Hr,Jn),className:"iconfont icon-bianjidaibeijing c-light-green font20 current ml5"}))))),!!Jn.stage_description&&St.createElement("div",{style:{marginTop:12}},St.createElement("div",{ref:Qr,className:`${Ae.introContent} ${Jn!=null&&Jn.showReadFull?"":Ae.introContentMaxHeight}`},St.createElement(xn.Z,{value:Jn==null?void 0:Jn.stage_description})),(Jn==null?void 0:Jn.showExpansion)&&St.createElement("div",{onClick:wo=>{Mn[Hr].showReadFull=!(Jn!=null&&Jn.showReadFull),Gn([...Mn])}},St.createElement(E.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},St.createElement("a",{className:`font14 ${Ae.color999}`},Jn!=null&&Jn.showReadFull?"\u6536\u8D77\u5168\u6587 ":"\u9605\u8BFB\u5168\u6587 ",St.createElement("i",{className:`iconfont font14 ${Jn!=null&&Jn.showReadFull?"icon-changyongtubiao-xianxingdaochu-zhuanqu-":"icon-jiantou9"}`})))))),ir===Hr&&St.createElement("div",{className:"pl20 pr20 pt20"},St.createElement("aside",null,St.createElement(ye.default.Item,{name:"name",label:"\u540D\u79F0",rules:[{required:!0,message:"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},St.createElement(te.default,{size:"middle",maxLength:60,placeholder:`\u8BF7\u8F93\u5165\u7B2C${Mn==null?void 0:Mn.length}\u9636\u6BB5\u540D\u79F0,\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26`,onBlur:qo})),St.createElement(ye.default.Item,{name:"description",label:"\u63CF\u8FF0",rules:[{required:!0,message:"\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A"}]},St.createElement(te.default.TextArea,{rows:5,maxLength:300,placeholder:`\u8BF7\u8F93\u5165\u7B2C${Mn==null?void 0:Mn.length}\u9636\u6BB5\u63CF\u8FF0`,onBlur:qo}))),St.createElement("aside",{style:{display:"flex",justifyContent:"space-evenly"}},St.createElement(fe.ZP,{size:"middle",className:"mt10",onClick:()=>{if(!Mn[ir].stage_id)return De.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,Xe.tJ)(wn)&&(0,Xe.xY)()&&(Wr(!0),mr.setFieldsValue({name:"",is_jupyter:!1}))}},St.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE"),St.createElement("br",null),St.createElement(fe.ZP,{size:"middle",className:"mt10",onClick:()=>{var wo;if(!Mn[ir].stage_id)return De.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");Pr(document.documentElement.scrollTop),wn({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",id:Mn[ir].stage_id,course_id:Fn.coursesId}}),oi((wo=Jn==null?void 0:Jn.shixuns_list)==null?void 0:wo.map(ya=>ya.id))}},St.createElement("span",{className:"iconfont icon-tianjiafangda mr5"}),"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"),St.createElement("br",null),!((mo=jt==null?void 0:jt.setting)!=null&&mo.is_local)&&St.createElement(St.Fragment,null,St.createElement(fe.ZP,{size:"middle",className:"mt10",onClick:()=>{var wo,ya;if(!Mn[ir].stage_id)return De.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");((wo=Vt.userInfo)!=null&&wo.admin||(ya=Vt.userInfo)!=null&&ya.is_teacher&&(0,Xe.O5)())&&Vr(!0)}},St.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE"),St.createElement("br",null)),St.createElement(fe.ZP,{size:"middle",className:"mt10",onClick:()=>{if(!Mn[ir].stage_id)return De.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,Xe.tJ)(wn)&&(0,Xe.xY)()&&(gi(!0),Gr.resetFields())}},St.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6"),St.createElement("br",null)),St.createElement("aside",{className:"c-light-black mt10 pb20",id:`Edit_${Hr}`},"\u4E0B\u9762\u5B9E\u8BAD\u53EF\u4EE5\u901A\u8FC7\u62D6\u62FD\u8FDB\u884C\u6392\u5E8F\u8C03\u6574")),!!((bo=Jn.attachments_list)!=null&&bo.length)&&St.createElement(E.Z,null),St.createElement("aside",{className:Ae.shixuns},ir===Hr?St.createElement(we.Z5,{onDragEnd:wo=>Gi(wo,"attachments_list")},St.createElement(we.bK,{droppableId:"droppable-id2"},(wo,ya)=>{var Ga;return St.createElement("div",Yt(cn({className:"mt20",ref:wo.innerRef},wo.droppableProps),{onScroll:()=>{}}),(Ga=Jn.attachments_list)==null?void 0:Ga.map(function(Da,Xa){return St.createElement(we._l,{draggableId:`${Da.id.toString()}-${Hr}-${Xa}`,index:Xa,key:Da.id},(Ss,js)=>St.createElement("div",cn(cn({ref:Ss.innerRef},Ss.draggableProps),Ss.dragHandleProps),St.createElement(ve.Z,{className:"list-item-row",align:"middle",key:Xa,gutter:[5,10]},St.createElement(re.Z,null,St.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),St.createElement(re.Z,{flex:"1"},St.createElement("a",{className:"c-grey-333",href:Ie.Z.IMG_SERVER+Da.url,target:"_blank"},Da.name)),St.createElement(re.Z,null,ir===Hr&&St.createElement("div",null,St.createElement(se.Z,{title:"\u5220\u9664"},St.createElement("span",{onClick:()=>{po(Xa,"attachments_list")},className:"iconfont icon-shanchu c-grey-c"})))))))}))})):St.createElement("div",{className:"mt20"},(xa=Jn.attachments_list)==null?void 0:xa.map(function(wo,ya){return St.createElement("div",null,St.createElement(ve.Z,{className:"list-item-row",align:"middle",key:ya,gutter:[5,10]},St.createElement(re.Z,null,St.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),St.createElement(re.Z,null,St.createElement("a",{className:"c-grey-333",href:Ie.Z.IMG_SERVER+wo.url,target:"_blank"},wo.name))))}))),!!(ka!=null&&ka.length)&&St.createElement(rn,{visibleType:Cr,data:[...ka],stage_id:Jn.stage_id,disabled:ir!==Hr,deleteStages:no,updateSort:Yr,subject_id:sr==null?void 0:sr.subject_id,course_id:Fn==null?void 0:Fn.coursesId,index:Hr,cust_seq:!0,hiddenEditBtn:!0,keywords:Mr,isShowSchedule:sr==null?void 0:sr.is_show_schedule,getData:li,showVideoPlay:!0}),ir===Hr&&St.createElement("aside",{className:Ae.buttons},St.createElement(fe.ZP,{onClick:Si,type:"primary",size:"middle",ghost:!0},"\u53D6\u6D88"),St.createElement(fe.ZP,{onClick:Si,size:"middle",type:"primary"},"\u4FDD\u5B58"))):null},os=Jn=>{if(Jn){let qr=0;for(var Hr=0;Hr<Jn.length;Hr++)Jn.charCodeAt(Hr)>127||Jn.charCodeAt(Hr)==94?qr+=2:qr++;return qr}else return 0},Hi=()=>{var Jn;for(let Hr in Mn)os((Jn=Mn[Hr])==null?void 0:Jn.stage_description)>424?Mn[Hr].showExpansion=!0:Mn[Hr].showExpansion=!1;return Mn==null?void 0:Mn.map(function(Hr,qr){return St.createElement("div",{key:qr},Wa(Hr,qr))})},{start_date:ro,course_end:Zi}=Zn,Vi=Zi||Oe()(Oe()().format("L")).valueOf()<Oe()(ro).valueOf(),ho=()=>{};return St.createElement("section",{className:"mb50"},St.createElement(st,{data:sr,dispatch:wn,onReloadData:li}),St.createElement("aside",{style:{justifyContent:"space-between",display:"flex",background:"#fff",alignItems:"center",paddingRight:"20px"}},St.createElement("div",{className:Ae.actionTabs},pr.map(function(Jn,Hr){if(Mn!=null&&Mn.some(qr=>{var mo;return(mo=qr.stage_tag)==null?void 0:mo.includes(Jn.type)})||Jn.type=="All"||Jn.type==="Discusses")return St.createElement("div",{key:Hr,className:Jn.type===Cr?Ae.tabActive:Ae.tab,onClick:()=>{ir===-1?(_n(Jn.type),Dr(-1)):De.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")}},St.createElement("div",{className:Ae.s1},Jn.name))})),St.createElement("div",{style:{display:"flex",justifyContent:"center"}},St.createElement(Zt.t7,{style:{width:222,marginTop:"-3px"},className:(0,_e.G5)()?"mr20":"",placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onChange:or}),(0,_e.G5)()&&St.createElement(fe.ZP,{type:"primary",onClick:()=>Xt(void 0,null,function*(){de.default.confirm({title:"\u63D0\u793A",content:"\u540C\u6B65\u5F00\u653E\u8BFE\u7A0B\u8D44\u6E90\u540E\uFF0C\u4F1A\u9020\u6210\u5728\u7EBF\u5B66\u4E60\u5185\u6240\u6709\u8D44\u6E90\u5F3A\u5236\u540C\u6B65\u4E3A\u6700\u65B0\u5F00\u653E\u8BFE\u7A0B\u5185\u5BB9\uFF0C\u662F\u5426\u7EE7\u7EED\u540C\u6B65\uFF1F",okText:"\u540C\u6B65",cancelText:"\u53D6\u6D88",onOk:()=>Xt(void 0,null,function*(){(yield(0,Pe.ZP)("/api/courses/sync_stages.json",{method:"post",body:{classroom_identifier:Fn==null?void 0:Fn.coursesId}})).status===0&&li()})})})},"\u66F4\u65B0"))),St.createElement("div",{className:Ae.total},"\u5171",St.createElement("span",null,Mr?On:pr.find(Jn=>Jn.type===Cr).number),"\u4E2A",pr.find(Jn=>Jn.type===Cr).totalName),Mr&&On===0&&Cr!=="Discusses"&&St.createElement(qt.Z,{styles:{margin:"0 auto",padding:"100px 0",backgroundColor:"#fff"}}),St.createElement(ne.Z,{loading:ur,active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},Cr!=="Discusses"&&St.createElement(St.Fragment,null,St.createElement(ye.default,{form:_r,onFinish:ci},Hi),(0,_e.GJ)()&&!Xr&&Cr==="All"&&ir===-1&&!Mr&&St.createElement("div",{className:Ae.addStage,onClick:Bi},St.createElement("span",{className:Ae.color4CA},"+\u70B9\u51FB\u65B0\u5EFA\u9636\u6BB5"),"\uFF08\u6DFB\u52A0\u4E00\u4E2A\u6216\u591A\u4E2A\u5B9E\u8BAD/\u89C6\u9891\u9879\u76EE\uFF0C\u7EC4\u6210\u4E00\u4E2A\u9636\u6BB5\uFF09"))),Cr==="Discusses"&&St.createElement("aside",{style:{paddingTop:25,background:"#fff"}},St.createElement(yr,{activeIndex:3,isNotDiscuss:Vi,getData:li,shixunIdentifier:11,coursesId:Fn==null?void 0:Fn.coursesId,params:{pathId:Fn==null?void 0:Fn.coursesId},identity:(In=Vt.userInfo)==null?void 0:In.role,getTypeNumber:ki,user:Vt.userInfo,isShixunDetail:!0,keywords:Mr,setTypeCount:$n})),St.createElement(de.default,{centered:!0,title:"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE",open:Tr,onOk:()=>Xt(void 0,null,function*(){yield mr.validateFields();const Jn=yield(0,Fe.vf)(cn({id:Mn[ir].stage_id,course_id:Fn.coursesId},vr));lo(),Jn.id&&(De.ZP.success("\u6DFB\u52A0\u6210\u529F"),Co([Jn]))}),onCancel:lo},St.createElement(ye.default,{form:mr,onValuesChange:Jn=>{Ir(cn(cn({},vr),Jn))}},St.createElement(ye.default.Item,{label:"\u5B9E\u8BAD\u7C7B\u578B",name:"is_jupyter",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B9E\u8BAD\u7C7B\u578B"}]},St.createElement(ge.ZP.Group,null,St.createElement(ge.ZP,{defaultChecked:!0,value:!1},"\u666E\u901A\u5B9E\u8BAD"),St.createElement(ge.ZP,{value:!0},"jupyter\u5B9E\u8BAD"))),St.createElement(ye.default.Item,{label:"\u5B9E\u8BAD\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},St.createElement(te.default,{maxLength:60,suffix:St.createElement("span",null,vr.name.length,"/60")})))),St.createElement(de.default,{centered:!0,title:"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6",open:Fr,onOk:()=>Xt(void 0,null,function*(){yield Gr.validateFields();const Jn=yield Gr.getFieldsValue();(yield(0,Fe.s0)({id:Mn[ir].stage_id,course_id:Fn.coursesId,attachment_ids:Jn.files.map(qr=>qr.response.id)})).status===0&&(De.ZP.success("\u6DFB\u52A0\u6210\u529F"),gi(!1),$i([...Jn.files]))}),onCancel:()=>gi(!1)},St.createElement(ye.default,{form:Gr},St.createElement(ye.default.Item,{label:"\u8BFE\u4EF6\u5185\u5BB9",name:"files",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BFE\u4EF6\u5185\u5BB9"}]},St.createElement(Tt.Z,{maxSize:100,accept:"application/pdf",number:10})),St.createElement(ye.default.Item,{label:"\u77E5\u8BC6\u6807\u7B7E",name:"test_lyl"},St.createElement(te.default,{onClick:()=>ho})),St.createElement("div",null,St.createElement("span",{className:"c-red"},"\u6CE8\u610F\uFF1A"),St.createElement("br",null),"1\u3001\u4E0A\u4F20\u8BFE\u4EF6\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",St.createElement(oe.Link,{target:"_blank",to:"/users/mmipb3zhj/videos/protocol"},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B",St.createElement("br",null),"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7100M\uFF1B",St.createElement("br",null),"3\u3001\u5F53\u524D\u4EC5\u9650\u652F\u6301pdf\u6587\u4EF6\uFF1B",St.createElement("br",null),"4\u3001\u6587\u4EF6\u540D\u5C06\u88AB\u81EA\u52A8\u8BFB\u53D6\u4E3A\u7CFB\u7EDF\u5185\u8BE5\u8BFE\u4EF6\u7684\u540D\u79F0\uFF0C\u4E0A\u4F20\u524D\u8BF7\u6CE8\u610F\u8FD9\u4E00\u70B9\uFF1B",St.createElement("br",null),"5\u3001\u4E00\u6B21\u6700\u591A\u4E0A\u4F2010\u4E2A\u6587\u4EF6\u3002"))),St.createElement(Ue,{shixunIds:ti,cb:Co}),St.createElement(dt.Z,{visible:kr,onCancel:()=>Vr(!1),onOk:Ji}))};var lr=(0,oe.connect)(({classroomList:Ut,user:Qt,loading:Cn,globalSetting:Vt})=>({classroomList:Ut,user:Qt,globalSetting:Vt,loading:Cn.models.index}))(fn)},26386:function(Un,pn,ae){"use strict";ae.d(pn,{$J:function(){return ye},JZ:function(){return de},bN:function(){return re},jP:function(){return ve},rO:function(){return De}});var b=ae(22972),oe=(se,fe,E)=>new Promise((te,ne)=>{var ge=ue=>{try{xe(E.next(ue))}catch(Ee){ne(Ee)}},we=ue=>{try{xe(E.throw(ue))}catch(Ee){ne(Ee)}},xe=ue=>ue.done?te(ue.value):Promise.resolve(ue.value).then(ge,we);xe((E=E.apply(se,fe)).next())});function ye(se){return(0,b.U2)(`libraries/${se}.json`)}function De(){return(0,b.U2)("library_tags.json")}function de(se){return oe(this,null,function*(){return(yield(0,b.IV)(`attachments/${se}.json`)).status===0})}function ve(se){return(0,b.v_)("libraries.json",se)}function re(se,fe){return(0,b.gz)(`libraries/${se}.json`,fe)}},95487:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Te}});var b=ae(59301),oe=ae(63823),ye=ae(37568),De=ae(28284),de=ae(6767),ve=ae(62957),re=ae(89787),se=ae(62673),fe=ae(96599),E={modal:"modal___EKlPQ",uploadWrap:"uploadWrap___YGxav",upload:"upload___ouqG9",uploadLink:"uploadLink___nuif6",fileProgress:"fileProgress___tf4qy",fileCancel:"fileCancel___Bh3Wh",videoName:"videoName___Ra0NM",contentItem:"contentItem___zMdIq","tagsList-content":"tagsList-content___sDVph",zhishidian:"zhishidian___S6hEq",tags_list:"tags_list___VtmRr",tag_item:"tag_item___q4Xrk",tag_icon:"tag_icon___Z6vtJ"},te=ae(21437),ne=ae(1453),ge=ae(10102),we=ae(73606),xe=Object.defineProperty,ue=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Ae=(Ke,We,Ne)=>We in Ke?xe(Ke,We,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Ke[We]=Ne,Re=(Ke,We)=>{for(var Ne in We||(We={}))Ee.call(We,Ne)&&Ae(Ke,Ne,We[Ne]);if(ue)for(var Ne of ue(We))Oe.call(We,Ne)&&Ae(Ke,Ne,We[Ne]);return Ke},Me=(Ke,We,Ne)=>new Promise((Ye,Je)=>{var He=tt=>{try{ct(Ne.next(tt))}catch(Bt){Je(Bt)}},lt=tt=>{try{ct(Ne.throw(tt))}catch(Bt){Je(Bt)}},ct=tt=>tt.done?Ye(tt.value):Promise.resolve(tt.value).then(He,lt);ct((Ne=Ne.apply(Ke,We)).next())});const{TextArea:be}=ye.default,Pe=1024,Fe=(Ke,We)=>{var Ne;const{uploadInfo:Ye={}}=We.payload||{};switch(We.type){case"addVideo":return{videoList:[...Ke.videoList,{name:Ye.file.name,size:Ye.file.size,type:Ye.file.type,fileHash:Ye.fileHash,state:Ye.state,videoId:Ye.videoId,loaded:Ye.loaded||0,title:""}]};case"removeVideo":return{videoList:Ke.videoList.filter(Je=>Je.name!==We.payload.name)};case"removeAll":return{videoList:[]};case"updateProgress":return{videoList:Ke.videoList.map(Je=>Je.name===We.payload.uploadInfo.file.name?Re(Re({},Je),{loaded:We.payload.progressPercent,videoId:Ye.videoId,fileHash:Ye.fileHash}):Je)};case"updateTitle":return{videoList:(Ne=Ke.videoList)==null?void 0:Ne.map(Je=>Je.name===We.payload.item.name?Re(Re({},Je),{title:We.payload.title}):Je)};default:return{videoList:[]}}},_e=({user:Ke,globalSetting:We,loading:Ne,dispatch:Ye,visible:Je,editData:He,onCancel:lt=()=>{},onOk:ct=()=>{},queryParams:tt={}})=>{var Bt;const nt=(0,oe.useParams)(),[Ue]=De.default.useForm(),[Xe,$e]=(0,b.useReducer)(Fe,{videoList:[]}),[qe,Ve]=(0,b.useState)(!1),ht=(0,b.useRef)(),[st,Nt]=(0,b.useState)(),[dt,Tt]=(0,b.useState)(!1),[bt,Ct]=(0,b.useState)(!1),gt=(0,ge.Ny)()?3:1,[je,le]=(0,b.useState)([]);(0,b.useEffect)(()=>{var ot,at,Rt;Je&&He&&(Tt(He.is_link),Nt(He.link),!He.is_link&&$e({type:"addVideo",payload:{uploadInfo:{file:{name:He.filename||""},videoId:He.video_id,loaded:100}}}),Be(((ot=He==null?void 0:He.tags)==null?void 0:ot.map(Ft=>Ft==null?void 0:Ft.name))||[]),le(He==null?void 0:He.tag_disciplines),Ue.setFieldsValue({name:He.name,description:He.description,attachment_id:(at=He==null?void 0:He.video)==null?void 0:at.attachment_id,allow_skip:(Rt=He==null?void 0:He.video_item)==null?void 0:Rt.allow_skip}))},[He,Je]);const ie=()=>{const ot=document.getElementById("fileUpload");ot.value=""},ke=ot=>{var at;Tt(!1);const Rt=ot.target.files[0];if(!Rt){ie();return}const Ft=Rt.name.toLowerCase();if(Ft&&Ft.indexOf(".avi")==-1&&Ft.indexOf(".flv")==-1&&Ft.indexOf(".f4v")==-1&&Ft.indexOf(".m4v")==-1&&Ft.indexOf(".mov")==-1&&Ft.indexOf(".mp4")==-1&&Ft.indexOf(".rmvb")==-1&&Ft.indexOf(".swf")==-1&&Ft.indexOf(".webm")==-1&&Ft.indexOf(".wmv")==-1){de.ZP.info("\u4E0D\u652F\u6301\u7684\u89C6\u9891\u683C\u5F0F"),ie();return}if(Rt.size>Pe*gt*1024*1024){de.ZP.info(`\u89C6\u9891\u5927\u5C0F\u8D85\u8FC7${gt}G`),ie();return}if((at=Xe.videoList)!=null&&at.find(rn=>rn.name===Rt.name)){de.ZP.info("\u4F60\u4E0D\u80FD\u4E0A\u4F20\u540C\u4E00\u4E2A\u89C6\u9891\u6587\u4EF6\u540D\u79F0\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002"),ie();return}Ie(Rt)},Ge=(ot,at)=>{ve.default.confirm({title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:b.createElement("div",{className:"tc"},"\u60A8\u786E\u8BA4\u8981",at?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20","\u8BE5\u89C6\u9891\u5417\uFF1F"),onOk:()=>{ie(),$e({type:"removeVideo",payload:{name:ot}})}})},Ie=ot=>{var at,Rt='{"Vod":{}}';if(Ve(!0),ht.current){ht.current.addFile(ot,null,null,null,Rt);return}(0,te.o)((at=Ke.userInfo)==null?void 0:at.login,"",{create:!ht,addFileSuccess:Ft=>{$e({type:"addVideo",payload:{uploadInfo:Ft}})},onUploadProgress:(Ft,rn,nn)=>{const Lt=Math.ceil(nn*100);$e({type:"updateProgress",payload:{uploadInfo:Ft,progressPercent:Lt}}),ie()},onUploadFailed:Ft=>{de.ZP.info("\u89C6\u9891\u4E91\u670D\u52A1\u51FA\u73B0\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20\u3002")},onUploadEnd:Ft=>{Ve(!1)},onUploadSucceed:Ft=>{Ve(!1)},onUploadError:Ft=>{Ve(!1)},gotUploader:Ft=>{Ft.addFile(ot,null,null,null,Rt),ht.current=Ft}})},pe=()=>Me(void 0,null,function*(){var ot,at;if(yield Ue.validateFields(),!dt&&!((ot=Xe.videoList)!=null&&ot.length)||dt&&!st){de.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u89C6\u9891\u6216\u8005\u6DFB\u52A0\u5916\u94FE");return}Ct(!0);const Rt=dt?{link:st}:{video_id:(at=Xe.videoList)==null?void 0:at[0].videoId},Ft=yield ct(Re(Re(Re({},Rt),tt),{name:Ue.getFieldValue("name"),attachment_id:Ue.getFieldValue("attachment_id"),description:Ue.getFieldValue("description"),tags:Ue.getFieldValue("tag"),tag_discipline_ids:(je==null?void 0:je.length)>0?je==null?void 0:je.map(rn=>rn==null?void 0:rn.id):[],allow_skip:Ue.getFieldValue("allow_skip")}));Ct(!1),Ft!=null&&Ft.id&&x()}),x=()=>{Ue.resetFields(),$e({type:"removeAll"}),Nt(null),Be([]),Tt(null)},me=()=>{lt(),x()},Le=()=>{var ot,at,Rt,Ft,rn,nn,Lt,qt,Wt,Dt,zt,un,mn,Et,Ht,Jt,gn;return b.createElement(b.Fragment,null,!dt&&!!((ot=Xe.videoList)!=null&&ot.length)&&b.createElement("div",{className:E.fileProgress},((Rt=(at=Xe.videoList)==null?void 0:at[0])==null?void 0:Rt.loaded)==100?b.createElement("div",{className:`${E.videoName} font14`},(rn=(Ft=Xe.videoList)==null?void 0:Ft[0])!=null&&rn.videoId?(Lt=(nn=Xe.videoList)==null?void 0:nn[0])==null?void 0:Lt.name:(qt=He==null?void 0:He.video_item)!=null&&qt.is_link?(Wt=He==null?void 0:He.video_item)==null?void 0:Wt.link:(Dt=He==null?void 0:He.video_item)==null?void 0:Dt.file_name):b.createElement(re.Z,{style:{width:"80%"},percent:(un=(zt=Xe.videoList)==null?void 0:zt[0])==null?void 0:un.loaded,status:((Et=(mn=Xe.videoList)==null?void 0:mn[0])==null?void 0:Et.loaded)==100?"normal":"active"}),b.createElement("div",{className:E.fileCancel,onClick:()=>{var Nn,Xn,gr,br;return Ge((Xn=(Nn=Xe.videoList)==null?void 0:Nn[0])==null?void 0:Xn.name,((br=(gr=Xe.videoList)==null?void 0:gr[0])==null?void 0:br.loaded)==100)}},((Jt=(Ht=Xe.videoList)==null?void 0:Ht[0])==null?void 0:Jt.loaded)===100?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20")),!((gn=Xe.videoList)!=null&&gn.length)&&b.createElement("div",{className:E.uploadWrap},b.createElement("label",{htmlFor:"fileUpload",className:E.upload},b.createElement("i",{className:"iconfont icon-shangchuanshipin1 mr5"}),"\u4E0A\u4F20\u89C6\u9891"),b.createElement("label",{className:`${E.upload} ${E.uploadLink}`,onClick:()=>Tt(!0)},b.createElement("i",{className:"iconfont icon-lianjie1 mr5"}),"\u6DFB\u52A0\u5916\u94FE")),dt&&b.createElement(ye.default,{className:"mt5",placeholder:"\u8BF7\u8F93\u5165\u89C6\u9891\u94FE\u63A5",value:st,onChange:Nn=>Nt(Nn.target.value)}))},[Se,Be]=(0,b.useState)([]),Qe=ot=>{if(ot.key=="Enter"){const at=Ue.getFieldValue("tag");if(Ue.setFieldsValue({tag:""}),!at){de.ZP.info("\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A");return}if(Se.filter(Rt=>Rt===at).length>0){de.ZP.info("\u5DF2\u6709\u76F8\u540C\u540D\u79F0\u6807\u7B7E");return}Se.push(at),Be([...Se])}},it=(ot,at)=>{ot.preventDefault(),Be([...Se.filter(Rt=>Rt!=at)])};return b.createElement(ve.default,{centered:!0,maskClosable:!1,destroyOnClose:!0,title:He?"\u7F16\u8F91\u89C6\u9891\u9879\u76EE":"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE",width:740,className:E.modal,open:Je,confirmLoading:bt,onOk:pe,onCancel:me},b.createElement(De.default,{form:Ue},b.createElement("input",{type:"file",id:"fileUpload",style:{display:"none"},onChange:ke,accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*"}),b.createElement(De.default.Item,{label:"\u9879\u76EE\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"}]},b.createElement(ye.default,{maxLength:40,placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC740\u5B57\u7684\u9879\u76EE\u540D\u79F0"})),b.createElement(De.default.Item,{label:"\u9879\u76EE\u5185\u5BB9",name:"content",className:E.contentItem},Le()),b.createElement(De.default.Item,{name:"attachment_id",label:"\u4E0A\u4F20\u5C01\u9762\u56FE:"},b.createElement(ne.Z,{getFileProgress:ot=>{if(ot.file.status==="uploading"){Ct(!0);return}ot.file.status==="done"&&Ct(!1)}})),b.createElement(De.default.Item,{label:"\u9879\u76EE\u7B80\u4ECB",name:"description",className:"ml8"},b.createElement(be,{rows:5,maxLength:800,placeholder:"\u8BF7\u8F93\u5165\u672C\u89C6\u9891\u7B80\u4ECB\uFF0C\u6700\u591A\u4E0D\u8D85\u8FC7800\u5B57"})),b.createElement(De.default.Item,{className:"ml8",name:"tag_discipline_ids",label:"\u77E5\u8BC6\u70B9:"},b.createElement("div",{className:E.zhishidian,onClick:()=>{Ye({type:"account/setActionTabs",payload:{key:"\u5173\u8054\u8BFE\u7A0B\u77E5\u8BC6\u70B9"}})}},"\u9009\u62E9\u77E5\u8BC6\u70B9")),(je==null?void 0:je.length)>0&&b.createElement("div",{className:E.tags_list},je==null?void 0:je.map((ot,at)=>b.createElement("div",{key:at,className:E.tag_item},b.createElement("div",null,ot==null?void 0:ot.name),b.createElement("i",{className:`iconfont icon-guanbi11 ml10 ${E.tag_icon}`,onClick:()=>{le([...je.filter(Rt=>(Rt==null?void 0:Rt.id)!=(ot==null?void 0:ot.id))])}})))),b.createElement(De.default.Item,{label:"\u64AD\u653E\u8BBE\u7F6E",name:"allow_skip",valuePropName:"checked",className:"ml8",initialValue:!0},b.createElement(se.default,null,"\u5141\u8BB8\u5FEB\u8FDB\u64AD\u653E")),b.createElement("div",{className:E["tagsList-content"]},Se.map((ot,at)=>b.createElement(fe.default,{key:at+ot,closable:!0,onClose:Rt=>{it(Rt,ot)}},ot))),b.createElement("div",{className:"c-grey-999"},b.createElement("div",null,"\u6CE8\u610F\uFF1A"),b.createElement("div",null,"1\u3001\u4E0A\u4F20\u89C6\u9891\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",b.createElement(oe.Link,{to:`/users/${(Bt=Ke.userInfo)==null?void 0:Bt.login}/videos/protocol`,target:"_blank",className:E.colorBlue},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B"),b.createElement("div",null,"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7",gt,"G\uFF1B"),b.createElement("div",null,"3\u3001\u652F\u6301\u6587\u4EF6\u683C\u5F0F\uFF1Aavi\u3001flv\u3001f4v\u3001m4v\u3001mov\u3001mp4\u3001rmvb\u3001swf\u3001webm\u3001wmv\uFF1B"),b.createElement("div",null,"4\u3001\u5982\u679C\u89C6\u9891\u6765\u81EA\u4E8E\u5916\u90E8\u94FE\u63A5\uFF0C\u672C\u7F51\u7AD9\u4E0D\u63D0\u4F9B\u64AD\u653E\u9875\u9762\uFF0C\u65E0\u6CD5\u63D0\u4F9B\u7EDF\u8BA1\u6570\u636E\u3002"))),b.createElement(we.Z,{knowledgeList:je,setKnowledgeList:le}))};var Te=(0,oe.connect)(({user:Ke,loading:We,globalSetting:Ne})=>({user:Ke,globalSetting:Ne,loading:We}))(_e)},21437:function(Un,pn,ae){"use strict";ae.d(pn,{o:function(){return fe}});var b=ae(22972),oe=ae(93125),ye=ae.n(oe);let De="",de,ve="";function re(E){se(E)}function se(E){de=new(ye()).Vod({timeout:6e4,partSize:1048576,parallel:5,retryCount:3,retryDuration:2,region:"ap-southeast-1",userId:0x6803cbd867207,enableUploadProgress:!1,addFileSuccess:function(te){console.log("addFileSuccess: "+te.file.name),E.addFileSuccess&&E.addFileSuccess(te),de.startUpload()},onUploadstarted:function(te){const ne=te.file.name;if(te.videoId){var we=`/api/users/${De}/video_auths.json`;(0,b.ZP)(we,{method:"put",body:{video_id:te.videoId,title:ne,file_name:ne,virtual_classroom_id:ve}}).then(xe=>{if(xe.status==-1){E.onUploadError&&E.onUploadError(te);return}const ue=xe.data;var Ee=ue.UploadAuth,Oe=ue.UploadAddress,Ae=ue.VideoId;de.setUploadAuthAndAddress(te,Ee,Oe)}).catch(xe=>{de.deleteFile(de._curIndex),de.nextUpload(),console.log(xe)})}else{var ge=`/api/users/${De}/video_auths.json`;const xe="";(0,b.ZP)(ge,{method:"Post",body:{title:xe+ne,file_name:xe+ne,virtual_classroom_id:ve}}).then(ue=>{if(ue){const Re=ue.data;var Ee=Re.UploadAuth,Oe=Re.UploadAddress,Ae=Re.VideoId;de.setUploadAuthAndAddress(te,Ee,Oe,Ae)}}).catch(ue=>{de.deleteFile(de._curIndex),de.nextUpload(),console.log(ue)}),console.log("\u6587\u4EF6\u5F00\u59CB\u4E0A\u4F20...")}},onUploadSucceed:function(te){E.onUploadSucceed&&E.onUploadSucceed(te),console.log("\u6587\u4EF6\u4E0A\u4F20\u6210\u529F!")},onUploadFailed:function(te,ne,ge){E.onUploadFailed&&E.onUploadFailed(te),console.log("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25!")},onUploadCanceled:function(te,ne,ge){console.log("\u6587\u4EF6\u4E0A\u4F20\u5DF2\u6682\u505C!")},onUploadProgress:function(te,ne,ge){E.onUploadProgress&&E.onUploadProgress(te,ne,ge);var we=Math.ceil(ge*100);console.log("\u6587\u4EF6\u4E0A\u4F20\u4E2D...")},onUploadTokenExpired:function(te){console.log("\u6587\u4EF6\u4E0A\u4F20\u8D85\u65F6!");var ne=`/api/users/${De}/video_auths.json`;(0,b.ZP)(ne,{method:"put",body:{video_id:te.videoId}}).then(ge=>{var xe=ge.data.UploadAuth;de.resumeUploadWithAuth(xe)}).catch(ge=>{console.log(ge)})},onUploadEnd:function(te){E.onUploadEnd&&E.onUploadEnd(te),console.log("onUploadEnd: uploaded all the files")}}),E.gotUploader&&E.gotUploader(de)}function fe(E,te,ne){E&&(De=E),te&&(ve=te),re(ne)}},74410:function(Un,pn,ae){"use strict";ae.d(pn,{AL:function(){return Me},Iy:function(){return te},Qv:function(){return we},ez:function(){return Re},jb:function(){return ne}});var b=ae(32834),oe=ae.n(b),ye=ae(11690),De=ae.n(ye);let de=1;function ve(Te,Ke){const We=Te.match(/^(\s+)(?:```)/);if(We===null)return Ke;const Ne=We[1];return Ke.split(`
|
|
|
`).map(Ye=>{const Je=Ye.match(/^\s+/);if(Je===null)return Ye;const[He]=Je;return He.length>=Ne.length?Ye.slice(Ne.length):Ye}).join(`
|
|
|
`)}let re=[],se=["<ul>"];const fe=new(oe()).Renderer,E=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function te(){re.length=0,se=["<ul>"]}const ne={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function ge(Te,Ke,We,Ne){if(Ke>=Te.length||Te[Ke].level<=We)return Ke;var Ye=Te[Ke];Ne.push("<li><a href='#"+de+Ye.anchor+"'>"+Ye.text+"</a>"),Ke++;var Je=[];return Ke=ge(Te,Ke,Ye.level,Je),Je.length>0&&(Ne.push("<ul>"),Je.forEach(function(He){Ne.push(He)}),Ne.push("</ul>")),Ne.push("</li>"),Ke=ge(Te,Ke,We,Ne),Ke}function we(){return ge(re,0,0,se),se.push("</ul>"),se.join("")}const xe={heading(Te){const Ke=E.exec(Te);if(de+=1,Ke)return{type:"heading",raw:Ke[0],depth:Ke[1].length,text:Ke[2]}},fences(Te){const Ke=this.rules.block.fences.exec(Te);if(Ke){const We=Ke[0];let Ne=ve(We,Ke[3]||"");const Ye=Ke[2]?Ke[2].trim():Ke[2];if(["latex","katex","math"].indexOf(Ye)>=0){const Je=Oe(),He=Ne;Ne=Je,Ae[Je]={type:"block",expression:He}}return{type:"code",raw:We,lang:Ye,text:Ne}}}},ue=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Ee=0;const Oe=()=>`__special_katext_id_${Ee++}__`;let Ae={};function Re(){return Ae}function Me(){Ee=0,Ae={}}function be(Te){return Te=Te.replace(ue,(Ke,We)=>{const Ne=Oe();return Ae[Ne]={type:"inline",expression:We},Ne}),Te}const Pe=fe.listitem;fe.listitem=function(Te){return Pe(be(Te))};const Fe=fe.paragraph;fe.paragraph=function(Te){return Fe(be(Te))};const _e=fe.tablecell;fe.tablecell=function(Te,Ke){return _e(be(Te),Ke)},fe.code=function(Te,Ke,We){const Ne=(Ke||"").match(/\S*/)[0];return Ne?["latex","katex","math"].indexOf(Ne)>=0?`<p class='editormd-tex'>${Te}</p>`:`<pre class="prettyprint linenums"><code class="language-${Ke}">${We?Te:(0,ye.escape)(Te,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(We?Te:(0,ye.escape)(Te,!0))+"</code></pre>"},fe.heading=function(Te,Ke,We){let Ne=this.options.headerPrefix+We.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return re.push({anchor:Ne,level:Ke,text:Te}),"<h"+Ke+' id="'+de+Ne+'">'+Te+"</h"+Ke+">"},oe().setOptions({silent:!0,gfm:!0,pedantic:!1}),oe().use({tokenizer:xe,renderer:fe}),pn.ZP=oe()},17958:function(Un,pn,ae){"use strict";ae.d(pn,{rX:function(){return be},pW:function(){return Pe},gy:function(){return Fe},xY:function(){return Me},O5:function(){return Re},hs:function(){return ue},tJ:function(){return we},o1:function(){return xe},Rd:function(){return Ae}});var b=ae(63823),oe=ae(62957),ye=ae(37285),De=ae(6767),de=ae(10102),ve=ae(68911),re=ae(87169),se=ae(25510),fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvae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LbhbPrNF7LxHiTbCvI4WydjIHgCAsAyEBgAQAZCCwAIAOBBQBkILAAgAwEFgCQkcewBioPvlsxAMK2u/gunHPB5OJWjJ+wbeSKs1u3YnHqRT5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIMFutYefOnRUVFVa3ctWqVStXrjT4ZtsqK+RE5Ql7K1BpvAtHmdhWI8S2QhcWDWswG1gVFRVVVVVWtCxbOBy2ehMA4H44JQQAMhBYAEAGAgsAyEBgAQAZCCwAIMOSSShM3tFsaWkp+J1HZx+RN75O23pkRWEGk5wdEWJFN0023mTdEWfH9xjvZl5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",E=ae.p+"static/newqrcode.a8740efb.png",te=ae(32637),ne=ae(59301),ge=(_e,Te,Ke)=>new Promise((We,Ne)=>{var Ye=lt=>{try{He(Ke.next(lt))}catch(ct){Ne(ct)}},Je=lt=>{try{He(Ke.throw(lt))}catch(ct){Ne(ct)}},He=lt=>lt.done?We(lt.value):Promise.resolve(lt.value).then(Ye,Je);He((Ke=Ke.apply(_e,Te)).next())});const we=(_e,Te=!1,Ke=!1,We="",Ne=!1)=>!!(xe(_e)&&Ee(_e,Te,Ke,We,Ne)),xe=_e=>(0,de.bg)()?!0:(_e({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ue=_e=>{var Te,Ke,We;const{user:Ne}=(0,b.getDvaApp)()._store.getState();(0,de.bg)()&&!((Ke=(Te=Ne==null?void 0:Ne.userInfo)==null?void 0:Te.course)!=null&&Ke.course_public)&&!((We=Ne==null?void 0:Ne.userInfo)!=null&&We.profile_completed)&&_e({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},Ee=(_e,Te=!1,Ke=!0,We="",Ne=!1)=>{var Ye;const{user:Je}=(0,b.getDvaApp)()._store.getState();return(Ye=Je.userInfo)!=null&&Ye.profile_completed?!0:(Ke?_e({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:We,isCurrentPage:Ne}}):oe.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ve.xg)("/account/profile/edit"),Oe()}}),!1)},Oe=()=>{oe.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},Ae=()=>{oe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ne.createElement("div",{style:{textAlign:"center"}},ne.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),ne.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:te}),ne.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Re=()=>{var _e;const{user:Te}=(0,b.getDvaApp)()._store.getState();return(_e=Te.userInfo)!=null&&_e.professional_certification?!0:(oe.default.confirm({title:"\u63D0\u793A",centered:!0,content:ne.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ve.xg)("/account/certification")}}),!1)},Me=()=>(0,de.V9)()?!0:(oe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc",style:{marginLeft:-38}},ne.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ne.createElement("img",{src:E,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),be=(_e,Te)=>_e?!0:(oe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ne.createElement("div",null,ne.createElement("p",null,Te||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),ne.createElement("div",{style:{marginLeft:"110px"}},ne.createElement("img",{src:fe,width:200}),ne.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ve.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),Pe=_e=>{oe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ne.createElement("div",null,ne.createElement("div",null,ne.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),ne.createElement(ye.Z,null),ne.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ne.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",ne.createElement("a",null,_e),"\u5929\u3002"),ne.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ne.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),ne.createElement("div",{style:{textAlign:"center",marginTop:30}},ne.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})))})},Fe=(_e,Te="")=>{const{shixunsDetail:{detail:Ke}}=(0,b.getDvaApp)()._store.getState();if((Ke==null?void 0:Ke.public)===2||(Ke==null?void 0:Ke.public)===1||(Ke==null?void 0:Ke.shixun_status)===3){let We="";return(Ke==null?void 0:Ke.public)===2&&(We="\u5DF2\u516C\u5F00"),(Ke==null?void 0:Ke.public)===1&&(We="\u5F85\u5BA1\u6838"),(Ke==null?void 0:Ke.shixun_status)===3&&(We="\u5DF2\u5173\u95ED"),oe.default.info({centered:!0,icon:ne.createElement(re.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc",style:{marginLeft:-38}},ne.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ne.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",We,"\uFF0C",Te,"\u3002"),ne.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ne.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:se,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ke==null?void 0:Ke.shixun_status)===2?(oe.default.confirm({centered:!0,icon:ne.createElement(re.Z,null),title:"\u63D0\u793A",content:ne.createElement("div",null,ne.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Te,"\u3002"),ne.createElement("br",null),ne.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{oe.default.confirm({width:440,centered:!0,icon:ne.createElement(re.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>ge(void 0,null,function*(){(yield _e({type:"shixunsDetail/cancelRelease",payload:{id:Ke==null?void 0:Ke.identifier}})).status!==401&&(De.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),_e({type:"shixunsDetail/getShixunsDetail",payload:{id:Ke==null?void 0:Ke.identifier}}),_e({type:"practiceSetting/getCommonData",payload:{id:Ke==null?void 0:Ke.identifier}}))})})}}),!0):!1}},93125:function(Un,pn,ae){(function(b){if(1)window.OSS=b(),Un.exports=b();else var oe})(function(){var b;return function(){function oe(ye,De,de){function ve(fe,E){if(!De[fe]){if(!ye[fe]){var te=void 0;if(!E&&te)return require(fe,!0);if(re)return re(fe,!0);var ne=new Error("Cannot find module '"+fe+"'");throw ne.code="MODULE_NOT_FOUND",ne}var ge=De[fe]={exports:{}};ye[fe][0].call(ge.exports,function(we){return ve(ye[fe][1][we]||we)},ge,ge.exports,oe,ye,De,de)}return De[fe].exports}for(var re=void 0,se=0;se<de.length;se++)ve(de[se]);return ve}return oe}()({1:[function(oe,ye,De){"use strict";var de=oe("./browser/client");de.Buffer=oe("buffer").Buffer,de.co=oe("co"),de.urllib=oe("../shims/xhr"),de.version=oe("./browser/version").version,ye.exports=de},{"../shims/xhr":244,"./browser/client":2,"./browser/version":5,buffer:38,co:41}],2:[function(oe,ye,De){(function(de,ve){"use strict";function re(Ue){return Ue&&Ue.__esModule?Ue:{default:Ue}}function se(Ue,Xe){return Ue[Xe]||Ue[Xe.toLowerCase()]}function fe(Ue,Xe){var $e=Te.parse(Ue);if(!$e.protocol){var qe=Xe?"https://":"http://";$e=Te.parse(qe+Ue)}if($e.protocol!=="http:"&&$e.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return $e}function E(Ue,Xe,$e){var qe=$e?"https://":"http://",Ve=Xe?"-internal.aliyuncs.com":".aliyuncs.com";return Ue.substr(0,14)==="vpc100-oss-cn-"&&(Ve=".aliyuncs.com"),Te.parse(qe+Ue+Ve)}function te(){return document&&document.location&&document.location.protocol==="https:"}function ne(Ue,Xe){if(!(this instanceof ne))return new ne(Ue,Xe);Ue&&Ue.inited?this.options=Ue:this.options=ne.initOptions(Ue),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=Ye,this.agent=this.options.agent||Bt),this.ctx=Xe,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}var ge=oe("babel-runtime/regenerator"),we=re(ge),xe=oe("babel-runtime/core-js/object/keys"),ue=re(xe),Ee=oe("debug")("ali-oss"),Oe=oe("./../../shims/crypto/crypto.js"),Ae=oe("path"),Re=oe("copy-to"),Me=oe("mime"),be=oe("xml2js"),Pe=oe("humanize-ms"),Fe=oe("agentkeepalive"),_e=oe("merge-descriptors"),Te=oe("url"),Ke=oe("is-type-of"),We=oe("platform"),Ne=oe("utility"),Ye=oe("urllib"),Je=oe("./version"),He=oe("dateformat"),lt=oe("bowser"),ct=oe("../common/signUtils"),tt=oe("../common/utils"),Bt=new Fe;ye.exports=ne,ne.initOptions=function(Ue){if(!Ue||!Ue.accessKeyId||!Ue.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");var Xe=te(),$e={region:"oss-cn-hangzhou",internal:!1,secure:Xe,bucket:null,endpoint:null,cname:!1};if((0,ue.default)(Ue).forEach(function(qe){Ue[qe]!==void 0&&($e[qe]=Ue[qe])}),$e.accessKeyId=$e.accessKeyId.trim(),$e.accessKeySecret=$e.accessKeySecret.trim(),$e.timeout&&($e.timeout=Pe($e.timeout)),$e.endpoint)$e.endpoint=fe($e.endpoint,$e.secure);else{if(!$e.region)throw new Error("require options.endpoint or options.region");$e.endpoint=E($e.region,$e.internal,$e.secure)}return $e.inited=!0,$e};var nt=ne.prototype;_e(nt,oe("./object")),_e(nt,oe("./managed_upload")),_e(nt,oe("../common/multipart")),_e(nt,oe("../common/thunkpool.js")),ne.Wrapper=oe("./wrapper"),nt.signature=function(Ue){return Ee("authorization stringToSign: %s",Ue),ct.computeSignature(this.options.accessKeySecret,Ue)},nt.authorization=function(Ue,Xe,$e,qe){var Ve=ct.buildCanonicalString(Ue.toUpperCase(),Xe,{headers:qe,parameters:$e});return ct.authorization(this.options.accessKeyId,this.options.accessKeySecret,Ve)},nt.createRequest=function(Ue){var Xe={"x-oss-date":He(+new Date+this.options.amendTimeSkewed,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.options.stsToken&&(Xe["x-oss-security-token"]=this.options.stsToken),Re(Ue.headers).to(Xe),se(Xe,"Content-Type")||(Ue.mime===Me.default_type&&(Ue.mime=""),Ue.mime&&Ue.mime.indexOf("/")>0?Xe["Content-Type"]=Ue.mime:Xe["Content-Type"]=Me.getType(Ue.mime||Ae.extname(Ue.object||""))||"application/octet-stream"),Ue.content&&(Xe["Content-Md5"]=Oe.createHash("md5").update(new ve(Ue.content,"utf8")).digest("base64"),Xe["Content-Length"]||(Xe["Content-Length"]=Ue.content.length));var $e=this._getResource(Ue);Xe.authorization=this.authorization(Ue.method,$e,Ue.subres,Xe);var qe=this._getReqUrl(Ue);Ee("request %s %s, with headers %j, !!stream: %s",Ue.method,qe,Xe,!!Ue.stream);var Ve=Ue.timeout||this.options.timeout;return{url:qe,params:{agent:this.agent,method:Ue.method,content:Ue.content,stream:Ue.stream,headers:Xe,timeout:Ve,writeStream:Ue.writeStream,customResponse:Ue.customResponse,ctx:Ue.ctx||this.ctx}}},nt.request=we.default.mark(function Ue(Xe){var $e,qe,Ve,ht;return we.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:return $e=this.createRequest(Xe),qe=void 0,Ve=void 0,st.prev=3,st.next=6,this.urllib.request($e.url,$e.params);case 6:qe=st.sent,Ee("response %s %s, got %s, headers: %j",Xe.method,$e.url,qe.status,qe.headers),st.next=13;break;case 10:st.prev=10,st.t0=st.catch(3),Ve=st.t0;case 13:if(ht=void 0,!qe||!Xe.successStatuses||Xe.successStatuses.indexOf(qe.status)!==-1){st.next=26;break}return st.next=17,this.requestError(qe);case 17:if(ht=st.sent,ht.code!=="RequestTimeTooSkewed"){st.next=23;break}return this.options.amendTimeSkewed=+new Date(ht.serverTime)-new Date,st.next=22,this.request(Xe);case 22:return st.abrupt("return",st.sent);case 23:ht.params=Xe,st.next=30;break;case 26:if(!Ve){st.next=30;break}return st.next=29,this.requestError(Ve);case 29:ht=st.sent;case 30:if(!ht){st.next=32;break}throw ht;case 32:if(!Xe.xmlResponse){st.next=36;break}return st.next=35,this.parseXML(qe.data);case 35:qe.data=st.sent;case 36:return st.abrupt("return",qe);case 37:case"end":return st.stop()}},Ue,this,[[3,10]])}),nt._getResource=function(Ue){var Xe="/";return Ue.bucket&&(Xe+=Ue.bucket+"/"),Ue.object&&(Xe+=Ue.object),Xe},nt._isIP=function(Ue){return tt._isIP(Ue)},nt._escape=function(Ue){return Ne.encodeURIComponent(Ue).replace(/%2F/g,"/")},nt._getReqUrl=function(Ue){var Xe={};Re(this.options.endpoint).to(Xe);var $e=this._isIP(Xe.hostname),qe=this.options.cname;!Ue.bucket||qe||$e||(Xe.host=Ue.bucket+"."+Xe.host);var Ve="/";Ue.bucket&&$e&&(Ve+=Ue.bucket+"/"),Ue.object&&(Ve+=this._escape(Ue.object).replace(/\+/g,"%2B")),Xe.pathname=Ve;var ht={};if(Ue.query&&_e(ht,Ue.query),Ue.subres){var st={};Ke.string(Ue.subres)?st[Ue.subres]="":Ke.array(Ue.subres)?Ue.subres.forEach(function(Nt){st[Nt]=""}):st=Ue.subres,_e(ht,st)}return Xe.query=ht,Te.format(Xe)},nt._getUserAgent=function(){var Ue=de&&de.browser?"js":"nodejs",Xe="aliyun-sdk-"+Ue+"/"+Je.version,$e=We.description;return!$e&&de&&($e="Node.js "+de.version.slice(1)+" on "+de.platform+" "+de.arch),this._checkUserAgent(Xe+" "+$e)},nt._checkUserAgent=function(Ue){return Ue.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta")},nt.checkBrowserAndVersion=function(Ue,Xe){return lt.name===Ue&<.version.split(".")[0]===Xe},nt.parseXML=function(Ue){return function(Xe){ve.isBuffer(Ue)&&(Ue=Ue.toString()),be.parseString(Ue,{explicitRoot:!1,explicitArray:!1},Xe)}},nt.requestError=we.default.mark(function Ue(Xe){var $e,qe,Ve,ht;return we.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:if($e=null,Xe.data&&Xe.data.length){st.next=5;break}Xe.status===-1||Xe.status===-2?($e=new Error(Xe.message),$e.name=Xe.name,$e.status=Xe.status,$e.code=Xe.name):(Xe.status===404?($e=new Error("Object not exists"),$e.name="NoSuchKeyError",$e.status=404,$e.code="NoSuchKey"):Xe.status===412?($e=new Error("Pre condition failed"),$e.name="PreconditionFailedError",$e.status=412,$e.code="PreconditionFailed"):($e=new Error("Unknow error, status: "+Xe.status),$e.name="UnknowError",$e.status=Xe.status),$e.requestId=Xe.headers["x-oss-request-id"],$e.host=""),st.next=30;break;case 5:return qe=String(Xe.data),Ee("request response error data: %s",qe),Ve=void 0,st.prev=8,st.next=11,this.parseXML(qe)||{};case 11:Ve=st.sent,st.next=21;break;case 14:return st.prev=14,st.t0=st.catch(8),Ee(qe),st.t0.message+=`
|
|
|
raw xml: `+qe,st.t0.status=Xe.status,st.t0.requestId=Xe.headers["x-oss-request-id"],st.abrupt("return",st.t0);case 21:ht=Ve.Message||"unknow request error, status: "+Xe.status,Ve.Condition&&(ht+=" (condition: "+Ve.Condition+")"),$e=new Error(ht),$e.name=Ve.Code?Ve.Code+"Error":"UnknowError",$e.status=Xe.status,$e.code=Ve.Code,$e.requestId=Ve.RequestId,$e.hostId=Ve.HostId,$e.serverTime=Ve.ServerTime;case 30:return Ee("generate error %j",$e),st.abrupt("return",$e);case 32:case"end":return st.stop()}},Ue,this,[[8,14]])})}).call(this,oe("_process"),oe("buffer").Buffer)},{"../common/multipart":8,"../common/signUtils":9,"../common/thunkpool.js":10,"../common/utils":11,"./../../shims/crypto/crypto.js":237,"./managed_upload":3,"./object":4,"./version":5,"./wrapper":6,_process:173,agentkeepalive:12,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,bowser:35,buffer:38,"copy-to":43,dateformat:154,debug:155,"humanize-ms":160,"is-type-of":165,"merge-descriptors":168,mime:242,path:170,platform:171,url:203,urllib:244,utility:243,xml2js:213}],3:[function(oe,ye,De){(function(de){"use strict";function ve(Re){return Re&&Re.__esModule?Re:{default:Re}}function re(Re,Me){if(!(this instanceof re))return new re(Re,Me);Ae.call(this,Me),this.file=Re,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}var se=oe("babel-runtime/core-js/array/from"),fe=ve(se),E=oe("babel-runtime/regenerator"),te=ve(E),ne=oe("is-type-of"),ge=oe("util"),we=oe("path"),xe=oe("mime"),ue=oe("copy-to"),Ee=De;Ee.multipartUpload=te.default.mark(function Re(Me,be,Pe){var Fe,_e,Te,Ke,We,Ne,Ye,Je,He;return te.default.wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:if(this.resetCancelFlag(),Pe=Pe||{},!Pe.checkpoint||!Pe.checkpoint.uploadId){lt.next=6;break}return lt.next=5,this._resumeMultipart(Pe.checkpoint,Pe);case 5:return lt.abrupt("return",lt.sent);case 6:return Fe=102400,Pe.mime||(ne.file(be)?Pe.mime=xe.getType(we.extname(be.name)):ne.blob(be)?Pe.mime=be.type:Pe.mime=xe.getType(we.extname(be))),Pe.headers=Pe.headers||{},this._convertMetaToHeaders(Pe.meta,Pe.headers),lt.next=12,this._getFileSize(be);case 12:if(!((_e=lt.sent)<Fe)){lt.next=25;break}return Te=this._createStream(be,0,_e),Pe.contentLength=_e,lt.next=18,this.putStream(Me,Te,Pe);case 18:if(Ke=lt.sent,!Pe||!Pe.progress){lt.next=22;break}return lt.next=22,Pe.progress(1);case 22:return We={res:Ke.res,bucket:this.options.bucket,name:Me,etag:Ke.res.headers.etag},(Pe.headers&&Pe.headers["x-oss-callback"]||Pe.callback)&&(We.data=Ke.data),lt.abrupt("return",We);case 25:if(!(Pe.partSize&&Pe.partSize<Fe)){lt.next=27;break}throw new Error("partSize must not be smaller than "+Fe);case 27:return lt.next=29,this.initMultipartUpload(Me,Pe);case 29:if(Ne=lt.sent,Ye=Ne.uploadId,Je=this._getPartSize(_e,Pe.partSize),He={file:be,name:Me,fileSize:_e,partSize:Je,uploadId:Ye,doneParts:[]},!Pe||!Pe.progress){lt.next=36;break}return lt.next=36,Pe.progress(0,He,Ne.res);case 36:return lt.next=38,this._resumeMultipart(He,Pe);case 38:return lt.abrupt("return",lt.sent);case 39:case"end":return lt.stop()}},Re,this)}),Ee._resumeMultipart=te.default.mark(function Re(Me,be){var Pe,Fe,_e,Te,Ke,We,Ne,Ye,Je,He,lt,ct,tt,Bt,nt,Ue,Xe,$e,qe,Ve,ht;return te.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:if(!this.isCancel()){st.next=2;break}throw this._makeCancelEvent();case 2:if(Pe=Me.file,Fe=Me.fileSize,_e=Me.partSize,Te=Me.uploadId,Ke=Me.doneParts,We=Me.name,Ne=[],Ke.length>0&&ue(Ke).to(Ne),Ye=this._divideParts(Fe,_e),Je=Ye.length,He=!1,lt=te.default.mark(function Nt(dt,Tt){var bt,Ct,gt;return te.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(dt.isCancel()){je.next=21;break}return je.prev=1,bt=Ye[Tt-1],Ct={stream:dt._createStream(Pe,bt.start,bt.end),size:bt.end-bt.start},je.next=6,dt._uploadPart(We,Te,Tt,Ct);case 6:if(gt=je.sent,dt.isCancel()||He){je.next=13;break}if(Me.doneParts.push({number:Tt,etag:gt.res.headers.etag}),Ne.push({number:Tt,etag:gt.res.headers.etag}),!be||!be.progress){je.next=13;break}return je.next=13,be.progress(Ke.length/Je,Me,gt.res);case 13:je.next=21;break;case 15:if(je.prev=15,je.t0=je.catch(1),dt.isCancel()){je.next=21;break}throw dt.cancel(),je.t0.partNum=Tt,je.t0;case 21:case"end":return je.stop()}},Nt,this,[[1,15]])}),ct=(0,fe.default)(new Array(Je),function(Nt,dt){return dt+1}),tt=Ne.map(function(Nt){return Nt.number}),Bt=ct.filter(function(Nt){return tt.indexOf(Nt)<0}),nt=5,Ue=be.parallel||nt,!this.checkBrowserAndVersion("Internet Explorer","10")&&Ue!==1){st.next=26;break}Xe=0;case 16:if(!(Xe<Bt.length)){st.next=24;break}if(!this.isCancel()){st.next=19;break}throw this._makeCancelEvent();case 19:return st.next=21,lt(this,Bt[Xe]);case 21:Xe++,st.next=16;break;case 24:st.next=40;break;case 26:for($e=[],qe=0;qe<Bt.length;qe++)$e.push(lt(this,Bt[qe]));return st.next=30,this._thunkPool($e,Ue);case 30:if(Ve=st.sent,He=!0,!(Ve&&Ve.length>0)){st.next=37;break}throw this.resetCancelFlag(),ht=Ve[0],ht.message="Failed to upload some parts with error: "+ht.toString()+" part_num: "+ht.partNum,ht;case 37:if(!this.isCancel()){st.next=40;break}throw $e=null,this._makeCancelEvent();case 40:return st.next=42,this.completeMultipartUpload(We,Te,Ne,be);case 42:return st.abrupt("return",st.sent);case 43:case"end":return st.stop()}},Re,this)}),ne.file=function(Re){return typeof File!="undefined"&&Re instanceof File},ne.blob=function(Re){return typeof Blob!="undefined"&&Re instanceof Blob},Ee._getFileSize=te.default.mark(function Re(Me){var be;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(!ne.buffer(Me)){Pe.next=4;break}return Pe.abrupt("return",Me.length);case 4:if(!ne.blob(Me)&&!ne.file(Me)){Pe.next=6;break}return Pe.abrupt("return",Me.size);case 6:if(!ne.string(Me)){Pe.next=11;break}return Pe.next=9,this._statFile(Me);case 9:return be=Pe.sent,Pe.abrupt("return",be.size);case 11:throw new Error("_getFileSize requires Buffer/File/String.");case 12:case"end":return Pe.stop()}},Re,this)});var Oe=oe("stream"),Ae=Oe.Readable;ge.inherits(re,Ae),re.prototype.readFileAndPush=function(Re){if(this.fileBuffer)for(var Me=!0;Me&&this.fileBuffer&&this.start<this.fileBuffer.length;){var be=this.start,Pe=be+Re;Pe=Pe>this.fileBuffer.length?this.fileBuffer.length:Pe,this.start=Pe,Me=this.push(this.fileBuffer.slice(be,Pe))}},re.prototype._read=function(Re){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file)return this.finish||(this.fileBuffer=null,this.finish=!0),void this.push(null);Re=Re||16384;var Me=this;this.reader.onload=function(be){Me.fileBuffer=new de(new Uint8Array(be.target.result)),Me.file=null,Me.readFileAndPush(Re)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Re)},Ee._createStream=function(Re,Me,be){if(ne.blob(Re)||ne.file(Re))return new re(Re.slice(Me,be));throw new Error("_createStream requires File/String.")},Ee._getPartSize=function(Re,Me){return Me?Math.max(Math.ceil(Re/1e4),Me):1048576},Ee._divideParts=function(Re,Me){for(var be=Math.ceil(Re/Me),Pe=[],Fe=0;Fe<be;Fe++){var _e=Me*Fe,Te=Math.min(_e+Me,Re);Pe.push({start:_e,end:Te})}return Pe},Ee._makeCancelEvent=function(){return{status:0,name:"cancel"}}}).call(this,oe("buffer").Buffer)},{"babel-runtime/core-js/array/from":16,"babel-runtime/regenerator":33,buffer:38,"copy-to":43,"is-type-of":165,mime:242,path:170,stream:195,util:207}],4:[function(oe,ye,De){"use strict";function de(Me){return Me&&Me.__esModule?Me:{default:Me}}var ve=oe("babel-runtime/core-js/object/keys"),re=de(ve),se=oe("babel-runtime/regenerator"),fe=de(se),E=oe("debug")("ali-oss:object"),te=oe("utility"),ne=oe("fs"),ge=oe("is-type-of"),we=oe("url"),xe=oe("copy-to"),ue=oe("path"),Ee=oe("mime"),Oe=oe("../common/callback"),Ae=oe("../common/signUtils"),Re=De;Re.append=fe.default.mark(function Me(be,Pe,Fe){var _e;return fe.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Fe=Fe||{},Fe.position===void 0&&(Fe.position="0"),Fe.subres={append:"",position:Fe.position},Fe.method="POST",Te.next=6,this.put(be,Pe,Fe);case 6:return _e=Te.sent,_e.nextAppendPosition=_e.res.headers["x-oss-next-append-position"],Te.abrupt("return",_e);case 9:case"end":return Te.stop()}},Me,this)}),Re.put=fe.default.mark(function Me(be,Pe,Fe){var _e,Te,Ke,We,Ne,Ye;return fe.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(_e=void 0,Fe=Fe||{},!ge.buffer(Pe)){Je.next=6;break}_e=Pe,Je.next=18;break;case 6:if(!ge.blob(Pe)&&!ge.file(Pe)){Je.next=17;break}return Fe.mime||(ge.file(Pe)?Fe.mime=Ee.getType(ue.extname(Pe.name)):Fe.mime=Pe.type),Te=this._createStream(Pe,0,Pe.size),Je.next=11,this._getFileSize(Pe);case 11:return Fe.contentLength=Je.sent,Je.next=14,this.putStream(be,Te,Fe);case 14:return Je.abrupt("return",Je.sent);case 17:throw new TypeError("Must provide Buffer/Blob for put.");case 18:return Fe.headers=Fe.headers||{},this._convertMetaToHeaders(Fe.meta,Fe.headers),Ke=Fe.method||"PUT",We=this._objectRequestParams(Ke,be,Fe),Oe.encodeCallback(We,Fe),We.mime=Fe.mime,We.content=_e,We.successStatuses=[200],Je.next=28,this.request(We);case 28:return Ne=Je.sent,Ye={name:be,url:this._objectUrl(be),res:Ne.res},We.headers&&We.headers["x-oss-callback"]&&(Ye.data=JSON.parse(Ne.data.toString())),Je.abrupt("return",Ye);case 32:case"end":return Je.stop()}},Me,this)}),Re.putStream=fe.default.mark(function Me(be,Pe,Fe){var _e,Te,Ke,We;return fe.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return Fe=Fe||{},Fe.headers=Fe.headers||{},Fe.contentLength?Fe.headers["Content-Length"]=Fe.contentLength:Fe.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(Fe.meta,Fe.headers),_e=Fe.method||"PUT",Te=this._objectRequestParams(_e,be,Fe),Oe.encodeCallback(Te,Fe),Te.mime=Fe.mime,Te.stream=Pe,Te.successStatuses=[200],Ne.next=12,this.request(Te);case 12:return Ke=Ne.sent,We={name:be,url:this._objectUrl(be),res:Ke.res},Te.headers&&Te.headers["x-oss-callback"]&&(We.data=JSON.parse(Ke.data.toString())),Ne.abrupt("return",We);case 16:case"end":return Ne.stop()}},Me,this)}),Re.head=fe.default.mark(function Me(be,Pe){var Fe,_e,Te;return fe.default.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Fe=this._objectRequestParams("HEAD",be,Pe),Fe.successStatuses=[200,304],Ke.next=4,this.request(Fe);case 4:return _e=Ke.sent,Te={meta:null,res:_e.res,status:_e.status},_e.status===200&&(0,re.default)(_e.headers).forEach(function(We){We.indexOf("x-oss-meta-")===0&&(Te.meta||(Te.meta={}),Te.meta[We.substring(11)]=_e.headers[We])}),Ke.abrupt("return",Te);case 8:case"end":return Ke.stop()}},Me,this)}),Re.get=fe.default.mark(function Me(be,Pe,Fe){var _e,Te,Ke,We;return fe.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return _e=null,Te=!1,ge.writableStream(Pe)?_e=Pe:ge.string(Pe)?(_e=ne.createWriteStream(Pe),Te=!0):Fe=Pe,Fe=Fe||{},Fe.process&&(Fe.subres=Fe.subres||{},Fe.subres["x-oss-process"]=Fe.process),Ke=void 0,Ne.prev=6,We=this._objectRequestParams("GET",be,Fe),We.writeStream=_e,We.successStatuses=[200,206,304],Ne.next=12,this.request(We);case 12:Ke=Ne.sent,Te&&_e.destroy(),Ne.next=24;break;case 16:if(Ne.prev=16,Ne.t0=Ne.catch(6),!Te){Ne.next=23;break}return _e.destroy(),E("get error: %s, delete the exists file %s",Ne.t0,Pe),Ne.next=23,this._deleteFileSafe(Pe);case 23:throw Ne.t0;case 24:return Ne.abrupt("return",{res:Ke.res,content:Ke.data});case 25:case"end":return Ne.stop()}},Me,this,[[6,16]])}),Re.getStream=fe.default.mark(function Me(be,Pe){var Fe,_e;return fe.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Pe=Pe||{},Fe=this._objectRequestParams("GET",be,Pe),Fe.customResponse=!0,Fe.successStatuses=[200,206,304],Te.next=6,this.request(Fe);case 6:return _e=Te.sent,Te.abrupt("return",{stream:_e.res,res:{status:_e.status,headers:_e.headers}});case 8:case"end":return Te.stop()}},Me,this)}),Re.delete=fe.default.mark(function Me(be,Pe){var Fe,_e;return fe.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Fe=this._objectRequestParams("DELETE",be,Pe),Fe.successStatuses=[204],Te.next=4,this.request(Fe);case 4:return _e=Te.sent,Te.abrupt("return",{res:_e.res});case 6:case"end":return Te.stop()}},Me,this)}),Re.deleteMulti=fe.default.mark(function Me(be,Pe){var Fe,_e,Te,Ke,We,Ne;return fe.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:for(Pe=Pe||{},Fe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<Delete>
|
|
|
`,Pe.quiet?Fe+=` <Quiet>true</Quiet>
|
|
|
`:Fe+=` <Quiet>false</Quiet>
|
|
|
`,_e=0;_e<be.length;_e++)Fe+=" <Object><Key>"+te.escape(this._objectName(be[_e]))+`</Key></Object>
|
|
|
`;return Fe+="</Delete>",E("delete multi objects: %s",Fe),Pe.subres="delete",Te=this._objectRequestParams("POST","",Pe),Te.mime="xml",Te.content=Fe,Te.xmlResponse=!0,Te.successStatuses=[200],Ye.next=14,this.request(Te);case 14:return Ke=Ye.sent,We=Ke.data,Ne=We&&We.Deleted||null,Ne&&(Array.isArray(Ne)||(Ne=[Ne]),Ne=Ne.map(function(Je){return Je.Key})),Ye.abrupt("return",{res:Ke.res,deleted:Ne});case 19:case"end":return Ye.stop()}},Me,this)}),Re.copy=fe.default.mark(function Me(be,Pe,Fe){var _e,Te,Ke;return fe.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:return Fe=Fe||{},Fe.headers=Fe.headers||{},(0,re.default)(Fe.headers).forEach(function(Ne){Fe.headers["x-oss-copy-source-"+Ne.toLowerCase()]=Fe.headers[Ne]}),Fe.meta&&(Fe.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(Fe.meta,Fe.headers),Pe=Pe[0]!=="/"?"/"+this.options.bucket+"/"+encodeURIComponent(Pe):"/"+encodeURIComponent(Pe.slice(1)),Fe.headers["x-oss-copy-source"]=Pe,_e=this._objectRequestParams("PUT",be,Fe),_e.xmlResponse=!0,_e.successStatuses=[200,304],We.next=12,this.request(_e);case 12:return Te=We.sent,Ke=Te.data,Ke&&(Ke={etag:Ke.ETag,lastModified:Ke.LastModified}),We.abrupt("return",{data:Ke,res:Te.res});case 16:case"end":return We.stop()}},Me,this)}),Re.putMeta=fe.default.mark(function Me(be,Pe,Fe){return fe.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return _e.next=2,this.copy(be,be,{meta:Pe||{},timeout:Fe&&Fe.timeout,ctx:Fe&&Fe.ctx});case 2:return _e.abrupt("return",_e.sent);case 3:case"end":return _e.stop()}},Me,this)}),Re.list=fe.default.mark(function Me(be,Pe){var Fe,_e,Te,Ke,We;return fe.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return Fe=this._objectRequestParams("GET","",Pe),Fe.query=be,Fe.xmlResponse=!0,Fe.successStatuses=[200],Ne.next=6,this.request(Fe);case 6:return _e=Ne.sent,Te=_e.data.Contents,Ke=this,Te&&(Array.isArray(Te)||(Te=[Te]),Te=Te.map(function(Ye){return{name:Ye.Key,url:Ke._objectUrl(Ye.Key),lastModified:Ye.LastModified,etag:Ye.ETag,type:Ye.Type,size:Number(Ye.Size),storageClass:Ye.StorageClass,owner:{id:Ye.Owner.ID,displayName:Ye.Owner.DisplayName}}})),We=_e.data.CommonPrefixes||null,We&&(Array.isArray(We)||(We=[We]),We=We.map(function(Ye){return Ye.Prefix})),Ne.abrupt("return",{res:_e.res,objects:Te,prefixes:We,nextMarker:_e.data.NextMarker||null,isTruncated:_e.data.IsTruncated==="true"});case 13:case"end":return Ne.stop()}},Me,this)}),Re.putACL=fe.default.mark(function Me(be,Pe,Fe){var _e,Te;return fe.default.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return Fe=Fe||{},Fe.subres="acl",Fe.headers=Fe.headers||{},Fe.headers["x-oss-object-acl"]=Pe,be=this._objectName(be),_e=this._objectRequestParams("PUT",be,Fe),_e.successStatuses=[200],Ke.next=9,this.request(_e);case 9:return Te=Ke.sent,Ke.abrupt("return",{res:Te.res});case 11:case"end":return Ke.stop()}},Me,this)}),Re.getACL=fe.default.mark(function Me(be,Pe){var Fe,_e;return fe.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Pe=Pe||{},Pe.subres="acl",be=this._objectName(be),Fe=this._objectRequestParams("GET",be,Pe),Fe.successStatuses=[200],Fe.xmlResponse=!0,Te.next=8,this.request(Fe);case 8:return _e=Te.sent,Te.abrupt("return",{acl:_e.data.AccessControlList.Grant,owner:{id:_e.data.Owner.ID,displayName:_e.data.Owner.DisplayName},res:_e.res});case 10:case"end":return Te.stop()}},Me,this)}),Re.restore=fe.default.mark(function Me(be,Pe){var Fe,_e;return fe.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Pe=Pe||{},Pe.subres="restore",Fe=this._objectRequestParams("POST",be,Pe),Fe.successStatuses=[202],Te.next=6,this.request(Fe);case 6:return _e=Te.sent,Te.abrupt("return",{res:_e.res});case 8:case"end":return Te.stop()}},Me,this)}),Re.signatureUrl=function(Me,be){be=be||{},Me=this._objectName(Me),be.method=be.method||"GET";var Pe=te.timestamp()+(be.expires||1800),Fe={bucket:this.options.bucket,object:Me},_e=this._getResource(Fe);this.options.stsToken&&(be["security-token"]=this.options.stsToken);var Te=Ae._signatureForURL(this.options.accessKeySecret,be,_e,Pe),Ke=we.parse(this._getReqUrl(Fe));return Ke.query={OSSAccessKeyId:this.options.accessKeyId,Expires:Pe,Signature:Te.Signature},xe(Te.subResource).to(Ke.query),Ke.format()},Re.getObjectUrl=function(Me,be){return be?be[be.length-1]!=="/"&&(be+="/"):be=this.options.endpoint.format(),be+this._escape(this._objectName(Me))},Re._objectUrl=function(Me){return this._getReqUrl({bucket:this.options.bucket,object:Me})},Re.generateObjectUrl=function(Me,be){if(be)be[be.length-1]!=="/"&&(be+="/");else{be=this.options.endpoint.format();var Pe=we.parse(be),Fe=this.options.bucket;Pe.hostname=Fe+"."+Pe.hostname,Pe.host=Fe+"."+Pe.host,be=Pe.format()}return be+this._escape(this._objectName(Me))},Re._objectRequestParams=function(Me,be,Pe){if(!this.options.bucket)throw new Error("Please create a bucket first");Pe=Pe||{},be=this._objectName(be);var Fe={object:be,bucket:this.options.bucket,method:Me,subres:Pe&&Pe.subres,timeout:Pe&&Pe.timeout,ctx:Pe&&Pe.ctx};return Pe.headers&&(Fe.headers={},xe(Pe.headers).to(Fe.headers)),Fe},Re._objectName=function(Me){return Me.replace(/^\/+/,"")},Re._statFile=function(Me){return function(be){ne.stat(Me,be)}},Re._convertMetaToHeaders=function(Me,be){Me&&(0,re.default)(Me).forEach(function(Pe){be["x-oss-meta-"+Pe]=Me[Pe]})},Re._deleteFileSafe=function(Me){return function(be){ne.exists(Me,function(Pe){Pe?ne.unlink(Me,function(Fe){Fe&&E("unlink %j error: %s",Me,Fe),be()}):be()})}}},{"../common/callback":7,"../common/signUtils":9,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,"copy-to":43,debug:155,fs:36,"is-type-of":165,mime:242,path:170,url:203,utility:243}],5:[function(oe,ye,De){"use strict";De.version="5.3.1"},{}],6:[function(oe,ye,De){"use strict";function de(ue){return ue&&ue.__esModule?ue:{default:ue}}function ve(ue){return ue&&typeof ue.next=="function"&&typeof ue.throw=="function"}function re(ue){if(!ue)return!1;var Ee=ue.constructor;return!!Ee&&(Ee.name==="GeneratorFunction"||Ee.displayName==="GeneratorFunction"||ve(Ee.prototype)||ve(ue.prototype))}function se(ue,Ee){var Oe=new ue(Ee),Ae=(0,ge.default)(Oe),Re=(0,ge.default)((0,te.default)(Oe));Ae.concat(Re).forEach(function(Me){re(Oe[Me])?this[Me]=we.wrap(Oe[Me]).bind(Oe):this[Me]=Oe[Me]},this)}function fe(ue){if(!(this instanceof fe))return new fe(ue);se.call(this,xe,ue)}var E=oe("babel-runtime/core-js/object/get-prototype-of"),te=de(E),ne=oe("babel-runtime/core-js/object/keys"),ge=de(ne),we=oe("co"),xe=oe("./client");ye.exports=fe,fe.STS=function ue(Ee){if(!(this instanceof ue))return new ue(Ee);se.call(this,xe.STS,Ee)}},{"./client":2,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/core-js/object/keys":23,co:41}],7:[function(oe,ye,De){(function(de){"use strict";function ve(te){return te&&te.__esModule?te:{default:te}}var re=oe("babel-runtime/core-js/object/keys"),se=ve(re),fe=oe("babel-runtime/core-js/json/stringify"),E=ve(fe);De.encodeCallback=function(te,ne){if(te.headers=te.headers||{},!Object.prototype.hasOwnProperty.call(te.headers,"x-oss-callback")&&ne.callback){var ge={callbackUrl:encodeURI(ne.callback.url),callbackBody:ne.callback.body};ne.callback.host&&(ge.callbackHost=ne.callback.host),ne.callback.contentType&&(ge.callbackBodyType=ne.callback.contentType);var we=new de((0,E.default)(ge)).toString("base64");if(te.headers["x-oss-callback"]=we,ne.callback.customValue){var xe={};(0,se.default)(ne.callback.customValue).forEach(function(ue){xe["x:"+ue]=ne.callback.customValue[ue]}),te.headers["x-oss-callback-var"]=new de((0,E.default)(xe)).toString("base64")}}}}).call(this,oe("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38}],8:[function(oe,ye,De){"use strict";var de=oe("babel-runtime/regenerator"),ve=function(E){return E&&E.__esModule?E:{default:E}}(de),re=oe("copy-to"),se=oe("./callback"),fe=De;fe.listUploads=ve.default.mark(function E(te,ne){var ge,we,xe,ue;return ve.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return ne=ne||{},ge={},re(ne).to(ge),ge.subres="uploads",we=this._objectRequestParams("GET","",ge),we.query=te,we.xmlResponse=!0,we.successStatuses=[200],Ee.next=10,this.request(we);case 10:return xe=Ee.sent,ue=xe.data.Upload||[],Array.isArray(ue)||(ue=[ue]),ue=ue.map(function(Oe){return{name:Oe.Key,uploadId:Oe.UploadId,initiated:Oe.Initiated}}),Ee.abrupt("return",{res:xe.res,uploads:ue,bucket:xe.data.Bucket,nextKeyMarker:xe.data.NextKeyMarker,nextUploadIdMarker:xe.data.NextUploadIdMarker,isTruncated:xe.data.IsTruncated==="true"});case 15:case"end":return Ee.stop()}},E,this)}),fe.listParts=ve.default.mark(function E(te,ne,ge,we){var xe,ue,Ee;return ve.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return we=we||{},xe={},re(we).to(xe),xe.subres={uploadId:ne},ue=this._objectRequestParams("GET",te,xe),ue.query=ge,ue.xmlResponse=!0,ue.successStatuses=[200],Oe.next=10,this.request(ue);case 10:return Ee=Oe.sent,Oe.abrupt("return",{res:Ee.res,uploadId:Ee.data.UploadId,bucket:Ee.data.Bucket,name:Ee.data.Key,partNumberMarker:Ee.data.PartNumberMarker,nextPartNumberMarker:Ee.data.NextPartNumberMarker,maxParts:Ee.data.MaxParts,isTruncated:Ee.data.IsTruncated,parts:Ee.data.Part||[]});case 12:case"end":return Oe.stop()}},E,this)}),fe.abortMultipartUpload=ve.default.mark(function E(te,ne,ge){var we,xe,ue;return ve.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return this.cancel(),ge=ge||{},we={},re(ge).to(we),we.subres={uploadId:ne},xe=this._objectRequestParams("DELETE",te,we),xe.successStatuses=[204],Ee.next=9,this.request(xe);case 9:return ue=Ee.sent,Ee.abrupt("return",{res:ue.res});case 11:case"end":return Ee.stop()}},E,this)}),fe.initMultipartUpload=ve.default.mark(function E(te,ne){var ge,we,xe;return ve.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ne=ne||{},ge={},re(ne).to(ge),ge.headers=ge.headers||{},this._convertMetaToHeaders(ne.meta,ge.headers),ge.subres="uploads",we=this._objectRequestParams("POST",te,ge),we.mime=ne.mime,we.xmlResponse=!0,we.successStatuses=[200],ue.next=12,this.request(we);case 12:return xe=ue.sent,ue.abrupt("return",{res:xe.res,bucket:xe.data.Bucket,name:xe.data.Key,uploadId:xe.data.UploadId});case 14:case"end":return ue.stop()}},E,this)}),fe.uploadPart=ve.default.mark(function E(te,ne,ge,we,xe,ue,Ee){var Oe;return ve.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Oe={stream:this._createStream(we,xe,ue),size:ue-xe},Ae.next=3,this._uploadPart(te,ne,ge,Oe,Ee);case 3:return Ae.abrupt("return",Ae.sent);case 4:case"end":return Ae.stop()}},E,this)}),fe.completeMultipartUpload=ve.default.mark(function E(te,ne,ge,we){var xe,ue,Ee,Oe,Ae,Re,Me,be;return ve.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:for(xe=ge.concat().sort(function(Fe,_e){return Fe.number-_e.number}).filter(function(Fe,_e,Te){return!_e||Fe.number!==Te[_e-1].number}),ue=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,Ee=0;Ee<xe.length;Ee++)Oe=xe[Ee],ue+=`<Part>
|
|
|
`,ue+="<PartNumber>"+Oe.number+`</PartNumber>
|
|
|
`,ue+="<ETag>"+Oe.etag+`</ETag>
|
|
|
`,ue+=`</Part>
|
|
|
`;return ue+="</CompleteMultipartUpload>",we=we||{},Ae={},re(we).to(Ae),Ae.subres={uploadId:ne},Re=this._objectRequestParams("POST",te,Ae),se.encodeCallback(Re,Ae),Re.mime="xml",Re.content=ue,Re.headers&&Re.headers["x-oss-callback"]||(Re.xmlResponse=!0),Re.successStatuses=[200],Pe.next=16,this.request(Re);case 16:return Me=Pe.sent,be={res:Me.res,bucket:Re.bucket,name:te,etag:Me.res.headers.etag},Re.headers&&Re.headers["x-oss-callback"]&&(be.data=JSON.parse(Me.data.toString())),Pe.abrupt("return",be);case 20:case"end":return Pe.stop()}},E,this)}),fe._uploadPart=ve.default.mark(function E(te,ne,ge,we,xe){var ue,Ee,Oe;return ve.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return xe=xe||{},ue={},re(xe).to(ue),ue.headers={"Content-Length":we.size},ue.subres={partNumber:ge,uploadId:ne},Ee=this._objectRequestParams("PUT",te,ue),Ee.mime=ue.mime,Ee.stream=we.stream,Ee.successStatuses=[200],Ae.next=11,this.request(Ee);case 11:return Oe=Ae.sent,we.stream=null,Ee.stream=null,Ae.abrupt("return",{name:te,etag:Oe.res.headers.etag,res:Oe.res});case 15:case"end":return Ae.stop()}},E,this)})},{"./callback":7,"babel-runtime/regenerator":33,"copy-to":43}],9:[function(oe,ye,De){(function(de){"use strict";function ve(ge){return ge&&ge.__esModule?ge:{default:ge}}var re=oe("babel-runtime/core-js/json/stringify"),se=ve(re),fe=oe("babel-runtime/core-js/object/keys"),E=ve(fe),te=oe("./../../shims/crypto/crypto.js"),ne=oe("is-type-of");De.buildCanonicalizedResource=function(ge,we){var xe=""+ge,ue="?";if(ne.string(we)&&we.trim()!=="")xe+=ue+we;else if(ne.array(we))we.sort(),xe+=ue+we.join("&");else if(we){var Ee=function(Ae,Re){return Ae[0]>Re[0]?1:Ae[0]<Re[0]?-1:0},Oe=function(Ae){xe+=ue+Ae,we[Ae]&&(xe+="="+we[Ae]),ue="&"};(0,E.default)(we).sort(Ee).forEach(Oe)}return xe},De.buildCanonicalString=function(ge,we,xe,ue){xe=xe||{};var Ee=xe.headers||{},Oe=[],Ae={},Re=[ge.toUpperCase(),Ee["Content-Md5"]||"",Ee["Content-Type"]||Ee["Content-Type".toLowerCase()],ue||Ee["x-oss-date"]];return(0,E.default)(Ee).forEach(function(Me){var be=Me.toLowerCase();be.indexOf("x-oss-")===0&&(Ae[be]=String(Ee[Me]).trim())}),(0,E.default)(Ae).sort().forEach(function(Me){Oe.push(Me+":"+Ae[Me])}),Re=Re.concat(Oe),Re.push(this.buildCanonicalizedResource(we,xe.parameters)),Re.join(`
|
|
|
`)},De.computeSignature=function(ge,we){return te.createHmac("sha1",ge).update(new de(we,"utf8")).digest("base64")},De.authorization=function(ge,we,xe){return"OSS "+ge+":"+this.computeSignature(we,xe)},De._signatureForURL=function(ge,we,xe,ue){var Ee={},Oe={};if(we.process&&(Oe["x-oss-process"]=we.process),we.response&&(0,E.default)(we.response).forEach(function(be){var Pe="response-"+be.toLowerCase();Oe[Pe]=we.response[be]}),(0,E.default)(we).forEach(function(be){var Pe=be.toLowerCase(),Fe=we[be];Pe.indexOf("x-oss-")===0?Ee[Pe]=Fe:Pe.indexOf("content-md5")===0||Pe.indexOf("content-type")===0?Ee[be]=Fe:Pe!=="expires"&&Pe!=="response"&&Pe!=="process"&&Pe!=="method"&&(Oe[Pe]=Fe)}),Object.prototype.hasOwnProperty.call(we,"security-token")&&(Oe["security-token"]=we["security-token"]),Object.prototype.hasOwnProperty.call(we,"callback")){var Ae={callbackUrl:encodeURI(we.callback.url),callbackBody:we.callback.body};if(we.callback.host&&(Ae.callbackHost=we.callback.host),we.callback.contentType&&(Ae.callbackBodyType=we.callback.contentType),Oe.callback=new de((0,se.default)(Ae)).toString("base64"),we.callback.customValue){var Re={};(0,E.default)(we.callback.customValue).forEach(function(be){Re["x:"+be]=we.callback.customValue[be]}),Oe["callback-var"]=new de((0,se.default)(Re)).toString("base64")}}var Me=this.buildCanonicalString(we.method,xe,{headers:Ee,parameters:Oe},ue.toString());return{Signature:this.computeSignature(ge,Me),subResource:Oe}}}).call(this,oe("buffer").Buffer)},{"./../../shims/crypto/crypto.js":237,"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38,"is-type-of":165}],10:[function(oe,ye,De){"use strict";var de=oe("babel-runtime/regenerator"),ve=function(te){return te&&te.__esModule?te:{default:te}}(de),re=oe("co"),se=oe("co-priority-queue"),fe=oe("any-promise"),E=De;E._thunkPool=function(te,ne){function ge(Oe,Ae){++ue===Oe.length&&Ae(Ee)}function we(Oe,Ae){function Re(){var Te;return ve.default.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:Te=void 0;case 1:if(xe.isCancel()){Ke.next=9;break}return Ke.next=4,Pe.next();case 4:return Te=Ke.sent,Ke.next=7,Te();case 7:Ke.next=1;break;case 9:Fe+=1,Fe===Oe&&(Pe.fns=[],Pe.buffer=[],Ae(Ee));case 11:case"end":return Ke.stop()}},be,this)}function Me(Te){console.error(Te.stack)}for(var be=ve.default.mark(Re),Pe=new se,Fe=0,_e=0;_e<Oe;_e++)re(Re).catch(Me);return function(Te,Ke){return function(We){Pe.push(ve.default.mark(function Ne(){return ve.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return Ye.prev=0,Ye.t0=We,Ye.next=4,Te;case 4:Ye.t1=Ye.sent,(0,Ye.t0)(null,Ye.t1),Ye.next=11;break;case 8:Ye.prev=8,Ye.t2=Ye.catch(0),We(Ye.t2);case 11:case"end":return Ye.stop()}},Ne,this,[[0,8]])}),Ke)}}}var xe=this,ue=0,Ee=[];return new fe(function(Oe){function Ae(Fe){return ve.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return _e.next=2,be(te[Fe]);case 2:ge(te,Oe);case 3:case"end":return _e.stop()}},Me,this)}function Re(Fe){Ee.push(Fe),ge(te,Oe)}for(var Me=ve.default.mark(Ae),be=new we(ne,Oe),Pe=0;Pe<te.length;Pe++)re(Ae(Pe)).catch(Re)})},E.cancel=function(){this.options.cancelFlag=!0},E.isCancel=function(){return this.options.cancelFlag},E.resetCancelFlag=function(){this.options.cancelFlag=!1}},{"any-promise":13,"babel-runtime/regenerator":33,co:41,"co-priority-queue":40}],11:[function(oe,ye,De){"use strict";De._isIP=function(de){var ve=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,re=/^\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 ve.test(de)||re.test(de)}},{}],12:[function(oe,ye,De){function de(){}ye.exports=de,ye.exports.HttpsAgent=de},{}],13:[function(oe,ye,De){ye.exports=oe("./register")().Promise},{"./register":15}],14:[function(oe,ye,De){"use strict";var de=null;ye.exports=function(ve,re){return function(se,fe){se=se||null,fe=fe||{};var E=fe.global!==!1;if(de===null&&E&&(de=ve["@@any-promise/REGISTRATION"]||null),de!==null&&se!==null&&de.implementation!==se)throw new Error('any-promise already defined as "'+de.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return de===null&&(de=se!==null&&fe.Promise!==void 0?{Promise:fe.Promise,implementation:se}:re(se),E&&(ve["@@any-promise/REGISTRATION"]=de)),de}}},{}],15:[function(oe,ye,De){"use strict";function de(){if(window.Promise===void 0)throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}ye.exports=oe("./loader")(window,de)},{"./loader":14}],16:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":44}],17:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":45}],18:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":46}],19:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":47}],20:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":48}],21:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":49}],22:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":50}],23:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":51}],24:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":52}],25:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":53}],26:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":54}],27:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":56}],28:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":55}],29:[function(oe,ye,De){ye.exports={default:oe("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":57}],30:[function(oe,ye,De){"use strict";De.__esModule=!0,De.default=function(de,ve){if(!(de instanceof ve))throw new TypeError("Cannot call a class as a function")}},{}],31:[function(oe,ye,De){"use strict";De.__esModule=!0;var de=oe("../core-js/object/define-property"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);De.default=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),(0,ve.default)(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}()},{"../core-js/object/define-property":20}],32:[function(oe,ye,De){"use strict";function de(te){return te&&te.__esModule?te:{default:te}}De.__esModule=!0;var ve=oe("../core-js/symbol/iterator"),re=de(ve),se=oe("../core-js/symbol"),fe=de(se),E=typeof fe.default=="function"&&typeof re.default=="symbol"?function(te){return typeof te}:function(te){return te&&typeof fe.default=="function"&&te.constructor===fe.default&&te!==fe.default.prototype?"symbol":typeof te};De.default=typeof fe.default=="function"&&E(re.default)==="symbol"?function(te){return te===void 0?"undefined":E(te)}:function(te){return te&&typeof fe.default=="function"&&te.constructor===fe.default&&te!==fe.default.prototype?"symbol":te===void 0?"undefined":E(te)}},{"../core-js/symbol":27,"../core-js/symbol/iterator":29}],33:[function(oe,ye,De){ye.exports=oe("regenerator-runtime")},{"regenerator-runtime":191}],34:[function(oe,ye,De){"use strict";function de(Oe){var Ae=Oe.length;if(Ae%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Re=Oe.indexOf("=");return Re===-1&&(Re=Ae),[Re,Re===Ae?0:4-Re%4]}function ve(Oe){var Ae=de(Oe),Re=Ae[0],Me=Ae[1];return 3*(Re+Me)/4-Me}function re(Oe,Ae,Re){return 3*(Ae+Re)/4-Re}function se(Oe){for(var Ae,Re=de(Oe),Me=Re[0],be=Re[1],Pe=new we(re(Oe,Me,be)),Fe=0,_e=be>0?Me-4:Me,Te=0;Te<_e;Te+=4)Ae=ge[Oe.charCodeAt(Te)]<<18|ge[Oe.charCodeAt(Te+1)]<<12|ge[Oe.charCodeAt(Te+2)]<<6|ge[Oe.charCodeAt(Te+3)],Pe[Fe++]=Ae>>16&255,Pe[Fe++]=Ae>>8&255,Pe[Fe++]=255&Ae;return be===2&&(Ae=ge[Oe.charCodeAt(Te)]<<2|ge[Oe.charCodeAt(Te+1)]>>4,Pe[Fe++]=255&Ae),be===1&&(Ae=ge[Oe.charCodeAt(Te)]<<10|ge[Oe.charCodeAt(Te+1)]<<4|ge[Oe.charCodeAt(Te+2)]>>2,Pe[Fe++]=Ae>>8&255,Pe[Fe++]=255&Ae),Pe}function fe(Oe){return ne[Oe>>18&63]+ne[Oe>>12&63]+ne[Oe>>6&63]+ne[63&Oe]}function E(Oe,Ae,Re){for(var Me,be=[],Pe=Ae;Pe<Re;Pe+=3)Me=(Oe[Pe]<<16&16711680)+(Oe[Pe+1]<<8&65280)+(255&Oe[Pe+2]),be.push(fe(Me));return be.join("")}function te(Oe){for(var Ae,Re=Oe.length,Me=Re%3,be=[],Pe=0,Fe=Re-Me;Pe<Fe;Pe+=16383)be.push(E(Oe,Pe,Pe+16383>Fe?Fe:Pe+16383));return Me===1?(Ae=Oe[Re-1],be.push(ne[Ae>>2]+ne[Ae<<4&63]+"==")):Me===2&&(Ae=(Oe[Re-2]<<8)+Oe[Re-1],be.push(ne[Ae>>10]+ne[Ae>>4&63]+ne[Ae<<2&63]+"=")),be.join("")}De.byteLength=ve,De.toByteArray=se,De.fromByteArray=te;for(var ne=[],ge=[],we=typeof Uint8Array!="undefined"?Uint8Array:Array,xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=0,Ee=xe.length;ue<Ee;++ue)ne[ue]=xe[ue],ge[xe.charCodeAt(ue)]=ue;ge[45]=62,ge[95]=63},{}],35:[function(oe,ye,De){(function(de,ve,re){ye!==void 0&&ye.exports?ye.exports=re():typeof b=="function"&&b.amd?b("bowser",re):de.bowser=re()})(this,0,function(){function de(ge){function we(Ue){var Xe=ge.match(Ue);return Xe&&Xe.length>1&&Xe[1]||""}function xe(Ue){var Xe=ge.match(Ue);return Xe&&Xe.length>1&&Xe[2]||""}var ue,Ee=we(/(ipod|iphone|ipad)/i).toLowerCase(),Oe=/like android/i.test(ge),Ae=!Oe&&/android/i.test(ge),Re=/nexus\s*[0-6]\s*/i.test(ge),Me=!Re&&/nexus\s*[0-9]+/i.test(ge),be=/CrOS/.test(ge),Pe=/silk/i.test(ge),Fe=/sailfish/i.test(ge),_e=/tizen/i.test(ge),Te=/(web|hpw)os/i.test(ge),Ke=/windows phone/i.test(ge),We=(/SamsungBrowser/i.test(ge),!Ke&&/windows/i.test(ge)),Ne=!Ee&&!Pe&&/macintosh/i.test(ge),Ye=!Ae&&!Fe&&!_e&&!Te&&/linux/i.test(ge),Je=xe(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),He=we(/version\/(\d+(\.\d+)?)/i),lt=/tablet/i.test(ge)&&!/tablet pc/i.test(ge),ct=!lt&&/[^-]mobi/i.test(ge),tt=/xbox/i.test(ge);/opera/i.test(ge)?ue={name:"Opera",opera:te,version:He||we(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ge)?ue={name:"Opera",opera:te,version:we(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||He}:/SamsungBrowser/i.test(ge)?ue={name:"Samsung Internet for Android",samsungBrowser:te,version:He||we(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(ge)?ue={name:"Opera Coast",coast:te,version:He||we(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(ge)?ue={name:"Yandex Browser",yandexbrowser:te,version:He||we(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ge)?ue={name:"UC Browser",ucbrowser:te,version:we(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ge)?ue={name:"Maxthon",maxthon:te,version:we(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ge)?ue={name:"Epiphany",epiphany:te,version:we(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ge)?ue={name:"Puffin",puffin:te,version:we(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ge)?ue={name:"Sleipnir",sleipnir:te,version:we(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ge)?ue={name:"K-Meleon",kMeleon:te,version:we(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Ke?(ue={name:"Windows Phone",osname:"Windows Phone",windowsphone:te},Je?(ue.msedge=te,ue.version=Je):(ue.msie=te,ue.version=we(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ge)?ue={name:"Internet Explorer",msie:te,version:we(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:be?ue={name:"Chrome",osname:"Chrome OS",chromeos:te,chromeBook:te,chrome:te,version:we(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ge)?ue={name:"Microsoft Edge",msedge:te,version:Je}:/vivaldi/i.test(ge)?ue={name:"Vivaldi",vivaldi:te,version:we(/vivaldi\/(\d+(\.\d+)?)/i)||He}:Fe?ue={name:"Sailfish",osname:"Sailfish OS",sailfish:te,version:we(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ge)?ue={name:"SeaMonkey",seamonkey:te,version:we(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ge)?(ue={name:"Firefox",firefox:te,version:we(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ge)&&(ue.firefoxos=te,ue.osname="Firefox OS")):Pe?ue={name:"Amazon Silk",silk:te,version:we(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ge)?ue={name:"PhantomJS",phantom:te,version:we(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ge)?ue={name:"SlimerJS",slimer:te,version:we(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ge)||/rim\stablet/i.test(ge)?ue={name:"BlackBerry",osname:"BlackBerry OS",blackberry:te,version:He||we(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Te?(ue={name:"WebOS",osname:"WebOS",webos:te,version:He||we(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ge)&&(ue.touchpad=te)):/bada/i.test(ge)?ue={name:"Bada",osname:"Bada",bada:te,version:we(/dolfin\/(\d+(\.\d+)?)/i)}:_e?ue={name:"Tizen",osname:"Tizen",tizen:te,version:we(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||He}:/qupzilla/i.test(ge)?ue={name:"QupZilla",qupzilla:te,version:we(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||He}:/chromium/i.test(ge)?ue={name:"Chromium",chromium:te,version:we(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||He}:/chrome|crios|crmo/i.test(ge)?ue={name:"Chrome",chrome:te,version:we(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:Ae?ue={name:"Android",version:He}:/safari|applewebkit/i.test(ge)?(ue={name:"Safari",safari:te},He&&(ue.version=He)):Ee?(ue={name:Ee=="iphone"?"iPhone":Ee=="ipad"?"iPad":"iPod"},He&&(ue.version=He)):ue=/googlebot/i.test(ge)?{name:"Googlebot",googlebot:te,version:we(/googlebot\/(\d+(\.\d+))/i)||He}:{name:we(/^(.*)\/(.*) /),version:xe(/^(.*)\/(.*) /)},!ue.msedge&&/(apple)?webkit/i.test(ge)?(/(apple)?webkit\/537\.36/i.test(ge)?(ue.name=ue.name||"Blink",ue.blink=te):(ue.name=ue.name||"Webkit",ue.webkit=te),!ue.version&&He&&(ue.version=He)):!ue.opera&&/gecko\//i.test(ge)&&(ue.name=ue.name||"Gecko",ue.gecko=te,ue.version=ue.version||we(/gecko\/(\d+(\.\d+)?)/i)),ue.windowsphone||!Ae&&!ue.silk?!ue.windowsphone&&Ee?(ue[Ee]=te,ue.ios=te,ue.osname="iOS"):Ne?(ue.mac=te,ue.osname="macOS"):tt?(ue.xbox=te,ue.osname="Xbox"):We?(ue.windows=te,ue.osname="Windows"):Ye&&(ue.linux=te,ue.osname="Linux"):(ue.android=te,ue.osname="Android");var Bt="";ue.windows?Bt=function(Ue){switch(Ue){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}}(we(/Windows ((NT|XP)( \d\d?.\d)?)/i)):ue.windowsphone?Bt=we(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):ue.mac?(Bt=we(/Mac OS X (\d+([_\.\s]\d+)*)/i),Bt=Bt.replace(/[_\s]/g,".")):Ee?(Bt=we(/os (\d+([_\s]\d+)*) like mac os x/i),Bt=Bt.replace(/[_\s]/g,".")):Ae?Bt=we(/android[ \/-](\d+(\.\d+)*)/i):ue.webos?Bt=we(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):ue.blackberry?Bt=we(/rim\stablet\sos\s(\d+(\.\d+)*)/i):ue.bada?Bt=we(/bada\/(\d+(\.\d+)*)/i):ue.tizen&&(Bt=we(/tizen[\/\s](\d+(\.\d+)*)/i)),Bt&&(ue.osversion=Bt);var nt=!ue.windows&&Bt.split(".")[0];return lt||Me||Ee=="ipad"||Ae&&(nt==3||nt>=4&&!ct)||ue.silk?ue.tablet=te:(ct||Ee=="iphone"||Ee=="ipod"||Ae||Re||ue.blackberry||ue.webos||ue.bada)&&(ue.mobile=te),ue.msedge||ue.msie&&ue.version>=10||ue.yandexbrowser&&ue.version>=15||ue.vivaldi&&ue.version>=1||ue.chrome&&ue.version>=20||ue.samsungBrowser&&ue.version>=4||ue.firefox&&ue.version>=20||ue.safari&&ue.version>=6||ue.opera&&ue.version>=10||ue.ios&&ue.osversion&&ue.osversion.split(".")[0]>=6||ue.blackberry&&ue.version>=10.1||ue.chromium&&ue.version>=20?ue.a=te:ue.msie&&ue.version<10||ue.chrome&&ue.version<20||ue.firefox&&ue.version<20||ue.safari&&ue.version<6||ue.opera&&ue.version<10||ue.ios&&ue.osversion&&ue.osversion.split(".")[0]<6||ue.chromium&&ue.version<20?ue.c=te:ue.x=te,ue}function ve(ge){return ge.split(".").length}function re(ge,we){var xe,ue=[];if(Array.prototype.map)return Array.prototype.map.call(ge,we);for(xe=0;xe<ge.length;xe++)ue.push(we(ge[xe]));return ue}function se(ge){for(var we=Math.max(ve(ge[0]),ve(ge[1])),xe=re(ge,function(ue){var Ee=we-ve(ue);return ue+=new Array(Ee+1).join(".0"),re(ue.split("."),function(Oe){return new Array(20-Oe.length).join("0")+Oe}).reverse()});--we>=0;){if(xe[0][we]>xe[1][we])return 1;if(xe[0][we]!==xe[1][we])return-1;if(we===0)return 0}}function fe(ge,we,xe){var ue=ne;typeof we=="string"&&(xe=we,we=void 0),we===void 0&&(we=!1),xe&&(ue=de(xe));var Ee=""+ue.version;for(var Oe in ge)if(ge.hasOwnProperty(Oe)&&ue[Oe]){if(typeof ge[Oe]!="string")throw new Error("Browser version in the minVersion map should be a string: "+Oe+": "+String(ge));return se([Ee,ge[Oe]])<0}return we}function E(ge,we,xe){return!fe(ge,we,xe)}var te=!0,ne=de(typeof navigator!="undefined"&&navigator.userAgent||"");return ne.test=function(ge){for(var we=0;we<ge.length;++we){var xe=ge[we];if(typeof xe=="string"&&xe in ne)return!0}return!1},ne.isUnsupportedBrowser=fe,ne.compareVersions=se,ne.check=E,ne._detect=de,ne.detect=de,ne})},{}],36:[function(oe,ye,De){},{}],37:[function(oe,ye,De){function de(ne){if(ne&&!E(ne))throw new Error("Unknown encoding: "+ne)}function ve(ne){return ne.toString(this.encoding)}function re(ne){this.charReceived=ne.length%2,this.charLength=this.charReceived?2:0}function se(ne){this.charReceived=ne.length%3,this.charLength=this.charReceived?3:0}var fe=oe("buffer").Buffer,E=fe.isEncoding||function(ne){switch(ne&&ne.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}},te=De.StringDecoder=function(ne){switch(this.encoding=(ne||"utf8").toLowerCase().replace(/[-_]/,""),de(ne),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=re;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=se;break;default:return void(this.write=ve)}this.charBuffer=new fe(6),this.charReceived=0,this.charLength=0};te.prototype.write=function(ne){for(var ge="";this.charLength;){var we=ne.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:ne.length;if(ne.copy(this.charBuffer,this.charReceived,0,we),this.charReceived+=we,this.charReceived<this.charLength)return"";ne=ne.slice(we,ne.length),ge=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var ue=ge.charCodeAt(ge.length-1);if(!(ue>=55296&&ue<=56319)){if(this.charReceived=this.charLength=0,ne.length===0)return ge;break}this.charLength+=this.surrogateSize,ge=""}this.detectIncompleteChar(ne);var xe=ne.length;this.charLength&&(ne.copy(this.charBuffer,0,ne.length-this.charReceived,xe),xe-=this.charReceived),ge+=ne.toString(this.encoding,0,xe);var xe=ge.length-1,ue=ge.charCodeAt(xe);if(ue>=55296&&ue<=56319){var Ee=this.surrogateSize;return this.charLength+=Ee,this.charReceived+=Ee,this.charBuffer.copy(this.charBuffer,Ee,0,Ee),ne.copy(this.charBuffer,0,0,Ee),ge.substring(0,xe)}return ge},te.prototype.detectIncompleteChar=function(ne){for(var ge=ne.length>=3?3:ne.length;ge>0;ge--){var we=ne[ne.length-ge];if(ge==1&&we>>5==6){this.charLength=2;break}if(ge<=2&&we>>4==14){this.charLength=3;break}if(ge<=3&&we>>3==30){this.charLength=4;break}}this.charReceived=ge},te.prototype.end=function(ne){var ge="";if(ne&&ne.length&&(ge=this.write(ne)),this.charReceived){var we=this.charReceived,xe=this.charBuffer,ue=this.encoding;ge+=xe.slice(0,we).toString(ue)}return ge}},{buffer:38}],38:[function(oe,ye,De){(function(de){"use strict";function ve(){return se.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function re(x,me){if(ve()<me)throw new RangeError("Invalid typed array length");return se.TYPED_ARRAY_SUPPORT?(x=new Uint8Array(me),x.__proto__=se.prototype):(x===null&&(x=new se(me)),x.length=me),x}function se(x,me,Le){if(!(se.TYPED_ARRAY_SUPPORT||this instanceof se))return new se(x,me,Le);if(typeof x=="number"){if(typeof me=="string")throw new Error("If encoding is specified then the first argument must be a string");return ne(this,x)}return fe(this,x,me,Le)}function fe(x,me,Le,Se){if(typeof me=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&me instanceof ArrayBuffer?xe(x,me,Le,Se):typeof me=="string"?ge(x,me,Le):ue(x,me)}function E(x){if(typeof x!="number")throw new TypeError('"size" argument must be a number');if(x<0)throw new RangeError('"size" argument must not be negative')}function te(x,me,Le,Se){return E(me),me<=0?re(x,me):Le!==void 0?typeof Se=="string"?re(x,me).fill(Le,Se):re(x,me).fill(Le):re(x,me)}function ne(x,me){if(E(me),x=re(x,me<0?0:0|Ee(me)),!se.TYPED_ARRAY_SUPPORT)for(var Le=0;Le<me;++Le)x[Le]=0;return x}function ge(x,me,Le){if(typeof Le=="string"&&Le!==""||(Le="utf8"),!se.isEncoding(Le))throw new TypeError('"encoding" must be a valid string encoding');var Se=0|Ae(me,Le);x=re(x,Se);var Be=x.write(me,Le);return Be!==Se&&(x=x.slice(0,Be)),x}function we(x,me){var Le=me.length<0?0:0|Ee(me.length);x=re(x,Le);for(var Se=0;Se<Le;Se+=1)x[Se]=255&me[Se];return x}function xe(x,me,Le,Se){if(me.byteLength,Le<0||me.byteLength<Le)throw new RangeError("'offset' is out of bounds");if(me.byteLength<Le+(Se||0))throw new RangeError("'length' is out of bounds");return me=Le===void 0&&Se===void 0?new Uint8Array(me):Se===void 0?new Uint8Array(me,Le):new Uint8Array(me,Le,Se),se.TYPED_ARRAY_SUPPORT?(x=me,x.__proto__=se.prototype):x=we(x,me),x}function ue(x,me){if(se.isBuffer(me)){var Le=0|Ee(me.length);return x=re(x,Le),x.length===0||me.copy(x,0,0,Le),x}if(me){if(typeof ArrayBuffer!="undefined"&&me.buffer instanceof ArrayBuffer||"length"in me)return typeof me.length!="number"||le(me.length)?re(x,0):we(x,me);if(me.type==="Buffer"&&Ge(me.data))return we(x,me.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Ee(x){if(x>=ve())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ve().toString(16)+" bytes");return 0|x}function Oe(x){return+x!=x&&(x=0),se.alloc(+x)}function Ae(x,me){if(se.isBuffer(x))return x.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(x)||x instanceof ArrayBuffer))return x.byteLength;typeof x!="string"&&(x=""+x);var Le=x.length;if(Le===0)return 0;for(var Se=!1;;)switch(me){case"ascii":case"latin1":case"binary":return Le;case"utf8":case"utf-8":case void 0:return Tt(x).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Le;case"hex":return Le>>>1;case"base64":return gt(x).length;default:if(Se)return Tt(x).length;me=(""+me).toLowerCase(),Se=!0}}function Re(x,me,Le){var Se=!1;if((me===void 0||me<0)&&(me=0),me>this.length||((Le===void 0||Le>this.length)&&(Le=this.length),Le<=0)||(Le>>>=0,me>>>=0,Le<=me))return"";for(x||(x="utf8");;)switch(x){case"hex":return tt(this,me,Le);case"utf8":case"utf-8":return Je(this,me,Le);case"ascii":return lt(this,me,Le);case"latin1":case"binary":return ct(this,me,Le);case"base64":return Ye(this,me,Le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Bt(this,me,Le);default:if(Se)throw new TypeError("Unknown encoding: "+x);x=(x+"").toLowerCase(),Se=!0}}function Me(x,me,Le){var Se=x[me];x[me]=x[Le],x[Le]=Se}function be(x,me,Le,Se,Be){if(x.length===0)return-1;if(typeof Le=="string"?(Se=Le,Le=0):Le>2147483647?Le=2147483647:Le<-2147483648&&(Le=-2147483648),Le=+Le,isNaN(Le)&&(Le=Be?0:x.length-1),Le<0&&(Le=x.length+Le),Le>=x.length){if(Be)return-1;Le=x.length-1}else if(Le<0){if(!Be)return-1;Le=0}if(typeof me=="string"&&(me=se.from(me,Se)),se.isBuffer(me))return me.length===0?-1:Pe(x,me,Le,Se,Be);if(typeof me=="number")return me&=255,se.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Be?Uint8Array.prototype.indexOf.call(x,me,Le):Uint8Array.prototype.lastIndexOf.call(x,me,Le):Pe(x,[me],Le,Se,Be);throw new TypeError("val must be string, number or Buffer")}function Pe(x,me,Le,Se,Be){function Qe(Lt,qt){return it===1?Lt[qt]:Lt.readUInt16BE(qt*it)}var it=1,ot=x.length,at=me.length;if(Se!==void 0&&((Se=String(Se).toLowerCase())==="ucs2"||Se==="ucs-2"||Se==="utf16le"||Se==="utf-16le")){if(x.length<2||me.length<2)return-1;it=2,ot/=2,at/=2,Le/=2}var Rt;if(Be){var Ft=-1;for(Rt=Le;Rt<ot;Rt++)if(Qe(x,Rt)===Qe(me,Ft===-1?0:Rt-Ft)){if(Ft===-1&&(Ft=Rt),Rt-Ft+1===at)return Ft*it}else Ft!==-1&&(Rt-=Rt-Ft),Ft=-1}else for(Le+at>ot&&(Le=ot-at),Rt=Le;Rt>=0;Rt--){for(var rn=!0,nn=0;nn<at;nn++)if(Qe(x,Rt+nn)!==Qe(me,nn)){rn=!1;break}if(rn)return Rt}return-1}function Fe(x,me,Le,Se){Le=Number(Le)||0;var Be=x.length-Le;Se?(Se=Number(Se))>Be&&(Se=Be):Se=Be;var Qe=me.length;if(Qe%2!=0)throw new TypeError("Invalid hex string");Se>Qe/2&&(Se=Qe/2);for(var it=0;it<Se;++it){var ot=parseInt(me.substr(2*it,2),16);if(isNaN(ot))return it;x[Le+it]=ot}return it}function _e(x,me,Le,Se){return je(Tt(me,x.length-Le),x,Le,Se)}function Te(x,me,Le,Se){return je(bt(me),x,Le,Se)}function Ke(x,me,Le,Se){return Te(x,me,Le,Se)}function We(x,me,Le,Se){return je(gt(me),x,Le,Se)}function Ne(x,me,Le,Se){return je(Ct(me,x.length-Le),x,Le,Se)}function Ye(x,me,Le){return me===0&&Le===x.length?ie.fromByteArray(x):ie.fromByteArray(x.slice(me,Le))}function Je(x,me,Le){Le=Math.min(x.length,Le);for(var Se=[],Be=me;Be<Le;){var Qe=x[Be],it=null,ot=Qe>239?4:Qe>223?3:Qe>191?2:1;if(Be+ot<=Le){var at,Rt,Ft,rn;switch(ot){case 1:Qe<128&&(it=Qe);break;case 2:at=x[Be+1],(192&at)==128&&(rn=(31&Qe)<<6|63&at)>127&&(it=rn);break;case 3:at=x[Be+1],Rt=x[Be+2],(192&at)==128&&(192&Rt)==128&&(rn=(15&Qe)<<12|(63&at)<<6|63&Rt)>2047&&(rn<55296||rn>57343)&&(it=rn);break;case 4:at=x[Be+1],Rt=x[Be+2],Ft=x[Be+3],(192&at)==128&&(192&Rt)==128&&(192&Ft)==128&&(rn=(15&Qe)<<18|(63&at)<<12|(63&Rt)<<6|63&Ft)>65535&&rn<1114112&&(it=rn)}}it===null?(it=65533,ot=1):it>65535&&(it-=65536,Se.push(it>>>10&1023|55296),it=56320|1023&it),Se.push(it),Be+=ot}return He(Se)}function He(x){var me=x.length;if(me<=Ie)return String.fromCharCode.apply(String,x);for(var Le="",Se=0;Se<me;)Le+=String.fromCharCode.apply(String,x.slice(Se,Se+=Ie));return Le}function lt(x,me,Le){var Se="";Le=Math.min(x.length,Le);for(var Be=me;Be<Le;++Be)Se+=String.fromCharCode(127&x[Be]);return Se}function ct(x,me,Le){var Se="";Le=Math.min(x.length,Le);for(var Be=me;Be<Le;++Be)Se+=String.fromCharCode(x[Be]);return Se}function tt(x,me,Le){var Se=x.length;(!me||me<0)&&(me=0),(!Le||Le<0||Le>Se)&&(Le=Se);for(var Be="",Qe=me;Qe<Le;++Qe)Be+=dt(x[Qe]);return Be}function Bt(x,me,Le){for(var Se=x.slice(me,Le),Be="",Qe=0;Qe<Se.length;Qe+=2)Be+=String.fromCharCode(Se[Qe]+256*Se[Qe+1]);return Be}function nt(x,me,Le){if(x%1!=0||x<0)throw new RangeError("offset is not uint");if(x+me>Le)throw new RangeError("Trying to access beyond buffer length")}function Ue(x,me,Le,Se,Be,Qe){if(!se.isBuffer(x))throw new TypeError('"buffer" argument must be a Buffer instance');if(me>Be||me<Qe)throw new RangeError('"value" argument is out of bounds');if(Le+Se>x.length)throw new RangeError("Index out of range")}function Xe(x,me,Le,Se){me<0&&(me=65535+me+1);for(var Be=0,Qe=Math.min(x.length-Le,2);Be<Qe;++Be)x[Le+Be]=(me&255<<8*(Se?Be:1-Be))>>>8*(Se?Be:1-Be)}function $e(x,me,Le,Se){me<0&&(me=4294967295+me+1);for(var Be=0,Qe=Math.min(x.length-Le,4);Be<Qe;++Be)x[Le+Be]=me>>>8*(Se?Be:3-Be)&255}function qe(x,me,Le,Se,Be,Qe){if(Le+Se>x.length)throw new RangeError("Index out of range");if(Le<0)throw new RangeError("Index out of range")}function Ve(x,me,Le,Se,Be){return Be||qe(x,me,Le,4,34028234663852886e22,-34028234663852886e22),ke.write(x,me,Le,Se,23,4),Le+4}function ht(x,me,Le,Se,Be){return Be||qe(x,me,Le,8,17976931348623157e292,-17976931348623157e292),ke.write(x,me,Le,Se,52,8),Le+8}function st(x){if(x=Nt(x).replace(pe,""),x.length<2)return"";for(;x.length%4!=0;)x+="=";return x}function Nt(x){return x.trim?x.trim():x.replace(/^\s+|\s+$/g,"")}function dt(x){return x<16?"0"+x.toString(16):x.toString(16)}function Tt(x,me){me=me||1/0;for(var Le,Se=x.length,Be=null,Qe=[],it=0;it<Se;++it){if((Le=x.charCodeAt(it))>55295&&Le<57344){if(!Be){if(Le>56319){(me-=3)>-1&&Qe.push(239,191,189);continue}if(it+1===Se){(me-=3)>-1&&Qe.push(239,191,189);continue}Be=Le;continue}if(Le<56320){(me-=3)>-1&&Qe.push(239,191,189),Be=Le;continue}Le=65536+(Be-55296<<10|Le-56320)}else Be&&(me-=3)>-1&&Qe.push(239,191,189);if(Be=null,Le<128){if((me-=1)<0)break;Qe.push(Le)}else if(Le<2048){if((me-=2)<0)break;Qe.push(Le>>6|192,63&Le|128)}else if(Le<65536){if((me-=3)<0)break;Qe.push(Le>>12|224,Le>>6&63|128,63&Le|128)}else{if(!(Le<1114112))throw new Error("Invalid code point");if((me-=4)<0)break;Qe.push(Le>>18|240,Le>>12&63|128,Le>>6&63|128,63&Le|128)}}return Qe}function bt(x){for(var me=[],Le=0;Le<x.length;++Le)me.push(255&x.charCodeAt(Le));return me}function Ct(x,me){for(var Le,Se,Be,Qe=[],it=0;it<x.length&&!((me-=2)<0);++it)Le=x.charCodeAt(it),Se=Le>>8,Be=Le%256,Qe.push(Be),Qe.push(Se);return Qe}function gt(x){return ie.toByteArray(st(x))}function je(x,me,Le,Se){for(var Be=0;Be<Se&&!(Be+Le>=me.length||Be>=x.length);++Be)me[Be+Le]=x[Be];return Be}function le(x){return x!==x}var ie=oe("base64-js"),ke=oe("ieee754"),Ge=oe("isarray");De.Buffer=se,De.SlowBuffer=Oe,De.INSPECT_MAX_BYTES=50,se.TYPED_ARRAY_SUPPORT=de.TYPED_ARRAY_SUPPORT!==void 0?de.TYPED_ARRAY_SUPPORT:function(){try{var x=new Uint8Array(1);return x.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},x.foo()===42&&typeof x.subarray=="function"&&x.subarray(1,1).byteLength===0}catch(me){return!1}}(),De.kMaxLength=ve(),se.poolSize=8192,se._augment=function(x){return x.__proto__=se.prototype,x},se.from=function(x,me,Le){return fe(null,x,me,Le)},se.TYPED_ARRAY_SUPPORT&&(se.prototype.__proto__=Uint8Array.prototype,se.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&se[Symbol.species]===se&&Object.defineProperty(se,Symbol.species,{value:null,configurable:!0})),se.alloc=function(x,me,Le){return te(null,x,me,Le)},se.allocUnsafe=function(x){return ne(null,x)},se.allocUnsafeSlow=function(x){return ne(null,x)},se.isBuffer=function(x){return!(x==null||!x._isBuffer)},se.compare=function(x,me){if(!se.isBuffer(x)||!se.isBuffer(me))throw new TypeError("Arguments must be Buffers");if(x===me)return 0;for(var Le=x.length,Se=me.length,Be=0,Qe=Math.min(Le,Se);Be<Qe;++Be)if(x[Be]!==me[Be]){Le=x[Be],Se=me[Be];break}return Le<Se?-1:Se<Le?1:0},se.isEncoding=function(x){switch(String(x).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}},se.concat=function(x,me){if(!Ge(x))throw new TypeError('"list" argument must be an Array of Buffers');if(x.length===0)return se.alloc(0);var Le;if(me===void 0)for(me=0,Le=0;Le<x.length;++Le)me+=x[Le].length;var Se=se.allocUnsafe(me),Be=0;for(Le=0;Le<x.length;++Le){var Qe=x[Le];if(!se.isBuffer(Qe))throw new TypeError('"list" argument must be an Array of Buffers');Qe.copy(Se,Be),Be+=Qe.length}return Se},se.byteLength=Ae,se.prototype._isBuffer=!0,se.prototype.swap16=function(){var x=this.length;if(x%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var me=0;me<x;me+=2)Me(this,me,me+1);return this},se.prototype.swap32=function(){var x=this.length;if(x%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var me=0;me<x;me+=4)Me(this,me,me+3),Me(this,me+1,me+2);return this},se.prototype.swap64=function(){var x=this.length;if(x%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var me=0;me<x;me+=8)Me(this,me,me+7),Me(this,me+1,me+6),Me(this,me+2,me+5),Me(this,me+3,me+4);return this},se.prototype.toString=function(){var x=0|this.length;return x===0?"":arguments.length===0?Je(this,0,x):Re.apply(this,arguments)},se.prototype.equals=function(x){if(!se.isBuffer(x))throw new TypeError("Argument must be a Buffer");return this===x||se.compare(this,x)===0},se.prototype.inspect=function(){var x="",me=De.INSPECT_MAX_BYTES;return this.length>0&&(x=this.toString("hex",0,me).match(/.{2}/g).join(" "),this.length>me&&(x+=" ... ")),"<Buffer "+x+">"},se.prototype.compare=function(x,me,Le,Se,Be){if(!se.isBuffer(x))throw new TypeError("Argument must be a Buffer");if(me===void 0&&(me=0),Le===void 0&&(Le=x?x.length:0),Se===void 0&&(Se=0),Be===void 0&&(Be=this.length),me<0||Le>x.length||Se<0||Be>this.length)throw new RangeError("out of range index");if(Se>=Be&&me>=Le)return 0;if(Se>=Be)return-1;if(me>=Le)return 1;if(me>>>=0,Le>>>=0,Se>>>=0,Be>>>=0,this===x)return 0;for(var Qe=Be-Se,it=Le-me,ot=Math.min(Qe,it),at=this.slice(Se,Be),Rt=x.slice(me,Le),Ft=0;Ft<ot;++Ft)if(at[Ft]!==Rt[Ft]){Qe=at[Ft],it=Rt[Ft];break}return Qe<it?-1:it<Qe?1:0},se.prototype.includes=function(x,me,Le){return this.indexOf(x,me,Le)!==-1},se.prototype.indexOf=function(x,me,Le){return be(this,x,me,Le,!0)},se.prototype.lastIndexOf=function(x,me,Le){return be(this,x,me,Le,!1)},se.prototype.write=function(x,me,Le,Se){if(me===void 0)Se="utf8",Le=this.length,me=0;else if(Le===void 0&&typeof me=="string")Se=me,Le=this.length,me=0;else{if(!isFinite(me))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");me|=0,isFinite(Le)?(Le|=0,Se===void 0&&(Se="utf8")):(Se=Le,Le=void 0)}var Be=this.length-me;if((Le===void 0||Le>Be)&&(Le=Be),x.length>0&&(Le<0||me<0)||me>this.length)throw new RangeError("Attempt to write outside buffer bounds");Se||(Se="utf8");for(var Qe=!1;;)switch(Se){case"hex":return Fe(this,x,me,Le);case"utf8":case"utf-8":return _e(this,x,me,Le);case"ascii":return Te(this,x,me,Le);case"latin1":case"binary":return Ke(this,x,me,Le);case"base64":return We(this,x,me,Le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne(this,x,me,Le);default:if(Qe)throw new TypeError("Unknown encoding: "+Se);Se=(""+Se).toLowerCase(),Qe=!0}},se.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Ie=4096;se.prototype.slice=function(x,me){var Le=this.length;x=~~x,me=me===void 0?Le:~~me,x<0?(x+=Le)<0&&(x=0):x>Le&&(x=Le),me<0?(me+=Le)<0&&(me=0):me>Le&&(me=Le),me<x&&(me=x);var Se;if(se.TYPED_ARRAY_SUPPORT)Se=this.subarray(x,me),Se.__proto__=se.prototype;else{var Be=me-x;Se=new se(Be,void 0);for(var Qe=0;Qe<Be;++Qe)Se[Qe]=this[Qe+x]}return Se},se.prototype.readUIntLE=function(x,me,Le){x|=0,me|=0,Le||nt(x,me,this.length);for(var Se=this[x],Be=1,Qe=0;++Qe<me&&(Be*=256);)Se+=this[x+Qe]*Be;return Se},se.prototype.readUIntBE=function(x,me,Le){x|=0,me|=0,Le||nt(x,me,this.length);for(var Se=this[x+--me],Be=1;me>0&&(Be*=256);)Se+=this[x+--me]*Be;return Se},se.prototype.readUInt8=function(x,me){return me||nt(x,1,this.length),this[x]},se.prototype.readUInt16LE=function(x,me){return me||nt(x,2,this.length),this[x]|this[x+1]<<8},se.prototype.readUInt16BE=function(x,me){return me||nt(x,2,this.length),this[x]<<8|this[x+1]},se.prototype.readUInt32LE=function(x,me){return me||nt(x,4,this.length),(this[x]|this[x+1]<<8|this[x+2]<<16)+16777216*this[x+3]},se.prototype.readUInt32BE=function(x,me){return me||nt(x,4,this.length),16777216*this[x]+(this[x+1]<<16|this[x+2]<<8|this[x+3])},se.prototype.readIntLE=function(x,me,Le){x|=0,me|=0,Le||nt(x,me,this.length);for(var Se=this[x],Be=1,Qe=0;++Qe<me&&(Be*=256);)Se+=this[x+Qe]*Be;return Be*=128,Se>=Be&&(Se-=Math.pow(2,8*me)),Se},se.prototype.readIntBE=function(x,me,Le){x|=0,me|=0,Le||nt(x,me,this.length);for(var Se=me,Be=1,Qe=this[x+--Se];Se>0&&(Be*=256);)Qe+=this[x+--Se]*Be;return Be*=128,Qe>=Be&&(Qe-=Math.pow(2,8*me)),Qe},se.prototype.readInt8=function(x,me){return me||nt(x,1,this.length),128&this[x]?-1*(255-this[x]+1):this[x]},se.prototype.readInt16LE=function(x,me){me||nt(x,2,this.length);var Le=this[x]|this[x+1]<<8;return 32768&Le?4294901760|Le:Le},se.prototype.readInt16BE=function(x,me){me||nt(x,2,this.length);var Le=this[x+1]|this[x]<<8;return 32768&Le?4294901760|Le:Le},se.prototype.readInt32LE=function(x,me){return me||nt(x,4,this.length),this[x]|this[x+1]<<8|this[x+2]<<16|this[x+3]<<24},se.prototype.readInt32BE=function(x,me){return me||nt(x,4,this.length),this[x]<<24|this[x+1]<<16|this[x+2]<<8|this[x+3]},se.prototype.readFloatLE=function(x,me){return me||nt(x,4,this.length),ke.read(this,x,!0,23,4)},se.prototype.readFloatBE=function(x,me){return me||nt(x,4,this.length),ke.read(this,x,!1,23,4)},se.prototype.readDoubleLE=function(x,me){return me||nt(x,8,this.length),ke.read(this,x,!0,52,8)},se.prototype.readDoubleBE=function(x,me){return me||nt(x,8,this.length),ke.read(this,x,!1,52,8)},se.prototype.writeUIntLE=function(x,me,Le,Se){x=+x,me|=0,Le|=0,!Se&&Ue(this,x,me,Le,Math.pow(2,8*Le)-1,0);var Be=1,Qe=0;for(this[me]=255&x;++Qe<Le&&(Be*=256);)this[me+Qe]=x/Be&255;return me+Le},se.prototype.writeUIntBE=function(x,me,Le,Se){x=+x,me|=0,Le|=0,!Se&&Ue(this,x,me,Le,Math.pow(2,8*Le)-1,0);var Be=Le-1,Qe=1;for(this[me+Be]=255&x;--Be>=0&&(Qe*=256);)this[me+Be]=x/Qe&255;return me+Le},se.prototype.writeUInt8=function(x,me,Le){return x=+x,me|=0,Le||Ue(this,x,me,1,255,0),se.TYPED_ARRAY_SUPPORT||(x=Math.floor(x)),this[me]=255&x,me+1},se.prototype.writeUInt16LE=function(x,me,Le){return x=+x,me|=0,Le||Ue(this,x,me,2,65535,0),se.TYPED_ARRAY_SUPPORT?(this[me]=255&x,this[me+1]=x>>>8):Xe(this,x,me,!0),me+2},se.prototype.writeUInt16BE=function(x,me,Le){return x=+x,me|=0,Le||Ue(this,x,me,2,65535,0),se.TYPED_ARRAY_SUPPORT?(this[me]=x>>>8,this[me+1]=255&x):Xe(this,x,me,!1),me+2},se.prototype.writeUInt32LE=function(x,me,Le){return x=+x,me|=0,Le||Ue(this,x,me,4,4294967295,0),se.TYPED_ARRAY_SUPPORT?(this[me+3]=x>>>24,this[me+2]=x>>>16,this[me+1]=x>>>8,this[me]=255&x):$e(this,x,me,!0),me+4},se.prototype.writeUInt32BE=function(x,me,Le){return x=+x,me|=0,Le||Ue(this,x,me,4,4294967295,0),se.TYPED_ARRAY_SUPPORT?(this[me]=x>>>24,this[me+1]=x>>>16,this[me+2]=x>>>8,this[me+3]=255&x):$e(this,x,me,!1),me+4},se.prototype.writeIntLE=function(x,me,Le,Se){if(x=+x,me|=0,!Se){var Be=Math.pow(2,8*Le-1);Ue(this,x,me,Le,Be-1,-Be)}var Qe=0,it=1,ot=0;for(this[me]=255&x;++Qe<Le&&(it*=256);)x<0&&ot===0&&this[me+Qe-1]!==0&&(ot=1),this[me+Qe]=(x/it>>0)-ot&255;return me+Le},se.prototype.writeIntBE=function(x,me,Le,Se){if(x=+x,me|=0,!Se){var Be=Math.pow(2,8*Le-1);Ue(this,x,me,Le,Be-1,-Be)}var Qe=Le-1,it=1,ot=0;for(this[me+Qe]=255&x;--Qe>=0&&(it*=256);)x<0&&ot===0&&this[me+Qe+1]!==0&&(ot=1),this[me+Qe]=(x/it>>0)-ot&255;return me+Le},se.prototype.writeInt8=function(x,me,Le){return x=+x,me|=0,Le||Ue(this,x,me,1,127,-128),se.TYPED_ARRAY_SUPPORT||(x=Math.floor(x)),x<0&&(x=255+x+1),this[me]=255&x,me+1},se.prototype.writeInt16LE=function(x,me,Le){return x=+x,me|=0,Le||Ue(this,x,me,2,32767,-32768),se.TYPED_ARRAY_SUPPORT?(this[me]=255&x,this[me+1]=x>>>8):Xe(this,x,me,!0),me+2},se.prototype.writeInt16BE=function(x,me,Le){return x=+x,me|=0,Le||Ue(this,x,me,2,32767,-32768),se.TYPED_ARRAY_SUPPORT?(this[me]=x>>>8,this[me+1]=255&x):Xe(this,x,me,!1),me+2},se.prototype.writeInt32LE=function(x,me,Le){return x=+x,me|=0,Le||Ue(this,x,me,4,2147483647,-2147483648),se.TYPED_ARRAY_SUPPORT?(this[me]=255&x,this[me+1]=x>>>8,this[me+2]=x>>>16,this[me+3]=x>>>24):$e(this,x,me,!0),me+4},se.prototype.writeInt32BE=function(x,me,Le){return x=+x,me|=0,Le||Ue(this,x,me,4,2147483647,-2147483648),x<0&&(x=4294967295+x+1),se.TYPED_ARRAY_SUPPORT?(this[me]=x>>>24,this[me+1]=x>>>16,this[me+2]=x>>>8,this[me+3]=255&x):$e(this,x,me,!1),me+4},se.prototype.writeFloatLE=function(x,me,Le){return Ve(this,x,me,!0,Le)},se.prototype.writeFloatBE=function(x,me,Le){return Ve(this,x,me,!1,Le)},se.prototype.writeDoubleLE=function(x,me,Le){return ht(this,x,me,!0,Le)},se.prototype.writeDoubleBE=function(x,me,Le){return ht(this,x,me,!1,Le)},se.prototype.copy=function(x,me,Le,Se){if(Le||(Le=0),Se||Se===0||(Se=this.length),me>=x.length&&(me=x.length),me||(me=0),Se>0&&Se<Le&&(Se=Le),Se===Le||x.length===0||this.length===0)return 0;if(me<0)throw new RangeError("targetStart out of bounds");if(Le<0||Le>=this.length)throw new RangeError("sourceStart out of bounds");if(Se<0)throw new RangeError("sourceEnd out of bounds");Se>this.length&&(Se=this.length),x.length-me<Se-Le&&(Se=x.length-me+Le);var Be,Qe=Se-Le;if(this===x&&Le<me&&me<Se)for(Be=Qe-1;Be>=0;--Be)x[Be+me]=this[Be+Le];else if(Qe<1e3||!se.TYPED_ARRAY_SUPPORT)for(Be=0;Be<Qe;++Be)x[Be+me]=this[Be+Le];else Uint8Array.prototype.set.call(x,this.subarray(Le,Le+Qe),me);return Qe},se.prototype.fill=function(x,me,Le,Se){if(typeof x=="string"){if(typeof me=="string"?(Se=me,me=0,Le=this.length):typeof Le=="string"&&(Se=Le,Le=this.length),x.length===1){var Be=x.charCodeAt(0);Be<256&&(x=Be)}if(Se!==void 0&&typeof Se!="string")throw new TypeError("encoding must be a string");if(typeof Se=="string"&&!se.isEncoding(Se))throw new TypeError("Unknown encoding: "+Se)}else typeof x=="number"&&(x&=255);if(me<0||this.length<me||this.length<Le)throw new RangeError("Out of range index");if(Le<=me)return this;me>>>=0,Le=Le===void 0?this.length:Le>>>0,x||(x=0);var Qe;if(typeof x=="number")for(Qe=me;Qe<Le;++Qe)this[Qe]=x;else{var it=se.isBuffer(x)?x:Tt(new se(x,Se).toString()),ot=it.length;for(Qe=0;Qe<Le-me;++Qe)this[Qe+me]=it[Qe%ot]}return this};var pe=/[^+\/0-9A-Za-z-_]/g}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"base64-js":34,ieee754:161,isarray:166}],39:[function(oe,ye,De){ye.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"}},{}],40:[function(oe,ye,De){"use strict";var de=function(){this.buffer=[],this.fns=[]};de.prototype.push=function(re,se){if(this.fns.length)return this.fns.shift()(null,re);var fe={data:re,priority:se},E=ve(this.buffer,fe,function(te){return te.priority});this.buffer.splice(E,0,fe)},de.prototype.next=function(){var re=this;return function(se){if(re.buffer.length)return se(null,re.buffer.pop().data);re.fns.push(se)}};var ve=function(re,se,fe){se=fe(se);for(var E=0,te=re?re.length:E;E<te;){var ne=E+te>>>1;fe(re[ne])<se?E=ne+1:te=ne}return E};ye.exports=de},{}],41:[function(oe,ye,De){function de(xe){var ue=this,Ee=we.call(arguments,1);return new Promise(function(Oe,Ae){function Re(Pe){var Fe;try{Fe=xe.next(Pe)}catch(_e){return Ae(_e)}be(Fe)}function Me(Pe){var Fe;try{Fe=xe.throw(Pe)}catch(_e){return Ae(_e)}be(Fe)}function be(Pe){if(Pe.done)return Oe(Pe.value);var Fe=ve.call(ue,Pe.value);return Fe&&E(Fe)?Fe.then(Re,Me):Me(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(Pe.value)+'"'))}if(typeof xe=="function"&&(xe=xe.apply(ue,Ee)),!xe||typeof xe.next!="function")return Oe(xe);Re()})}function ve(xe){return xe&&(E(xe)?xe:ne(xe)||te(xe)?de.call(this,xe):typeof xe=="function"?re.call(this,xe):Array.isArray(xe)?se.call(this,xe):ge(xe)?fe.call(this,xe):xe)}function re(xe){var ue=this;return new Promise(function(Ee,Oe){xe.call(ue,function(Ae,Re){if(Ae)return Oe(Ae);arguments.length>2&&(Re=we.call(arguments,1)),Ee(Re)})})}function se(xe){return Promise.all(xe.map(ve,this))}function fe(xe){for(var ue=new xe.constructor,Ee=Object.keys(xe),Oe=[],Ae=0;Ae<Ee.length;Ae++){var Re=Ee[Ae],Me=ve.call(this,xe[Re]);Me&&E(Me)?function(be,Pe){ue[Pe]=void 0,Oe.push(be.then(function(Fe){ue[Pe]=Fe}))}(Me,Re):ue[Re]=xe[Re]}return Promise.all(Oe).then(function(){return ue})}function E(xe){return typeof xe.then=="function"}function te(xe){return typeof xe.next=="function"&&typeof xe.throw=="function"}function ne(xe){var ue=xe.constructor;return!!ue&&(ue.name==="GeneratorFunction"||ue.displayName==="GeneratorFunction"||te(ue.prototype))}function ge(xe){return Object==xe.constructor}var we=Array.prototype.slice;ye.exports=de.default=de.co=de,de.wrap=function(xe){function ue(){return de.call(this,xe.apply(this,arguments))}return ue.__generatorFunction__=xe,ue}},{}],42:[function(oe,ye,De){ye.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],43:[function(oe,ye,De){"use strict";function de(se,fe){if(!(this instanceof de))return new de(se,fe);this.src=se,this._withAccess=fe}function ve(se,fe){return se[fe]===void 0&&se.__lookupGetter__(fe)===void 0&&se.__lookupSetter__(fe)===void 0}var re=Array.prototype.slice;ye.exports=de,de.prototype.withAccess=function(se){return this._withAccess=se!==!1,this},de.prototype.pick=function(se){return Array.isArray(se)||(se=re.call(arguments)),se.length&&(this.keys=se),this},de.prototype.to=function(se){if(se=se||{},!this.src)return se;var fe=this.keys||Object.keys(this.src);if(!this._withAccess){for(var E=0;E<fe.length;E++)te=fe[E],se[te]===void 0&&(se[te]=this.src[te]);return se}for(var E=0;E<fe.length;E++){var te=fe[E];if(ve(se,te)){var ne=this.src.__lookupGetter__(te),ge=this.src.__lookupSetter__(te);ne&&se.__defineGetter__(te,ne),ge&&se.__defineSetter__(te,ge),ne||ge||(se[te]=this.src[te])}}return se},de.prototype.toCover=function(se){for(var fe=this.keys||Object.keys(this.src),E=0;E<fe.length;E++){var te=fe[E];delete se[te];var ne=this.src.__lookupGetter__(te),ge=this.src.__lookupSetter__(te);ne&&se.__defineGetter__(te,ne),ge&&se.__defineSetter__(te,ge),ne||ge||(se[te]=this.src[te])}},de.prototype.override=de.prototype.toCover,de.prototype.and=function(se){var fe={};return this.to(fe),this.src=se,this.to(fe),this.src=fe,this}},{}],44:[function(oe,ye,De){oe("../../modules/es6.string.iterator"),oe("../../modules/es6.array.from"),ye.exports=oe("../../modules/_core").Array.from},{"../../modules/_core":65,"../../modules/es6.array.from":133,"../../modules/es6.string.iterator":145}],45:[function(oe,ye,De){var de=oe("../../modules/_core"),ve=de.JSON||(de.JSON={stringify:JSON.stringify});ye.exports=function(re){return ve.stringify.apply(ve,arguments)}},{"../../modules/_core":65}],46:[function(oe,ye,De){oe("../../modules/es6.object.assign"),ye.exports=oe("../../modules/_core").Object.assign},{"../../modules/_core":65,"../../modules/es6.object.assign":136}],47:[function(oe,ye,De){oe("../../modules/es6.object.create");var de=oe("../../modules/_core").Object;ye.exports=function(ve,re){return de.create(ve,re)}},{"../../modules/_core":65,"../../modules/es6.object.create":137}],48:[function(oe,ye,De){oe("../../modules/es6.object.define-property");var de=oe("../../modules/_core").Object;ye.exports=function(ve,re,se){return de.defineProperty(ve,re,se)}},{"../../modules/_core":65,"../../modules/es6.object.define-property":138}],49:[function(oe,ye,De){oe("../../modules/es6.object.get-own-property-names");var de=oe("../../modules/_core").Object;ye.exports=function(ve){return de.getOwnPropertyNames(ve)}},{"../../modules/_core":65,"../../modules/es6.object.get-own-property-names":139}],50:[function(oe,ye,De){oe("../../modules/es6.object.get-prototype-of"),ye.exports=oe("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":65,"../../modules/es6.object.get-prototype-of":140}],51:[function(oe,ye,De){oe("../../modules/es6.object.keys"),ye.exports=oe("../../modules/_core").Object.keys},{"../../modules/_core":65,"../../modules/es6.object.keys":141}],52:[function(oe,ye,De){oe("../modules/es6.object.to-string"),oe("../modules/es6.string.iterator"),oe("../modules/web.dom.iterable"),oe("../modules/es6.promise"),oe("../modules/es7.promise.finally"),oe("../modules/es7.promise.try"),ye.exports=oe("../modules/_core").Promise},{"../modules/_core":65,"../modules/es6.object.to-string":142,"../modules/es6.promise":143,"../modules/es6.string.iterator":145,"../modules/es7.promise.finally":147,"../modules/es7.promise.try":148,"../modules/web.dom.iterable":151}],53:[function(oe,ye,De){oe("../modules/web.immediate"),ye.exports=oe("../modules/_core").setImmediate},{"../modules/_core":65,"../modules/web.immediate":152}],54:[function(oe,ye,De){oe("../../modules/es6.string.from-code-point"),ye.exports=oe("../../modules/_core").String.fromCodePoint},{"../../modules/_core":65,"../../modules/es6.string.from-code-point":144}],55:[function(oe,ye,De){oe("../../modules/es6.function.has-instance"),ye.exports=oe("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":130,"../../modules/es6.function.has-instance":135}],56:[function(oe,ye,De){oe("../../modules/es6.symbol"),oe("../../modules/es6.object.to-string"),oe("../../modules/es7.symbol.async-iterator"),oe("../../modules/es7.symbol.observable"),ye.exports=oe("../../modules/_core").Symbol},{"../../modules/_core":65,"../../modules/es6.object.to-string":142,"../../modules/es6.symbol":146,"../../modules/es7.symbol.async-iterator":149,"../../modules/es7.symbol.observable":150}],57:[function(oe,ye,De){oe("../../modules/es6.string.iterator"),oe("../../modules/web.dom.iterable"),ye.exports=oe("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":130,"../../modules/es6.string.iterator":145,"../../modules/web.dom.iterable":151}],58:[function(oe,ye,De){ye.exports=function(de){if(typeof de!="function")throw TypeError(de+" is not a function!");return de}},{}],59:[function(oe,ye,De){ye.exports=function(){}},{}],60:[function(oe,ye,De){ye.exports=function(de,ve,re,se){if(!(de instanceof ve)||se!==void 0&&se in de)throw TypeError(re+": incorrect invocation!");return de}},{}],61:[function(oe,ye,De){var de=oe("./_is-object");ye.exports=function(ve){if(!de(ve))throw TypeError(ve+" is not an object!");return ve}},{"./_is-object":85}],62:[function(oe,ye,De){var de=oe("./_to-iobject"),ve=oe("./_to-length"),re=oe("./_to-absolute-index");ye.exports=function(se){return function(fe,E,te){var ne,ge=de(fe),we=ve(ge.length),xe=re(te,we);if(se&&E!=E){for(;we>xe;)if((ne=ge[xe++])!=ne)return!0}else for(;we>xe;xe++)if((se||xe in ge)&&ge[xe]===E)return se||xe||0;return!se&&-1}}},{"./_to-absolute-index":121,"./_to-iobject":123,"./_to-length":124}],63:[function(oe,ye,De){var de=oe("./_cof"),ve=oe("./_wks")("toStringTag"),re=de(function(){return arguments}())=="Arguments",se=function(fe,E){try{return fe[E]}catch(te){}};ye.exports=function(fe){var E,te,ne;return fe===void 0?"Undefined":fe===null?"Null":typeof(te=se(E=Object(fe),ve))=="string"?te:re?de(E):(ne=de(E))=="Object"&&typeof E.callee=="function"?"Arguments":ne}},{"./_cof":64,"./_wks":131}],64:[function(oe,ye,De){var de={}.toString;ye.exports=function(ve){return de.call(ve).slice(8,-1)}},{}],65:[function(oe,ye,De){var de=ye.exports={version:"2.5.7"};typeof __e=="number"&&(__e=de)},{}],66:[function(oe,ye,De){"use strict";var de=oe("./_object-dp"),ve=oe("./_property-desc");ye.exports=function(re,se,fe){se in re?de.f(re,se,ve(0,fe)):re[se]=fe}},{"./_object-dp":98,"./_property-desc":111}],67:[function(oe,ye,De){var de=oe("./_a-function");ye.exports=function(ve,re,se){if(de(ve),re===void 0)return ve;switch(se){case 1:return function(fe){return ve.call(re,fe)};case 2:return function(fe,E){return ve.call(re,fe,E)};case 3:return function(fe,E,te){return ve.call(re,fe,E,te)}}return function(){return ve.apply(re,arguments)}}},{"./_a-function":58}],68:[function(oe,ye,De){ye.exports=function(de){if(de==null)throw TypeError("Can't call method on "+de);return de}},{}],69:[function(oe,ye,De){ye.exports=!oe("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":74}],70:[function(oe,ye,De){var de=oe("./_is-object"),ve=oe("./_global").document,re=de(ve)&&de(ve.createElement);ye.exports=function(se){return re?ve.createElement(se):{}}},{"./_global":76,"./_is-object":85}],71:[function(oe,ye,De){ye.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],72:[function(oe,ye,De){var de=oe("./_object-keys"),ve=oe("./_object-gops"),re=oe("./_object-pie");ye.exports=function(se){var fe=de(se),E=ve.f;if(E)for(var te,ne=E(se),ge=re.f,we=0;ne.length>we;)ge.call(se,te=ne[we++])&&fe.push(te);return fe}},{"./_object-gops":103,"./_object-keys":106,"./_object-pie":107}],73:[function(oe,ye,De){var de=oe("./_global"),ve=oe("./_core"),re=oe("./_ctx"),se=oe("./_hide"),fe=oe("./_has"),E=function(te,ne,ge){var we,xe,ue,Ee=te&E.F,Oe=te&E.G,Ae=te&E.S,Re=te&E.P,Me=te&E.B,be=te&E.W,Pe=Oe?ve:ve[ne]||(ve[ne]={}),Fe=Pe.prototype,_e=Oe?de:Ae?de[ne]:(de[ne]||{}).prototype;Oe&&(ge=ne);for(we in ge)(xe=!Ee&&_e&&_e[we]!==void 0)&&fe(Pe,we)||(ue=xe?_e[we]:ge[we],Pe[we]=Oe&&typeof _e[we]!="function"?ge[we]:Me&&xe?re(ue,de):be&&_e[we]==ue?function(Te){var Ke=function(We,Ne,Ye){if(this instanceof Te){switch(arguments.length){case 0:return new Te;case 1:return new Te(We);case 2:return new Te(We,Ne)}return new Te(We,Ne,Ye)}return Te.apply(this,arguments)};return Ke.prototype=Te.prototype,Ke}(ue):Re&&typeof ue=="function"?re(Function.call,ue):ue,Re&&((Pe.virtual||(Pe.virtual={}))[we]=ue,te&E.R&&Fe&&!Fe[we]&&se(Fe,we,ue)))};E.F=1,E.G=2,E.S=4,E.P=8,E.B=16,E.W=32,E.U=64,E.R=128,ye.exports=E},{"./_core":65,"./_ctx":67,"./_global":76,"./_has":77,"./_hide":78}],74:[function(oe,ye,De){ye.exports=function(de){try{return!!de()}catch(ve){return!0}}},{}],75:[function(oe,ye,ge){var de=oe("./_ctx"),ve=oe("./_iter-call"),re=oe("./_is-array-iter"),se=oe("./_an-object"),fe=oe("./_to-length"),E=oe("./core.get-iterator-method"),te={},ne={},ge=ye.exports=function(we,xe,ue,Ee,Oe){var Ae,Re,Me,be,Pe=Oe?function(){return we}:E(we),Fe=de(ue,Ee,xe?2:1),_e=0;if(typeof Pe!="function")throw TypeError(we+" is not iterable!");if(re(Pe)){for(Ae=fe(we.length);Ae>_e;_e++)if((be=xe?Fe(se(Re=we[_e])[0],Re[1]):Fe(we[_e]))===te||be===ne)return be}else for(Me=Pe.call(we);!(Re=Me.next()).done;)if((be=ve(Me,Fe,Re.value,xe))===te||be===ne)return be};ge.BREAK=te,ge.RETURN=ne},{"./_an-object":61,"./_ctx":67,"./_is-array-iter":83,"./_iter-call":86,"./_to-length":124,"./core.get-iterator-method":132}],76:[function(oe,ye,De){var de=ye.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=de)},{}],77:[function(oe,ye,De){var de={}.hasOwnProperty;ye.exports=function(ve,re){return de.call(ve,re)}},{}],78:[function(oe,ye,De){var de=oe("./_object-dp"),ve=oe("./_property-desc");ye.exports=oe("./_descriptors")?function(re,se,fe){return de.f(re,se,ve(1,fe))}:function(re,se,fe){return re[se]=fe,re}},{"./_descriptors":69,"./_object-dp":98,"./_property-desc":111}],79:[function(oe,ye,De){var de=oe("./_global").document;ye.exports=de&&de.documentElement},{"./_global":76}],80:[function(oe,ye,De){ye.exports=!oe("./_descriptors")&&!oe("./_fails")(function(){return Object.defineProperty(oe("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":69,"./_dom-create":70,"./_fails":74}],81:[function(oe,ye,De){ye.exports=function(de,ve,re){var se=re===void 0;switch(ve.length){case 0:return se?de():de.call(re);case 1:return se?de(ve[0]):de.call(re,ve[0]);case 2:return se?de(ve[0],ve[1]):de.call(re,ve[0],ve[1]);case 3:return se?de(ve[0],ve[1],ve[2]):de.call(re,ve[0],ve[1],ve[2]);case 4:return se?de(ve[0],ve[1],ve[2],ve[3]):de.call(re,ve[0],ve[1],ve[2],ve[3])}return de.apply(re,ve)}},{}],82:[function(oe,ye,De){var de=oe("./_cof");ye.exports=Object("z").propertyIsEnumerable(0)?Object:function(ve){return de(ve)=="String"?ve.split(""):Object(ve)}},{"./_cof":64}],83:[function(oe,ye,De){var de=oe("./_iterators"),ve=oe("./_wks")("iterator"),re=Array.prototype;ye.exports=function(se){return se!==void 0&&(de.Array===se||re[ve]===se)}},{"./_iterators":91,"./_wks":131}],84:[function(oe,ye,De){var de=oe("./_cof");ye.exports=Array.isArray||function(ve){return de(ve)=="Array"}},{"./_cof":64}],85:[function(oe,ye,De){ye.exports=function(de){return typeof de=="object"?de!==null:typeof de=="function"}},{}],86:[function(oe,ye,De){var de=oe("./_an-object");ye.exports=function(ve,re,se,fe){try{return fe?re(de(se)[0],se[1]):re(se)}catch(te){var E=ve.return;throw E!==void 0&&de(E.call(ve)),te}}},{"./_an-object":61}],87:[function(oe,ye,De){"use strict";var de=oe("./_object-create"),ve=oe("./_property-desc"),re=oe("./_set-to-string-tag"),se={};oe("./_hide")(se,oe("./_wks")("iterator"),function(){return this}),ye.exports=function(fe,E,te){fe.prototype=de(se,{next:ve(1,te)}),re(fe,E+" Iterator")}},{"./_hide":78,"./_object-create":97,"./_property-desc":111,"./_set-to-string-tag":115,"./_wks":131}],88:[function(oe,ye,De){"use strict";var de=oe("./_library"),ve=oe("./_export"),re=oe("./_redefine"),se=oe("./_hide"),fe=oe("./_iterators"),E=oe("./_iter-create"),te=oe("./_set-to-string-tag"),ne=oe("./_object-gpo"),ge=oe("./_wks")("iterator"),we=!([].keys&&"next"in[].keys()),xe=function(){return this};ye.exports=function(ue,Ee,Oe,Ae,Re,Me,be){E(Oe,Ee,Ae);var Pe,Fe,_e,Te=function(tt){if(!we&&tt in Ye)return Ye[tt];switch(tt){case"keys":case"values":return function(){return new Oe(this,tt)}}return function(){return new Oe(this,tt)}},Ke=Ee+" Iterator",We=Re=="values",Ne=!1,Ye=ue.prototype,Je=Ye[ge]||Ye["@@iterator"]||Re&&Ye[Re],He=Je||Te(Re),lt=Re?We?Te("entries"):He:void 0,ct=Ee=="Array"&&Ye.entries||Je;if(ct&&(_e=ne(ct.call(new ue)))!==Object.prototype&&_e.next&&(te(_e,Ke,!0),de||typeof _e[ge]=="function"||se(_e,ge,xe)),We&&Je&&Je.name!=="values"&&(Ne=!0,He=function(){return Je.call(this)}),de&&!be||!we&&!Ne&&Ye[ge]||se(Ye,ge,He),fe[Ee]=He,fe[Ke]=xe,Re)if(Pe={values:We?He:Te("values"),keys:Me?He:Te("keys"),entries:lt},be)for(Fe in Pe)Fe in Ye||re(Ye,Fe,Pe[Fe]);else ve(ve.P+ve.F*(we||Ne),Ee,Pe);return Pe}},{"./_export":73,"./_hide":78,"./_iter-create":87,"./_iterators":91,"./_library":92,"./_object-gpo":104,"./_redefine":113,"./_set-to-string-tag":115,"./_wks":131}],89:[function(oe,ye,De){var de=oe("./_wks")("iterator"),ve=!1;try{var re=[7][de]();re.return=function(){ve=!0},Array.from(re,function(){throw 2})}catch(se){}ye.exports=function(se,fe){if(!fe&&!ve)return!1;var E=!1;try{var te=[7],ne=te[de]();ne.next=function(){return{done:E=!0}},te[de]=function(){return ne},se(te)}catch(ge){}return E}},{"./_wks":131}],90:[function(oe,ye,De){ye.exports=function(de,ve){return{value:ve,done:!!de}}},{}],91:[function(oe,ye,De){ye.exports={}},{}],92:[function(oe,ye,De){ye.exports=!0},{}],93:[function(oe,ye,De){var de=oe("./_uid")("meta"),ve=oe("./_is-object"),re=oe("./_has"),se=oe("./_object-dp").f,fe=0,E=Object.isExtensible||function(){return!0},te=!oe("./_fails")(function(){return E(Object.preventExtensions({}))}),ne=function(Ee){se(Ee,de,{value:{i:"O"+ ++fe,w:{}}})},ge=function(Ee,Oe){if(!ve(Ee))return typeof Ee=="symbol"?Ee:(typeof Ee=="string"?"S":"P")+Ee;if(!re(Ee,de)){if(!E(Ee))return"F";if(!Oe)return"E";ne(Ee)}return Ee[de].i},we=function(Ee,Oe){if(!re(Ee,de)){if(!E(Ee))return!0;if(!Oe)return!1;ne(Ee)}return Ee[de].w},xe=function(Ee){return te&&ue.NEED&&E(Ee)&&!re(Ee,de)&&ne(Ee),Ee},ue=ye.exports={KEY:de,NEED:!1,fastKey:ge,getWeak:we,onFreeze:xe}},{"./_fails":74,"./_has":77,"./_is-object":85,"./_object-dp":98,"./_uid":127}],94:[function(oe,ye,De){var de=oe("./_global"),ve=oe("./_task").set,re=de.MutationObserver||de.WebKitMutationObserver,se=de.process,fe=de.Promise,E=oe("./_cof")(se)=="process";ye.exports=function(){var te,ne,ge,we=function(){var Oe,Ae;for(E&&(Oe=se.domain)&&Oe.exit();te;){Ae=te.fn,te=te.next;try{Ae()}catch(Re){throw te?ge():ne=void 0,Re}}ne=void 0,Oe&&Oe.enter()};if(E)ge=function(){se.nextTick(we)};else if(!re||de.navigator&&de.navigator.standalone)if(fe&&fe.resolve){var xe=fe.resolve(void 0);ge=function(){xe.then(we)}}else ge=function(){ve.call(de,we)};else{var ue=!0,Ee=document.createTextNode("");new re(we).observe(Ee,{characterData:!0}),ge=function(){Ee.data=ue=!ue}}return function(Oe){var Ae={fn:Oe,next:void 0};ne&&(ne.next=Ae),te||(te=Ae,ge()),ne=Ae}}},{"./_cof":64,"./_global":76,"./_task":120}],95:[function(oe,ye,De){"use strict";function de(re){var se,fe;this.promise=new re(function(E,te){if(se!==void 0||fe!==void 0)throw TypeError("Bad Promise constructor");se=E,fe=te}),this.resolve=ve(se),this.reject=ve(fe)}var ve=oe("./_a-function");ye.exports.f=function(re){return new de(re)}},{"./_a-function":58}],96:[function(oe,ye,De){"use strict";var de=oe("./_object-keys"),ve=oe("./_object-gops"),re=oe("./_object-pie"),se=oe("./_to-object"),fe=oe("./_iobject"),E=Object.assign;ye.exports=!E||oe("./_fails")(function(){var te={},ne={},ge=Symbol(),we="abcdefghijklmnopqrst";return te[ge]=7,we.split("").forEach(function(xe){ne[xe]=xe}),E({},te)[ge]!=7||Object.keys(E({},ne)).join("")!=we})?function(te,ne){for(var ge=se(te),we=arguments.length,xe=1,ue=ve.f,Ee=re.f;we>xe;)for(var Oe,Ae=fe(arguments[xe++]),Re=ue?de(Ae).concat(ue(Ae)):de(Ae),Me=Re.length,be=0;Me>be;)Ee.call(Ae,Oe=Re[be++])&&(ge[Oe]=Ae[Oe]);return ge}:E},{"./_fails":74,"./_iobject":82,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_to-object":125}],97:[function(oe,ye,De){var de=oe("./_an-object"),ve=oe("./_object-dps"),re=oe("./_enum-bug-keys"),se=oe("./_shared-key")("IE_PROTO"),fe=function(){},E=function(){var te,ne=oe("./_dom-create")("iframe"),ge=re.length;for(ne.style.display="none",oe("./_html").appendChild(ne),ne.src="javascript:",te=ne.contentWindow.document,te.open(),te.write("<script>document.F=Object<\/script>"),te.close(),E=te.F;ge--;)delete E.prototype[re[ge]];return E()};ye.exports=Object.create||function(te,ne){var ge;return te!==null?(fe.prototype=de(te),ge=new fe,fe.prototype=null,ge[se]=te):ge=E(),ne===void 0?ge:ve(ge,ne)}},{"./_an-object":61,"./_dom-create":70,"./_enum-bug-keys":71,"./_html":79,"./_object-dps":99,"./_shared-key":116}],98:[function(oe,ye,De){var de=oe("./_an-object"),ve=oe("./_ie8-dom-define"),re=oe("./_to-primitive"),se=Object.defineProperty;De.f=oe("./_descriptors")?Object.defineProperty:function(fe,E,te){if(de(fe),E=re(E,!0),de(te),ve)try{return se(fe,E,te)}catch(ne){}if("get"in te||"set"in te)throw TypeError("Accessors not supported!");return"value"in te&&(fe[E]=te.value),fe}},{"./_an-object":61,"./_descriptors":69,"./_ie8-dom-define":80,"./_to-primitive":126}],99:[function(oe,ye,De){var de=oe("./_object-dp"),ve=oe("./_an-object"),re=oe("./_object-keys");ye.exports=oe("./_descriptors")?Object.defineProperties:function(se,fe){ve(se);for(var E,te=re(fe),ne=te.length,ge=0;ne>ge;)de.f(se,E=te[ge++],fe[E]);return se}},{"./_an-object":61,"./_descriptors":69,"./_object-dp":98,"./_object-keys":106}],100:[function(oe,ye,De){var de=oe("./_object-pie"),ve=oe("./_property-desc"),re=oe("./_to-iobject"),se=oe("./_to-primitive"),fe=oe("./_has"),E=oe("./_ie8-dom-define"),te=Object.getOwnPropertyDescriptor;De.f=oe("./_descriptors")?te:function(ne,ge){if(ne=re(ne),ge=se(ge,!0),E)try{return te(ne,ge)}catch(we){}if(fe(ne,ge))return ve(!de.f.call(ne,ge),ne[ge])}},{"./_descriptors":69,"./_has":77,"./_ie8-dom-define":80,"./_object-pie":107,"./_property-desc":111,"./_to-iobject":123,"./_to-primitive":126}],101:[function(oe,ye,De){var de=oe("./_to-iobject"),ve=oe("./_object-gopn").f,re={}.toString,se=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],fe=function(E){try{return ve(E)}catch(te){return se.slice()}};ye.exports.f=function(E){return se&&re.call(E)=="[object Window]"?fe(E):ve(de(E))}},{"./_object-gopn":102,"./_to-iobject":123}],102:[function(oe,ye,De){var de=oe("./_object-keys-internal"),ve=oe("./_enum-bug-keys").concat("length","prototype");De.f=Object.getOwnPropertyNames||function(re){return de(re,ve)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],103:[function(oe,ye,De){De.f=Object.getOwnPropertySymbols},{}],104:[function(oe,ye,De){var de=oe("./_has"),ve=oe("./_to-object"),re=oe("./_shared-key")("IE_PROTO"),se=Object.prototype;ye.exports=Object.getPrototypeOf||function(fe){return fe=ve(fe),de(fe,re)?fe[re]:typeof fe.constructor=="function"&&fe instanceof fe.constructor?fe.constructor.prototype:fe instanceof Object?se:null}},{"./_has":77,"./_shared-key":116,"./_to-object":125}],105:[function(oe,ye,De){var de=oe("./_has"),ve=oe("./_to-iobject"),re=oe("./_array-includes")(!1),se=oe("./_shared-key")("IE_PROTO");ye.exports=function(fe,E){var te,ne=ve(fe),ge=0,we=[];for(te in ne)te!=se&&de(ne,te)&&we.push(te);for(;E.length>ge;)de(ne,te=E[ge++])&&(~re(we,te)||we.push(te));return we}},{"./_array-includes":62,"./_has":77,"./_shared-key":116,"./_to-iobject":123}],106:[function(oe,ye,De){var de=oe("./_object-keys-internal"),ve=oe("./_enum-bug-keys");ye.exports=Object.keys||function(re){return de(re,ve)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],107:[function(oe,ye,De){De.f={}.propertyIsEnumerable},{}],108:[function(oe,ye,De){var de=oe("./_export"),ve=oe("./_core"),re=oe("./_fails");ye.exports=function(se,fe){var E=(ve.Object||{})[se]||Object[se],te={};te[se]=fe(E),de(de.S+de.F*re(function(){E(1)}),"Object",te)}},{"./_core":65,"./_export":73,"./_fails":74}],109:[function(oe,ye,De){ye.exports=function(de){try{return{e:!1,v:de()}}catch(ve){return{e:!0,v:ve}}}},{}],110:[function(oe,ye,De){var de=oe("./_an-object"),ve=oe("./_is-object"),re=oe("./_new-promise-capability");ye.exports=function(se,fe){if(de(se),ve(fe)&&fe.constructor===se)return fe;var E=re.f(se);return(0,E.resolve)(fe),E.promise}},{"./_an-object":61,"./_is-object":85,"./_new-promise-capability":95}],111:[function(oe,ye,De){ye.exports=function(de,ve){return{enumerable:!(1&de),configurable:!(2&de),writable:!(4&de),value:ve}}},{}],112:[function(oe,ye,De){var de=oe("./_hide");ye.exports=function(ve,re,se){for(var fe in re)se&&ve[fe]?ve[fe]=re[fe]:de(ve,fe,re[fe]);return ve}},{"./_hide":78}],113:[function(oe,ye,De){ye.exports=oe("./_hide")},{"./_hide":78}],114:[function(oe,ye,De){"use strict";var de=oe("./_global"),ve=oe("./_core"),re=oe("./_object-dp"),se=oe("./_descriptors"),fe=oe("./_wks")("species");ye.exports=function(E){var te=typeof ve[E]=="function"?ve[E]:de[E];se&&te&&!te[fe]&&re.f(te,fe,{configurable:!0,get:function(){return this}})}},{"./_core":65,"./_descriptors":69,"./_global":76,"./_object-dp":98,"./_wks":131}],115:[function(oe,ye,De){var de=oe("./_object-dp").f,ve=oe("./_has"),re=oe("./_wks")("toStringTag");ye.exports=function(se,fe,E){se&&!ve(se=E?se:se.prototype,re)&&de(se,re,{configurable:!0,value:fe})}},{"./_has":77,"./_object-dp":98,"./_wks":131}],116:[function(oe,ye,De){var de=oe("./_shared")("keys"),ve=oe("./_uid");ye.exports=function(re){return de[re]||(de[re]=ve(re))}},{"./_shared":117,"./_uid":127}],117:[function(oe,ye,De){var de=oe("./_core"),ve=oe("./_global"),re=ve["__core-js_shared__"]||(ve["__core-js_shared__"]={});(ye.exports=function(se,fe){return re[se]||(re[se]=fe!==void 0?fe:{})})("versions",[]).push({version:de.version,mode:oe("./_library")?"pure":"global",copyright:"\u6F0F 2018 Denis Pushkarev (zloirock.ru)"})},{"./_core":65,"./_global":76,"./_library":92}],118:[function(oe,ye,De){var de=oe("./_an-object"),ve=oe("./_a-function"),re=oe("./_wks")("species");ye.exports=function(se,fe){var E,te=de(se).constructor;return te===void 0||(E=de(te)[re])==null?fe:ve(E)}},{"./_a-function":58,"./_an-object":61,"./_wks":131}],119:[function(oe,ye,De){var de=oe("./_to-integer"),ve=oe("./_defined");ye.exports=function(re){return function(se,fe){var E,te,ne=String(ve(se)),ge=de(fe),we=ne.length;return ge<0||ge>=we?re?"":void 0:(E=ne.charCodeAt(ge),E<55296||E>56319||ge+1===we||(te=ne.charCodeAt(ge+1))<56320||te>57343?re?ne.charAt(ge):E:re?ne.slice(ge,ge+2):te-56320+(E-55296<<10)+65536)}}},{"./_defined":68,"./_to-integer":122}],120:[function(oe,ye,De){var de,ve,re,se=oe("./_ctx"),fe=oe("./_invoke"),E=oe("./_html"),te=oe("./_dom-create"),ne=oe("./_global"),ge=ne.process,we=ne.setImmediate,xe=ne.clearImmediate,ue=ne.MessageChannel,Ee=ne.Dispatch,Oe=0,Ae={},Re=function(){var be=+this;if(Ae.hasOwnProperty(be)){var Pe=Ae[be];delete Ae[be],Pe()}},Me=function(be){Re.call(be.data)};we&&xe||(we=function(be){for(var Pe=[],Fe=1;arguments.length>Fe;)Pe.push(arguments[Fe++]);return Ae[++Oe]=function(){fe(typeof be=="function"?be:Function(be),Pe)},de(Oe),Oe},xe=function(be){delete Ae[be]},oe("./_cof")(ge)=="process"?de=function(be){ge.nextTick(se(Re,be,1))}:Ee&&Ee.now?de=function(be){Ee.now(se(Re,be,1))}:ue?(ve=new ue,re=ve.port2,ve.port1.onmessage=Me,de=se(re.postMessage,re,1)):ne.addEventListener&&typeof postMessage=="function"&&!ne.importScripts?(de=function(be){ne.postMessage(be+"","*")},ne.addEventListener("message",Me,!1)):de="onreadystatechange"in te("script")?function(be){E.appendChild(te("script")).onreadystatechange=function(){E.removeChild(this),Re.call(be)}}:function(be){setTimeout(se(Re,be,1),0)}),ye.exports={set:we,clear:xe}},{"./_cof":64,"./_ctx":67,"./_dom-create":70,"./_global":76,"./_html":79,"./_invoke":81}],121:[function(oe,ye,De){var de=oe("./_to-integer"),ve=Math.max,re=Math.min;ye.exports=function(se,fe){return se=de(se),se<0?ve(se+fe,0):re(se,fe)}},{"./_to-integer":122}],122:[function(oe,ye,De){var de=Math.ceil,ve=Math.floor;ye.exports=function(re){return isNaN(re=+re)?0:(re>0?ve:de)(re)}},{}],123:[function(oe,ye,De){var de=oe("./_iobject"),ve=oe("./_defined");ye.exports=function(re){return de(ve(re))}},{"./_defined":68,"./_iobject":82}],124:[function(oe,ye,De){var de=oe("./_to-integer"),ve=Math.min;ye.exports=function(re){return re>0?ve(de(re),9007199254740991):0}},{"./_to-integer":122}],125:[function(oe,ye,De){var de=oe("./_defined");ye.exports=function(ve){return Object(de(ve))}},{"./_defined":68}],126:[function(oe,ye,De){var de=oe("./_is-object");ye.exports=function(ve,re){if(!de(ve))return ve;var se,fe;if(re&&typeof(se=ve.toString)=="function"&&!de(fe=se.call(ve))||typeof(se=ve.valueOf)=="function"&&!de(fe=se.call(ve))||!re&&typeof(se=ve.toString)=="function"&&!de(fe=se.call(ve)))return fe;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":85}],127:[function(oe,ye,De){var de=0,ve=Math.random();ye.exports=function(re){return"Symbol(".concat(re===void 0?"":re,")_",(++de+ve).toString(36))}},{}],128:[function(oe,ye,De){var de=oe("./_global"),ve=de.navigator;ye.exports=ve&&ve.userAgent||""},{"./_global":76}],129:[function(oe,ye,De){var de=oe("./_global"),ve=oe("./_core"),re=oe("./_library"),se=oe("./_wks-ext"),fe=oe("./_object-dp").f;ye.exports=function(E){var te=ve.Symbol||(ve.Symbol=re?{}:de.Symbol||{});E.charAt(0)=="_"||E in te||fe(te,E,{value:se.f(E)})}},{"./_core":65,"./_global":76,"./_library":92,"./_object-dp":98,"./_wks-ext":130}],130:[function(oe,ye,De){De.f=oe("./_wks")},{"./_wks":131}],131:[function(oe,ye,De){var de=oe("./_shared")("wks"),ve=oe("./_uid"),re=oe("./_global").Symbol,se=typeof re=="function";(ye.exports=function(fe){return de[fe]||(de[fe]=se&&re[fe]||(se?re:ve)("Symbol."+fe))}).store=de},{"./_global":76,"./_shared":117,"./_uid":127}],132:[function(oe,ye,De){var de=oe("./_classof"),ve=oe("./_wks")("iterator"),re=oe("./_iterators");ye.exports=oe("./_core").getIteratorMethod=function(se){if(se!=null)return se[ve]||se["@@iterator"]||re[de(se)]}},{"./_classof":63,"./_core":65,"./_iterators":91,"./_wks":131}],133:[function(oe,ye,De){"use strict";var de=oe("./_ctx"),ve=oe("./_export"),re=oe("./_to-object"),se=oe("./_iter-call"),fe=oe("./_is-array-iter"),E=oe("./_to-length"),te=oe("./_create-property"),ne=oe("./core.get-iterator-method");ve(ve.S+ve.F*!oe("./_iter-detect")(function(ge){Array.from(ge)}),"Array",{from:function(ge){var we,xe,ue,Ee,Oe=re(ge),Ae=typeof this=="function"?this:Array,Re=arguments.length,Me=Re>1?arguments[1]:void 0,be=Me!==void 0,Pe=0,Fe=ne(Oe);if(be&&(Me=de(Me,Re>2?arguments[2]:void 0,2)),Fe==null||Ae==Array&&fe(Fe))for(we=E(Oe.length),xe=new Ae(we);we>Pe;Pe++)te(xe,Pe,be?Me(Oe[Pe],Pe):Oe[Pe]);else for(Ee=Fe.call(Oe),xe=new Ae;!(ue=Ee.next()).done;Pe++)te(xe,Pe,be?se(Ee,Me,[ue.value,Pe],!0):ue.value);return xe.length=Pe,xe}})},{"./_create-property":66,"./_ctx":67,"./_export":73,"./_is-array-iter":83,"./_iter-call":86,"./_iter-detect":89,"./_to-length":124,"./_to-object":125,"./core.get-iterator-method":132}],134:[function(oe,ye,De){"use strict";var de=oe("./_add-to-unscopables"),ve=oe("./_iter-step"),re=oe("./_iterators"),se=oe("./_to-iobject");ye.exports=oe("./_iter-define")(Array,"Array",function(fe,E){this._t=se(fe),this._i=0,this._k=E},function(){var fe=this._t,E=this._k,te=this._i++;return!fe||te>=fe.length?(this._t=void 0,ve(1)):E=="keys"?ve(0,te):E=="values"?ve(0,fe[te]):ve(0,[te,fe[te]])},"values"),re.Arguments=re.Array,de("keys"),de("values"),de("entries")},{"./_add-to-unscopables":59,"./_iter-define":88,"./_iter-step":90,"./_iterators":91,"./_to-iobject":123}],135:[function(oe,ye,De){"use strict";var de=oe("./_is-object"),ve=oe("./_object-gpo"),re=oe("./_wks")("hasInstance"),se=Function.prototype;re in se||oe("./_object-dp").f(se,re,{value:function(fe){if(typeof this!="function"||!de(fe))return!1;if(!de(this.prototype))return fe instanceof this;for(;fe=ve(fe);)if(this.prototype===fe)return!0;return!1}})},{"./_is-object":85,"./_object-dp":98,"./_object-gpo":104,"./_wks":131}],136:[function(oe,ye,De){var de=oe("./_export");de(de.S+de.F,"Object",{assign:oe("./_object-assign")})},{"./_export":73,"./_object-assign":96}],137:[function(oe,ye,De){var de=oe("./_export");de(de.S,"Object",{create:oe("./_object-create")})},{"./_export":73,"./_object-create":97}],138:[function(oe,ye,De){var de=oe("./_export");de(de.S+de.F*!oe("./_descriptors"),"Object",{defineProperty:oe("./_object-dp").f})},{"./_descriptors":69,"./_export":73,"./_object-dp":98}],139:[function(oe,ye,De){oe("./_object-sap")("getOwnPropertyNames",function(){return oe("./_object-gopn-ext").f})},{"./_object-gopn-ext":101,"./_object-sap":108}],140:[function(oe,ye,De){var de=oe("./_to-object"),ve=oe("./_object-gpo");oe("./_object-sap")("getPrototypeOf",function(){return function(re){return ve(de(re))}})},{"./_object-gpo":104,"./_object-sap":108,"./_to-object":125}],141:[function(oe,ye,De){var de=oe("./_to-object"),ve=oe("./_object-keys");oe("./_object-sap")("keys",function(){return function(re){return ve(de(re))}})},{"./_object-keys":106,"./_object-sap":108,"./_to-object":125}],142:[function(oe,ye,De){arguments[4][36][0].apply(De,arguments)},{dup:36}],143:[function(oe,ye,De){"use strict";var de,ve,re,se,fe=oe("./_library"),E=oe("./_global"),te=oe("./_ctx"),ne=oe("./_classof"),ge=oe("./_export"),we=oe("./_is-object"),xe=oe("./_a-function"),ue=oe("./_an-instance"),Ee=oe("./_for-of"),Oe=oe("./_species-constructor"),Ae=oe("./_task").set,Re=oe("./_microtask")(),Me=oe("./_new-promise-capability"),be=oe("./_perform"),Pe=oe("./_user-agent"),Fe=oe("./_promise-resolve"),_e=E.TypeError,Te=E.process,Ke=Te&&Te.versions,We=Ke&&Ke.v8||"",Ne=E.Promise,Ye=ne(Te)=="process",Je=function(){},He=ve=Me.f,lt=!!function(){try{var qe=Ne.resolve(1),Ve=(qe.constructor={})[oe("./_wks")("species")]=function(ht){ht(Je,Je)};return(Ye||typeof PromiseRejectionEvent=="function")&&qe.then(Je)instanceof Ve&&We.indexOf("6.6")!==0&&Pe.indexOf("Chrome/66")===-1}catch(ht){}}(),ct=function(qe){var Ve;return!(!we(qe)||typeof(Ve=qe.then)!="function")&&Ve},tt=function(qe,Ve){if(!qe._n){qe._n=!0;var ht=qe._c;Re(function(){for(var st=qe._v,Nt=qe._s==1,dt=0;ht.length>dt;)(function(Tt){var bt,Ct,gt,je=Nt?Tt.ok:Tt.fail,le=Tt.resolve,ie=Tt.reject,ke=Tt.domain;try{je?(Nt||(qe._h==2&&Ue(qe),qe._h=1),je===!0?bt=st:(ke&&ke.enter(),bt=je(st),ke&&(ke.exit(),gt=!0)),bt===Tt.promise?ie(_e("Promise-chain cycle")):(Ct=ct(bt))?Ct.call(bt,le,ie):le(bt)):ie(st)}catch(Ge){ke&&!gt&&ke.exit(),ie(Ge)}})(ht[dt++]);qe._c=[],qe._n=!1,Ve&&!qe._h&&Bt(qe)})}},Bt=function(qe){Ae.call(E,function(){var Ve,ht,st,Nt=qe._v,dt=nt(qe);if(dt&&(Ve=be(function(){Ye?Te.emit("unhandledRejection",Nt,qe):(ht=E.onunhandledrejection)?ht({promise:qe,reason:Nt}):(st=E.console)&&st.error&&st.error("Unhandled promise rejection",Nt)}),qe._h=Ye||nt(qe)?2:1),qe._a=void 0,dt&&Ve.e)throw Ve.v})},nt=function(qe){return qe._h!==1&&(qe._a||qe._c).length===0},Ue=function(qe){Ae.call(E,function(){var Ve;Ye?Te.emit("rejectionHandled",qe):(Ve=E.onrejectionhandled)&&Ve({promise:qe,reason:qe._v})})},Xe=function(qe){var Ve=this;Ve._d||(Ve._d=!0,Ve=Ve._w||Ve,Ve._v=qe,Ve._s=2,Ve._a||(Ve._a=Ve._c.slice()),tt(Ve,!0))},$e=function(qe){var Ve,ht=this;if(!ht._d){ht._d=!0,ht=ht._w||ht;try{if(ht===qe)throw _e("Promise can't be resolved itself");(Ve=ct(qe))?Re(function(){var st={_w:ht,_d:!1};try{Ve.call(qe,te($e,st,1),te(Xe,st,1))}catch(Nt){Xe.call(st,Nt)}}):(ht._v=qe,ht._s=1,tt(ht,!1))}catch(st){Xe.call({_w:ht,_d:!1},st)}}};lt||(Ne=function(qe){ue(this,Ne,"Promise","_h"),xe(qe),de.call(this);try{qe(te($e,this,1),te(Xe,this,1))}catch(Ve){Xe.call(this,Ve)}},de=function(qe){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},de.prototype=oe("./_redefine-all")(Ne.prototype,{then:function(qe,Ve){var ht=He(Oe(this,Ne));return ht.ok=typeof qe!="function"||qe,ht.fail=typeof Ve=="function"&&Ve,ht.domain=Ye?Te.domain:void 0,this._c.push(ht),this._a&&this._a.push(ht),this._s&&tt(this,!1),ht.promise},catch:function(qe){return this.then(void 0,qe)}}),re=function(){var qe=new de;this.promise=qe,this.resolve=te($e,qe,1),this.reject=te(Xe,qe,1)},Me.f=He=function(qe){return qe===Ne||qe===se?new re(qe):ve(qe)}),ge(ge.G+ge.W+ge.F*!lt,{Promise:Ne}),oe("./_set-to-string-tag")(Ne,"Promise"),oe("./_set-species")("Promise"),se=oe("./_core").Promise,ge(ge.S+ge.F*!lt,"Promise",{reject:function(qe){var Ve=He(this);return(0,Ve.reject)(qe),Ve.promise}}),ge(ge.S+ge.F*(fe||!lt),"Promise",{resolve:function(qe){return Fe(fe&&this===se?Ne:this,qe)}}),ge(ge.S+ge.F*!(lt&&oe("./_iter-detect")(function(qe){Ne.all(qe).catch(Je)})),"Promise",{all:function(qe){var Ve=this,ht=He(Ve),st=ht.resolve,Nt=ht.reject,dt=be(function(){var Tt=[],bt=0,Ct=1;Ee(qe,!1,function(gt){var je=bt++,le=!1;Tt.push(void 0),Ct++,Ve.resolve(gt).then(function(ie){le||(le=!0,Tt[je]=ie,--Ct||st(Tt))},Nt)}),--Ct||st(Tt)});return dt.e&&Nt(dt.v),ht.promise},race:function(qe){var Ve=this,ht=He(Ve),st=ht.reject,Nt=be(function(){Ee(qe,!1,function(dt){Ve.resolve(dt).then(ht.resolve,st)})});return Nt.e&&st(Nt.v),ht.promise}})},{"./_a-function":58,"./_an-instance":60,"./_classof":63,"./_core":65,"./_ctx":67,"./_export":73,"./_for-of":75,"./_global":76,"./_is-object":85,"./_iter-detect":89,"./_library":92,"./_microtask":94,"./_new-promise-capability":95,"./_perform":109,"./_promise-resolve":110,"./_redefine-all":112,"./_set-species":114,"./_set-to-string-tag":115,"./_species-constructor":118,"./_task":120,"./_user-agent":128,"./_wks":131}],144:[function(oe,ye,De){var de=oe("./_export"),ve=oe("./_to-absolute-index"),re=String.fromCharCode,se=String.fromCodePoint;de(de.S+de.F*(!!se&&se.length!=1),"String",{fromCodePoint:function(fe){for(var E,te=[],ne=arguments.length,ge=0;ne>ge;){if(E=+arguments[ge++],ve(E,1114111)!==E)throw RangeError(E+" is not a valid code point");te.push(E<65536?re(E):re(55296+((E-=65536)>>10),E%1024+56320))}return te.join("")}})},{"./_export":73,"./_to-absolute-index":121}],145:[function(oe,ye,De){"use strict";var de=oe("./_string-at")(!0);oe("./_iter-define")(String,"String",function(ve){this._t=String(ve),this._i=0},function(){var ve,re=this._t,se=this._i;return se>=re.length?{value:void 0,done:!0}:(ve=de(re,se),this._i+=ve.length,{value:ve,done:!1})})},{"./_iter-define":88,"./_string-at":119}],146:[function(oe,ye,De){"use strict";var de=oe("./_global"),ve=oe("./_has"),re=oe("./_descriptors"),se=oe("./_export"),fe=oe("./_redefine"),E=oe("./_meta").KEY,te=oe("./_fails"),ne=oe("./_shared"),ge=oe("./_set-to-string-tag"),we=oe("./_uid"),xe=oe("./_wks"),ue=oe("./_wks-ext"),Ee=oe("./_wks-define"),Oe=oe("./_enum-keys"),Ae=oe("./_is-array"),Re=oe("./_an-object"),Me=oe("./_is-object"),be=oe("./_to-iobject"),Pe=oe("./_to-primitive"),Fe=oe("./_property-desc"),_e=oe("./_object-create"),Te=oe("./_object-gopn-ext"),Ke=oe("./_object-gopd"),We=oe("./_object-dp"),Ne=oe("./_object-keys"),Ye=Ke.f,Je=We.f,He=Te.f,lt=de.Symbol,ct=de.JSON,tt=ct&&ct.stringify,Bt=xe("_hidden"),nt=xe("toPrimitive"),Ue={}.propertyIsEnumerable,Xe=ne("symbol-registry"),$e=ne("symbols"),qe=ne("op-symbols"),Ve=Object.prototype,ht=typeof lt=="function",st=de.QObject,Nt=!st||!st.prototype||!st.prototype.findChild,dt=re&&te(function(){return _e(Je({},"a",{get:function(){return Je(this,"a",{value:7}).a}})).a!=7})?function(Le,Se,Be){var Qe=Ye(Ve,Se);Qe&&delete Ve[Se],Je(Le,Se,Be),Qe&&Le!==Ve&&Je(Ve,Se,Qe)}:Je,Tt=function(Le){var Se=$e[Le]=_e(lt.prototype);return Se._k=Le,Se},bt=ht&&typeof lt.iterator=="symbol"?function(Le){return typeof Le=="symbol"}:function(Le){return Le instanceof lt},Ct=function(Le,Se,Be){return Le===Ve&&Ct(qe,Se,Be),Re(Le),Se=Pe(Se,!0),Re(Be),ve($e,Se)?(Be.enumerable?(ve(Le,Bt)&&Le[Bt][Se]&&(Le[Bt][Se]=!1),Be=_e(Be,{enumerable:Fe(0,!1)})):(ve(Le,Bt)||Je(Le,Bt,Fe(1,{})),Le[Bt][Se]=!0),dt(Le,Se,Be)):Je(Le,Se,Be)},gt=function(Le,Se){Re(Le);for(var Be,Qe=Oe(Se=be(Se)),it=0,ot=Qe.length;ot>it;)Ct(Le,Be=Qe[it++],Se[Be]);return Le},je=function(Le,Se){return Se===void 0?_e(Le):gt(_e(Le),Se)},le=function(Le){var Se=Ue.call(this,Le=Pe(Le,!0));return!(this===Ve&&ve($e,Le)&&!ve(qe,Le))&&(!(Se||!ve(this,Le)||!ve($e,Le)||ve(this,Bt)&&this[Bt][Le])||Se)},ie=function(Le,Se){if(Le=be(Le),Se=Pe(Se,!0),Le!==Ve||!ve($e,Se)||ve(qe,Se)){var Be=Ye(Le,Se);return!Be||!ve($e,Se)||ve(Le,Bt)&&Le[Bt][Se]||(Be.enumerable=!0),Be}},ke=function(Le){for(var Se,Be=He(be(Le)),Qe=[],it=0;Be.length>it;)ve($e,Se=Be[it++])||Se==Bt||Se==E||Qe.push(Se);return Qe},Ge=function(Le){for(var Se,Be=Le===Ve,Qe=He(Be?qe:be(Le)),it=[],ot=0;Qe.length>ot;)!ve($e,Se=Qe[ot++])||Be&&!ve(Ve,Se)||it.push($e[Se]);return it};ht||(lt=function(){if(this instanceof lt)throw TypeError("Symbol is not a constructor!");var Le=we(arguments.length>0?arguments[0]:void 0),Se=function(Be){this===Ve&&Se.call(qe,Be),ve(this,Bt)&&ve(this[Bt],Le)&&(this[Bt][Le]=!1),dt(this,Le,Fe(1,Be))};return re&&Nt&&dt(Ve,Le,{configurable:!0,set:Se}),Tt(Le)},fe(lt.prototype,"toString",function(){return this._k}),Ke.f=ie,We.f=Ct,oe("./_object-gopn").f=Te.f=ke,oe("./_object-pie").f=le,oe("./_object-gops").f=Ge,re&&!oe("./_library")&&fe(Ve,"propertyIsEnumerable",le,!0),ue.f=function(Le){return Tt(xe(Le))}),se(se.G+se.W+se.F*!ht,{Symbol:lt});for(var Ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),pe=0;Ie.length>pe;)xe(Ie[pe++]);for(var x=Ne(xe.store),me=0;x.length>me;)Ee(x[me++]);se(se.S+se.F*!ht,"Symbol",{for:function(Le){return ve(Xe,Le+="")?Xe[Le]:Xe[Le]=lt(Le)},keyFor:function(Le){if(!bt(Le))throw TypeError(Le+" is not a symbol!");for(var Se in Xe)if(Xe[Se]===Le)return Se},useSetter:function(){Nt=!0},useSimple:function(){Nt=!1}}),se(se.S+se.F*!ht,"Object",{create:je,defineProperty:Ct,defineProperties:gt,getOwnPropertyDescriptor:ie,getOwnPropertyNames:ke,getOwnPropertySymbols:Ge}),ct&&se(se.S+se.F*(!ht||te(function(){var Le=lt();return tt([Le])!="[null]"||tt({a:Le})!="{}"||tt(Object(Le))!="{}"})),"JSON",{stringify:function(Le){for(var Se,Be,Qe=[Le],it=1;arguments.length>it;)Qe.push(arguments[it++]);if(Be=Se=Qe[1],(Me(Se)||Le!==void 0)&&!bt(Le))return Ae(Se)||(Se=function(ot,at){if(typeof Be=="function"&&(at=Be.call(this,ot,at)),!bt(at))return at}),Qe[1]=Se,tt.apply(ct,Qe)}}),lt.prototype[nt]||oe("./_hide")(lt.prototype,nt,lt.prototype.valueOf),ge(lt,"Symbol"),ge(Math,"Math",!0),ge(de.JSON,"JSON",!0)},{"./_an-object":61,"./_descriptors":69,"./_enum-keys":72,"./_export":73,"./_fails":74,"./_global":76,"./_has":77,"./_hide":78,"./_is-array":84,"./_is-object":85,"./_library":92,"./_meta":93,"./_object-create":97,"./_object-dp":98,"./_object-gopd":100,"./_object-gopn":102,"./_object-gopn-ext":101,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_property-desc":111,"./_redefine":113,"./_set-to-string-tag":115,"./_shared":117,"./_to-iobject":123,"./_to-primitive":126,"./_uid":127,"./_wks":131,"./_wks-define":129,"./_wks-ext":130}],147:[function(oe,ye,De){"use strict";var de=oe("./_export"),ve=oe("./_core"),re=oe("./_global"),se=oe("./_species-constructor"),fe=oe("./_promise-resolve");de(de.P+de.R,"Promise",{finally:function(E){var te=se(this,ve.Promise||re.Promise),ne=typeof E=="function";return this.then(ne?function(ge){return fe(te,E()).then(function(){return ge})}:E,ne?function(ge){return fe(te,E()).then(function(){throw ge})}:E)}})},{"./_core":65,"./_export":73,"./_global":76,"./_promise-resolve":110,"./_species-constructor":118}],148:[function(oe,ye,De){"use strict";var de=oe("./_export"),ve=oe("./_new-promise-capability"),re=oe("./_perform");de(de.S,"Promise",{try:function(se){var fe=ve.f(this),E=re(se);return(E.e?fe.reject:fe.resolve)(E.v),fe.promise}})},{"./_export":73,"./_new-promise-capability":95,"./_perform":109}],149:[function(oe,ye,De){oe("./_wks-define")("asyncIterator")},{"./_wks-define":129}],150:[function(oe,ye,De){oe("./_wks-define")("observable")},{"./_wks-define":129}],151:[function(oe,ye,De){oe("./es6.array.iterator");for(var de=oe("./_global"),ve=oe("./_hide"),re=oe("./_iterators"),se=oe("./_wks")("toStringTag"),fe="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),E=0;E<fe.length;E++){var te=fe[E],ne=de[te],ge=ne&&ne.prototype;ge&&!ge[se]&&ve(ge,se,te),re[te]=re.Array}},{"./_global":76,"./_hide":78,"./_iterators":91,"./_wks":131,"./es6.array.iterator":134}],152:[function(oe,ye,De){var de=oe("./_export"),ve=oe("./_task");de(de.G+de.B,{setImmediate:ve.set,clearImmediate:ve.clear})},{"./_export":73,"./_task":120}],153:[function(oe,ye,De){(function(de){"use strict";function ve(Pe){return Array.isArray?Array.isArray(Pe):Re(Pe)==="[object Array]"}function re(Pe){return typeof Pe=="boolean"}function se(Pe){return Pe===null}function fe(Pe){return Pe==null}function E(Pe){return typeof Pe=="number"}function te(Pe){return typeof Pe=="string"}function ne(Pe){return(Pe===void 0?"undefined":(0,be.default)(Pe))==="symbol"}function ge(Pe){return Pe===void 0}function we(Pe){return Re(Pe)==="[object RegExp]"}function xe(Pe){return(Pe===void 0?"undefined":(0,be.default)(Pe))==="object"&&Pe!==null}function ue(Pe){return Re(Pe)==="[object Date]"}function Ee(Pe){return Re(Pe)==="[object Error]"||Pe instanceof Error}function Oe(Pe){return typeof Pe=="function"}function Ae(Pe){return Pe===null||typeof Pe=="boolean"||typeof Pe=="number"||typeof Pe=="string"||(Pe===void 0?"undefined":(0,be.default)(Pe))==="symbol"||Pe===void 0}function Re(Pe){return Object.prototype.toString.call(Pe)}var Me=oe("babel-runtime/helpers/typeof"),be=function(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}(Me);De.isArray=ve,De.isBoolean=re,De.isNull=se,De.isNullOrUndefined=fe,De.isNumber=E,De.isString=te,De.isSymbol=ne,De.isUndefined=ge,De.isRegExp=we,De.isObject=xe,De.isDate=ue,De.isError=Ee,De.isFunction=Oe,De.isPrimitive=Ae,De.isBuffer=de.isBuffer}).call(this,{isBuffer:oe("../../is-buffer/index.js")})},{"../../is-buffer/index.js":163,"babel-runtime/helpers/typeof":32}],154:[function(oe,ye,De){"use strict";var de=oe("babel-runtime/helpers/typeof"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(re){function se(ge,we){for(ge=String(ge),we=we||2;ge.length<we;)ge="0"+ge;return ge}function fe(ge){var we=new Date(ge.getFullYear(),ge.getMonth(),ge.getDate());we.setDate(we.getDate()-(we.getDay()+6)%7+3);var xe=new Date(we.getFullYear(),0,4);xe.setDate(xe.getDate()-(xe.getDay()+6)%7+3);var ue=we.getTimezoneOffset()-xe.getTimezoneOffset();we.setHours(we.getHours()-ue);var Ee=(we-xe)/6048e5;return 1+Math.floor(Ee)}function E(ge){var we=ge.getDay();return we===0&&(we=7),we}function te(ge){return ge===null?"null":ge===void 0?"undefined":(ge===void 0?"undefined":(0,ve.default)(ge))!=="object"?ge===void 0?"undefined":(0,ve.default)(ge):Array.isArray(ge)?"array":{}.toString.call(ge).slice(8,-1).toLowerCase()}var ne=function(){var ge=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,we=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,xe=/[^-+\dA-Z]/g;return function(ue,Ee,Oe,Ae){if(arguments.length!==1||te(ue)!=="string"||/\d/.test(ue)||(Ee=ue,ue=void 0),ue=ue||new Date,ue instanceof Date||(ue=new Date(ue)),isNaN(ue))throw TypeError("Invalid date");Ee=String(ne.masks[Ee]||Ee||ne.masks.default);var Re=Ee.slice(0,4);Re!=="UTC:"&&Re!=="GMT:"||(Ee=Ee.slice(4),Oe=!0,Re==="GMT:"&&(Ae=!0));var Me=Oe?"getUTC":"get",be=ue[Me+"Date"](),Pe=ue[Me+"Day"](),Fe=ue[Me+"Month"](),_e=ue[Me+"FullYear"](),Te=ue[Me+"Hours"](),Ke=ue[Me+"Minutes"](),We=ue[Me+"Seconds"](),Ne=ue[Me+"Milliseconds"](),Ye=Oe?0:ue.getTimezoneOffset(),Je=fe(ue),He=E(ue),lt={d:be,dd:se(be),ddd:ne.i18n.dayNames[Pe],dddd:ne.i18n.dayNames[Pe+7],m:Fe+1,mm:se(Fe+1),mmm:ne.i18n.monthNames[Fe],mmmm:ne.i18n.monthNames[Fe+12],yy:String(_e).slice(2),yyyy:_e,h:Te%12||12,hh:se(Te%12||12),H:Te,HH:se(Te),M:Ke,MM:se(Ke),s:We,ss:se(We),l:se(Ne,3),L:se(Math.round(Ne/10)),t:Te<12?"a":"p",tt:Te<12?"am":"pm",T:Te<12?"A":"P",TT:Te<12?"AM":"PM",Z:Ae?"GMT":Oe?"UTC":(String(ue).match(we)||[""]).pop().replace(xe,""),o:(Ye>0?"-":"+")+se(100*Math.floor(Math.abs(Ye)/60)+Math.abs(Ye)%60,4),S:["th","st","nd","rd"][be%10>3?0:(be%100-be%10!=10)*be%10],W:Je,N:He};return Ee.replace(ge,function(ct){return ct in lt?lt[ct]:ct.slice(1,ct.length-1)})}}();ne.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},ne.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},typeof b=="function"&&b.amd?b(function(){return ne}):(De===void 0?"undefined":(0,ve.default)(De))==="object"?ye.exports=ne:re.dateFormat=ne})(void 0)},{"babel-runtime/helpers/typeof":32}],155:[function(oe,ye,De){(function(de){function ve(){return!(typeof window=="undefined"||!window.process||window.process.type!=="renderer")||typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function re(te){var ne=this.useColors;if(te[0]=(ne?"%c":"")+this.namespace+(ne?" %c":" ")+te[0]+(ne?"%c ":" ")+"+"+De.humanize(this.diff),ne){var ge="color: "+this.color;te.splice(1,0,ge,"color: inherit");var we=0,xe=0;te[0].replace(/%[a-zA-Z%]/g,function(ue){ue!=="%%"&&(we++,ue==="%c"&&(xe=we))}),te.splice(xe,0,ge)}}function se(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function fe(te){try{te==null?De.storage.removeItem("debug"):De.storage.debug=te}catch(ne){}}function E(){var te;try{te=De.storage.debug}catch(ne){}return!te&&de!==void 0&&"env"in de&&(te=de.env.DEBUG),te}De=ye.exports=oe("./debug"),De.log=se,De.formatArgs=re,De.save=fe,De.load=E,De.useColors=ve,De.storage=typeof chrome!="undefined"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch(te){}}(),De.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],De.formatters.j=function(te){try{return JSON.stringify(te)}catch(ne){return"[UnexpectedJSONParseError]: "+ne.message}},De.enable(E())}).call(this,oe("_process"))},{"./debug":156,_process:173}],156:[function(oe,ye,De){function de(ne){var ge,we=0;for(ge in ne)we=(we<<5)-we+ne.charCodeAt(ge),we|=0;return De.colors[Math.abs(we)%De.colors.length]}function ve(ne){function ge(){if(ge.enabled){var we=ge,xe=+new Date,ue=xe-(te||xe);we.diff=ue,we.prev=te,we.curr=xe,te=xe;for(var Ee=new Array(arguments.length),Oe=0;Oe<Ee.length;Oe++)Ee[Oe]=arguments[Oe];Ee[0]=De.coerce(Ee[0]),typeof Ee[0]!="string"&&Ee.unshift("%O");var Ae=0;Ee[0]=Ee[0].replace(/%([a-zA-Z%])/g,function(Re,Me){if(Re==="%%")return Re;Ae++;var be=De.formatters[Me];if(typeof be=="function"){var Pe=Ee[Ae];Re=be.call(we,Pe),Ee.splice(Ae,1),Ae--}return Re}),De.formatArgs.call(we,Ee),(ge.log||De.log||console.log.bind(console)).apply(we,Ee)}}return ge.namespace=ne,ge.enabled=De.enabled(ne),ge.useColors=De.useColors(),ge.color=de(ne),typeof De.init=="function"&&De.init(ge),ge}function re(ne){De.save(ne),De.names=[],De.skips=[];for(var ge=(typeof ne=="string"?ne:"").split(/[\s,]+/),we=ge.length,xe=0;xe<we;xe++)ge[xe]&&(ne=ge[xe].replace(/\*/g,".*?"),ne[0]==="-"?De.skips.push(new RegExp("^"+ne.substr(1)+"$")):De.names.push(new RegExp("^"+ne+"$")))}function se(){De.enable("")}function fe(ne){var ge,we;for(ge=0,we=De.skips.length;ge<we;ge++)if(De.skips[ge].test(ne))return!1;for(ge=0,we=De.names.length;ge<we;ge++)if(De.names[ge].test(ne))return!0;return!1}function E(ne){return ne instanceof Error?ne.stack||ne.message:ne}De=ye.exports=ve.debug=ve.default=ve,De.coerce=E,De.disable=se,De.enable=re,De.enabled=fe,De.humanize=oe("ms"),De.names=[],De.skips=[],De.formatters={};var te},{ms:169}],157:[function(oe,ye,De){"use strict";function de(re){var se=""+re,fe=ve.exec(se);if(!fe)return se;var E,te="",ne=0,ge=0;for(ne=fe.index;ne<se.length;ne++){switch(se.charCodeAt(ne)){case 34:E=""";break;case 38:E="&";break;case 39:E="'";break;case 60:E="<";break;case 62:E=">";break;default:continue}ge!==ne&&(te+=se.substring(ge,ne)),ge=ne+1,te+=E}return ge!==ne?te+se.substring(ge,ne):te}var ve=/["'&<>]/;ye.exports=de},{}],158:[function(oe,ye,De){function de(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function ve(E){return typeof E=="function"}function re(E){return typeof E=="number"}function se(E){return typeof E=="object"&&E!==null}function fe(E){return E===void 0}ye.exports=de,de.EventEmitter=de,de.prototype._events=void 0,de.prototype._maxListeners=void 0,de.defaultMaxListeners=10,de.prototype.setMaxListeners=function(E){if(!re(E)||E<0||isNaN(E))throw TypeError("n must be a positive number");return this._maxListeners=E,this},de.prototype.emit=function(E){var te,ne,ge,we,xe,ue;if(this._events||(this._events={}),E==="error"&&(!this._events.error||se(this._events.error)&&!this._events.error.length)){if((te=arguments[1])instanceof Error)throw te;var Ee=new Error('Uncaught, unspecified "error" event. ('+te+")");throw Ee.context=te,Ee}if(ne=this._events[E],fe(ne))return!1;if(ve(ne))switch(arguments.length){case 1:ne.call(this);break;case 2:ne.call(this,arguments[1]);break;case 3:ne.call(this,arguments[1],arguments[2]);break;default:we=Array.prototype.slice.call(arguments,1),ne.apply(this,we)}else if(se(ne))for(we=Array.prototype.slice.call(arguments,1),ue=ne.slice(),ge=ue.length,xe=0;xe<ge;xe++)ue[xe].apply(this,we);return!0},de.prototype.addListener=function(E,te){var ne;if(!ve(te))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",E,ve(te.listener)?te.listener:te),this._events[E]?se(this._events[E])?this._events[E].push(te):this._events[E]=[this._events[E],te]:this._events[E]=te,se(this._events[E])&&!this._events[E].warned&&(ne=fe(this._maxListeners)?de.defaultMaxListeners:this._maxListeners)&&ne>0&&this._events[E].length>ne&&(this._events[E].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[E].length),typeof console.trace=="function"&&console.trace()),this},de.prototype.on=de.prototype.addListener,de.prototype.once=function(E,te){function ne(){this.removeListener(E,ne),ge||(ge=!0,te.apply(this,arguments))}if(!ve(te))throw TypeError("listener must be a function");var ge=!1;return ne.listener=te,this.on(E,ne),this},de.prototype.removeListener=function(E,te){var ne,ge,we,xe;if(!ve(te))throw TypeError("listener must be a function");if(!this._events||!this._events[E])return this;if(ne=this._events[E],we=ne.length,ge=-1,ne===te||ve(ne.listener)&&ne.listener===te)delete this._events[E],this._events.removeListener&&this.emit("removeListener",E,te);else if(se(ne)){for(xe=we;xe-- >0;)if(ne[xe]===te||ne[xe].listener&&ne[xe].listener===te){ge=xe;break}if(ge<0)return this;ne.length===1?(ne.length=0,delete this._events[E]):ne.splice(ge,1),this._events.removeListener&&this.emit("removeListener",E,te)}return this},de.prototype.removeAllListeners=function(E){var te,ne;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[E]&&delete this._events[E],this;if(arguments.length===0){for(te in this._events)te!=="removeListener"&&this.removeAllListeners(te);return this.removeAllListeners("removeListener"),this._events={},this}if(ne=this._events[E],ve(ne))this.removeListener(E,ne);else if(ne)for(;ne.length;)this.removeListener(E,ne[ne.length-1]);return delete this._events[E],this},de.prototype.listeners=function(E){return this._events&&this._events[E]?ve(this._events[E])?[this._events[E]]:this._events[E].slice():[]},de.prototype.listenerCount=function(E){if(this._events){var te=this._events[E];if(ve(te))return 1;if(te)return te.length}return 0},de.listenerCount=function(E,te){return E.listenerCount(te)}},{}],159:[function(oe,ye,De){var de=oe("http"),ve=ye.exports;for(var re in de)de.hasOwnProperty(re)&&(ve[re]=de[re]);ve.request=function(se,fe){return se||(se={}),se.scheme="https",se.protocol="https:",de.request.call(this,se,fe)}},{http:196}],160:[function(oe,ye,De){"use strict";var de=oe("util"),ve=oe("ms");ye.exports=function(re){if(typeof re=="number")return re;var se=ve(re);if(se===void 0){var fe=new Error(de.format("humanize-ms(%j) result undefined",re));console.warn(fe.stack)}return se}},{ms:169,util:207}],161:[function(oe,ye,De){De.read=function(de,ve,re,se,fe){var E,te,ne=8*fe-se-1,ge=(1<<ne)-1,we=ge>>1,xe=-7,ue=re?fe-1:0,Ee=re?-1:1,Oe=de[ve+ue];for(ue+=Ee,E=Oe&(1<<-xe)-1,Oe>>=-xe,xe+=ne;xe>0;E=256*E+de[ve+ue],ue+=Ee,xe-=8);for(te=E&(1<<-xe)-1,E>>=-xe,xe+=se;xe>0;te=256*te+de[ve+ue],ue+=Ee,xe-=8);if(E===0)E=1-we;else{if(E===ge)return te?NaN:1/0*(Oe?-1:1);te+=Math.pow(2,se),E-=we}return(Oe?-1:1)*te*Math.pow(2,E-se)},De.write=function(de,ve,re,se,fe,E){var te,ne,ge,we=8*E-fe-1,xe=(1<<we)-1,ue=xe>>1,Ee=fe===23?Math.pow(2,-24)-Math.pow(2,-77):0,Oe=se?0:E-1,Ae=se?1:-1,Re=ve<0||ve===0&&1/ve<0?1:0;for(ve=Math.abs(ve),isNaN(ve)||ve===1/0?(ne=isNaN(ve)?1:0,te=xe):(te=Math.floor(Math.log(ve)/Math.LN2),ve*(ge=Math.pow(2,-te))<1&&(te--,ge*=2),ve+=te+ue>=1?Ee/ge:Ee*Math.pow(2,1-ue),ve*ge>=2&&(te++,ge/=2),te+ue>=xe?(ne=0,te=xe):te+ue>=1?(ne=(ve*ge-1)*Math.pow(2,fe),te+=ue):(ne=ve*Math.pow(2,ue-1)*Math.pow(2,fe),te=0));fe>=8;de[re+Oe]=255&ne,Oe+=Ae,ne/=256,fe-=8);for(te=te<<fe|ne,we+=fe;we>0;de[re+Oe]=255&te,Oe+=Ae,te/=256,we-=8);de[re+Oe-Ae]|=128*Re}},{}],162:[function(oe,ye,De){typeof Object.create=="function"?ye.exports=function(de,ve){de.super_=ve,de.prototype=Object.create(ve.prototype,{constructor:{value:de,enumerable:!1,writable:!0,configurable:!0}})}:ye.exports=function(de,ve){de.super_=ve;var re=function(){};re.prototype=ve.prototype,de.prototype=new re,de.prototype.constructor=de}},{}],163:[function(oe,ye,De){function de(re){return!!re.constructor&&typeof re.constructor.isBuffer=="function"&&re.constructor.isBuffer(re)}function ve(re){return typeof re.readFloatLE=="function"&&typeof re.slice=="function"&&de(re.slice(0,0))}ye.exports=function(re){return re!=null&&(de(re)||ve(re)||!!re._isBuffer)}},{}],164:[function(oe,ye,De){(function(de){function ve(fe){return se.call(fe).replace(/^[^{]*{\s*/,"").replace(/\s*}[^}]*$/,"")}function re(fe){return typeof fe=="function"&&(/^class(\s|\{\}$)/.test(se.call(fe))||/^.*classCallCheck\(/.test(ve(fe)))}var se=Function.prototype.toString;De!==void 0?(ye!==void 0&&ye.exports&&(De=ye.exports=re),De.isClass=re):typeof b=="function"&&b.amd?b([],function(){return re}):de.isClass=re})(this)},{}],165:[function(oe,ye,De){"use strict";function de(E){var te=E.slice(2);return te=te[0].toLowerCase()+te.slice(1)}var ve=oe("core-util-is"),re=oe("isstream"),se=oe("is-class");Object.keys(ve).map(function(E){De[de(E)]=ve[E]}),De.stream=re,De.readableStream=re.isReadable,De.writableStream=re.isWritable,De.duplexStream=re.isDuplex,De.class=se,De.finite=function(E){return Number.isFinite(E)},De.NaN=function(E){return Number.isNaN(E)},De.generator=function(E){return E&&typeof E.next=="function"&&typeof E.throw=="function"},De.generatorFunction=function(E){return E&&E.constructor&&E.constructor.name==="GeneratorFunction"},De.asyncFunction=function(E){return E&&E.constructor&&E.constructor.name==="AsyncFunction"},De.promise=function(E){return E&&typeof E.then=="function"};var fe=Math.pow(2,31);De.int=function(E){return ve.isNumber(E)&&E%1==0},De.int32=function(E){return De.int(E)&&E<fe&&E>=-fe},De.long=function(E){return De.int(E)&&(E>=fe||E<-fe)},De.Long=function(E){return De.object(E)&&De.number(E.high)&&De.number(E.low)},De.double=function(E){return ve.isNumber(E)&&!isNaN(E)&&E%1!=0},De.date=function(E){return E instanceof Date},De.regExp=function(E){return E instanceof RegExp},De.regexp=De.regExp,De.error=function(E){return E instanceof Error},De.array=function(E){return Array.isArray(E)}},{"core-util-is":153,"is-class":164,isstream:167}],166:[function(oe,ye,De){var de={}.toString;ye.exports=Array.isArray||function(ve){return de.call(ve)=="[object Array]"}},{}],167:[function(oe,ye,De){function de(E){return E instanceof fe.Stream}function ve(E){return de(E)&&typeof E._read=="function"&&typeof E._readableState=="object"}function re(E){return de(E)&&typeof E._write=="function"&&typeof E._writableState=="object"}function se(E){return ve(E)&&re(E)}var fe=oe("stream");ye.exports=de,ye.exports.isReadable=ve,ye.exports.isWritable=re,ye.exports.isDuplex=se},{stream:195}],168:[function(oe,ye,De){"use strict";function de(re,se,fe){if(!re)throw new TypeError("argument dest is required");if(!se)throw new TypeError("argument src is required");return fe===void 0&&(fe=!0),Object.getOwnPropertyNames(se).forEach(function(E){if(fe||!ve.call(re,E)){var te=Object.getOwnPropertyDescriptor(se,E);Object.defineProperty(re,E,te)}}),re}ye.exports=de;var ve=Object.prototype.hasOwnProperty},{}],169:[function(oe,ye,De){function de(we){if(we=String(we),!(we.length>100)){var xe=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(we);if(xe){var ue=parseFloat(xe[1]);switch((xe[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return ue*ge;case"days":case"day":case"d":return ue*ne;case"hours":case"hour":case"hrs":case"hr":case"h":return ue*te;case"minutes":case"minute":case"mins":case"min":case"m":return ue*E;case"seconds":case"second":case"secs":case"sec":case"s":return ue*fe;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return ue;default:return}}}}function ve(we){return we>=ne?Math.round(we/ne)+"d":we>=te?Math.round(we/te)+"h":we>=E?Math.round(we/E)+"m":we>=fe?Math.round(we/fe)+"s":we+"ms"}function re(we){return se(we,ne,"day")||se(we,te,"hour")||se(we,E,"minute")||se(we,fe,"second")||we+" ms"}function se(we,xe,ue){if(!(we<xe))return we<1.5*xe?Math.floor(we/xe)+" "+ue:Math.ceil(we/xe)+" "+ue+"s"}var fe=1e3,E=60*fe,te=60*E,ne=24*te,ge=365.25*ne;ye.exports=function(we,xe){xe=xe||{};var ue=typeof we;if(ue==="string"&&we.length>0)return de(we);if(ue==="number"&&isNaN(we)===!1)return xe.long?re(we):ve(we);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(we))}},{}],170:[function(oe,ye,De){(function(de){function ve(E,te){for(var ne=0,ge=E.length-1;ge>=0;ge--){var we=E[ge];we==="."?E.splice(ge,1):we===".."?(E.splice(ge,1),ne++):ne&&(E.splice(ge,1),ne--)}if(te)for(;ne--;ne)E.unshift("..");return E}function re(E){typeof E!="string"&&(E+="");var te,ne=0,ge=-1,we=!0;for(te=E.length-1;te>=0;--te)if(E.charCodeAt(te)===47){if(!we){ne=te+1;break}}else ge===-1&&(we=!1,ge=te+1);return ge===-1?"":E.slice(ne,ge)}function se(E,te){if(E.filter)return E.filter(te);for(var ne=[],ge=0;ge<E.length;ge++)te(E[ge],ge,E)&&ne.push(E[ge]);return ne}De.resolve=function(){for(var E="",te=!1,ne=arguments.length-1;ne>=-1&&!te;ne--){var ge=ne>=0?arguments[ne]:de.cwd();if(typeof ge!="string")throw new TypeError("Arguments to path.resolve must be strings");ge&&(E=ge+"/"+E,te=ge.charAt(0)==="/")}return E=ve(se(E.split("/"),function(we){return!!we}),!te).join("/"),(te?"/":"")+E||"."},De.normalize=function(E){var te=De.isAbsolute(E),ne=fe(E,-1)==="/";return E=ve(se(E.split("/"),function(ge){return!!ge}),!te).join("/"),E||te||(E="."),E&&ne&&(E+="/"),(te?"/":"")+E},De.isAbsolute=function(E){return E.charAt(0)==="/"},De.join=function(){var E=Array.prototype.slice.call(arguments,0);return De.normalize(se(E,function(te,ne){if(typeof te!="string")throw new TypeError("Arguments to path.join must be strings");return te}).join("/"))},De.relative=function(E,te){function ne(Ae){for(var Re=0;Re<Ae.length&&Ae[Re]==="";Re++);for(var Me=Ae.length-1;Me>=0&&Ae[Me]==="";Me--);return Re>Me?[]:Ae.slice(Re,Me-Re+1)}E=De.resolve(E).substr(1),te=De.resolve(te).substr(1);for(var ge=ne(E.split("/")),we=ne(te.split("/")),xe=Math.min(ge.length,we.length),ue=xe,Ee=0;Ee<xe;Ee++)if(ge[Ee]!==we[Ee]){ue=Ee;break}for(var Oe=[],Ee=ue;Ee<ge.length;Ee++)Oe.push("..");return Oe=Oe.concat(we.slice(ue)),Oe.join("/")},De.sep="/",De.delimiter=":",De.dirname=function(E){if(typeof E!="string"&&(E+=""),E.length===0)return".";for(var te=E.charCodeAt(0),ne=te===47,ge=-1,we=!0,xe=E.length-1;xe>=1;--xe)if((te=E.charCodeAt(xe))===47){if(!we){ge=xe;break}}else we=!1;return ge===-1?ne?"/":".":ne&&ge===1?"/":E.slice(0,ge)},De.basename=function(E,te){var ne=re(E);return te&&ne.substr(-1*te.length)===te&&(ne=ne.substr(0,ne.length-te.length)),ne},De.extname=function(E){typeof E!="string"&&(E+="");for(var te=-1,ne=0,ge=-1,we=!0,xe=0,ue=E.length-1;ue>=0;--ue){var Ee=E.charCodeAt(ue);if(Ee!==47)ge===-1&&(we=!1,ge=ue+1),Ee===46?te===-1?te=ue:xe!==1&&(xe=1):te!==-1&&(xe=-1);else if(!we){ne=ue+1;break}}return te===-1||ge===-1||xe===0||xe===1&&te===ge-1&&te===ne+1?"":E.slice(te,ge)};var fe=function(E,te,ne){return E.substr(te,ne)}}).call(this,oe("_process"))},{_process:173}],171:[function(oe,ye,De){(function(de){(function(){"use strict";function ve(We){return We=String(We),We.charAt(0).toUpperCase()+We.slice(1)}function re(We,Ne,Ye){var Je={"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 Ne&&Ye&&/^Win/i.test(We)&&!/^Windows Phone /i.test(We)&&(Je=Je[/[\d.]+$/.exec(We)])&&(We="Windows "+Je),We=String(We),Ne&&Ye&&(We=We.replace(RegExp(Ne,"i"),Ye)),We=fe(We.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])}function se(We,Ne){var Ye=-1,Je=We?We.length:0;if(typeof Je=="number"&&Je>-1&&Je<=be)for(;++Ye<Je;)Ne(We[Ye],Ye,We);else E(We,Ne)}function fe(We){return We=xe(We),/^(?:webOS|i(?:OS|P))/.test(We)?We:ve(We)}function E(We,Ne){for(var Ye in We)_e.call(We,Ye)&&Ne(We[Ye],Ye,We)}function te(We){return We==null?ve(We):Te.call(We).slice(8,-1)}function ne(We,Ne){var Ye=We!=null?typeof We[Ne]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(Ye)||Ye=="object"&&!We[Ne])}function ge(We){return String(We).replace(/([ -])(?!$)/g,"$1?")}function we(We,Ne){var Ye=null;return se(We,function(Je,He){Ye=Ne(Ye,Je,He,We)}),Ye}function xe(We){return String(We).replace(/^ +| +$/g,"")}function ue(We){function Ne(Le){return we(Le,function(Se,Be){var Qe=Be.pattern||ge(Be);return!Se&&(Se=RegExp("\\b"+Qe+" *\\d+[.\\w_]*","i").exec(We)||RegExp("\\b"+Qe+" *\\w+-[\\w]*","i").exec(We)||RegExp("\\b"+Qe+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(We))&&((Se=String(Be.label&&!RegExp(Qe,"i").test(Be.label)?Be.label:Se).split("/"))[1]&&!/[\d.]+/.test(Se[0])&&(Se[0]+=" "+Se[1]),Be=Be.label||Be,Se=fe(Se[0].replace(RegExp(Qe,"i"),Be).replace(RegExp("; *(?:"+Be+"[_-])?","i")," ").replace(RegExp("("+Be+")[-_.]?(\\w)","i"),"$1 $2"))),Se})}function Ye(){return this.description||""}var Je=Oe,He=We&&typeof We=="object"&&te(We)!="String";He&&(Je=We,We=null);var lt=Je.navigator||{},ct=lt.userAgent||"";We||(We=ct);var tt,Bt,nt=He?!!lt.likeChrome:/\bChrome\b/.test(We)&&!/internal|\n/i.test(Te.toString()),Ue=He?"Object":"ScriptBridgingProxyObject",Xe=He?"Object":"Environment",$e=He&&Je.java?"JavaPackage":te(Je.java),qe=He?"Object":"RuntimeObject",Ve=/\bJava/.test($e)&&Je.java,ht=Ve&&te(Je.environment)==Xe,st=Ve?"a":"\u4F2A",Nt=Ve?"b":"\u5C3E",dt=Je.document||{},Tt=Je.operamini||Je.opera,bt=Pe.test(bt=He&&Tt?Tt["[[Class]]"]:te(Tt))?bt:Tt=null,Ct=We,gt=[],je=null,le=We==ct,ie=le&&Tt&&typeof Tt.version=="function"&&Tt.version(),ke=function(Le){return we(Le,function(Se,Be){return Se||RegExp("\\b"+(Be.pattern||ge(Be))+"\\b","i").exec(We)&&(Be.label||Be)})}([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Ge=function(Le){return we(Le,function(Se,Be){return Se||RegExp("\\b"+(Be.pattern||ge(Be))+"\\b","i").exec(We)&&(Be.label||Be)})}(["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"},"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","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{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"]),Ie=Ne([{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"]),pe=function(Le){return we(Le,function(Se,Be,Qe){return Se||(Be[Ie]||Be[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ie)]||RegExp("\\b"+ge(Qe)+"(?:\\b|\\w*\\d)","i").exec(We))&&Qe})}({Apple:{iPad:1,iPhone:1,iPod:1},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:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),x=function(Le){return we(Le,function(Se,Be){var Qe=Be.pattern||ge(Be);return!Se&&(Se=RegExp("\\b"+Qe+"(?:/[\\d.]+|[ \\w.]*)","i").exec(We))&&(Se=re(Se,Qe,Be.label||Be)),Se})}(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","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 "]);if(ke&&(ke=[ke]),pe&&!Ie&&(Ie=Ne([pe])),(tt=/\bGoogle TV\b/.exec(Ie))&&(Ie=tt[0]),/\bSimulator\b/i.test(We)&&(Ie=(Ie?Ie+" ":"")+"Simulator"),Ge=="Opera Mini"&&/\bOPiOS\b/.test(We)&>.push("running in Turbo/Uncompressed mode"),Ge=="IE"&&/\blike iPhone OS\b/.test(We)?(tt=ue(We.replace(/like iPhone OS/,"")),pe=tt.manufacturer,Ie=tt.product):/^iP/.test(Ie)?(Ge||(Ge="Safari"),x="iOS"+((tt=/ OS ([\d_]+)/i.exec(We))?" "+tt[1].replace(/_/g,"."):"")):Ge!="Konqueror"||/buntu/i.test(x)?pe&&pe!="Google"&&(/Chrome/.test(Ge)&&!/\bMobile Safari\b/i.test(We)||/\bVita\b/.test(Ie))||/\bAndroid\b/.test(x)&&/^Chrome/.test(Ge)&&/\bVersion\//i.test(We)?(Ge="Android Browser",x=/\bAndroid\b/.test(x)?x:"Android"):Ge=="Silk"?(/\bMobi/i.test(We)||(x="Android",gt.unshift("desktop mode")),/Accelerated *= *true/i.test(We)&>.unshift("accelerated")):Ge=="PaleMoon"&&(tt=/\bFirefox\/([\d.]+)\b/.exec(We))?gt.push("identifying as Firefox "+tt[1]):Ge=="Firefox"&&(tt=/\b(Mobile|Tablet|TV)\b/i.exec(We))?(x||(x="Firefox OS"),Ie||(Ie=tt[1])):!Ge||(tt=!/\bMinefield\b/i.test(We)&&/\b(?:Firefox|Safari)\b/.exec(Ge))?(Ge&&!Ie&&/[\/,]|^[^(]+?\)/.test(We.slice(We.indexOf(tt+"/")+8))&&(Ge=null),(tt=Ie||pe||x)&&(Ie||pe||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(x))&&(Ge=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(x)?x:tt)+" Browser")):Ge=="Electron"&&(tt=(/\bChrome\/([\d.]+)\b/.exec(We)||0)[1])&>.push("Chromium "+tt):x="Kubuntu",ie||(ie=function(Le){return we(Le,function(Se,Be){return Se||(RegExp(Be+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(We)||0)[1]||null})}(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",ge(Ge),"(?:Firefox|Minefield|NetFront)"])),(tt=ke=="iCab"&&parseFloat(ie)>3&&"WebKit"||/\bOpera\b/.test(Ge)&&(/\bOPR\b/.test(We)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(We)&&!/^(?:Trident|EdgeHTML)$/.test(ke)&&"WebKit"||!ke&&/\bMSIE\b/i.test(We)&&(x=="Mac OS"?"Tasman":"Trident")||ke=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ge)&&"NetFront")&&(ke=[tt]),Ge=="IE"&&(tt=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(We)||0)[1])?(Ge+=" Mobile",x="Windows Phone "+(/\+$/.test(tt)?tt:tt+".x"),gt.unshift("desktop mode")):/\bWPDesktop\b/i.test(We)?(Ge="IE Mobile",x="Windows Phone 8.x",gt.unshift("desktop mode"),ie||(ie=(/\brv:([\d.]+)/.exec(We)||0)[1])):Ge!="IE"&&ke=="Trident"&&(tt=/\brv:([\d.]+)/.exec(We))&&(Ge&>.push("identifying as "+Ge+(ie?" "+ie:"")),Ge="IE",ie=tt[1]),le){if(ne(Je,"global"))if(Ve&&(tt=Ve.lang.System,Ct=tt.getProperty("os.arch"),x=x||tt.getProperty("os.name")+" "+tt.getProperty("os.version")),ht){try{ie=Je.require("ringo/engine").version.join("."),Ge="RingoJS"}catch(Le){(tt=Je.system)&&tt.global.system==Je.system&&(Ge="Narwhal",x||(x=tt[0].os||null))}Ge||(Ge="Rhino")}else typeof Je.process=="object"&&!Je.process.browser&&(tt=Je.process)&&(typeof tt.versions=="object"&&(typeof tt.versions.electron=="string"?(gt.push("Node "+tt.versions.node),Ge="Electron",ie=tt.versions.electron):typeof tt.versions.nw=="string"&&(gt.push("Chromium "+ie,"Node "+tt.versions.node),Ge="NW.js",ie=tt.versions.nw)),Ge||(Ge="Node.js",Ct=tt.arch,x=tt.platform,ie=/[\d.]+/.exec(tt.version),ie=ie?ie[0]:null));else te(tt=Je.runtime)==Ue?(Ge="Adobe AIR",x=tt.flash.system.Capabilities.os):te(tt=Je.phantom)==qe?(Ge="PhantomJS",ie=(tt=tt.version||null)&&tt.major+"."+tt.minor+"."+tt.patch):typeof dt.documentMode=="number"&&(tt=/\bTrident\/(\d+)/i.exec(We))?(ie=[ie,dt.documentMode],(tt=+tt[1]+4)!=ie[1]&&(gt.push("IE "+ie[1]+" mode"),ke&&(ke[1]=""),ie[1]=tt),ie=Ge=="IE"?String(ie[1].toFixed(1)):ie[0]):typeof dt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ge)&&(gt.push("masking as "+Ge+" "+ie),Ge="IE",ie="11.0",ke=["Trident"],x="Windows");x=x&&fe(x)}if(ie&&(tt=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(ie)||/(?:alpha|beta)(?: ?\d)?/i.exec(We+";"+(le&<.appMinorVersion))||/\bMinefield\b/i.test(We)&&"a")&&(je=/b/i.test(tt)?"beta":"alpha",ie=ie.replace(RegExp(tt+"\\+?$"),"")+(je=="beta"?Nt:st)+(/\d+\+?/.exec(tt)||"")),Ge=="Fennec"||Ge=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(x))Ge="Firefox Mobile";else if(Ge=="Maxthon"&&ie)ie=ie.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ie))Ie=="Xbox 360"&&(x=null),Ie=="Xbox 360"&&/\bIEMobile\b/.test(We)&>.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(Ge)&&(!Ge||Ie||/Browser|Mobi/.test(Ge))||x!="Windows CE"&&!/Mobi/i.test(We))if(Ge=="IE"&&le)try{Je.external===null&>.unshift("platform preview")}catch(Le){gt.unshift("embedded")}else(/\bBlackBerry\b/.test(Ie)||/\bBB10\b/.test(We))&&(tt=(RegExp(Ie.replace(/ +/g," *")+"/([.\\d]+)","i").exec(We)||0)[1]||ie)?(tt=[tt,/BB10/.test(We)],x=(tt[1]?(Ie=null,pe="BlackBerry"):"Device Software")+" "+tt[0],ie=null):this!=E&&Ie!="Wii"&&(le&&Tt||/Opera/.test(Ge)&&/\b(?:MSIE|Firefox)\b/i.test(We)||Ge=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(x)||Ge=="IE"&&(x&&!/^Win/.test(x)&&ie>5.5||/\bWindows XP\b/.test(x)&&ie>8||ie==8&&!/\bTrident\b/.test(We)))&&!Pe.test(tt=ue.call(E,We.replace(Pe,"")+";"))&&tt.name&&(tt="ing as "+tt.name+((tt=tt.version)?" "+tt:""),Pe.test(Ge)?(/\bIE\b/.test(tt)&&x=="Mac OS"&&(x=null),tt="identify"+tt):(tt="mask"+tt,Ge=bt?fe(bt.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(tt)&&(x=null),le||(ie=null)),ke=["Presto"],gt.push(tt));else Ge+=" Mobile";(tt=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(We)||0)[1])&&(tt=[parseFloat(tt.replace(/\.(\d)$/,".0$1")),tt],Ge=="Safari"&&tt[1].slice(-1)=="+"?(Ge="WebKit Nightly",je="alpha",ie=tt[1].slice(0,-1)):ie!=tt[1]&&ie!=(tt[2]=(/\bSafari\/([\d.]+\+?)/i.exec(We)||0)[1])||(ie=null),tt[1]=(/\bChrome\/([\d.]+)/i.exec(We)||0)[1],tt[0]==537.36&&tt[2]==537.36&&parseFloat(tt[1])>=28&&ke=="WebKit"&&(ke=["Blink"]),le&&(nt||tt[1])?(ke&&(ke[1]="like Chrome"),tt=tt[1]||(tt=tt[0],tt<530?1:tt<532?2:tt<532.05?3:tt<533?4:tt<534.03?5:tt<534.07?6:tt<534.1?7:tt<534.13?8:tt<534.16?9:tt<534.24?10:tt<534.3?11:tt<535.01?12:tt<535.02?"13+":tt<535.07?15:tt<535.11?16:tt<535.19?17:tt<536.05?18:tt<536.1?19:tt<537.01?20:tt<537.11?"21+":tt<537.13?23:tt<537.18?24:tt<537.24?25:tt<537.36?26:ke!="Blink"?"27":"28")):(ke&&(ke[1]="like Safari"),tt=tt[0],tt=tt<400?1:tt<500?2:tt<526?3:tt<533?4:tt<534?"4+":tt<535?5:tt<537?6:tt<538?7:tt<601?8:"8"),ke&&(ke[1]+=" "+(tt+=typeof tt=="number"?".x":/[.+]/.test(tt)?"":"+")),Ge=="Safari"&&(!ie||parseInt(ie)>45)&&(ie=tt)),Ge=="Opera"&&(tt=/\bzbov|zvav$/.exec(x))?(Ge+=" ",gt.unshift("desktop mode"),tt=="zvav"?(Ge+="Mini",ie=null):Ge+="Mobile",x=x.replace(RegExp(" *"+tt+"$"),"")):Ge=="Safari"&&/\bChrome\b/.exec(ke&&ke[1])&&(gt.unshift("desktop mode"),Ge="Chrome Mobile",ie=null,/\bOS X\b/.test(x)?(pe="Apple",x="iOS 4.3+"):x=null),ie&&ie.indexOf(tt=/[\d.]+$/.exec(x))==0&&We.indexOf("/"+tt+"-")>-1&&(x=xe(x.replace(tt,""))),ke&&!/\b(?:Avant|Nook)\b/.test(Ge)&&(/Browser|Lunascape|Maxthon/.test(Ge)||Ge!="Safari"&&/^iOS/.test(x)&&/\bSafari\b/.test(ke[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(Ge)&&ke[1])&&(tt=ke[ke.length-1])&>.push(tt),gt.length&&(gt=["("+gt.join("; ")+")"]),pe&&Ie&&Ie.indexOf(pe)<0&>.push("on "+pe),Ie&>.push((/^on /.test(gt[gt.length-1])?"":"on ")+Ie),x&&(tt=/ ([\d.+]+)$/.exec(x),Bt=tt&&x.charAt(x.length-tt[0].length-1)=="/",x={architecture:32,family:tt&&!Bt?x.replace(tt[0],""):x,version:tt?tt[1]:null,toString:function(){var Le=this.version;return this.family+(Le&&!Bt?" "+Le:"")+(this.architecture==64?" 64-bit":"")}}),(tt=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ct))&&!/\bi686\b/i.test(Ct)?(x&&(x.architecture=64,x.family=x.family.replace(RegExp(" *"+tt),"")),Ge&&(/\bWOW64\b/i.test(We)||le&&/\w(?:86|32)$/.test(lt.cpuClass||lt.platform)&&!/\bWin64; x64\b/i.test(We))&>.unshift("32-bit")):x&&/^OS X/.test(x.family)&&Ge=="Chrome"&&parseFloat(ie)>=39&&(x.architecture=64),We||(We=null);var me={};return me.description=We,me.layout=ke&&ke[0],me.manufacturer=pe,me.name=Ge,me.prerelease=je,me.product=Ie,me.ua=We,me.version=Ge&&ie,me.os=x||{architecture:null,family:null,version:null,toString:function(){return"null"}},me.parse=ue,me.toString=Ye,me.version&>.unshift(ie),me.name&>.unshift(Ge),x&&Ge&&(x!=String(x).split(" ")[0]||x!=Ge.split(" ")[0]&&!Ie)&>.push(Ie?"("+x+")":"on "+x),gt.length&&(me.description=gt.join(" ")),me}var Ee={function:!0,object:!0},Oe=Ee[typeof window]&&window||this,Ae=Ee[typeof De]&&De,Re=Ee[typeof ye]&&ye&&!ye.nodeType&&ye,Me=Ae&&Re&&typeof de=="object"&&de;!Me||Me.global!==Me&&Me.window!==Me&&Me.self!==Me||(Oe=Me);var be=Math.pow(2,53)-1,Pe=/\bOpera/,Fe=Object.prototype,_e=Fe.hasOwnProperty,Te=Fe.toString,Ke=ue();typeof b=="function"&&typeof b.amd=="object"&&b.amd?(Oe.platform=Ke,b(function(){return Ke})):Ae&&Re?E(Ke,function(We,Ne){Ae[Ne]=We}):Oe.platform=Ke}).call(this)}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],172:[function(oe,ye,De){(function(de){"use strict";function ve(re,se,fe,E){if(typeof re!="function")throw new TypeError('"callback" argument must be a function');var te,ne,ge=arguments.length;switch(ge){case 0:case 1:return de.nextTick(re);case 2:return de.nextTick(function(){re.call(null,se)});case 3:return de.nextTick(function(){re.call(null,se,fe)});case 4:return de.nextTick(function(){re.call(null,se,fe,E)});default:for(te=new Array(ge-1),ne=0;ne<te.length;)te[ne++]=arguments[ne];return de.nextTick(function(){re.apply(null,te)})}}!de.version||de.version.indexOf("v0.")===0||de.version.indexOf("v1.")===0&&de.version.indexOf("v1.8.")!==0?ye.exports={nextTick:ve}:ye.exports=de}).call(this,oe("_process"))},{_process:173}],173:[function(oe,ye,De){function de(){throw new Error("setTimeout has not been defined")}function ve(){throw new Error("clearTimeout has not been defined")}function re(Re){if(ge===setTimeout)return setTimeout(Re,0);if((ge===de||!ge)&&setTimeout)return ge=setTimeout,setTimeout(Re,0);try{return ge(Re,0)}catch(Me){try{return ge.call(null,Re,0)}catch(be){return ge.call(this,Re,0)}}}function se(Re){if(we===clearTimeout)return clearTimeout(Re);if((we===ve||!we)&&clearTimeout)return we=clearTimeout,clearTimeout(Re);try{return we(Re)}catch(Me){try{return we.call(null,Re)}catch(be){return we.call(this,Re)}}}function fe(){Oe&&ue&&(Oe=!1,ue.length?Ee=ue.concat(Ee):Ae=-1,Ee.length&&E())}function E(){if(!Oe){var Re=re(fe);Oe=!0;for(var Me=Ee.length;Me;){for(ue=Ee,Ee=[];++Ae<Me;)ue&&ue[Ae].run();Ae=-1,Me=Ee.length}ue=null,Oe=!1,se(Re)}}function te(Re,Me){this.fun=Re,this.array=Me}function ne(){}var ge,we,xe=ye.exports={};(function(){try{ge=typeof setTimeout=="function"?setTimeout:de}catch(Re){ge=de}try{we=typeof clearTimeout=="function"?clearTimeout:ve}catch(Re){we=ve}})();var ue,Ee=[],Oe=!1,Ae=-1;xe.nextTick=function(Re){var Me=new Array(arguments.length-1);if(arguments.length>1)for(var be=1;be<arguments.length;be++)Me[be-1]=arguments[be];Ee.push(new te(Re,Me)),Ee.length!==1||Oe||re(E)},te.prototype.run=function(){this.fun.apply(null,this.array)},xe.title="browser",xe.browser=!0,xe.env={},xe.argv=[],xe.version="",xe.versions={},xe.on=ne,xe.addListener=ne,xe.once=ne,xe.off=ne,xe.removeListener=ne,xe.removeAllListeners=ne,xe.emit=ne,xe.prependListener=ne,xe.prependOnceListener=ne,xe.listeners=function(Re){return[]},xe.binding=function(Re){throw new Error("process.binding is not supported")},xe.cwd=function(){return"/"},xe.chdir=function(Re){throw new Error("process.chdir is not supported")},xe.umask=function(){return 0}},{}],174:[function(oe,ye,De){(function(de){(function(ve){function re($e){throw new RangeError(Bt[$e])}function se($e,qe){for(var Ve=$e.length,ht=[];Ve--;)ht[Ve]=qe($e[Ve]);return ht}function fe($e,qe){var Ve=$e.split("@"),ht="";return Ve.length>1&&(ht=Ve[0]+"@",$e=Ve[1]),$e=$e.replace(tt,"."),ht+se($e.split("."),qe).join(".")}function E($e){for(var qe,Ve,ht=[],st=0,Nt=$e.length;st<Nt;)qe=$e.charCodeAt(st++),qe>=55296&&qe<=56319&&st<Nt?(Ve=$e.charCodeAt(st++),(64512&Ve)==56320?ht.push(((1023&qe)<<10)+(1023&Ve)+65536):(ht.push(qe),st--)):ht.push(qe);return ht}function te($e){return se($e,function(qe){var Ve="";return qe>65535&&(qe-=65536,Ve+=Xe(qe>>>10&1023|55296),qe=56320|1023&qe),Ve+=Xe(qe)}).join("")}function ne($e){return $e-48<10?$e-22:$e-65<26?$e-65:$e-97<26?$e-97:_e}function ge($e,qe){return $e+22+75*($e<26)-((qe!=0)<<5)}function we($e,qe,Ve){var ht=0;for($e=Ve?Ue($e/Ne):$e>>1,$e+=Ue($e/qe);$e>nt*Ke>>1;ht+=_e)$e=Ue($e/nt);return Ue(ht+(nt+1)*$e/($e+We))}function xe($e){var qe,Ve,ht,st,Nt,dt,Tt,bt,Ct,gt,je=[],le=$e.length,ie=0,ke=Je,Ge=Ye;for(Ve=$e.lastIndexOf(He),Ve<0&&(Ve=0),ht=0;ht<Ve;++ht)$e.charCodeAt(ht)>=128&&re("not-basic"),je.push($e.charCodeAt(ht));for(st=Ve>0?Ve+1:0;st<le;){for(Nt=ie,dt=1,Tt=_e;st>=le&&re("invalid-input"),bt=ne($e.charCodeAt(st++)),(bt>=_e||bt>Ue((Fe-ie)/dt))&&re("overflow"),ie+=bt*dt,Ct=Tt<=Ge?Te:Tt>=Ge+Ke?Ke:Tt-Ge,!(bt<Ct);Tt+=_e)gt=_e-Ct,dt>Ue(Fe/gt)&&re("overflow"),dt*=gt;qe=je.length+1,Ge=we(ie-Nt,qe,Nt==0),Ue(ie/qe)>Fe-ke&&re("overflow"),ke+=Ue(ie/qe),ie%=qe,je.splice(ie++,0,ke)}return te(je)}function ue($e){var qe,Ve,ht,st,Nt,dt,Tt,bt,Ct,gt,je,le,ie,ke,Ge,Ie=[];for($e=E($e),le=$e.length,qe=Je,Ve=0,Nt=Ye,dt=0;dt<le;++dt)(je=$e[dt])<128&&Ie.push(Xe(je));for(ht=st=Ie.length,st&&Ie.push(He);ht<le;){for(Tt=Fe,dt=0;dt<le;++dt)(je=$e[dt])>=qe&&je<Tt&&(Tt=je);for(ie=ht+1,Tt-qe>Ue((Fe-Ve)/ie)&&re("overflow"),Ve+=(Tt-qe)*ie,qe=Tt,dt=0;dt<le;++dt)if(je=$e[dt],je<qe&&++Ve>Fe&&re("overflow"),je==qe){for(bt=Ve,Ct=_e;gt=Ct<=Nt?Te:Ct>=Nt+Ke?Ke:Ct-Nt,!(bt<gt);Ct+=_e)Ge=bt-gt,ke=_e-gt,Ie.push(Xe(ge(gt+Ge%ke,0))),bt=Ue(Ge/ke);Ie.push(Xe(ge(bt,0))),Nt=we(Ve,ie,ht==st),Ve=0,++ht}++Ve,++qe}return Ie.join("")}function Ee($e){return fe($e,function(qe){return lt.test(qe)?xe(qe.slice(4).toLowerCase()):qe})}function Oe($e){return fe($e,function(qe){return ct.test(qe)?"xn--"+ue(qe):qe})}var Ae=typeof De=="object"&&De&&!De.nodeType&&De,Re=typeof ye=="object"&&ye&&!ye.nodeType&&ye,Me=typeof de=="object"&&de;Me.global!==Me&&Me.window!==Me&&Me.self!==Me||(ve=Me);var be,Pe,Fe=2147483647,_e=36,Te=1,Ke=26,We=38,Ne=700,Ye=72,Je=128,He="-",lt=/^xn--/,ct=/[^\x20-\x7E]/,tt=/[\x2E\u3002\uFF0E\uFF61]/g,Bt={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},nt=_e-Te,Ue=Math.floor,Xe=String.fromCharCode;if(be={version:"1.4.1",ucs2:{decode:E,encode:te},decode:xe,encode:ue,toASCII:Oe,toUnicode:Ee},typeof b=="function"&&typeof b.amd=="object"&&b.amd)b("punycode",function(){return be});else if(Ae&&Re)if(ye.exports==Ae)Re.exports=be;else for(Pe in be)be.hasOwnProperty(Pe)&&(Ae[Pe]=be[Pe]);else ve.punycode=be})(this)}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],175:[function(oe,ye,De){"use strict";function de(re,se){return Object.prototype.hasOwnProperty.call(re,se)}ye.exports=function(re,se,fe,E){se=se||"&",fe=fe||"=";var te={};if(typeof re!="string"||re.length===0)return te;var ne=/\+/g;re=re.split(se);var ge=1e3;E&&typeof E.maxKeys=="number"&&(ge=E.maxKeys);var we=re.length;ge>0&&we>ge&&(we=ge);for(var xe=0;xe<we;++xe){var ue,Ee,Oe,Ae,Re=re[xe].replace(ne,"%20"),Me=Re.indexOf(fe);Me>=0?(ue=Re.substr(0,Me),Ee=Re.substr(Me+1)):(ue=Re,Ee=""),Oe=decodeURIComponent(ue),Ae=decodeURIComponent(Ee),de(te,Oe)?ve(te[Oe])?te[Oe].push(Ae):te[Oe]=[te[Oe],Ae]:te[Oe]=Ae}return te};var ve=Array.isArray||function(re){return Object.prototype.toString.call(re)==="[object Array]"}},{}],176:[function(oe,ye,De){"use strict";function de(fe,E){if(fe.map)return fe.map(E);for(var te=[],ne=0;ne<fe.length;ne++)te.push(E(fe[ne],ne));return te}var ve=function(fe){switch(typeof fe){case"string":return fe;case"boolean":return fe?"true":"false";case"number":return isFinite(fe)?fe:"";default:return""}};ye.exports=function(fe,E,te,ne){return E=E||"&",te=te||"=",fe===null&&(fe=void 0),typeof fe=="object"?de(se(fe),function(ge){var we=encodeURIComponent(ve(ge))+te;return re(fe[ge])?de(fe[ge],function(xe){return we+encodeURIComponent(ve(xe))}).join(E):we+encodeURIComponent(ve(fe[ge]))}).join(E):ne?encodeURIComponent(ve(ne))+te+encodeURIComponent(ve(fe)):""};var re=Array.isArray||function(fe){return Object.prototype.toString.call(fe)==="[object Array]"},se=Object.keys||function(fe){var E=[];for(var te in fe)Object.prototype.hasOwnProperty.call(fe,te)&&E.push(te);return E}},{}],177:[function(oe,ye,De){"use strict";De.decode=De.parse=oe("./decode"),De.encode=De.stringify=oe("./encode")},{"./decode":175,"./encode":176}],178:[function(oe,ye,De){ye.exports=oe("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":179}],179:[function(oe,ye,De){"use strict";function de(Oe){if(!(this instanceof de))return new de(Oe);ge.call(this,Oe),we.call(this,Oe),Oe&&Oe.readable===!1&&(this.readable=!1),Oe&&Oe.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,Oe&&Oe.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",ve)}function ve(){this.allowHalfOpen||this._writableState.ended||E.nextTick(re,this)}function re(Oe){Oe.end()}var se=oe("babel-runtime/core-js/object/keys"),fe=function(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}}(se),E=oe("process-nextick-args"),te=fe.default||function(Oe){var Ae=[];for(var Re in Oe)Ae.push(Re);return Ae};ye.exports=de;var ne=oe("core-util-is");ne.inherits=oe("inherits");var ge=oe("./_stream_readable"),we=oe("./_stream_writable");ne.inherits(de,ge);for(var xe=te(we.prototype),ue=0;ue<xe.length;ue++){var Ee=xe[ue];de.prototype[Ee]||(de.prototype[Ee]=we.prototype[Ee])}Object.defineProperty(de.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(de.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(Oe){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=Oe,this._writableState.destroyed=Oe)}}),de.prototype._destroy=function(Oe,Ae){this.push(null),this.end(),E.nextTick(Ae,Oe)}},{"./_stream_readable":181,"./_stream_writable":183,"babel-runtime/core-js/object/keys":23,"core-util-is":153,inherits:162,"process-nextick-args":172}],180:[function(oe,ye,De){"use strict";function de(se){if(!(this instanceof de))return new de(se);ve.call(this,se)}ye.exports=de;var ve=oe("./_stream_transform"),re=oe("core-util-is");re.inherits=oe("inherits"),re.inherits(de,ve),de.prototype._transform=function(se,fe,E){E(null,se)}},{"./_stream_transform":182,"core-util-is":153,inherits:162}],181:[function(oe,ye,De){(function(de,ve){"use strict";function re(le){return Ve.from(le)}function se(le){return Ve.isBuffer(le)||le instanceof ht}function fe(le,ie,ke){if(typeof le.prependListener=="function")return le.prependListener(ie,ke);le._events&&le._events[ie]?Xe(le._events[ie])?le._events[ie].unshift(ke):le._events[ie]=[ke,le._events[ie]]:le.on(ie,ke)}function E(le,ie){Ue=Ue||oe("./_stream_duplex"),le=le||{};var ke=ie instanceof Ue;this.objectMode=!!le.objectMode,ke&&(this.objectMode=this.objectMode||!!le.readableObjectMode);var Ge=le.highWaterMark,Ie=le.readableHighWaterMark,pe=this.objectMode?16:16384;this.highWaterMark=Ge||Ge===0?Ge:ke&&(Ie||Ie===0)?Ie:pe,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new bt,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=le.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,le.encoding&&(Tt||(Tt=oe("string_decoder/").StringDecoder),this.decoder=new Tt(le.encoding),this.encoding=le.encoding)}function te(le){if(Ue=Ue||oe("./_stream_duplex"),!(this instanceof te))return new te(le);this._readableState=new E(le,this),this.readable=!0,le&&(typeof le.read=="function"&&(this._read=le.read),typeof le.destroy=="function"&&(this._destroy=le.destroy)),qe.call(this)}function ne(le,ie,ke,Ge,Ie){var pe=le._readableState;if(ie===null)pe.reading=!1,Oe(le,pe);else{var x;Ie||(x=we(pe,ie)),x?le.emit("error",x):pe.objectMode||ie&&ie.length>0?(typeof ie=="string"||pe.objectMode||(0,Bt.default)(ie)===Ve.prototype||(ie=re(ie)),Ge?pe.endEmitted?le.emit("error",new Error("stream.unshift() after end event")):ge(le,pe,ie,!0):pe.ended?le.emit("error",new Error("stream.push() after EOF")):(pe.reading=!1,pe.decoder&&!ke?(ie=pe.decoder.write(ie),pe.objectMode||ie.length!==0?ge(le,pe,ie,!1):Me(le,pe)):ge(le,pe,ie,!1))):Ge||(pe.reading=!1)}return xe(pe)}function ge(le,ie,ke,Ge){ie.flowing&&ie.length===0&&!ie.sync?(le.emit("data",ke),le.read(0)):(ie.length+=ie.objectMode?1:ke.length,Ge?ie.buffer.unshift(ke):ie.buffer.push(ke),ie.needReadable&&Ae(le)),Me(le,ie)}function we(le,ie){var ke;return se(ie)||typeof ie=="string"||ie===void 0||le.objectMode||(ke=new TypeError("Invalid non-string/buffer chunk")),ke}function xe(le){return!le.ended&&(le.needReadable||le.length<le.highWaterMark||le.length===0)}function ue(le){return le>=je?le=je:(le--,le|=le>>>1,le|=le>>>2,le|=le>>>4,le|=le>>>8,le|=le>>>16,le++),le}function Ee(le,ie){return le<=0||ie.length===0&&ie.ended?0:ie.objectMode?1:le!==le?ie.flowing&&ie.length?ie.buffer.head.data.length:ie.length:(le>ie.highWaterMark&&(ie.highWaterMark=ue(le)),le<=ie.length?le:ie.ended?ie.length:(ie.needReadable=!0,0))}function Oe(le,ie){if(!ie.ended){if(ie.decoder){var ke=ie.decoder.end();ke&&ke.length&&(ie.buffer.push(ke),ie.length+=ie.objectMode?1:ke.length)}ie.ended=!0,Ae(le)}}function Ae(le){var ie=le._readableState;ie.needReadable=!1,ie.emittedReadable||(dt("emitReadable",ie.flowing),ie.emittedReadable=!0,ie.sync?nt.nextTick(Re,le):Re(le))}function Re(le){dt("emit readable"),le.emit("readable"),Ke(le)}function Me(le,ie){ie.readingMore||(ie.readingMore=!0,nt.nextTick(be,le,ie))}function be(le,ie){for(var ke=ie.length;!ie.reading&&!ie.flowing&&!ie.ended&&ie.length<ie.highWaterMark&&(dt("maybeReadMore read 0"),le.read(0),ke!==ie.length);)ke=ie.length;ie.readingMore=!1}function Pe(le){return function(){var ie=le._readableState;dt("pipeOnDrain",ie.awaitDrain),ie.awaitDrain&&ie.awaitDrain--,ie.awaitDrain===0&&$e(le,"data")&&(ie.flowing=!0,Ke(le))}}function Fe(le){dt("readable nexttick read 0"),le.read(0)}function _e(le,ie){ie.resumeScheduled||(ie.resumeScheduled=!0,nt.nextTick(Te,le,ie))}function Te(le,ie){ie.reading||(dt("resume read 0"),le.read(0)),ie.resumeScheduled=!1,ie.awaitDrain=0,le.emit("resume"),Ke(le),ie.flowing&&!ie.reading&&le.read(0)}function Ke(le){var ie=le._readableState;for(dt("flow",ie.flowing);ie.flowing&&le.read()!==null;);}function We(le,ie){if(ie.length===0)return null;var ke;return ie.objectMode?ke=ie.buffer.shift():!le||le>=ie.length?(ke=ie.decoder?ie.buffer.join(""):ie.buffer.length===1?ie.buffer.head.data:ie.buffer.concat(ie.length),ie.buffer.clear()):ke=Ne(le,ie.buffer,ie.decoder),ke}function Ne(le,ie,ke){var Ge;return le<ie.head.data.length?(Ge=ie.head.data.slice(0,le),ie.head.data=ie.head.data.slice(le)):Ge=le===ie.head.data.length?ie.shift():ke?Ye(le,ie):Je(le,ie),Ge}function Ye(le,ie){var ke=ie.head,Ge=1,Ie=ke.data;for(le-=Ie.length;ke=ke.next;){var pe=ke.data,x=le>pe.length?pe.length:le;if(x===pe.length?Ie+=pe:Ie+=pe.slice(0,le),(le-=x)===0){x===pe.length?(++Ge,ke.next?ie.head=ke.next:ie.head=ie.tail=null):(ie.head=ke,ke.data=pe.slice(x));break}++Ge}return ie.length-=Ge,Ie}function Je(le,ie){var ke=Ve.allocUnsafe(le),Ge=ie.head,Ie=1;for(Ge.data.copy(ke),le-=Ge.data.length;Ge=Ge.next;){var pe=Ge.data,x=le>pe.length?pe.length:le;if(pe.copy(ke,ke.length-le,0,x),(le-=x)===0){x===pe.length?(++Ie,Ge.next?ie.head=Ge.next:ie.head=ie.tail=null):(ie.head=Ge,Ge.data=pe.slice(x));break}++Ie}return ie.length-=Ie,ke}function He(le){var ie=le._readableState;if(ie.length>0)throw new Error('"endReadable()" called on non-empty stream');ie.endEmitted||(ie.ended=!0,nt.nextTick(lt,ie,le))}function lt(le,ie){le.endEmitted||le.length!==0||(le.endEmitted=!0,ie.readable=!1,ie.emit("end"))}function ct(le,ie){for(var ke=0,Ge=le.length;ke<Ge;ke++)if(le[ke]===ie)return ke;return-1}var tt=oe("babel-runtime/core-js/object/get-prototype-of"),Bt=function(le){return le&&le.__esModule?le:{default:le}}(tt),nt=oe("process-nextick-args");ye.exports=te;var Ue,Xe=oe("isarray");te.ReadableState=E;var $e=(oe("events").EventEmitter,function(le,ie){return le.listeners(ie).length}),qe=oe("./internal/streams/stream"),Ve=oe("safe-buffer").Buffer,ht=ve.Uint8Array||function(){},st=oe("core-util-is");st.inherits=oe("inherits");var Nt=oe("util"),dt=void 0;dt=Nt&&Nt.debuglog?Nt.debuglog("stream"):function(){};var Tt,bt=oe("./internal/streams/BufferList"),Ct=oe("./internal/streams/destroy");st.inherits(te,qe);var gt=["error","close","destroy","pause","resume"];Object.defineProperty(te.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(le){this._readableState&&(this._readableState.destroyed=le)}}),te.prototype.destroy=Ct.destroy,te.prototype._undestroy=Ct.undestroy,te.prototype._destroy=function(le,ie){this.push(null),ie(le)},te.prototype.push=function(le,ie){var ke,Ge=this._readableState;return Ge.objectMode?ke=!0:typeof le=="string"&&(ie=ie||Ge.defaultEncoding,ie!==Ge.encoding&&(le=Ve.from(le,ie),ie=""),ke=!0),ne(this,le,ie,!1,ke)},te.prototype.unshift=function(le){return ne(this,le,null,!0,!1)},te.prototype.isPaused=function(){return this._readableState.flowing===!1},te.prototype.setEncoding=function(le){return Tt||(Tt=oe("string_decoder/").StringDecoder),this._readableState.decoder=new Tt(le),this._readableState.encoding=le,this};var je=8388608;te.prototype.read=function(le){dt("read",le),le=parseInt(le,10);var ie=this._readableState,ke=le;if(le!==0&&(ie.emittedReadable=!1),le===0&&ie.needReadable&&(ie.length>=ie.highWaterMark||ie.ended))return dt("read: emitReadable",ie.length,ie.ended),ie.length===0&&ie.ended?He(this):Ae(this),null;if((le=Ee(le,ie))===0&&ie.ended)return ie.length===0&&He(this),null;var Ge=ie.needReadable;dt("need readable",Ge),(ie.length===0||ie.length-le<ie.highWaterMark)&&(Ge=!0,dt("length less than watermark",Ge)),ie.ended||ie.reading?(Ge=!1,dt("reading or ended",Ge)):Ge&&(dt("do read"),ie.reading=!0,ie.sync=!0,ie.length===0&&(ie.needReadable=!0),this._read(ie.highWaterMark),ie.sync=!1,ie.reading||(le=Ee(ke,ie)));var Ie;return Ie=le>0?We(le,ie):null,Ie===null?(ie.needReadable=!0,le=0):ie.length-=le,ie.length===0&&(ie.ended||(ie.needReadable=!0),ke!==le&&ie.ended&&He(this)),Ie!==null&&this.emit("data",Ie),Ie},te.prototype._read=function(le){this.emit("error",new Error("_read() is not implemented"))},te.prototype.pipe=function(le,ie){function ke(rn,nn){dt("onunpipe"),rn===Be&&nn&&nn.hasUnpiped===!1&&(nn.hasUnpiped=!0,Ie())}function Ge(){dt("onend"),le.end()}function Ie(){dt("cleanup"),le.removeListener("close",me),le.removeListener("finish",Le),le.removeListener("drain",at),le.removeListener("error",x),le.removeListener("unpipe",ke),Be.removeListener("end",Ge),Be.removeListener("end",Se),Be.removeListener("data",pe),Rt=!0,!Qe.awaitDrain||le._writableState&&!le._writableState.needDrain||at()}function pe(rn){dt("ondata"),Ft=!1,le.write(rn)!==!1||Ft||((Qe.pipesCount===1&&Qe.pipes===le||Qe.pipesCount>1&&ct(Qe.pipes,le)!==-1)&&!Rt&&(dt("false write response, pause",Be._readableState.awaitDrain),Be._readableState.awaitDrain++,Ft=!0),Be.pause())}function x(rn){dt("onerror",rn),Se(),le.removeListener("error",x),$e(le,"error")===0&&le.emit("error",rn)}function me(){le.removeListener("finish",Le),Se()}function Le(){dt("onfinish"),le.removeListener("close",me),Se()}function Se(){dt("unpipe"),Be.unpipe(le)}var Be=this,Qe=this._readableState;switch(Qe.pipesCount){case 0:Qe.pipes=le;break;case 1:Qe.pipes=[Qe.pipes,le];break;default:Qe.pipes.push(le)}Qe.pipesCount+=1,dt("pipe count=%d opts=%j",Qe.pipesCount,ie);var it=(!ie||ie.end!==!1)&&le!==de.stdout&&le!==de.stderr,ot=it?Ge:Se;Qe.endEmitted?nt.nextTick(ot):Be.once("end",ot),le.on("unpipe",ke);var at=Pe(Be);le.on("drain",at);var Rt=!1,Ft=!1;return Be.on("data",pe),fe(le,"error",x),le.once("close",me),le.once("finish",Le),le.emit("pipe",Be),Qe.flowing||(dt("pipe resume"),Be.resume()),le},te.prototype.unpipe=function(le){var ie=this._readableState,ke={hasUnpiped:!1};if(ie.pipesCount===0)return this;if(ie.pipesCount===1)return le&&le!==ie.pipes?this:(le||(le=ie.pipes),ie.pipes=null,ie.pipesCount=0,ie.flowing=!1,le&&le.emit("unpipe",this,ke),this);if(!le){var Ge=ie.pipes,Ie=ie.pipesCount;ie.pipes=null,ie.pipesCount=0,ie.flowing=!1;for(var pe=0;pe<Ie;pe++)Ge[pe].emit("unpipe",this,ke);return this}var x=ct(ie.pipes,le);return x===-1?this:(ie.pipes.splice(x,1),ie.pipesCount-=1,ie.pipesCount===1&&(ie.pipes=ie.pipes[0]),le.emit("unpipe",this,ke),this)},te.prototype.on=function(le,ie){var ke=qe.prototype.on.call(this,le,ie);if(le==="data")this._readableState.flowing!==!1&&this.resume();else if(le==="readable"){var Ge=this._readableState;Ge.endEmitted||Ge.readableListening||(Ge.readableListening=Ge.needReadable=!0,Ge.emittedReadable=!1,Ge.reading?Ge.length&&Ae(this):nt.nextTick(Fe,this))}return ke},te.prototype.addListener=te.prototype.on,te.prototype.resume=function(){var le=this._readableState;return le.flowing||(dt("resume"),le.flowing=!0,_e(this,le)),this},te.prototype.pause=function(){return dt("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(dt("pause"),this._readableState.flowing=!1,this.emit("pause")),this},te.prototype.wrap=function(le){var ie=this,ke=this._readableState,Ge=!1;le.on("end",function(){if(dt("wrapped end"),ke.decoder&&!ke.ended){var x=ke.decoder.end();x&&x.length&&ie.push(x)}ie.push(null)}),le.on("data",function(x){dt("wrapped data"),ke.decoder&&(x=ke.decoder.write(x)),(!ke.objectMode||x!=null)&&(ke.objectMode||x&&x.length)&&(ie.push(x)||(Ge=!0,le.pause()))});for(var Ie in le)this[Ie]===void 0&&typeof le[Ie]=="function"&&(this[Ie]=function(x){return function(){return le[x].apply(le,arguments)}}(Ie));for(var pe=0;pe<gt.length;pe++)le.on(gt[pe],this.emit.bind(this,gt[pe]));return this._read=function(x){dt("wrapped _read",x),Ge&&(Ge=!1,le.resume())},this},Object.defineProperty(te.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),te._fromList=We}).call(this,oe("_process"),typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":179,"./internal/streams/BufferList":184,"./internal/streams/destroy":185,"./internal/streams/stream":186,_process:173,"babel-runtime/core-js/object/get-prototype-of":22,"core-util-is":153,events:158,inherits:162,isarray:166,"process-nextick-args":172,"safe-buffer":193,"string_decoder/":200,util:36}],182:[function(oe,ye,De){"use strict";function de(te,ne){var ge=this._transformState;ge.transforming=!1;var we=ge.writecb;if(!we)return this.emit("error",new Error("write callback called multiple times"));ge.writechunk=null,ge.writecb=null,ne!=null&&this.push(ne),we(te);var xe=this._readableState;xe.reading=!1,(xe.needReadable||xe.length<xe.highWaterMark)&&this._read(xe.highWaterMark)}function ve(te){if(!(this instanceof ve))return new ve(te);fe.call(this,te),this._transformState={afterTransform:de.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,te&&(typeof te.transform=="function"&&(this._transform=te.transform),typeof te.flush=="function"&&(this._flush=te.flush)),this.on("prefinish",re)}function re(){var te=this;typeof this._flush=="function"?this._flush(function(ne,ge){se(te,ne,ge)}):se(this,null,null)}function se(te,ne,ge){if(ne)return te.emit("error",ne);if(ge!=null&&te.push(ge),te._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(te._transformState.transforming)throw new Error("Calling transform done when still transforming");return te.push(null)}ye.exports=ve;var fe=oe("./_stream_duplex"),E=oe("core-util-is");E.inherits=oe("inherits"),E.inherits(ve,fe),ve.prototype.push=function(te,ne){return this._transformState.needTransform=!1,fe.prototype.push.call(this,te,ne)},ve.prototype._transform=function(te,ne,ge){throw new Error("_transform() is not implemented")},ve.prototype._write=function(te,ne,ge){var we=this._transformState;if(we.writecb=ge,we.writechunk=te,we.writeencoding=ne,!we.transforming){var xe=this._readableState;(we.needTransform||xe.needReadable||xe.length<xe.highWaterMark)&&this._read(xe.highWaterMark)}},ve.prototype._read=function(te){var ne=this._transformState;ne.writechunk!==null&&ne.writecb&&!ne.transforming?(ne.transforming=!0,this._transform(ne.writechunk,ne.writeencoding,ne.afterTransform)):ne.needTransform=!0},ve.prototype._destroy=function(te,ne){var ge=this;fe.prototype._destroy.call(this,te,function(we){ne(we),ge.emit("close")})}},{"./_stream_duplex":179,"core-util-is":153,inherits:162}],183:[function(oe,ye,De){(function(de,ve){"use strict";function re(Ct){return Ct&&Ct.__esModule?Ct:{default:Ct}}function se(Ct){var gt=this;this.next=null,this.entry=null,this.finish=function(){Ye(gt,Ct)}}function fe(Ct){return Nt.from(Ct)}function E(Ct){return Nt.isBuffer(Ct)||Ct instanceof dt}function te(){}function ne(Ct,gt){$e=$e||oe("./_stream_duplex"),Ct=Ct||{};var je=gt instanceof $e;this.objectMode=!!Ct.objectMode,je&&(this.objectMode=this.objectMode||!!Ct.writableObjectMode);var le=Ct.highWaterMark,ie=Ct.writableHighWaterMark,ke=this.objectMode?16:16384;this.highWaterMark=le||le===0?le:je&&(ie||ie===0)?ie:ke,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 Ge=Ct.decodeStrings===!1;this.decodeStrings=!Ge,this.defaultEncoding=Ct.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ie){Me(gt,Ie)},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 se(this)}function ge(Ct){if($e=$e||oe("./_stream_duplex"),!(bt.call(ge,this)||this instanceof $e))return new ge(Ct);this._writableState=new ne(Ct,this),this.writable=!0,Ct&&(typeof Ct.write=="function"&&(this._write=Ct.write),typeof Ct.writev=="function"&&(this._writev=Ct.writev),typeof Ct.destroy=="function"&&(this._destroy=Ct.destroy),typeof Ct.final=="function"&&(this._final=Ct.final)),st.call(this)}function we(Ct,gt){var je=new Error("write after end");Ct.emit("error",je),Xe.nextTick(gt,je)}function xe(Ct,gt,je,le){var ie=!0,ke=!1;return je===null?ke=new TypeError("May not write null values to stream"):typeof je=="string"||je===void 0||gt.objectMode||(ke=new TypeError("Invalid non-string/buffer chunk")),ke&&(Ct.emit("error",ke),Xe.nextTick(le,ke),ie=!1),ie}function ue(Ct,gt,je){return Ct.objectMode||Ct.decodeStrings===!1||typeof gt!="string"||(gt=Nt.from(gt,je)),gt}function Ee(Ct,gt,je,le,ie,ke){if(!je){var Ge=ue(gt,le,ie);le!==Ge&&(je=!0,ie="buffer",le=Ge)}var Ie=gt.objectMode?1:le.length;gt.length+=Ie;var pe=gt.length<gt.highWaterMark;if(pe||(gt.needDrain=!0),gt.writing||gt.corked){var x=gt.lastBufferedRequest;gt.lastBufferedRequest={chunk:le,encoding:ie,isBuf:je,callback:ke,next:null},x?x.next=gt.lastBufferedRequest:gt.bufferedRequest=gt.lastBufferedRequest,gt.bufferedRequestCount+=1}else Oe(Ct,gt,!1,Ie,le,ie,ke);return pe}function Oe(Ct,gt,je,le,ie,ke,Ge){gt.writelen=le,gt.writecb=Ge,gt.writing=!0,gt.sync=!0,je?Ct._writev(ie,gt.onwrite):Ct._write(ie,ke,gt.onwrite),gt.sync=!1}function Ae(Ct,gt,je,le,ie){--gt.pendingcb,je?(Xe.nextTick(ie,le),Xe.nextTick(We,Ct,gt),Ct._writableState.errorEmitted=!0,Ct.emit("error",le)):(ie(le),Ct._writableState.errorEmitted=!0,Ct.emit("error",le),We(Ct,gt))}function Re(Ct){Ct.writing=!1,Ct.writecb=null,Ct.length-=Ct.writelen,Ct.writelen=0}function Me(Ct,gt){var je=Ct._writableState,le=je.sync,ie=je.writecb;if(Re(je),gt)Ae(Ct,je,le,gt,ie);else{var ke=_e(je);ke||je.corked||je.bufferProcessing||!je.bufferedRequest||Fe(Ct,je),le?qe(be,Ct,je,ke,ie):be(Ct,je,ke,ie)}}function be(Ct,gt,je,le){je||Pe(Ct,gt),gt.pendingcb--,le(),We(Ct,gt)}function Pe(Ct,gt){gt.length===0&>.needDrain&&(gt.needDrain=!1,Ct.emit("drain"))}function Fe(Ct,gt){gt.bufferProcessing=!0;var je=gt.bufferedRequest;if(Ct._writev&&je&&je.next){var le=gt.bufferedRequestCount,ie=new Array(le),ke=gt.corkedRequestsFree;ke.entry=je;for(var Ge=0,Ie=!0;je;)ie[Ge]=je,je.isBuf||(Ie=!1),je=je.next,Ge+=1;ie.allBuffers=Ie,Oe(Ct,gt,!0,gt.length,ie,"",ke.finish),gt.pendingcb++,gt.lastBufferedRequest=null,ke.next?(gt.corkedRequestsFree=ke.next,ke.next=null):gt.corkedRequestsFree=new se(gt),gt.bufferedRequestCount=0}else{for(;je;){var pe=je.chunk,x=je.encoding,me=je.callback;if(Oe(Ct,gt,!1,gt.objectMode?1:pe.length,pe,x,me),je=je.next,gt.bufferedRequestCount--,gt.writing)break}je===null&&(gt.lastBufferedRequest=null)}gt.bufferedRequest=je,gt.bufferProcessing=!1}function _e(Ct){return Ct.ending&&Ct.length===0&&Ct.bufferedRequest===null&&!Ct.finished&&!Ct.writing}function Te(Ct,gt){Ct._final(function(je){gt.pendingcb--,je&&Ct.emit("error",je),gt.prefinished=!0,Ct.emit("prefinish"),We(Ct,gt)})}function Ke(Ct,gt){gt.prefinished||gt.finalCalled||(typeof Ct._final=="function"?(gt.pendingcb++,gt.finalCalled=!0,Xe.nextTick(Te,Ct,gt)):(gt.prefinished=!0,Ct.emit("prefinish")))}function We(Ct,gt){var je=_e(gt);return je&&(Ke(Ct,gt),gt.pendingcb===0&&(gt.finished=!0,Ct.emit("finish"))),je}function Ne(Ct,gt,je){gt.ending=!0,We(Ct,gt),je&&(gt.finished?Xe.nextTick(je):Ct.once("finish",je)),gt.ended=!0,Ct.writable=!1}function Ye(Ct,gt,je){var le=Ct.entry;for(Ct.entry=null;le;){var ie=le.callback;gt.pendingcb--,ie(je),le=le.next}gt.corkedRequestsFree?gt.corkedRequestsFree.next=Ct:gt.corkedRequestsFree=Ct}var Je=oe("babel-runtime/core-js/object/define-property"),He=re(Je),lt=oe("babel-runtime/core-js/symbol/has-instance"),ct=re(lt),tt=oe("babel-runtime/core-js/symbol"),Bt=re(tt),nt=oe("babel-runtime/core-js/set-immediate"),Ue=re(nt),Xe=oe("process-nextick-args");ye.exports=ge;var $e,qe=!de.browser&&["v0.10","v0.9."].indexOf(de.version.slice(0,5))>-1?Ue.default:Xe.nextTick;ge.WritableState=ne;var Ve=oe("core-util-is");Ve.inherits=oe("inherits");var ht={deprecate:oe("util-deprecate")},st=oe("./internal/streams/stream"),Nt=oe("safe-buffer").Buffer,dt=ve.Uint8Array||function(){},Tt=oe("./internal/streams/destroy");Ve.inherits(ge,st),ne.prototype.getBuffer=function(){for(var Ct=this.bufferedRequest,gt=[];Ct;)gt.push(Ct),Ct=Ct.next;return gt},function(){try{Object.defineProperty(ne.prototype,"buffer",{get:ht.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ct){}}();var bt;typeof Bt.default=="function"&&ct.default&&typeof Function.prototype[ct.default]=="function"?(bt=Function.prototype[ct.default],(0,He.default)(ge,ct.default,{value:function(Ct){return!!bt.call(this,Ct)||this===ge&&Ct&&Ct._writableState instanceof ne}})):bt=function(Ct){return Ct instanceof this},ge.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},ge.prototype.write=function(Ct,gt,je){var le=this._writableState,ie=!1,ke=!le.objectMode&&E(Ct);return ke&&!Nt.isBuffer(Ct)&&(Ct=fe(Ct)),typeof gt=="function"&&(je=gt,gt=null),ke?gt="buffer":gt||(gt=le.defaultEncoding),typeof je!="function"&&(je=te),le.ended?we(this,je):(ke||xe(this,le,Ct,je))&&(le.pendingcb++,ie=Ee(this,le,ke,Ct,gt,je)),ie},ge.prototype.cork=function(){this._writableState.corked++},ge.prototype.uncork=function(){var Ct=this._writableState;Ct.corked&&(Ct.corked--,Ct.writing||Ct.corked||Ct.finished||Ct.bufferProcessing||!Ct.bufferedRequest||Fe(this,Ct))},ge.prototype.setDefaultEncoding=function(Ct){if(typeof Ct=="string"&&(Ct=Ct.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ct+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Ct);return this._writableState.defaultEncoding=Ct,this},Object.defineProperty(ge.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),ge.prototype._write=function(Ct,gt,je){je(new Error("_write() is not implemented"))},ge.prototype._writev=null,ge.prototype.end=function(Ct,gt,je){var le=this._writableState;typeof Ct=="function"?(je=Ct,Ct=null,gt=null):typeof gt=="function"&&(je=gt,gt=null),Ct!=null&&this.write(Ct,gt),le.corked&&(le.corked=1,this.uncork()),le.ending||le.finished||Ne(this,le,je)},Object.defineProperty(ge.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(Ct){this._writableState&&(this._writableState.destroyed=Ct)}}),ge.prototype.destroy=Tt.destroy,ge.prototype._undestroy=Tt.undestroy,ge.prototype._destroy=function(Ct,gt){this.end(),gt(Ct)}}).call(this,oe("_process"),typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":179,"./internal/streams/destroy":185,"./internal/streams/stream":186,_process:173,"babel-runtime/core-js/object/define-property":20,"babel-runtime/core-js/set-immediate":25,"babel-runtime/core-js/symbol":27,"babel-runtime/core-js/symbol/has-instance":28,"core-util-is":153,inherits:162,"process-nextick-args":172,"safe-buffer":193,"util-deprecate":205}],184:[function(oe,ye,De){"use strict";function de(fe,E){if(!(fe instanceof E))throw new TypeError("Cannot call a class as a function")}function ve(fe,E,te){fe.copy(E,te)}var re=oe("safe-buffer").Buffer,se=oe("util");ye.exports=function(){function fe(){de(this,fe),this.head=null,this.tail=null,this.length=0}return fe.prototype.push=function(E){var te={data:E,next:null};this.length>0?this.tail.next=te:this.head=te,this.tail=te,++this.length},fe.prototype.unshift=function(E){var te={data:E,next:this.head};this.length===0&&(this.tail=te),this.head=te,++this.length},fe.prototype.shift=function(){if(this.length!==0){var E=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,E}},fe.prototype.clear=function(){this.head=this.tail=null,this.length=0},fe.prototype.join=function(E){if(this.length===0)return"";for(var te=this.head,ne=""+te.data;te=te.next;)ne+=E+te.data;return ne},fe.prototype.concat=function(E){if(this.length===0)return re.alloc(0);if(this.length===1)return this.head.data;for(var te=re.allocUnsafe(E>>>0),ne=this.head,ge=0;ne;)ve(ne.data,te,ge),ge+=ne.data.length,ne=ne.next;return te},fe}(),se&&se.inspect&&se.inspect.custom&&(ye.exports.prototype[se.inspect.custom]=function(){var fe=se.inspect({length:this.length});return this.constructor.name+" "+fe})},{"safe-buffer":193,util:36}],185:[function(oe,ye,De){"use strict";function de(fe,E){var te=this,ne=this._readableState&&this._readableState.destroyed,ge=this._writableState&&this._writableState.destroyed;return ne||ge?(E?E(fe):!fe||this._writableState&&this._writableState.errorEmitted||se.nextTick(re,this,fe),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(fe||null,function(we){!E&&we?(se.nextTick(re,te,we),te._writableState&&(te._writableState.errorEmitted=!0)):E&&E(we)}),this)}function ve(){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 re(fe,E){fe.emit("error",E)}var se=oe("process-nextick-args");ye.exports={destroy:de,undestroy:ve}},{"process-nextick-args":172}],186:[function(oe,ye,De){"use strict";ye.exports=oe("events").EventEmitter},{events:158}],187:[function(oe,ye,De){ye.exports=oe("./readable").PassThrough},{"./readable":188}],188:[function(oe,ye,De){De=ye.exports=oe("./lib/_stream_readable.js"),De.Stream=De,De.Readable=De,De.Writable=oe("./lib/_stream_writable.js"),De.Duplex=oe("./lib/_stream_duplex.js"),De.Transform=oe("./lib/_stream_transform.js"),De.PassThrough=oe("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":179,"./lib/_stream_passthrough.js":180,"./lib/_stream_readable.js":181,"./lib/_stream_transform.js":182,"./lib/_stream_writable.js":183}],189:[function(oe,ye,De){ye.exports=oe("./readable").Transform},{"./readable":188}],190:[function(oe,ye,De){ye.exports=oe("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":183}],191:[function(oe,ye,De){var de=function(){return this}()||Function("return this")(),ve=de.regeneratorRuntime&&Object.getOwnPropertyNames(de).indexOf("regeneratorRuntime")>=0,re=ve&&de.regeneratorRuntime;if(de.regeneratorRuntime=void 0,ye.exports=oe("./runtime"),ve)de.regeneratorRuntime=re;else try{delete de.regeneratorRuntime}catch(se){de.regeneratorRuntime=void 0}},{"./runtime":192}],192:[function(oe,ye,De){(function(de){"use strict";function ve(Ue,Xe,$e,qe){var Ve=Xe&&Xe.prototype instanceof se?Xe:se,ht=Object.create(Ve.prototype),st=new Ee(qe||[]);return ht._invoke=ge(Ue,$e,st),ht}function re(Ue,Xe,$e){try{return{type:"normal",arg:Ue.call(Xe,$e)}}catch(qe){return{type:"throw",arg:qe}}}function se(){}function fe(){}function E(){}function te(Ue){["next","throw","return"].forEach(function(Xe){Ue[Xe]=function($e){return this._invoke(Xe,$e)}})}function ne(Ue){function Xe(Ve,ht,st,Nt){var dt=re(Ue[Ve],Ue,ht);if(dt.type!=="throw"){var Tt=dt.arg,bt=Tt.value;return bt&&typeof bt=="object"&&be.call(bt,"__await")?Promise.resolve(bt.__await).then(function(Ct){Xe("next",Ct,st,Nt)},function(Ct){Xe("throw",Ct,st,Nt)}):Promise.resolve(bt).then(function(Ct){Tt.value=Ct,st(Tt)},Nt)}Nt(dt.arg)}function $e(Ve,ht){function st(){return new Promise(function(Nt,dt){Xe(Ve,ht,Nt,dt)})}return qe=qe?qe.then(st,st):st()}var qe;this._invoke=$e}function ge(Ue,Xe,$e){var qe=Ne;return function(Ve,ht){if(qe===Je)throw new Error("Generator is already running");if(qe===He){if(Ve==="throw")throw ht;return Ae()}for($e.method=Ve,$e.arg=ht;;){var st=$e.delegate;if(st){var Nt=we(st,$e);if(Nt){if(Nt===lt)continue;return Nt}}if($e.method==="next")$e.sent=$e._sent=$e.arg;else if($e.method==="throw"){if(qe===Ne)throw qe=He,$e.arg;$e.dispatchException($e.arg)}else $e.method==="return"&&$e.abrupt("return",$e.arg);qe=Je;var dt=re(Ue,Xe,$e);if(dt.type==="normal"){if(qe=$e.done?He:Ye,dt.arg===lt)continue;return{value:dt.arg,done:$e.done}}dt.type==="throw"&&(qe=He,$e.method="throw",$e.arg=dt.arg)}}}function we(Ue,Xe){var $e=Ue.iterator[Xe.method];if($e===Re){if(Xe.delegate=null,Xe.method==="throw"){if(Ue.iterator.return&&(Xe.method="return",Xe.arg=Re,we(Ue,Xe),Xe.method==="throw"))return lt;Xe.method="throw",Xe.arg=new TypeError("The iterator does not provide a 'throw' method")}return lt}var qe=re($e,Ue.iterator,Xe.arg);if(qe.type==="throw")return Xe.method="throw",Xe.arg=qe.arg,Xe.delegate=null,lt;var Ve=qe.arg;return Ve?Ve.done?(Xe[Ue.resultName]=Ve.value,Xe.next=Ue.nextLoc,Xe.method!=="return"&&(Xe.method="next",Xe.arg=Re),Xe.delegate=null,lt):Ve:(Xe.method="throw",Xe.arg=new TypeError("iterator result is not an object"),Xe.delegate=null,lt)}function xe(Ue){var Xe={tryLoc:Ue[0]};1 in Ue&&(Xe.catchLoc=Ue[1]),2 in Ue&&(Xe.finallyLoc=Ue[2],Xe.afterLoc=Ue[3]),this.tryEntries.push(Xe)}function ue(Ue){var Xe=Ue.completion||{};Xe.type="normal",delete Xe.arg,Ue.completion=Xe}function Ee(Ue){this.tryEntries=[{tryLoc:"root"}],Ue.forEach(xe,this),this.reset(!0)}function Oe(Ue){if(Ue){var Xe=Ue[Fe];if(Xe)return Xe.call(Ue);if(typeof Ue.next=="function")return Ue;if(!isNaN(Ue.length)){var $e=-1,qe=function Ve(){for(;++$e<Ue.length;)if(be.call(Ue,$e))return Ve.value=Ue[$e],Ve.done=!1,Ve;return Ve.value=Re,Ve.done=!0,Ve};return qe.next=qe}}return{next:Ae}}function Ae(){return{value:Re,done:!0}}var Re,Me=Object.prototype,be=Me.hasOwnProperty,Pe=typeof Symbol=="function"?Symbol:{},Fe=Pe.iterator||"@@iterator",_e=Pe.asyncIterator||"@@asyncIterator",Te=Pe.toStringTag||"@@toStringTag",Ke=typeof ye=="object",We=de.regeneratorRuntime;if(We)return void(Ke&&(ye.exports=We));We=de.regeneratorRuntime=Ke?ye.exports:{},We.wrap=ve;var Ne="suspendedStart",Ye="suspendedYield",Je="executing",He="completed",lt={},ct={};ct[Fe]=function(){return this};var tt=Object.getPrototypeOf,Bt=tt&&tt(tt(Oe([])));Bt&&Bt!==Me&&be.call(Bt,Fe)&&(ct=Bt);var nt=E.prototype=se.prototype=Object.create(ct);fe.prototype=nt.constructor=E,E.constructor=fe,E[Te]=fe.displayName="GeneratorFunction",We.isGeneratorFunction=function(Ue){var Xe=typeof Ue=="function"&&Ue.constructor;return!!Xe&&(Xe===fe||(Xe.displayName||Xe.name)==="GeneratorFunction")},We.mark=function(Ue){return Object.setPrototypeOf?Object.setPrototypeOf(Ue,E):(Ue.__proto__=E,Te in Ue||(Ue[Te]="GeneratorFunction")),Ue.prototype=Object.create(nt),Ue},We.awrap=function(Ue){return{__await:Ue}},te(ne.prototype),ne.prototype[_e]=function(){return this},We.AsyncIterator=ne,We.async=function(Ue,Xe,$e,qe){var Ve=new ne(ve(Ue,Xe,$e,qe));return We.isGeneratorFunction(Xe)?Ve:Ve.next().then(function(ht){return ht.done?ht.value:Ve.next()})},te(nt),nt[Te]="Generator",nt[Fe]=function(){return this},nt.toString=function(){return"[object Generator]"},We.keys=function(Ue){var Xe=[];for(var $e in Ue)Xe.push($e);return Xe.reverse(),function qe(){for(;Xe.length;){var Ve=Xe.pop();if(Ve in Ue)return qe.value=Ve,qe.done=!1,qe}return qe.done=!0,qe}},We.values=Oe,Ee.prototype={constructor:Ee,reset:function(Ue){if(this.prev=0,this.next=0,this.sent=this._sent=Re,this.done=!1,this.delegate=null,this.method="next",this.arg=Re,this.tryEntries.forEach(ue),!Ue)for(var Xe in this)Xe.charAt(0)==="t"&&be.call(this,Xe)&&!isNaN(+Xe.slice(1))&&(this[Xe]=Re)},stop:function(){this.done=!0;var Ue=this.tryEntries[0],Xe=Ue.completion;if(Xe.type==="throw")throw Xe.arg;return this.rval},dispatchException:function(Ue){function Xe(dt,Tt){return ht.type="throw",ht.arg=Ue,$e.next=dt,Tt&&($e.method="next",$e.arg=Re),!!Tt}if(this.done)throw Ue;for(var $e=this,qe=this.tryEntries.length-1;qe>=0;--qe){var Ve=this.tryEntries[qe],ht=Ve.completion;if(Ve.tryLoc==="root")return Xe("end");if(Ve.tryLoc<=this.prev){var st=be.call(Ve,"catchLoc"),Nt=be.call(Ve,"finallyLoc");if(st&&Nt){if(this.prev<Ve.catchLoc)return Xe(Ve.catchLoc,!0);if(this.prev<Ve.finallyLoc)return Xe(Ve.finallyLoc)}else if(st){if(this.prev<Ve.catchLoc)return Xe(Ve.catchLoc,!0)}else{if(!Nt)throw new Error("try statement without catch or finally");if(this.prev<Ve.finallyLoc)return Xe(Ve.finallyLoc)}}}},abrupt:function(Ue,Xe){for(var $e=this.tryEntries.length-1;$e>=0;--$e){var qe=this.tryEntries[$e];if(qe.tryLoc<=this.prev&&be.call(qe,"finallyLoc")&&this.prev<qe.finallyLoc){var Ve=qe;break}}Ve&&(Ue==="break"||Ue==="continue")&&Ve.tryLoc<=Xe&&Xe<=Ve.finallyLoc&&(Ve=null);var ht=Ve?Ve.completion:{};return ht.type=Ue,ht.arg=Xe,Ve?(this.method="next",this.next=Ve.finallyLoc,lt):this.complete(ht)},complete:function(Ue,Xe){if(Ue.type==="throw")throw Ue.arg;return Ue.type==="break"||Ue.type==="continue"?this.next=Ue.arg:Ue.type==="return"?(this.rval=this.arg=Ue.arg,this.method="return",this.next="end"):Ue.type==="normal"&&Xe&&(this.next=Xe),lt},finish:function(Ue){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var $e=this.tryEntries[Xe];if($e.finallyLoc===Ue)return this.complete($e.completion,$e.afterLoc),ue($e),lt}},catch:function(Ue){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var $e=this.tryEntries[Xe];if($e.tryLoc===Ue){var qe=$e.completion;if(qe.type==="throw"){var Ve=qe.arg;ue($e)}return Ve}}throw new Error("illegal catch attempt")},delegateYield:function(Ue,Xe,$e){return this.delegate={iterator:Oe(Ue),resultName:Xe,nextLoc:$e},this.method==="next"&&(this.arg=Re),lt}}})(function(){return this}()||Function("return this")())},{}],193:[function(oe,ye,De){function de(fe,E){for(var te in fe)E[te]=fe[te]}function ve(fe,E,te){return se(fe,E,te)}var re=oe("buffer"),se=re.Buffer;se.from&&se.alloc&&se.allocUnsafe&&se.allocUnsafeSlow?ye.exports=re:(de(re,De),De.Buffer=ve),de(se,ve),ve.from=function(fe,E,te){if(typeof fe=="number")throw new TypeError("Argument must not be a number");return se(fe,E,te)},ve.alloc=function(fe,E,te){if(typeof fe!="number")throw new TypeError("Argument must be a number");var ne=se(fe);return E!==void 0?typeof te=="string"?ne.fill(E,te):ne.fill(E):ne.fill(0),ne},ve.allocUnsafe=function(fe){if(typeof fe!="number")throw new TypeError("Argument must be a number");return se(fe)},ve.allocUnsafeSlow=function(fe){if(typeof fe!="number")throw new TypeError("Argument must be a number");return re.SlowBuffer(fe)}},{buffer:38}],194:[function(oe,ye,De){(function(de){"use strict";function ve(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}var re=oe("babel-runtime/core-js/string/from-code-point"),se=ve(re),fe=oe("babel-runtime/core-js/json/stringify"),E=ve(fe),te=oe("babel-runtime/helpers/typeof"),ne=ve(te),ge=oe("babel-runtime/core-js/object/define-property"),we=ve(ge),xe=oe("babel-runtime/core-js/object/keys"),ue=ve(xe),Ee=oe("babel-runtime/core-js/object/create"),Oe=ve(Ee);(function(Ae){function Re(Se,Be){if(!(this instanceof Re))return new Re(Se,Be);var Qe=this;be(Qe),Qe.q=Qe.c="",Qe.bufferCheckPosition=Ae.MAX_BUFFER_LENGTH,Qe.opt=Be||{},Qe.opt.lowercase=Qe.opt.lowercase||Qe.opt.lowercasetags,Qe.looseCase=Qe.opt.lowercase?"toLowerCase":"toUpperCase",Qe.tags=[],Qe.closed=Qe.closedRoot=Qe.sawRoot=!1,Qe.tag=Qe.error=null,Qe.strict=!!Se,Qe.noscript=!(!Se&&!Qe.opt.noscript),Qe.state=me.BEGIN,Qe.strictEntities=Qe.opt.strictEntities,Qe.ENTITIES=Qe.strictEntities?(0,Oe.default)(Ae.XML_ENTITIES):(0,Oe.default)(Ae.ENTITIES),Qe.attribList=[],Qe.opt.xmlns&&(Qe.ns=(0,Oe.default)(ke)),Qe.trackPosition=Qe.opt.position!==!1,Qe.trackPosition&&(Qe.position=Qe.line=Qe.column=0),Je(Qe,"onready")}function Me(Se){for(var Be=Math.max(Ae.MAX_BUFFER_LENGTH,10),Qe=0,it=0,ot=Tt.length;it<ot;it++){var at=Se[Tt[it]].length;if(at>Be)switch(Tt[it]){case"textNode":lt(Se);break;case"cdata":He(Se,"oncdata",Se.cdata),Se.cdata="";break;case"script":He(Se,"onscript",Se.script),Se.script="";break;default:tt(Se,"Max buffer length exceeded: "+Tt[it])}Qe=Math.max(Qe,at)}var Rt=Ae.MAX_BUFFER_LENGTH-Qe;Se.bufferCheckPosition=Rt+Se.position}function be(Se){for(var Be=0,Qe=Tt.length;Be<Qe;Be++)Se[Tt[Be]]=""}function Pe(Se){lt(Se),Se.cdata!==""&&(He(Se,"oncdata",Se.cdata),Se.cdata=""),Se.script!==""&&(He(Se,"onscript",Se.script),Se.script="")}function Fe(Se,Be){return new _e(Se,Be)}function _e(Se,Be){if(!(this instanceof _e))return new _e(Se,Be);bt.apply(this),this._parser=new Re(Se,Be),this.writable=!0,this.readable=!0;var Qe=this;this._parser.onend=function(){Qe.emit("end")},this._parser.onerror=function(it){Qe.emit("error",it),Qe._parser.error=null},this._decoder=null,Ct.forEach(function(it){(0,we.default)(Qe,"on"+it,{get:function(){return Qe._parser["on"+it]},set:function(ot){if(!ot)return Qe.removeAllListeners(it),Qe._parser["on"+it]=ot,ot;Qe.on(it,ot)},enumerable:!0,configurable:!1})})}function Te(Se){return Se===" "||Se===`
|
|
|
`||Se==="\r"||Se===" "}function Ke(Se){return Se==='"'||Se==="'"}function We(Se){return Se===">"||Te(Se)}function Ne(Se,Be){return Se.test(Be)}function Ye(Se,Be){return!Ne(Se,Be)}function Je(Se,Be,Qe){Se[Be]&&Se[Be](Qe)}function He(Se,Be,Qe){Se.textNode&<(Se),Je(Se,Be,Qe)}function lt(Se){Se.textNode=ct(Se.opt,Se.textNode),Se.textNode&&Je(Se,"ontext",Se.textNode),Se.textNode=""}function ct(Se,Be){return Se.trim&&(Be=Be.trim()),Se.normalize&&(Be=Be.replace(/\s+/g," ")),Be}function tt(Se,Be){return lt(Se),Se.trackPosition&&(Be+=`
|
|
|
Line: `+Se.line+`
|
|
|
Column: `+Se.column+`
|
|
|
Char: `+Se.c),Be=new Error(Be),Se.error=Be,Je(Se,"onerror",Be),Se}function Bt(Se){return Se.sawRoot&&!Se.closedRoot&&nt(Se,"Unclosed root tag"),Se.state!==me.BEGIN&&Se.state!==me.BEGIN_WHITESPACE&&Se.state!==me.TEXT&&tt(Se,"Unexpected end"),lt(Se),Se.c="",Se.closed=!0,Je(Se,"onend"),Re.call(Se,Se.strict,Se.opt),Se}function nt(Se,Be){if((Se===void 0?"undefined":(0,ne.default)(Se))!=="object"||!(Se instanceof Re))throw new Error("bad call to strictFail");Se.strict&&tt(Se,Be)}function Ue(Se){Se.strict||(Se.tagName=Se.tagName[Se.looseCase]());var Be=Se.tags[Se.tags.length-1]||Se,Qe=Se.tag={name:Se.tagName,attributes:{}};Se.opt.xmlns&&(Qe.ns=Be.ns),Se.attribList.length=0,He(Se,"onopentagstart",Qe)}function Xe(Se,Be){var Qe=Se.indexOf(":"),it=Qe<0?["",Se]:Se.split(":"),ot=it[0],at=it[1];return Be&&Se==="xmlns"&&(ot="xmlns",at=""),{prefix:ot,local:at}}function $e(Se){if(Se.strict||(Se.attribName=Se.attribName[Se.looseCase]()),Se.attribList.indexOf(Se.attribName)!==-1||Se.tag.attributes.hasOwnProperty(Se.attribName))return void(Se.attribName=Se.attribValue="");if(Se.opt.xmlns){var Be=Xe(Se.attribName,!0),Qe=Be.prefix,it=Be.local;if(Qe==="xmlns")if(it==="xml"&&Se.attribValue!==le)nt(Se,"xml: prefix must be bound to "+le+`
|
|
|
Actual: `+Se.attribValue);else if(it==="xmlns"&&Se.attribValue!==ie)nt(Se,"xmlns: prefix must be bound to "+ie+`
|
|
|
Actual: `+Se.attribValue);else{var ot=Se.tag,at=Se.tags[Se.tags.length-1]||Se;ot.ns===at.ns&&(ot.ns=(0,Oe.default)(at.ns)),ot.ns[it]=Se.attribValue}Se.attribList.push([Se.attribName,Se.attribValue])}else Se.tag.attributes[Se.attribName]=Se.attribValue,He(Se,"onattribute",{name:Se.attribName,value:Se.attribValue});Se.attribName=Se.attribValue=""}function qe(Se,Be){if(Se.opt.xmlns){var Qe=Se.tag,it=Xe(Se.tagName);Qe.prefix=it.prefix,Qe.local=it.local,Qe.uri=Qe.ns[it.prefix]||"",Qe.prefix&&!Qe.uri&&(nt(Se,"Unbound namespace prefix: "+(0,E.default)(Se.tagName)),Qe.uri=it.prefix);var ot=Se.tags[Se.tags.length-1]||Se;Qe.ns&&ot.ns!==Qe.ns&&(0,ue.default)(Qe.ns).forEach(function(un){He(Se,"onopennamespace",{prefix:un,uri:Qe.ns[un]})});for(var at=0,Rt=Se.attribList.length;at<Rt;at++){var Ft=Se.attribList[at],rn=Ft[0],nn=Ft[1],Lt=Xe(rn,!0),qt=Lt.prefix,Wt=Lt.local,Dt=qt===""?"":Qe.ns[qt]||"",zt={name:rn,value:nn,prefix:qt,local:Wt,uri:Dt};qt&&qt!=="xmlns"&&!Dt&&(nt(Se,"Unbound namespace prefix: "+(0,E.default)(qt)),zt.uri=qt),Se.tag.attributes[rn]=zt,He(Se,"onattribute",zt)}Se.attribList.length=0}Se.tag.isSelfClosing=!!Be,Se.sawRoot=!0,Se.tags.push(Se.tag),He(Se,"onopentag",Se.tag),Be||(Se.noscript||Se.tagName.toLowerCase()!=="script"?Se.state=me.TEXT:Se.state=me.SCRIPT,Se.tag=null,Se.tagName=""),Se.attribName=Se.attribValue="",Se.attribList.length=0}function Ve(Se){if(!Se.tagName)return nt(Se,"Weird empty close tag."),Se.textNode+="</>",void(Se.state=me.TEXT);if(Se.script){if(Se.tagName!=="script")return Se.script+="</"+Se.tagName+">",Se.tagName="",void(Se.state=me.SCRIPT);He(Se,"onscript",Se.script),Se.script=""}var Be=Se.tags.length,Qe=Se.tagName;Se.strict||(Qe=Qe[Se.looseCase]());for(var it=Qe;Be--&&Se.tags[Be].name!==it;)nt(Se,"Unexpected close tag");if(Be<0)return nt(Se,"Unmatched closing tag: "+Se.tagName),Se.textNode+="</"+Se.tagName+">",void(Se.state=me.TEXT);Se.tagName=Qe;for(var ot=Se.tags.length;ot-- >Be;){var at=Se.tag=Se.tags.pop();Se.tagName=Se.tag.name,He(Se,"onclosetag",Se.tagName);var Rt={};for(var Ft in at.ns)Rt[Ft]=at.ns[Ft];var rn=Se.tags[Se.tags.length-1]||Se;Se.opt.xmlns&&at.ns!==rn.ns&&(0,ue.default)(at.ns).forEach(function(nn){var Lt=at.ns[nn];He(Se,"onclosenamespace",{prefix:nn,uri:Lt})})}Be===0&&(Se.closedRoot=!0),Se.tagName=Se.attribValue=Se.attribName="",Se.attribList.length=0,Se.state=me.TEXT}function ht(Se){var Be,Qe=Se.entity,it=Qe.toLowerCase(),ot="";return Se.ENTITIES[Qe]?Se.ENTITIES[Qe]:Se.ENTITIES[it]?Se.ENTITIES[it]:(Qe=it,Qe.charAt(0)==="#"&&(Qe.charAt(1)==="x"?(Qe=Qe.slice(2),Be=parseInt(Qe,16),ot=Be.toString(16)):(Qe=Qe.slice(1),Be=parseInt(Qe,10),ot=Be.toString(10))),Qe=Qe.replace(/^0+/,""),isNaN(Be)||ot.toLowerCase()!==Qe?(nt(Se,"Invalid character entity"),"&"+Se.entity+";"):(0,se.default)(Be))}function st(Se,Be){Be==="<"?(Se.state=me.OPEN_WAKA,Se.startTagPosition=Se.position):Te(Be)||(nt(Se,"Non-whitespace before first tag."),Se.textNode=Be,Se.state=me.TEXT)}function Nt(Se,Be){var Qe="";return Be<Se.length&&(Qe=Se.charAt(Be)),Qe}function dt(Se){var Be=this;if(this.error)throw this.error;if(Be.closed)return tt(Be,"Cannot write after close. Assign an onready handler.");if(Se===null)return Bt(Be);(Se===void 0?"undefined":(0,ne.default)(Se))==="object"&&(Se=Se.toString());for(var Qe=0,it="";it=Nt(Se,Qe++),Be.c=it,!!it;)switch(Be.trackPosition&&(Be.position++,it===`
|
|
|
`?(Be.line++,Be.column=0):Be.column++),Be.state){case me.BEGIN:if(Be.state=me.BEGIN_WHITESPACE,it==="\uFEFF")continue;st(Be,it);continue;case me.BEGIN_WHITESPACE:st(Be,it);continue;case me.TEXT:if(Be.sawRoot&&!Be.closedRoot){for(var ot=Qe-1;it&&it!=="<"&&it!=="&";)(it=Nt(Se,Qe++))&&Be.trackPosition&&(Be.position++,it===`
|
|
|
`?(Be.line++,Be.column=0):Be.column++);Be.textNode+=Se.substring(ot,Qe-1)}it!=="<"||Be.sawRoot&&Be.closedRoot&&!Be.strict?(Te(it)||Be.sawRoot&&!Be.closedRoot||nt(Be,"Text data outside of root node."),it==="&"?Be.state=me.TEXT_ENTITY:Be.textNode+=it):(Be.state=me.OPEN_WAKA,Be.startTagPosition=Be.position);continue;case me.SCRIPT:it==="<"?Be.state=me.SCRIPT_ENDING:Be.script+=it;continue;case me.SCRIPT_ENDING:it==="/"?Be.state=me.CLOSE_TAG:(Be.script+="<"+it,Be.state=me.SCRIPT);continue;case me.OPEN_WAKA:if(it==="!")Be.state=me.SGML_DECL,Be.sgmlDecl="";else if(!Te(it))if(Ne(Ge,it))Be.state=me.OPEN_TAG,Be.tagName=it;else if(it==="/")Be.state=me.CLOSE_TAG,Be.tagName="";else if(it==="?")Be.state=me.PROC_INST,Be.procInstName=Be.procInstBody="";else{if(nt(Be,"Unencoded <"),Be.startTagPosition+1<Be.position){var at=Be.position-Be.startTagPosition;it=new Array(at).join(" ")+it}Be.textNode+="<"+it,Be.state=me.TEXT}continue;case me.SGML_DECL:(Be.sgmlDecl+it).toUpperCase()===gt?(He(Be,"onopencdata"),Be.state=me.CDATA,Be.sgmlDecl="",Be.cdata=""):Be.sgmlDecl+it==="--"?(Be.state=me.COMMENT,Be.comment="",Be.sgmlDecl=""):(Be.sgmlDecl+it).toUpperCase()===je?(Be.state=me.DOCTYPE,(Be.doctype||Be.sawRoot)&&nt(Be,"Inappropriately located doctype declaration"),Be.doctype="",Be.sgmlDecl=""):it===">"?(He(Be,"onsgmldeclaration",Be.sgmlDecl),Be.sgmlDecl="",Be.state=me.TEXT):(Ke(it)&&(Be.state=me.SGML_DECL_QUOTED),Be.sgmlDecl+=it);continue;case me.SGML_DECL_QUOTED:it===Be.q&&(Be.state=me.SGML_DECL,Be.q=""),Be.sgmlDecl+=it;continue;case me.DOCTYPE:it===">"?(Be.state=me.TEXT,He(Be,"ondoctype",Be.doctype),Be.doctype=!0):(Be.doctype+=it,it==="["?Be.state=me.DOCTYPE_DTD:Ke(it)&&(Be.state=me.DOCTYPE_QUOTED,Be.q=it));continue;case me.DOCTYPE_QUOTED:Be.doctype+=it,it===Be.q&&(Be.q="",Be.state=me.DOCTYPE);continue;case me.DOCTYPE_DTD:Be.doctype+=it,it==="]"?Be.state=me.DOCTYPE:Ke(it)&&(Be.state=me.DOCTYPE_DTD_QUOTED,Be.q=it);continue;case me.DOCTYPE_DTD_QUOTED:Be.doctype+=it,it===Be.q&&(Be.state=me.DOCTYPE_DTD,Be.q="");continue;case me.COMMENT:it==="-"?Be.state=me.COMMENT_ENDING:Be.comment+=it;continue;case me.COMMENT_ENDING:it==="-"?(Be.state=me.COMMENT_ENDED,Be.comment=ct(Be.opt,Be.comment),Be.comment&&He(Be,"oncomment",Be.comment),Be.comment=""):(Be.comment+="-"+it,Be.state=me.COMMENT);continue;case me.COMMENT_ENDED:it!==">"?(nt(Be,"Malformed comment"),Be.comment+="--"+it,Be.state=me.COMMENT):Be.state=me.TEXT;continue;case me.CDATA:it==="]"?Be.state=me.CDATA_ENDING:Be.cdata+=it;continue;case me.CDATA_ENDING:it==="]"?Be.state=me.CDATA_ENDING_2:(Be.cdata+="]"+it,Be.state=me.CDATA);continue;case me.CDATA_ENDING_2:it===">"?(Be.cdata&&He(Be,"oncdata",Be.cdata),He(Be,"onclosecdata"),Be.cdata="",Be.state=me.TEXT):it==="]"?Be.cdata+="]":(Be.cdata+="]]"+it,Be.state=me.CDATA);continue;case me.PROC_INST:it==="?"?Be.state=me.PROC_INST_ENDING:Te(it)?Be.state=me.PROC_INST_BODY:Be.procInstName+=it;continue;case me.PROC_INST_BODY:if(!Be.procInstBody&&Te(it))continue;it==="?"?Be.state=me.PROC_INST_ENDING:Be.procInstBody+=it;continue;case me.PROC_INST_ENDING:it===">"?(He(Be,"onprocessinginstruction",{name:Be.procInstName,body:Be.procInstBody}),Be.procInstName=Be.procInstBody="",Be.state=me.TEXT):(Be.procInstBody+="?"+it,Be.state=me.PROC_INST_BODY);continue;case me.OPEN_TAG:Ne(Ie,it)?Be.tagName+=it:(Ue(Be),it===">"?qe(Be):it==="/"?Be.state=me.OPEN_TAG_SLASH:(Te(it)||nt(Be,"Invalid character in tag name"),Be.state=me.ATTRIB));continue;case me.OPEN_TAG_SLASH:it===">"?(qe(Be,!0),Ve(Be)):(nt(Be,"Forward-slash in opening tag not followed by >"),Be.state=me.ATTRIB);continue;case me.ATTRIB:if(Te(it))continue;it===">"?qe(Be):it==="/"?Be.state=me.OPEN_TAG_SLASH:Ne(Ge,it)?(Be.attribName=it,Be.attribValue="",Be.state=me.ATTRIB_NAME):nt(Be,"Invalid attribute name");continue;case me.ATTRIB_NAME:it==="="?Be.state=me.ATTRIB_VALUE:it===">"?(nt(Be,"Attribute without value"),Be.attribValue=Be.attribName,$e(Be),qe(Be)):Te(it)?Be.state=me.ATTRIB_NAME_SAW_WHITE:Ne(Ie,it)?Be.attribName+=it:nt(Be,"Invalid attribute name");continue;case me.ATTRIB_NAME_SAW_WHITE:if(it==="=")Be.state=me.ATTRIB_VALUE;else{if(Te(it))continue;nt(Be,"Attribute without value"),Be.tag.attributes[Be.attribName]="",Be.attribValue="",He(Be,"onattribute",{name:Be.attribName,value:""}),Be.attribName="",it===">"?qe(Be):Ne(Ge,it)?(Be.attribName=it,Be.state=me.ATTRIB_NAME):(nt(Be,"Invalid attribute name"),Be.state=me.ATTRIB)}continue;case me.ATTRIB_VALUE:if(Te(it))continue;Ke(it)?(Be.q=it,Be.state=me.ATTRIB_VALUE_QUOTED):(nt(Be,"Unquoted attribute value"),Be.state=me.ATTRIB_VALUE_UNQUOTED,Be.attribValue=it);continue;case me.ATTRIB_VALUE_QUOTED:if(it!==Be.q){it==="&"?Be.state=me.ATTRIB_VALUE_ENTITY_Q:Be.attribValue+=it;continue}$e(Be),Be.q="",Be.state=me.ATTRIB_VALUE_CLOSED;continue;case me.ATTRIB_VALUE_CLOSED:Te(it)?Be.state=me.ATTRIB:it===">"?qe(Be):it==="/"?Be.state=me.OPEN_TAG_SLASH:Ne(Ge,it)?(nt(Be,"No whitespace between attributes"),Be.attribName=it,Be.attribValue="",Be.state=me.ATTRIB_NAME):nt(Be,"Invalid attribute name");continue;case me.ATTRIB_VALUE_UNQUOTED:if(!We(it)){it==="&"?Be.state=me.ATTRIB_VALUE_ENTITY_U:Be.attribValue+=it;continue}$e(Be),it===">"?qe(Be):Be.state=me.ATTRIB;continue;case me.CLOSE_TAG:if(Be.tagName)it===">"?Ve(Be):Ne(Ie,it)?Be.tagName+=it:Be.script?(Be.script+="</"+Be.tagName,Be.tagName="",Be.state=me.SCRIPT):(Te(it)||nt(Be,"Invalid tagname in closing tag"),Be.state=me.CLOSE_TAG_SAW_WHITE);else{if(Te(it))continue;Ye(Ge,it)?Be.script?(Be.script+="</"+it,Be.state=me.SCRIPT):nt(Be,"Invalid tagname in closing tag."):Be.tagName=it}continue;case me.CLOSE_TAG_SAW_WHITE:if(Te(it))continue;it===">"?Ve(Be):nt(Be,"Invalid characters in closing tag");continue;case me.TEXT_ENTITY:case me.ATTRIB_VALUE_ENTITY_Q:case me.ATTRIB_VALUE_ENTITY_U:var Rt,Ft;switch(Be.state){case me.TEXT_ENTITY:Rt=me.TEXT,Ft="textNode";break;case me.ATTRIB_VALUE_ENTITY_Q:Rt=me.ATTRIB_VALUE_QUOTED,Ft="attribValue";break;case me.ATTRIB_VALUE_ENTITY_U:Rt=me.ATTRIB_VALUE_UNQUOTED,Ft="attribValue"}it===";"?(Be[Ft]+=ht(Be),Be.entity="",Be.state=Rt):Ne(Be.entity.length?x:pe,it)?Be.entity+=it:(nt(Be,"Invalid character in entity name"),Be[Ft]+="&"+Be.entity+it,Be.entity="",Be.state=Rt);continue;default:throw new Error(Be,"Unknown state: "+Be.state)}return Be.position>=Be.bufferCheckPosition&&Me(Be),Be}Ae.parser=function(Se,Be){return new Re(Se,Be)},Ae.SAXParser=Re,Ae.SAXStream=_e,Ae.createStream=Fe,Ae.MAX_BUFFER_LENGTH=65536;var Tt=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];Ae.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Oe.default||(Object.create=function(Se){function Be(){}return Be.prototype=Se,new Be}),ue.default||(Object.keys=function(Se){var Be=[];for(var Qe in Se)Se.hasOwnProperty(Qe)&&Be.push(Qe);return Be}),Re.prototype={end:function(){Bt(this)},write:dt,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){Pe(this)}};var bt;try{bt=oe("stream").Stream}catch(Se){bt=function(){}}var Ct=Ae.EVENTS.filter(function(Se){return Se!=="error"&&Se!=="end"});_e.prototype=(0,Oe.default)(bt.prototype,{constructor:{value:_e}}),_e.prototype.write=function(Se){if(typeof de=="function"&&typeof de.isBuffer=="function"&&de.isBuffer(Se)){if(!this._decoder){var Be=oe("string_decoder").StringDecoder;this._decoder=new Be("utf8")}Se=this._decoder.write(Se)}return this._parser.write(Se.toString()),this.emit("data",Se),!0},_e.prototype.end=function(Se){return Se&&Se.length&&this.write(Se),this._parser.end(),!0},_e.prototype.on=function(Se,Be){var Qe=this;return Qe._parser["on"+Se]||Ct.indexOf(Se)===-1||(Qe._parser["on"+Se]=function(){var it=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);it.splice(0,0,Se),Qe.emit.apply(Qe,it)}),bt.prototype.on.call(Qe,Se,Be)};var gt="[CDATA[",je="DOCTYPE",le="http://www.w3.org/XML/1998/namespace",ie="http://www.w3.org/2000/xmlns/",ke={xml:le,xmlns:ie},Ge=/[:_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]/,Ie=/[:_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-]/,pe=/[#:_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]/,x=/[#:_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-]/,me=0;Ae.STATE={BEGIN:me++,BEGIN_WHITESPACE:me++,TEXT:me++,TEXT_ENTITY:me++,OPEN_WAKA:me++,SGML_DECL:me++,SGML_DECL_QUOTED:me++,DOCTYPE:me++,DOCTYPE_QUOTED:me++,DOCTYPE_DTD:me++,DOCTYPE_DTD_QUOTED:me++,COMMENT_STARTING:me++,COMMENT:me++,COMMENT_ENDING:me++,COMMENT_ENDED:me++,CDATA:me++,CDATA_ENDING:me++,CDATA_ENDING_2:me++,PROC_INST:me++,PROC_INST_BODY:me++,PROC_INST_ENDING:me++,OPEN_TAG:me++,OPEN_TAG_SLASH:me++,ATTRIB:me++,ATTRIB_NAME:me++,ATTRIB_NAME_SAW_WHITE:me++,ATTRIB_VALUE:me++,ATTRIB_VALUE_QUOTED:me++,ATTRIB_VALUE_CLOSED:me++,ATTRIB_VALUE_UNQUOTED:me++,ATTRIB_VALUE_ENTITY_Q:me++,ATTRIB_VALUE_ENTITY_U:me++,CLOSE_TAG:me++,CLOSE_TAG_SAW_WHITE:me++,SCRIPT:me++,SCRIPT_ENDING:me++},Ae.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},Ae.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},(0,ue.default)(Ae.ENTITIES).forEach(function(Se){var Be=Ae.ENTITIES[Se],Qe=typeof Be=="number"?String.fromCharCode(Be):Be;Ae.ENTITIES[Se]=Qe});for(var Le in Ae.STATE)Ae.STATE[Ae.STATE[Le]]=Le;me=Ae.STATE,se.default||function(){var Se=String.fromCharCode,Be=Math.floor,Qe=function(){var it,ot,at=[],Rt=-1,Ft=arguments.length;if(!Ft)return"";for(var rn="";++Rt<Ft;){var nn=Number(arguments[Rt]);if(!isFinite(nn)||nn<0||nn>1114111||Be(nn)!==nn)throw RangeError("Invalid code point: "+nn);nn<=65535?at.push(nn):(nn-=65536,it=55296+(nn>>10),ot=nn%1024+56320,at.push(it,ot)),(Rt+1===Ft||at.length>16384)&&(rn+=Se.apply(null,at),at.length=0)}return rn};we.default?Object.defineProperty(String,"fromCodePoint",{value:Qe,configurable:!0,writable:!0}):String.fromCodePoint=Qe}()})(De===void 0?(void 0).sax={}:De)}).call(this,oe("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/create":19,"babel-runtime/core-js/object/define-property":20,"babel-runtime/core-js/object/keys":23,"babel-runtime/core-js/string/from-code-point":26,"babel-runtime/helpers/typeof":32,buffer:38,stream:195,string_decoder:37}],195:[function(oe,ye,De){function de(){ve.call(this)}ye.exports=de;var ve=oe("events").EventEmitter;oe("inherits")(de,ve),de.Readable=oe("readable-stream/readable.js"),de.Writable=oe("readable-stream/writable.js"),de.Duplex=oe("readable-stream/duplex.js"),de.Transform=oe("readable-stream/transform.js"),de.PassThrough=oe("readable-stream/passthrough.js"),de.Stream=de,de.prototype.pipe=function(re,se){function fe(Ee){re.writable&&re.write(Ee)===!1&&xe.pause&&xe.pause()}function E(){xe.readable&&xe.resume&&xe.resume()}function te(){ue||(ue=!0,re.end())}function ne(){ue||(ue=!0,typeof re.destroy=="function"&&re.destroy())}function ge(Ee){if(we(),ve.listenerCount(this,"error")===0)throw Ee}function we(){xe.removeListener("data",fe),re.removeListener("drain",E),xe.removeListener("end",te),xe.removeListener("close",ne),xe.removeListener("error",ge),re.removeListener("error",ge),xe.removeListener("end",we),xe.removeListener("close",we),re.removeListener("close",we)}var xe=this;xe.on("data",fe),re.on("drain",E),re._isStdio||se&&se.end===!1||(xe.on("end",te),xe.on("close",ne));var ue=!1;return xe.on("error",ge),re.on("error",ge),xe.on("end",we),xe.on("close",we),re.on("close",we),re.emit("pipe",xe),re}},{events:158,inherits:162,"readable-stream/duplex.js":178,"readable-stream/passthrough.js":187,"readable-stream/readable.js":188,"readable-stream/transform.js":189,"readable-stream/writable.js":190}],196:[function(oe,ye,De){(function(de){var ve=oe("./lib/request"),re=oe("./lib/response"),se=oe("xtend"),fe=oe("builtin-status-codes"),E=oe("url"),te=De;te.request=function(ne,ge){ne=typeof ne=="string"?E.parse(ne):se(ne);var we=de.location.protocol.search(/^https?:$/)===-1?"http:":"",xe=ne.protocol||we,ue=ne.hostname||ne.host,Ee=ne.port,Oe=ne.path||"/";ue&&ue.indexOf(":")!==-1&&(ue="["+ue+"]"),ne.url=(ue?xe+"//"+ue:"")+(Ee?":"+Ee:"")+Oe,ne.method=(ne.method||"GET").toUpperCase(),ne.headers=ne.headers||{};var Ae=new ve(ne);return ge&&Ae.on("response",ge),Ae},te.get=function(ne,ge){var we=te.request(ne,ge);return we.end(),we},te.ClientRequest=ve,te.IncomingMessage=re.IncomingMessage,te.Agent=function(){},te.Agent.defaultMaxSockets=4,te.globalAgent=new te.Agent,te.STATUS_CODES=fe,te.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":198,"./lib/response":199,"builtin-status-codes":39,url:203,xtend:236}],197:[function(oe,ye,De){(function(de){"use strict";function ve(){if(fe!==void 0)return fe;if(de.XMLHttpRequest){fe=new de.XMLHttpRequest;try{fe.open("GET",de.XDomainRequest?"/":"https://example.com")}catch(ne){fe=null}}else fe=null;return fe}function re(ne){var ge=ve();if(!ge)return!1;try{return ge.responseType=ne,ge.responseType===ne}catch(we){}return!1}function se(ne){return typeof ne=="function"}De.fetch=se(de.fetch)&&se(de.ReadableStream),De.writableStream=se(de.WritableStream),De.abortController=se(de.AbortController),De.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),De.blobConstructor=!0}catch(ne){}var fe,E=de.ArrayBuffer!==void 0,te=E&&se(de.ArrayBuffer.prototype.slice);De.arraybuffer=De.fetch||E&&re("arraybuffer"),De.msstream=!De.fetch&&te&&re("ms-stream"),De.mozchunkedarraybuffer=!De.fetch&&E&&re("moz-chunked-arraybuffer"),De.overrideMimeType=De.fetch||!!ve()&&se(ve().overrideMimeType),De.vbArray=se(de.VBArray),fe=null}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],198:[function(oe,ye,De){(function(de,ve,re){"use strict";function se(Me,be){return ne.fetch&&be?"fetch":ne.mozchunkedarraybuffer?"moz-chunked-arraybuffer":ne.msstream?"ms-stream":ne.arraybuffer&&Me?"arraybuffer":ne.vbArray&&Me?"text:vbarray":"text"}function fe(Me){try{var be=Me.status;return be!==null&&be!==0}catch(Pe){return!1}}var E=oe("babel-runtime/core-js/object/keys"),te=function(Me){return Me&&Me.__esModule?Me:{default:Me}}(E),ne=oe("./capability"),ge=oe("inherits"),we=oe("./response"),xe=oe("readable-stream"),ue=oe("to-arraybuffer"),Ee=we.IncomingMessage,Oe=we.readyStates,Ae=ye.exports=function(Me){var be=this;xe.Writable.call(be),be._opts=Me,be._body=[],be._headers={},Me.auth&&be.setHeader("Authorization","Basic "+new re(Me.auth).toString("base64")),(0,te.default)(Me.headers).forEach(function(_e){be.setHeader(_e,Me.headers[_e])});var Pe,Fe=!0;if(Me.mode==="disable-fetch"||"requestTimeout"in Me&&!ne.abortController)Fe=!1,Pe=!0;else if(Me.mode==="prefer-streaming")Pe=!1;else if(Me.mode==="allow-wrong-content-type")Pe=!ne.overrideMimeType;else{if(Me.mode&&Me.mode!=="default"&&Me.mode!=="prefer-fast")throw new Error("Invalid value for opts.mode");Pe=!0}be._mode=se(Pe,Fe),be._fetchTimer=null,be.on("finish",function(){be._onFinish()})};ge(Ae,xe.Writable),Ae.prototype.setHeader=function(Me,be){var Pe=this,Fe=Me.toLowerCase();Re.indexOf(Fe)===-1&&(Pe._headers[Fe]={name:Me,value:be})},Ae.prototype.getHeader=function(Me){var be=this._headers[Me.toLowerCase()];return be?be.value:null},Ae.prototype.removeHeader=function(Me){delete this._headers[Me.toLowerCase()]},Ae.prototype._onFinish=function(){var Me=this;if(!Me._destroyed){var be=Me._opts,Pe=Me._headers,Fe=null;be.method!=="GET"&&be.method!=="HEAD"&&(Fe=ne.arraybuffer?ue(re.concat(Me._body)):ne.blobConstructor?new ve.Blob(Me._body.map(function(Ne){return ue(Ne)}),{type:(Pe["content-type"]||{}).value||""}):re.concat(Me._body).toString());var _e=[];if((0,te.default)(Pe).forEach(function(Ne){var Ye=Pe[Ne].name,Je=Pe[Ne].value;Array.isArray(Je)?Je.forEach(function(He){_e.push([Ye,He])}):_e.push([Ye,Je])}),Me._mode==="fetch"){var Te=null;if(ne.abortController){var Ke=new AbortController;Te=Ke.signal,Me._fetchAbortController=Ke,"requestTimeout"in be&&be.requestTimeout!==0&&(Me._fetchTimer=ve.setTimeout(function(){Me.emit("requestTimeout"),Me._fetchAbortController&&Me._fetchAbortController.abort()},be.requestTimeout))}ve.fetch(Me._opts.url,{method:Me._opts.method,headers:_e,body:Fe||void 0,mode:"cors",credentials:be.withCredentials?"include":"same-origin",signal:Te}).then(function(Ne){Me._fetchResponse=Ne,Me._connect()},function(Ne){ve.clearTimeout(Me._fetchTimer),Me._destroyed||Me.emit("error",Ne)})}else{var We=Me._xhr=new ve.XMLHttpRequest;try{We.open(Me._opts.method,Me._opts.url,!0)}catch(Ne){return void de.nextTick(function(){Me.emit("error",Ne)})}"responseType"in We&&(We.responseType=Me._mode.split(":")[0]),"withCredentials"in We&&(We.withCredentials=!!be.withCredentials),Me._mode==="text"&&"overrideMimeType"in We&&We.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in be&&(We.timeout=be.requestTimeout,We.ontimeout=function(){Me.emit("requestTimeout")}),_e.forEach(function(Ne){We.setRequestHeader(Ne[0],Ne[1])}),Me._response=null,We.onreadystatechange=function(){switch(We.readyState){case Oe.LOADING:case Oe.DONE:Me._onXHRProgress()}},Me._mode==="moz-chunked-arraybuffer"&&(We.onprogress=function(){Me._onXHRProgress()}),We.onerror=function(){Me._destroyed||Me.emit("error",new Error("XHR error"))};try{We.send(Fe)}catch(Ne){return void de.nextTick(function(){Me.emit("error",Ne)})}}}},Ae.prototype._onXHRProgress=function(){var Me=this;fe(Me._xhr)&&!Me._destroyed&&(Me._response||Me._connect(),Me._response._onXHRProgress())},Ae.prototype._connect=function(){var Me=this;Me._destroyed||(Me._response=new Ee(Me._xhr,Me._fetchResponse,Me._mode,Me._fetchTimer),Me._response.on("error",function(be){Me.emit("error",be)}),Me.emit("response",Me._response))},Ae.prototype._write=function(Me,be,Pe){this._body.push(Me),Pe()},Ae.prototype.abort=Ae.prototype.destroy=function(){var Me=this;Me._destroyed=!0,ve.clearTimeout(Me._fetchTimer),Me._response&&(Me._response._destroyed=!0),Me._xhr?Me._xhr.abort():Me._fetchAbortController&&Me._fetchAbortController.abort()},Ae.prototype.end=function(Me,be,Pe){var Fe=this;typeof Me=="function"&&(Pe=Me,Me=void 0),xe.Writable.prototype.end.call(Fe,Me,be,Pe)},Ae.prototype.flushHeaders=function(){},Ae.prototype.setTimeout=function(){},Ae.prototype.setNoDelay=function(){},Ae.prototype.setSocketKeepAlive=function(){};var Re=["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,oe("_process"),typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{},oe("buffer").Buffer)},{"./capability":197,"./response":199,_process:173,"babel-runtime/core-js/object/keys":23,buffer:38,inherits:162,"readable-stream":188,"to-arraybuffer":202}],199:[function(oe,ye,De){(function(de,ve,re){"use strict";var se=oe("babel-runtime/core-js/promise"),fe=function(xe){return xe&&xe.__esModule?xe:{default:xe}}(se),E=oe("./capability"),te=oe("inherits"),ne=oe("readable-stream"),ge=De.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},we=De.IncomingMessage=function(xe,ue,Ee,Oe){var Ae=this;if(ne.Readable.call(Ae),Ae._mode=Ee,Ae.headers={},Ae.rawHeaders=[],Ae.trailers={},Ae.rawTrailers=[],Ae.on("end",function(){de.nextTick(function(){Ae.emit("close")})}),Ee==="fetch"){if(Ae._fetchResponse=ue,Ae.url=ue.url,Ae.statusCode=ue.status,Ae.statusMessage=ue.statusText,ue.headers.forEach(function(Fe,_e){Ae.headers[_e.toLowerCase()]=Fe,Ae.rawHeaders.push(_e,Fe)}),E.writableStream){var Re=new WritableStream({write:function(Fe){return new fe.default(function(_e,Te){Ae._destroyed?Te():Ae.push(new re(Fe))?_e():Ae._resumeFetch=_e})},close:function(){ve.clearTimeout(Oe),Ae._destroyed||Ae.push(null)},abort:function(Fe){Ae._destroyed||Ae.emit("error",Fe)}});try{return void ue.body.pipeTo(Re).catch(function(Fe){ve.clearTimeout(Oe),Ae._destroyed||Ae.emit("error",Fe)})}catch(Fe){}}var Me=ue.body.getReader();(function Fe(){Me.read().then(function(_e){if(!Ae._destroyed){if(_e.done)return ve.clearTimeout(Oe),void Ae.push(null);Ae.push(new re(_e.value)),Fe()}}).catch(function(_e){ve.clearTimeout(Oe),Ae._destroyed||Ae.emit("error",_e)})})()}else if(Ae._xhr=xe,Ae._pos=0,Ae.url=xe.responseURL,Ae.statusCode=xe.status,Ae.statusMessage=xe.statusText,xe.getAllResponseHeaders().split(/\r?\n/).forEach(function(Fe){var _e=Fe.match(/^([^:]+):\s*(.*)/);if(_e){var Te=_e[1].toLowerCase();Te==="set-cookie"?(Ae.headers[Te]===void 0&&(Ae.headers[Te]=[]),Ae.headers[Te].push(_e[2])):Ae.headers[Te]!==void 0?Ae.headers[Te]+=", "+_e[2]:Ae.headers[Te]=_e[2],Ae.rawHeaders.push(_e[1],_e[2])}}),Ae._charset="x-user-defined",!E.overrideMimeType){var be=Ae.rawHeaders["mime-type"];if(be){var Pe=be.match(/;\s*charset=([^;])(;|$)/);Pe&&(Ae._charset=Pe[1].toLowerCase())}Ae._charset||(Ae._charset="utf-8")}};te(we,ne.Readable),we.prototype._read=function(){var xe=this,ue=xe._resumeFetch;ue&&(xe._resumeFetch=null,ue())},we.prototype._onXHRProgress=function(){var xe=this,ue=xe._xhr,Ee=null;switch(xe._mode){case"text:vbarray":if(ue.readyState!==ge.DONE)break;try{Ee=new ve.VBArray(ue.responseBody).toArray()}catch(be){}if(Ee!==null){xe.push(new re(Ee));break}case"text":try{Ee=ue.responseText}catch(be){xe._mode="text:vbarray";break}if(Ee.length>xe._pos){var Oe=Ee.substr(xe._pos);if(xe._charset==="x-user-defined"){for(var Ae=new re(Oe.length),Re=0;Re<Oe.length;Re++)Ae[Re]=255&Oe.charCodeAt(Re);xe.push(Ae)}else xe.push(Oe,xe._charset);xe._pos=Ee.length}break;case"arraybuffer":if(ue.readyState!==ge.DONE||!ue.response)break;Ee=ue.response,xe.push(new re(new Uint8Array(Ee)));break;case"moz-chunked-arraybuffer":if(Ee=ue.response,ue.readyState!==ge.LOADING||!Ee)break;xe.push(new re(new Uint8Array(Ee)));break;case"ms-stream":if(Ee=ue.response,ue.readyState!==ge.LOADING)break;var Me=new ve.MSStreamReader;Me.onprogress=function(){Me.result.byteLength>xe._pos&&(xe.push(new re(new Uint8Array(Me.result.slice(xe._pos)))),xe._pos=Me.result.byteLength)},Me.onload=function(){xe.push(null)},Me.readAsArrayBuffer(Ee)}xe._xhr.readyState===ge.DONE&&xe._mode!=="ms-stream"&&xe.push(null)}}).call(this,oe("_process"),typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{},oe("buffer").Buffer)},{"./capability":197,_process:173,"babel-runtime/core-js/promise":24,buffer:38,inherits:162,"readable-stream":188}],200:[function(oe,ye,De){"use strict";function de(be){if(!be)return"utf8";for(var Pe;;)switch(be){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return be;default:if(Pe)return;be=(""+be).toLowerCase(),Pe=!0}}function ve(be){var Pe=de(be);if(typeof Pe!="string"&&(Re.isEncoding===Me||!Me(be)))throw new Error("Unknown encoding: "+be);return Pe||be}function re(be){this.encoding=ve(be);var Pe;switch(this.encoding){case"utf16le":this.text=we,this.end=xe,Pe=4;break;case"utf8":this.fillLast=te,Pe=4;break;case"base64":this.text=ue,this.end=Ee,Pe=3;break;default:return this.write=Oe,void(this.end=Ae)}this.lastNeed=0,this.lastTotal=0,this.lastChar=Re.allocUnsafe(Pe)}function se(be){return be<=127?0:be>>5==6?2:be>>4==14?3:be>>3==30?4:be>>6==2?-1:-2}function fe(be,Pe,Fe){var _e=Pe.length-1;if(_e<Fe)return 0;var Te=se(Pe[_e]);return Te>=0?(Te>0&&(be.lastNeed=Te-1),Te):--_e<Fe||Te===-2?0:(Te=se(Pe[_e]))>=0?(Te>0&&(be.lastNeed=Te-2),Te):--_e<Fe||Te===-2?0:(Te=se(Pe[_e]),Te>=0?(Te>0&&(Te===2?Te=0:be.lastNeed=Te-3),Te):0)}function E(be,Pe,Fe){if((192&Pe[0])!=128)return be.lastNeed=0,"\u951F\uFFFD";if(be.lastNeed>1&&Pe.length>1){if((192&Pe[1])!=128)return be.lastNeed=1,"\u951F\uFFFD";if(be.lastNeed>2&&Pe.length>2&&(192&Pe[2])!=128)return be.lastNeed=2,"\u951F\uFFFD"}}function te(be){var Pe=this.lastTotal-this.lastNeed,Fe=E(this,be,Pe);return Fe!==void 0?Fe:this.lastNeed<=be.length?(be.copy(this.lastChar,Pe,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(be.copy(this.lastChar,Pe,0,be.length),void(this.lastNeed-=be.length))}function ne(be,Pe){var Fe=fe(this,be,Pe);if(!this.lastNeed)return be.toString("utf8",Pe);this.lastTotal=Fe;var _e=be.length-(Fe-this.lastNeed);return be.copy(this.lastChar,0,_e),be.toString("utf8",Pe,_e)}function ge(be){var Pe=be&&be.length?this.write(be):"";return this.lastNeed?Pe+"\u951F\uFFFD":Pe}function we(be,Pe){if((be.length-Pe)%2==0){var Fe=be.toString("utf16le",Pe);if(Fe){var _e=Fe.charCodeAt(Fe.length-1);if(_e>=55296&&_e<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=be[be.length-2],this.lastChar[1]=be[be.length-1],Fe.slice(0,-1)}return Fe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=be[be.length-1],be.toString("utf16le",Pe,be.length-1)}function xe(be){var Pe=be&&be.length?this.write(be):"";if(this.lastNeed){var Fe=this.lastTotal-this.lastNeed;return Pe+this.lastChar.toString("utf16le",0,Fe)}return Pe}function ue(be,Pe){var Fe=(be.length-Pe)%3;return Fe===0?be.toString("base64",Pe):(this.lastNeed=3-Fe,this.lastTotal=3,Fe===1?this.lastChar[0]=be[be.length-1]:(this.lastChar[0]=be[be.length-2],this.lastChar[1]=be[be.length-1]),be.toString("base64",Pe,be.length-Fe))}function Ee(be){var Pe=be&&be.length?this.write(be):"";return this.lastNeed?Pe+this.lastChar.toString("base64",0,3-this.lastNeed):Pe}function Oe(be){return be.toString(this.encoding)}function Ae(be){return be&&be.length?this.write(be):""}var Re=oe("safe-buffer").Buffer,Me=Re.isEncoding||function(be){switch((be=""+be)&&be.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};De.StringDecoder=re,re.prototype.write=function(be){if(be.length===0)return"";var Pe,Fe;if(this.lastNeed){if((Pe=this.fillLast(be))===void 0)return"";Fe=this.lastNeed,this.lastNeed=0}else Fe=0;return Fe<be.length?Pe?Pe+this.text(be,Fe):this.text(be,Fe):Pe||""},re.prototype.end=ge,re.prototype.text=ne,re.prototype.fillLast=function(be){if(this.lastNeed<=be.length)return be.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);be.copy(this.lastChar,this.lastTotal-this.lastNeed,0,be.length),this.lastNeed-=be.length}},{"safe-buffer":193}],201:[function(oe,ye,De){(function(de,ve){function re(ge,we){this._id=ge,this._clearFn=we}var se=oe("process/browser.js").nextTick,fe=Function.prototype.apply,E=Array.prototype.slice,te={},ne=0;De.setTimeout=function(){return new re(fe.call(setTimeout,window,arguments),clearTimeout)},De.setInterval=function(){return new re(fe.call(setInterval,window,arguments),clearInterval)},De.clearTimeout=De.clearInterval=function(ge){ge.close()},re.prototype.unref=re.prototype.ref=function(){},re.prototype.close=function(){this._clearFn.call(window,this._id)},De.enroll=function(ge,we){clearTimeout(ge._idleTimeoutId),ge._idleTimeout=we},De.unenroll=function(ge){clearTimeout(ge._idleTimeoutId),ge._idleTimeout=-1},De._unrefActive=De.active=function(ge){clearTimeout(ge._idleTimeoutId);var we=ge._idleTimeout;we>=0&&(ge._idleTimeoutId=setTimeout(function(){ge._onTimeout&&ge._onTimeout()},we))},De.setImmediate=typeof de=="function"?de:function(ge){var we=ne++,xe=!(arguments.length<2)&&E.call(arguments,1);return te[we]=!0,se(function(){te[we]&&(xe?ge.apply(null,xe):ge.call(null),De.clearImmediate(we))}),we},De.clearImmediate=typeof ve=="function"?ve:function(ge){delete te[ge]}}).call(this,oe("timers").setImmediate,oe("timers").clearImmediate)},{"process/browser.js":173,timers:201}],202:[function(oe,ye,De){var de=oe("buffer").Buffer;ye.exports=function(ve){if(ve instanceof Uint8Array){if(ve.byteOffset===0&&ve.byteLength===ve.buffer.byteLength)return ve.buffer;if(typeof ve.buffer.slice=="function")return ve.buffer.slice(ve.byteOffset,ve.byteOffset+ve.byteLength)}if(de.isBuffer(ve)){for(var re=new Uint8Array(ve.length),se=ve.length,fe=0;fe<se;fe++)re[fe]=ve[fe];return re.buffer}throw new Error("Argument must be a Buffer")}},{buffer:38}],203:[function(oe,ye,De){"use strict";function de(){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}function ve(Te,Ke,We){if(Te&&te.isObject(Te)&&Te instanceof de)return Te;var Ne=new de;return Ne.parse(Te,Ke,We),Ne}function re(Te){return te.isString(Te)&&(Te=ve(Te)),Te instanceof de?Te.format():de.prototype.format.call(Te)}function se(Te,Ke){return ve(Te,!1,!0).resolve(Ke)}function fe(Te,Ke){return Te?ve(Te,!1,!0).resolveObject(Ke):Ke}var E=oe("punycode"),te=oe("./util");De.parse=ve,De.resolve=se,De.resolveObject=fe,De.format=re,De.Url=de;var ne=/^([a-z0-9.+-]+:)/i,ge=/:[0-9]*$/,we=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,xe=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],ue=["{","}","|","\\","^","`"].concat(xe),Ee=["'"].concat(ue),Oe=["%","/","?",";","#"].concat(Ee),Ae=["/","?","#"],Re=/^[+a-z0-9A-Z_-]{0,63}$/,Me=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,be={javascript:!0,"javascript:":!0},Pe={javascript:!0,"javascript:":!0},Fe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_e=oe("querystring");de.prototype.parse=function(Te,Ke,We){if(!te.isString(Te))throw new TypeError("Parameter 'url' must be a string, not "+typeof Te);var Ne=Te.indexOf("?"),Ye=Ne!==-1&&Ne<Te.indexOf("#")?"?":"#",Je=Te.split(Ye),He=/\\/g;Je[0]=Je[0].replace(He,"/"),Te=Je.join(Ye);var lt=Te;if(lt=lt.trim(),!We&&Te.split("#").length===1){var ct=we.exec(lt);if(ct)return this.path=lt,this.href=lt,this.pathname=ct[1],ct[2]?(this.search=ct[2],this.query=Ke?_e.parse(this.search.substr(1)):this.search.substr(1)):Ke&&(this.search="",this.query={}),this}var tt=ne.exec(lt);if(tt){tt=tt[0];var Bt=tt.toLowerCase();this.protocol=Bt,lt=lt.substr(tt.length)}if(We||tt||lt.match(/^\/\/[^@\/]+@[^@\/]+/)){var nt=lt.substr(0,2)==="//";!nt||tt&&Pe[tt]||(lt=lt.substr(2),this.slashes=!0)}if(!Pe[tt]&&(nt||tt&&!Fe[tt])){for(var Ue=-1,Xe=0;Xe<Ae.length;Xe++){var $e=lt.indexOf(Ae[Xe]);$e!==-1&&(Ue===-1||$e<Ue)&&(Ue=$e)}var qe,Ve;Ve=Ue===-1?lt.lastIndexOf("@"):lt.lastIndexOf("@",Ue),Ve!==-1&&(qe=lt.slice(0,Ve),lt=lt.slice(Ve+1),this.auth=decodeURIComponent(qe)),Ue=-1;for(var Xe=0;Xe<Oe.length;Xe++){var $e=lt.indexOf(Oe[Xe]);$e!==-1&&(Ue===-1||$e<Ue)&&(Ue=$e)}Ue===-1&&(Ue=lt.length),this.host=lt.slice(0,Ue),lt=lt.slice(Ue),this.parseHost(),this.hostname=this.hostname||"";var ht=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ht)for(var st=this.hostname.split(/\./),Xe=0,Nt=st.length;Xe<Nt;Xe++){var dt=st[Xe];if(dt&&!dt.match(Re)){for(var Tt="",bt=0,Ct=dt.length;bt<Ct;bt++)dt.charCodeAt(bt)>127?Tt+="x":Tt+=dt[bt];if(!Tt.match(Re)){var gt=st.slice(0,Xe),je=st.slice(Xe+1),le=dt.match(Me);le&&(gt.push(le[1]),je.unshift(le[2])),je.length&&(lt="/"+je.join(".")+lt),this.hostname=gt.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),ht||(this.hostname=E.toASCII(this.hostname));var ie=this.port?":"+this.port:"",ke=this.hostname||"";this.host=ke+ie,this.href+=this.host,ht&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),lt[0]!=="/"&&(lt="/"+lt))}if(!be[Bt])for(var Xe=0,Nt=Ee.length;Xe<Nt;Xe++){var Ge=Ee[Xe];if(lt.indexOf(Ge)!==-1){var Ie=encodeURIComponent(Ge);Ie===Ge&&(Ie=escape(Ge)),lt=lt.split(Ge).join(Ie)}}var pe=lt.indexOf("#");pe!==-1&&(this.hash=lt.substr(pe),lt=lt.slice(0,pe));var x=lt.indexOf("?");if(x!==-1?(this.search=lt.substr(x),this.query=lt.substr(x+1),Ke&&(this.query=_e.parse(this.query)),lt=lt.slice(0,x)):Ke&&(this.search="",this.query={}),lt&&(this.pathname=lt),Fe[Bt]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var ie=this.pathname||"",me=this.search||"";this.path=ie+me}return this.href=this.format(),this},de.prototype.format=function(){var Te=this.auth||"";Te&&(Te=encodeURIComponent(Te),Te=Te.replace(/%3A/i,":"),Te+="@");var Ke=this.protocol||"",We=this.pathname||"",Ne=this.hash||"",Ye=!1,Je="";this.host?Ye=Te+this.host:this.hostname&&(Ye=Te+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Ye+=":"+this.port)),this.query&&te.isObject(this.query)&&Object.keys(this.query).length&&(Je=_e.stringify(this.query));var He=this.search||Je&&"?"+Je||"";return Ke&&Ke.substr(-1)!==":"&&(Ke+=":"),this.slashes||(!Ke||Fe[Ke])&&Ye!==!1?(Ye="//"+(Ye||""),We&&We.charAt(0)!=="/"&&(We="/"+We)):Ye||(Ye=""),Ne&&Ne.charAt(0)!=="#"&&(Ne="#"+Ne),He&&He.charAt(0)!=="?"&&(He="?"+He),We=We.replace(/[?#]/g,function(lt){return encodeURIComponent(lt)}),He=He.replace("#","%23"),Ke+Ye+We+He+Ne},de.prototype.resolve=function(Te){return this.resolveObject(ve(Te,!1,!0)).format()},de.prototype.resolveObject=function(Te){if(te.isString(Te)){var Ke=new de;Ke.parse(Te,!1,!0),Te=Ke}for(var We=new de,Ne=Object.keys(this),Ye=0;Ye<Ne.length;Ye++){var Je=Ne[Ye];We[Je]=this[Je]}if(We.hash=Te.hash,Te.href==="")return We.href=We.format(),We;if(Te.slashes&&!Te.protocol){for(var He=Object.keys(Te),lt=0;lt<He.length;lt++){var ct=He[lt];ct!=="protocol"&&(We[ct]=Te[ct])}return Fe[We.protocol]&&We.hostname&&!We.pathname&&(We.path=We.pathname="/"),We.href=We.format(),We}if(Te.protocol&&Te.protocol!==We.protocol){if(!Fe[Te.protocol]){for(var tt=Object.keys(Te),Bt=0;Bt<tt.length;Bt++){var nt=tt[Bt];We[nt]=Te[nt]}return We.href=We.format(),We}if(We.protocol=Te.protocol,Te.host||Pe[Te.protocol])We.pathname=Te.pathname;else{for(var Nt=(Te.pathname||"").split("/");Nt.length&&!(Te.host=Nt.shift()););Te.host||(Te.host=""),Te.hostname||(Te.hostname=""),Nt[0]!==""&&Nt.unshift(""),Nt.length<2&&Nt.unshift(""),We.pathname=Nt.join("/")}if(We.search=Te.search,We.query=Te.query,We.host=Te.host||"",We.auth=Te.auth,We.hostname=Te.hostname||Te.host,We.port=Te.port,We.pathname||We.search){var Ue=We.pathname||"",Xe=We.search||"";We.path=Ue+Xe}return We.slashes=We.slashes||Te.slashes,We.href=We.format(),We}var $e=We.pathname&&We.pathname.charAt(0)==="/",qe=Te.host||Te.pathname&&Te.pathname.charAt(0)==="/",Ve=qe||$e||We.host&&Te.pathname,ht=Ve,st=We.pathname&&We.pathname.split("/")||[],Nt=Te.pathname&&Te.pathname.split("/")||[],dt=We.protocol&&!Fe[We.protocol];if(dt&&(We.hostname="",We.port=null,We.host&&(st[0]===""?st[0]=We.host:st.unshift(We.host)),We.host="",Te.protocol&&(Te.hostname=null,Te.port=null,Te.host&&(Nt[0]===""?Nt[0]=Te.host:Nt.unshift(Te.host)),Te.host=null),Ve=Ve&&(Nt[0]===""||st[0]==="")),qe)We.host=Te.host||Te.host===""?Te.host:We.host,We.hostname=Te.hostname||Te.hostname===""?Te.hostname:We.hostname,We.search=Te.search,We.query=Te.query,st=Nt;else if(Nt.length)st||(st=[]),st.pop(),st=st.concat(Nt),We.search=Te.search,We.query=Te.query;else if(!te.isNullOrUndefined(Te.search)){if(dt){We.hostname=We.host=st.shift();var Tt=!!(We.host&&We.host.indexOf("@")>0)&&We.host.split("@");Tt&&(We.auth=Tt.shift(),We.host=We.hostname=Tt.shift())}return We.search=Te.search,We.query=Te.query,te.isNull(We.pathname)&&te.isNull(We.search)||(We.path=(We.pathname?We.pathname:"")+(We.search?We.search:"")),We.href=We.format(),We}if(!st.length)return We.pathname=null,We.search?We.path="/"+We.search:We.path=null,We.href=We.format(),We;for(var bt=st.slice(-1)[0],Ct=(We.host||Te.host||st.length>1)&&(bt==="."||bt==="..")||bt==="",gt=0,je=st.length;je>=0;je--)bt=st[je],bt==="."?st.splice(je,1):bt===".."?(st.splice(je,1),gt++):gt&&(st.splice(je,1),gt--);if(!Ve&&!ht)for(;gt--;gt)st.unshift("..");!Ve||st[0]===""||st[0]&&st[0].charAt(0)==="/"||st.unshift(""),Ct&&st.join("/").substr(-1)!=="/"&&st.push("");var le=st[0]===""||st[0]&&st[0].charAt(0)==="/";if(dt){We.hostname=We.host=le?"":st.length?st.shift():"";var Tt=!!(We.host&&We.host.indexOf("@")>0)&&We.host.split("@");Tt&&(We.auth=Tt.shift(),We.host=We.hostname=Tt.shift())}return Ve=Ve||We.host&&st.length,Ve&&!le&&st.unshift(""),st.length?We.pathname=st.join("/"):(We.pathname=null,We.path=null),te.isNull(We.pathname)&&te.isNull(We.search)||(We.path=(We.pathname?We.pathname:"")+(We.search?We.search:"")),We.auth=Te.auth||We.auth,We.slashes=We.slashes||Te.slashes,We.href=We.format(),We},de.prototype.parseHost=function(){var Te=this.host,Ke=ge.exec(Te);Ke&&(Ke=Ke[0],Ke!==":"&&(this.port=Ke.substr(1)),Te=Te.substr(0,Te.length-Ke.length)),Te&&(this.hostname=Te)}},{"./util":204,punycode:174,querystring:177}],204:[function(oe,ye,De){"use strict";ye.exports={isString:function(de){return typeof de=="string"},isObject:function(de){return typeof de=="object"&&de!==null},isNull:function(de){return de===null},isNullOrUndefined:function(de){return de==null}}},{}],205:[function(oe,ye,De){(function(de){function ve(se,fe){function E(){if(!te){if(re("throwDeprecation"))throw new Error(fe);re("traceDeprecation")?console.trace(fe):console.warn(fe),te=!0}return se.apply(this,arguments)}if(re("noDeprecation"))return se;var te=!1;return E}function re(se){try{if(!de.localStorage)return!1}catch(E){return!1}var fe=de.localStorage[se];return fe!=null&&String(fe).toLowerCase()==="true"}ye.exports=ve}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],206:[function(oe,ye,De){ye.exports=function(de){return de&&typeof de=="object"&&typeof de.copy=="function"&&typeof de.fill=="function"&&typeof de.readUInt8=="function"}},{}],207:[function(oe,ye,De){(function(de,ve){function re(Xe,$e){var qe={seen:[],stylize:fe};return arguments.length>=3&&(qe.depth=arguments[2]),arguments.length>=4&&(qe.colors=arguments[3]),Oe($e)?qe.showHidden=$e:$e&&De._extend(qe,$e),Fe(qe.showHidden)&&(qe.showHidden=!1),Fe(qe.depth)&&(qe.depth=2),Fe(qe.colors)&&(qe.colors=!1),Fe(qe.customInspect)&&(qe.customInspect=!0),qe.colors&&(qe.stylize=se),te(qe,Xe,qe.depth)}function se(Xe,$e){var qe=re.styles[$e];return qe?"\x1B["+re.colors[qe][0]+"m"+Xe+"\x1B["+re.colors[qe][1]+"m":Xe}function fe(Xe,$e){return Xe}function E(Xe){var $e={};return Xe.forEach(function(qe,Ve){$e[qe]=!0}),$e}function te(Xe,$e,qe){if(Xe.customInspect&&$e&&Ne($e.inspect)&&$e.inspect!==De.inspect&&(!$e.constructor||$e.constructor.prototype!==$e)){var Ve=$e.inspect(qe,Xe);return be(Ve)||(Ve=te(Xe,Ve,qe)),Ve}var ht=ne(Xe,$e);if(ht)return ht;var st=Object.keys($e),Nt=E(st);if(Xe.showHidden&&(st=Object.getOwnPropertyNames($e)),We($e)&&(st.indexOf("message")>=0||st.indexOf("description")>=0))return ge($e);if(st.length===0){if(Ne($e)){var dt=$e.name?": "+$e.name:"";return Xe.stylize("[Function"+dt+"]","special")}if(_e($e))return Xe.stylize(RegExp.prototype.toString.call($e),"regexp");if(Ke($e))return Xe.stylize(Date.prototype.toString.call($e),"date");if(We($e))return ge($e)}var Tt="",bt=!1,Ct=["{","}"];if(Ee($e)&&(bt=!0,Ct=["[","]"]),Ne($e)&&(Tt=" [Function"+($e.name?": "+$e.name:"")+"]"),_e($e)&&(Tt=" "+RegExp.prototype.toString.call($e)),Ke($e)&&(Tt=" "+Date.prototype.toUTCString.call($e)),We($e)&&(Tt=" "+ge($e)),st.length===0&&(!bt||$e.length==0))return Ct[0]+Tt+Ct[1];if(qe<0)return _e($e)?Xe.stylize(RegExp.prototype.toString.call($e),"regexp"):Xe.stylize("[Object]","special");Xe.seen.push($e);var gt;return gt=bt?we(Xe,$e,qe,Nt,st):st.map(function(je){return xe(Xe,$e,qe,Nt,je,bt)}),Xe.seen.pop(),ue(gt,Tt,Ct)}function ne(Xe,$e){if(Fe($e))return Xe.stylize("undefined","undefined");if(be($e)){var qe="'"+JSON.stringify($e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Xe.stylize(qe,"string")}return Me($e)?Xe.stylize(""+$e,"number"):Oe($e)?Xe.stylize(""+$e,"boolean"):Ae($e)?Xe.stylize("null","null"):void 0}function ge(Xe){return"["+Error.prototype.toString.call(Xe)+"]"}function we(Xe,$e,qe,Ve,ht){for(var st=[],Nt=0,dt=$e.length;Nt<dt;++Nt)ct($e,String(Nt))?st.push(xe(Xe,$e,qe,Ve,String(Nt),!0)):st.push("");return ht.forEach(function(Tt){Tt.match(/^\d+$/)||st.push(xe(Xe,$e,qe,Ve,Tt,!0))}),st}function xe(Xe,$e,qe,Ve,ht,st){var Nt,dt,Tt;if(Tt=Object.getOwnPropertyDescriptor($e,ht)||{value:$e[ht]},Tt.get?dt=Tt.set?Xe.stylize("[Getter/Setter]","special"):Xe.stylize("[Getter]","special"):Tt.set&&(dt=Xe.stylize("[Setter]","special")),ct(Ve,ht)||(Nt="["+ht+"]"),dt||(Xe.seen.indexOf(Tt.value)<0?(dt=Ae(qe)?te(Xe,Tt.value,null):te(Xe,Tt.value,qe-1),dt.indexOf(`
|
|
|
`)>-1&&(dt=st?dt.split(`
|
|
|
`).map(function(bt){return" "+bt}).join(`
|
|
|
`).substr(2):`
|
|
|
`+dt.split(`
|
|
|
`).map(function(bt){return" "+bt}).join(`
|
|
|
`))):dt=Xe.stylize("[Circular]","special")),Fe(Nt)){if(st&&ht.match(/^\d+$/))return dt;Nt=JSON.stringify(""+ht),Nt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Nt=Nt.substr(1,Nt.length-2),Nt=Xe.stylize(Nt,"name")):(Nt=Nt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Nt=Xe.stylize(Nt,"string"))}return Nt+": "+dt}function ue(Xe,$e,qe){var Ve=0;return Xe.reduce(function(ht,st){return Ve++,st.indexOf(`
|
|
|
`)>=0&&Ve++,ht+st.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?qe[0]+($e===""?"":$e+`
|
|
|
`)+" "+Xe.join(`,
|
|
|
`)+" "+qe[1]:qe[0]+$e+" "+Xe.join(", ")+" "+qe[1]}function Ee(Xe){return Array.isArray(Xe)}function Oe(Xe){return typeof Xe=="boolean"}function Ae(Xe){return Xe===null}function Re(Xe){return Xe==null}function Me(Xe){return typeof Xe=="number"}function be(Xe){return typeof Xe=="string"}function Pe(Xe){return typeof Xe=="symbol"}function Fe(Xe){return Xe===void 0}function _e(Xe){return Te(Xe)&&Je(Xe)==="[object RegExp]"}function Te(Xe){return typeof Xe=="object"&&Xe!==null}function Ke(Xe){return Te(Xe)&&Je(Xe)==="[object Date]"}function We(Xe){return Te(Xe)&&(Je(Xe)==="[object Error]"||Xe instanceof Error)}function Ne(Xe){return typeof Xe=="function"}function Ye(Xe){return Xe===null||typeof Xe=="boolean"||typeof Xe=="number"||typeof Xe=="string"||typeof Xe=="symbol"||Xe===void 0}function Je(Xe){return Object.prototype.toString.call(Xe)}function He(Xe){return Xe<10?"0"+Xe.toString(10):Xe.toString(10)}function lt(){var Xe=new Date,$e=[He(Xe.getHours()),He(Xe.getMinutes()),He(Xe.getSeconds())].join(":");return[Xe.getDate(),Ue[Xe.getMonth()],$e].join(" ")}function ct(Xe,$e){return Object.prototype.hasOwnProperty.call(Xe,$e)}var tt=/%[sdj%]/g;De.format=function(Xe){if(!be(Xe)){for(var $e=[],qe=0;qe<arguments.length;qe++)$e.push(re(arguments[qe]));return $e.join(" ")}for(var qe=1,Ve=arguments,ht=Ve.length,st=String(Xe).replace(tt,function(Tt){if(Tt==="%%")return"%";if(qe>=ht)return Tt;switch(Tt){case"%s":return String(Ve[qe++]);case"%d":return Number(Ve[qe++]);case"%j":try{return JSON.stringify(Ve[qe++])}catch(bt){return"[Circular]"}default:return Tt}}),Nt=Ve[qe];qe<ht;Nt=Ve[++qe])Ae(Nt)||!Te(Nt)?st+=" "+Nt:st+=" "+re(Nt);return st},De.deprecate=function(Xe,$e){function qe(){if(!Ve){if(de.throwDeprecation)throw new Error($e);de.traceDeprecation?console.trace($e):console.error($e),Ve=!0}return Xe.apply(this,arguments)}if(Fe(ve.process))return function(){return De.deprecate(Xe,$e).apply(this,arguments)};if(de.noDeprecation===!0)return Xe;var Ve=!1;return qe};var Bt,nt={};De.debuglog=function(Xe){if(Fe(Bt)&&(Bt=de.env.NODE_DEBUG||""),Xe=Xe.toUpperCase(),!nt[Xe])if(new RegExp("\\b"+Xe+"\\b","i").test(Bt)){var $e=de.pid;nt[Xe]=function(){var qe=De.format.apply(De,arguments);console.error("%s %d: %s",Xe,$e,qe)}}else nt[Xe]=function(){};return nt[Xe]},De.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"},De.isArray=Ee,De.isBoolean=Oe,De.isNull=Ae,De.isNullOrUndefined=Re,De.isNumber=Me,De.isString=be,De.isSymbol=Pe,De.isUndefined=Fe,De.isRegExp=_e,De.isObject=Te,De.isDate=Ke,De.isError=We,De.isFunction=Ne,De.isPrimitive=Ye,De.isBuffer=oe("./support/isBuffer");var Ue=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];De.log=function(){console.log("%s - %s",lt(),De.format.apply(De,arguments))},De.inherits=oe("inherits"),De._extend=function(Xe,$e){if(!$e||!Te($e))return Xe;for(var qe=Object.keys($e),Ve=qe.length;Ve--;)Xe[qe[Ve]]=$e[qe[Ve]];return Xe}}).call(this,oe("_process"),typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":206,_process:173,inherits:162}],208:[function(oe,ye,De){"use strict";(function(){De.stripBOM=function(de){return de[0]==="\uFEFF"?de.substring(1):de}}).call(void 0)},{}],209:[function(oe,ye,De){"use strict";function de(E){return E&&E.__esModule?E:{default:E}}var ve=oe("babel-runtime/helpers/typeof"),re=de(ve),se=oe("babel-runtime/core-js/object/keys"),fe=de(se);(function(){var E,te,ne,ge,we,xe={}.hasOwnProperty;E=oe("xmlbuilder"),te=oe("./defaults").defaults,ge=function(ue){return typeof ue=="string"&&(ue.indexOf("&")>=0||ue.indexOf(">")>=0||ue.indexOf("<")>=0)},we=function(ue){return"<![CDATA["+ne(ue)+"]]>"},ne=function(ue){return ue.replace("]]>","]]]]><![CDATA[>")},De.Builder=function(){function ue(Ee){var Oe,Ae,Re;this.options={},Ae=te[.2];for(Oe in Ae)xe.call(Ae,Oe)&&(Re=Ae[Oe],this.options[Oe]=Re);for(Oe in Ee)xe.call(Ee,Oe)&&(Re=Ee[Oe],this.options[Oe]=Re)}return ue.prototype.buildObject=function(Ee){var Oe,Ae,Re,Me,be;return Oe=this.options.attrkey,Ae=this.options.charkey,(0,fe.default)(Ee).length===1&&this.options.rootName===te[.2].rootName?(be=(0,fe.default)(Ee)[0],Ee=Ee[be]):be=this.options.rootName,Re=function(Pe){return function(Fe,_e){var Te,Ke,We,Ne,Ye,Je;if((_e===void 0?"undefined":(0,re.default)(_e))!=="object")Pe.options.cdata&&ge(_e)?Fe.raw(we(_e)):Fe.txt(_e);else if(Array.isArray(_e)){for(Ne in _e)if(xe.call(_e,Ne)){Ke=_e[Ne];for(Ye in Ke)We=Ke[Ye],Fe=Re(Fe.ele(Ye),We).up()}}else for(Ye in _e)if(xe.call(_e,Ye))if(Ke=_e[Ye],Ye===Oe){if((Ke===void 0?"undefined":(0,re.default)(Ke))==="object")for(Te in Ke)Je=Ke[Te],Fe=Fe.att(Te,Je)}else if(Ye===Ae)Fe=Pe.options.cdata&&ge(Ke)?Fe.raw(we(Ke)):Fe.txt(Ke);else if(Array.isArray(Ke))for(Ne in Ke)xe.call(Ke,Ne)&&(We=Ke[Ne],Fe=typeof We=="string"?Pe.options.cdata&&ge(We)?Fe.ele(Ye).raw(we(We)).up():Fe.ele(Ye,We).up():Re(Fe.ele(Ye),We).up());else(Ke===void 0?"undefined":(0,re.default)(Ke))==="object"?Fe=Re(Fe.ele(Ye),Ke).up():typeof Ke=="string"&&Pe.options.cdata&&ge(Ke)?Fe=Fe.ele(Ye).raw(we(Ke)).up():(Ke==null&&(Ke=""),Fe=Fe.ele(Ye,Ke.toString()).up());return Fe}}(this),Me=E.create(be,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),Re(Me,Ee).end(this.options.renderOpts)},ue}()}).call(void 0)},{"./defaults":210,"babel-runtime/core-js/object/keys":23,"babel-runtime/helpers/typeof":32,xmlbuilder:235}],210:[function(oe,ye,De){"use strict";(function(){De.defaults={.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:""},.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(void 0)},{}],211:[function(oe,ye,De){"use strict";function de(ne){return ne&&ne.__esModule?ne:{default:ne}}var ve=oe("babel-runtime/core-js/object/get-own-property-names"),re=de(ve),se=oe("babel-runtime/core-js/object/keys"),fe=de(se),E=oe("babel-runtime/helpers/typeof"),te=de(E);(function(){var ne,ge,we,xe,ue,Ee,Oe,Ae,Re=function(Pe,Fe){return function(){return Pe.apply(Fe,arguments)}},Me=function(Pe,Fe){function _e(){this.constructor=Pe}for(var Te in Fe)be.call(Fe,Te)&&(Pe[Te]=Fe[Te]);return _e.prototype=Fe.prototype,Pe.prototype=new _e,Pe.__super__=Fe.prototype,Pe},be={}.hasOwnProperty;Oe=oe("sax"),we=oe("events"),ne=oe("./bom"),Ee=oe("./processors"),Ae=oe("timers").setImmediate,ge=oe("./defaults").defaults,xe=function(Pe){return(Pe===void 0?"undefined":(0,te.default)(Pe))==="object"&&Pe!=null&&(0,fe.default)(Pe).length===0},ue=function(Pe,Fe,_e){var Te,Ke,We;for(Te=0,Ke=Pe.length;Te<Ke;Te++)We=Pe[Te],Fe=We(Fe,_e);return Fe},De.Parser=function(Pe){function Fe(_e){this.parseString=Re(this.parseString,this),this.reset=Re(this.reset,this),this.assignOrPush=Re(this.assignOrPush,this),this.processAsync=Re(this.processAsync,this);var Te,Ke,We;if(!(this instanceof De.Parser))return new De.Parser(_e);this.options={},Ke=ge[.2];for(Te in Ke)be.call(Ke,Te)&&(We=Ke[Te],this.options[Te]=We);for(Te in _e)be.call(_e,Te)&&(We=_e[Te],this.options[Te]=We);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(Ee.normalize)),this.reset()}return Me(Fe,Pe),Fe.prototype.processAsync=function(){var _e,Te;try{return this.remaining.length<=this.options.chunkSize?(_e=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(_e),this.saxParser.close()):(_e=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(_e),Ae(this.processAsync))}catch(Ke){if(Te=Ke,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(Te)}},Fe.prototype.assignOrPush=function(_e,Te,Ke){return Te in _e?(_e[Te]instanceof Array||(_e[Te]=[_e[Te]]),_e[Te].push(Ke)):this.options.explicitArray?_e[Te]=[Ke]:_e[Te]=Ke},Fe.prototype.reset=function(){var _e,Te,Ke,We;return this.removeAllListeners(),this.saxParser=Oe.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(Ne){return function(Ye){if(Ne.saxParser.resume(),!Ne.saxParser.errThrown)return Ne.saxParser.errThrown=!0,Ne.emit("error",Ye)}}(this),this.saxParser.onend=function(Ne){return function(){if(!Ne.saxParser.ended)return Ne.saxParser.ended=!0,Ne.emit("end",Ne.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,We=[],_e=this.options.attrkey,Te=this.options.charkey,this.saxParser.onopentag=function(Ne){return function(Ye){var Je,He,lt,ct,tt;if(lt={},lt[Te]="",!Ne.options.ignoreAttrs){tt=Ye.attributes;for(Je in tt)be.call(tt,Je)&&(_e in lt||Ne.options.mergeAttrs||(lt[_e]={}),He=Ne.options.attrValueProcessors?ue(Ne.options.attrValueProcessors,Ye.attributes[Je],Je):Ye.attributes[Je],ct=Ne.options.attrNameProcessors?ue(Ne.options.attrNameProcessors,Je):Je,Ne.options.mergeAttrs?Ne.assignOrPush(lt,ct,He):lt[_e][ct]=He)}return lt["#name"]=Ne.options.tagNameProcessors?ue(Ne.options.tagNameProcessors,Ye.name):Ye.name,Ne.options.xmlns&&(lt[Ne.options.xmlnskey]={uri:Ye.uri,local:Ye.local}),We.push(lt)}}(this),this.saxParser.onclosetag=function(Ne){return function(){var Ye,Je,He,lt,ct,tt,Bt,nt,Ue,Xe;if(tt=We.pop(),ct=tt["#name"],Ne.options.explicitChildren&&Ne.options.preserveChildrenOrder||delete tt["#name"],tt.cdata===!0&&(Ye=tt.cdata,delete tt.cdata),Ue=We[We.length-1],tt[Te].match(/^\s*$/)&&!Ye?(Je=tt[Te],delete tt[Te]):(Ne.options.trim&&(tt[Te]=tt[Te].trim()),Ne.options.normalize&&(tt[Te]=tt[Te].replace(/\s{2,}/g," ").trim()),tt[Te]=Ne.options.valueProcessors?ue(Ne.options.valueProcessors,tt[Te],ct):tt[Te],(0,fe.default)(tt).length===1&&Te in tt&&!Ne.EXPLICIT_CHARKEY&&(tt=tt[Te])),xe(tt)&&(tt=Ne.options.emptyTag!==""?Ne.options.emptyTag:Je),Ne.options.validator!=null&&(Xe="/"+function(){var $e,qe,Ve;for(Ve=[],$e=0,qe=We.length;$e<qe;$e++)lt=We[$e],Ve.push(lt["#name"]);return Ve}().concat(ct).join("/"),function(){var $e;try{tt=Ne.options.validator(Xe,Ue&&Ue[ct],tt)}catch(qe){return $e=qe,Ne.emit("error",$e)}}()),Ne.options.explicitChildren&&!Ne.options.mergeAttrs&&(tt===void 0?"undefined":(0,te.default)(tt))==="object")if(Ne.options.preserveChildrenOrder){if(Ue){Ue[Ne.options.childkey]=Ue[Ne.options.childkey]||[],Bt={};for(He in tt)be.call(tt,He)&&(Bt[He]=tt[He]);Ue[Ne.options.childkey].push(Bt),delete tt["#name"],(0,fe.default)(tt).length===1&&Te in tt&&!Ne.EXPLICIT_CHARKEY&&(tt=tt[Te])}}else lt={},Ne.options.attrkey in tt&&(lt[Ne.options.attrkey]=tt[Ne.options.attrkey],delete tt[Ne.options.attrkey]),!Ne.options.charsAsChildren&&Ne.options.charkey in tt&&(lt[Ne.options.charkey]=tt[Ne.options.charkey],delete tt[Ne.options.charkey]),(0,re.default)(tt).length>0&&(lt[Ne.options.childkey]=tt),tt=lt;return We.length>0?Ne.assignOrPush(Ue,ct,tt):(Ne.options.explicitRoot&&(nt=tt,tt={},tt[ct]=nt),Ne.resultObject=tt,Ne.saxParser.ended=!0,Ne.emit("end",Ne.resultObject))}}(this),Ke=function(Ne){return function(Ye){var Je,He;if(He=We[We.length-1])return He[Te]+=Ye,Ne.options.explicitChildren&&Ne.options.preserveChildrenOrder&&Ne.options.charsAsChildren&&(Ne.options.includeWhiteChars||Ye.replace(/\\n/g,"").trim()!=="")&&(He[Ne.options.childkey]=He[Ne.options.childkey]||[],Je={"#name":"__text__"},Je[Te]=Ye,Ne.options.normalize&&(Je[Te]=Je[Te].replace(/\s{2,}/g," ").trim()),He[Ne.options.childkey].push(Je)),He}}(this),this.saxParser.ontext=Ke,this.saxParser.oncdata=function(Ne){return function(Ye){var Je;if(Je=Ke(Ye))return Je.cdata=!0}}()},Fe.prototype.parseString=function(_e,Te){var Ke;Te!=null&&typeof Te=="function"&&(this.on("end",function(We){return this.reset(),Te(null,We)}),this.on("error",function(We){return this.reset(),Te(We)}));try{return _e=_e.toString(),_e.trim()===""?(this.emit("end",null),!0):(_e=ne.stripBOM(_e),this.options.async?(this.remaining=_e,Ae(this.processAsync),this.saxParser):this.saxParser.write(_e).close())}catch(We){if(Ke=We,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",Ke),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw Ke}},Fe}(we.EventEmitter),De.parseString=function(Pe,Fe,_e){var Te,Ke,We;return _e!=null?(typeof _e=="function"&&(Te=_e),(Fe===void 0?"undefined":(0,te.default)(Fe))==="object"&&(Ke=Fe)):(typeof Fe=="function"&&(Te=Fe),Ke={}),We=new De.Parser(Ke),We.parseString(Pe,Te)}}).call(void 0)},{"./bom":208,"./defaults":210,"./processors":212,"babel-runtime/core-js/object/get-own-property-names":21,"babel-runtime/core-js/object/keys":23,"babel-runtime/helpers/typeof":32,events:158,sax:194,timers:201}],212:[function(oe,ye,De){"use strict";(function(){var de;de=new RegExp(/(?!xmlns)^.*:/),De.normalize=function(ve){return ve.toLowerCase()},De.firstCharLowerCase=function(ve){return ve.charAt(0).toLowerCase()+ve.slice(1)},De.stripPrefix=function(ve){return ve.replace(de,"")},De.parseNumbers=function(ve){return isNaN(ve)||(ve=ve%1==0?parseInt(ve,10):parseFloat(ve)),ve},De.parseBooleans=function(ve){return/^(?:true|false)$/i.test(ve)&&(ve=ve.toLowerCase()==="true"),ve}}).call(void 0)},{}],213:[function(oe,ye,De){"use strict";(function(){var de,ve,re,se,fe=function(te,ne){function ge(){this.constructor=te}for(var we in ne)E.call(ne,we)&&(te[we]=ne[we]);return ge.prototype=ne.prototype,te.prototype=new ge,te.__super__=ne.prototype,te},E={}.hasOwnProperty;ve=oe("./defaults"),de=oe("./builder"),re=oe("./parser"),se=oe("./processors"),De.defaults=ve.defaults,De.processors=se,De.ValidationError=function(te){function ne(ge){this.message=ge}return fe(ne,te),ne}(Error),De.Builder=de.Builder,De.Parser=re.Parser,De.parseString=re.parseString}).call(void 0)},{"./builder":209,"./defaults":210,"./parser":211,"./processors":212}],214:[function(oe,ye,De){"use strict";function de(ne){return ne&&ne.__esModule?ne:{default:ne}}var ve=oe("babel-runtime/core-js/object/get-prototype-of"),re=de(ve),se=oe("babel-runtime/helpers/typeof"),fe=de(se),E=oe("babel-runtime/core-js/object/assign"),te=de(E);(function(){var ne,ge,we,xe,ue,Ee,Oe=[].slice,Ae={}.hasOwnProperty;ne=function(){var Re,Me,be,Pe,Fe,_e;if(_e=arguments[0],Fe=2<=arguments.length?Oe.call(arguments,1):[],xe(te.default))te.default.apply(null,arguments);else for(Re=0,be=Fe.length;Re<be;Re++)if((Pe=Fe[Re])!=null)for(Me in Pe)Ae.call(Pe,Me)&&(_e[Me]=Pe[Me]);return _e},xe=function(Re){return!!Re&&Object.prototype.toString.call(Re)==="[object Function]"},ue=function(Re){var Me;return!!Re&&((Me=Re===void 0?"undefined":(0,fe.default)(Re))==="function"||Me==="object")},ge=function(Re){return xe(Array.isArray)?Array.isArray(Re):Object.prototype.toString.call(Re)==="[object Array]"},we=function(Re){var Me;if(ge(Re))return!Re.length;for(Me in Re)if(Ae.call(Re,Me))return!1;return!0},Ee=function(Re){var Me,be;return ue(Re)&&(be=(0,re.default)(Re))&&(Me=be.constructor)&&typeof Me=="function"&&Me instanceof Me&&Function.prototype.toString.call(Me)===Function.prototype.toString.call(Object)},ye.exports.assign=ne,ye.exports.isFunction=xe,ye.exports.isObject=ue,ye.exports.isArray=ge,ye.exports.isEmpty=we,ye.exports.isPlainObject=Ee}).call(void 0)},{"babel-runtime/core-js/object/assign":18,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/helpers/typeof":32}],215:[function(oe,ye,De){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){ye.exports=function(){function re(se,fe,E){if(this.options=se.options,this.stringify=se.stringify,fe==null)throw new Error("Missing attribute name of element "+se.name);if(E==null)throw new Error("Missing attribute value for attribute "+fe+" of element "+se.name);this.name=this.stringify.attName(fe),this.value=this.stringify.attValue(E)}return re.prototype.clone=function(){return(0,ve.default)(this)},re.prototype.toString=function(se){return this.options.writer.set(se).attribute(this)},re}()}).call(void 0)},{"babel-runtime/core-js/object/create":19}],216:[function(oe,ye,De){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se=function(E,te){function ne(){this.constructor=E}for(var ge in te)fe.call(te,ge)&&(E[ge]=te[ge]);return ne.prototype=te.prototype,E.prototype=new ne,E.__super__=te.prototype,E},fe={}.hasOwnProperty;re=oe("./XMLNode"),ye.exports=function(E){function te(ne,ge){if(te.__super__.constructor.call(this,ne),ge==null)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(ge)}return se(te,E),te.prototype.clone=function(){return(0,ve.default)(this)},te.prototype.toString=function(ne){return this.options.writer.set(ne).cdata(this)},te}(re)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],217:[function(oe,ye,De){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se=function(E,te){function ne(){this.constructor=E}for(var ge in te)fe.call(te,ge)&&(E[ge]=te[ge]);return ne.prototype=te.prototype,E.prototype=new ne,E.__super__=te.prototype,E},fe={}.hasOwnProperty;re=oe("./XMLNode"),ye.exports=function(E){function te(ne,ge){if(te.__super__.constructor.call(this,ne),ge==null)throw new Error("Missing comment text");this.text=this.stringify.comment(ge)}return se(te,E),te.prototype.clone=function(){return(0,ve.default)(this)},te.prototype.toString=function(ne){return this.options.writer.set(ne).comment(this)},te}(re)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],218:[function(oe,ye,De){"use strict";(function(){var de,ve=function(se,fe){function E(){this.constructor=se}for(var te in fe)re.call(fe,te)&&(se[te]=fe[te]);return E.prototype=fe.prototype,se.prototype=new E,se.__super__=fe.prototype,se},re={}.hasOwnProperty;de=oe("./XMLNode"),ye.exports=function(se){function fe(E,te,ne,ge,we,xe){if(fe.__super__.constructor.call(this,E),te==null)throw new Error("Missing DTD element name");if(ne==null)throw new Error("Missing DTD attribute name");if(!ge)throw new Error("Missing DTD attribute type");if(!we)throw new Error("Missing DTD attribute default");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");if(xe&&!we.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(te),this.attributeName=this.stringify.attName(ne),this.attributeType=this.stringify.dtdAttType(ge),this.defaultValue=this.stringify.dtdAttDefault(xe),this.defaultValueType=we}return ve(fe,se),fe.prototype.toString=function(E){return this.options.writer.set(E).dtdAttList(this)},fe}(de)}).call(void 0)},{"./XMLNode":227}],219:[function(oe,ye,De){"use strict";(function(){var de,ve=function(se,fe){function E(){this.constructor=se}for(var te in fe)re.call(fe,te)&&(se[te]=fe[te]);return E.prototype=fe.prototype,se.prototype=new E,se.__super__=fe.prototype,se},re={}.hasOwnProperty;de=oe("./XMLNode"),ye.exports=function(se){function fe(E,te,ne){if(fe.__super__.constructor.call(this,E),te==null)throw new Error("Missing DTD element name");ne||(ne="(#PCDATA)"),Array.isArray(ne)&&(ne="("+ne.join(",")+")"),this.name=this.stringify.eleName(te),this.value=this.stringify.dtdElementValue(ne)}return ve(fe,se),fe.prototype.toString=function(E){return this.options.writer.set(E).dtdElement(this)},fe}(de)}).call(void 0)},{"./XMLNode":227}],220:[function(oe,ye,De){"use strict";(function(){var de,ve,re=function(fe,E){function te(){this.constructor=fe}for(var ne in E)se.call(E,ne)&&(fe[ne]=E[ne]);return te.prototype=E.prototype,fe.prototype=new te,fe.__super__=E.prototype,fe},se={}.hasOwnProperty;ve=oe("./Utility").isObject,de=oe("./XMLNode"),ye.exports=function(fe){function E(te,ne,ge,we){if(E.__super__.constructor.call(this,te),ge==null)throw new Error("Missing entity name");if(we==null)throw new Error("Missing entity value");if(this.pe=!!ne,this.name=this.stringify.eleName(ge),ve(we)){if(!we.pubID&&!we.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(we.pubID&&!we.sysID)throw new Error("System identifier is required for a public external entity");if(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")}else this.value=this.stringify.dtdEntityValue(we)}return re(E,fe),E.prototype.toString=function(te){return this.options.writer.set(te).dtdEntity(this)},E}(de)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],221:[function(oe,ye,De){"use strict";(function(){var de,ve=function(se,fe){function E(){this.constructor=se}for(var te in fe)re.call(fe,te)&&(se[te]=fe[te]);return E.prototype=fe.prototype,se.prototype=new E,se.__super__=fe.prototype,se},re={}.hasOwnProperty;de=oe("./XMLNode"),ye.exports=function(se){function fe(E,te,ne){if(fe.__super__.constructor.call(this,E),te==null)throw new Error("Missing notation name");if(!ne.pubID&&!ne.sysID)throw new Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(te),ne.pubID!=null&&(this.pubID=this.stringify.dtdPubID(ne.pubID)),ne.sysID!=null&&(this.sysID=this.stringify.dtdSysID(ne.sysID))}return ve(fe,se),fe.prototype.toString=function(E){return this.options.writer.set(E).dtdNotation(this)},fe}(de)}).call(void 0)},{"./XMLNode":227}],222:[function(oe,ye,De){"use strict";(function(){var de,ve,re=function(fe,E){function te(){this.constructor=fe}for(var ne in E)se.call(E,ne)&&(fe[ne]=E[ne]);return te.prototype=E.prototype,fe.prototype=new te,fe.__super__=E.prototype,fe},se={}.hasOwnProperty;ve=oe("./Utility").isObject,de=oe("./XMLNode"),ye.exports=function(fe){function E(te,ne,ge,we){var xe;E.__super__.constructor.call(this,te),ve(ne)&&(xe=ne,ne=xe.version,ge=xe.encoding,we=xe.standalone),ne||(ne="1.0"),this.version=this.stringify.xmlVersion(ne),ge!=null&&(this.encoding=this.stringify.xmlEncoding(ge)),we!=null&&(this.standalone=this.stringify.xmlStandalone(we))}return re(E,fe),E.prototype.toString=function(te){return this.options.writer.set(te).declaration(this)},E}(de)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],223:[function(oe,ye,De){"use strict";(function(){var de,ve,re,se,fe,E,te=function(ge,we){function xe(){this.constructor=ge}for(var ue in we)ne.call(we,ue)&&(ge[ue]=we[ue]);return xe.prototype=we.prototype,ge.prototype=new xe,ge.__super__=we.prototype,ge},ne={}.hasOwnProperty;E=oe("./Utility").isObject,fe=oe("./XMLNode"),de=oe("./XMLDTDAttList"),re=oe("./XMLDTDEntity"),ve=oe("./XMLDTDElement"),se=oe("./XMLDTDNotation"),ye.exports=function(ge){function we(xe,ue,Ee){var Oe,Ae;we.__super__.constructor.call(this,xe),this.documentObject=xe,E(ue)&&(Oe=ue,ue=Oe.pubID,Ee=Oe.sysID),Ee==null&&(Ae=[ue,Ee],Ee=Ae[0],ue=Ae[1]),ue!=null&&(this.pubID=this.stringify.dtdPubID(ue)),Ee!=null&&(this.sysID=this.stringify.dtdSysID(Ee))}return te(we,ge),we.prototype.element=function(xe,ue){var Ee;return Ee=new ve(this,xe,ue),this.children.push(Ee),this},we.prototype.attList=function(xe,ue,Ee,Oe,Ae){var Re;return Re=new de(this,xe,ue,Ee,Oe,Ae),this.children.push(Re),this},we.prototype.entity=function(xe,ue){var Ee;return Ee=new re(this,!1,xe,ue),this.children.push(Ee),this},we.prototype.pEntity=function(xe,ue){var Ee;return Ee=new re(this,!0,xe,ue),this.children.push(Ee),this},we.prototype.notation=function(xe,ue){var Ee;return Ee=new se(this,xe,ue),this.children.push(Ee),this},we.prototype.toString=function(xe){return this.options.writer.set(xe).docType(this)},we.prototype.ele=function(xe,ue){return this.element(xe,ue)},we.prototype.att=function(xe,ue,Ee,Oe,Ae){return this.attList(xe,ue,Ee,Oe,Ae)},we.prototype.ent=function(xe,ue){return this.entity(xe,ue)},we.prototype.pent=function(xe,ue){return this.pEntity(xe,ue)},we.prototype.not=function(xe,ue){return this.notation(xe,ue)},we.prototype.up=function(){return this.root()||this.documentObject},we}(fe)}).call(void 0)},{"./Utility":214,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLNode":227}],224:[function(oe,ye,De){"use strict";(function(){var de,ve,re,se,fe=function(te,ne){function ge(){this.constructor=te}for(var we in ne)E.call(ne,we)&&(te[we]=ne[we]);return ge.prototype=ne.prototype,te.prototype=new ge,te.__super__=ne.prototype,te},E={}.hasOwnProperty;se=oe("./Utility").isPlainObject,de=oe("./XMLNode"),re=oe("./XMLStringifier"),ve=oe("./XMLStringWriter"),ye.exports=function(te){function ne(ge){ne.__super__.constructor.call(this,null),ge||(ge={}),ge.writer||(ge.writer=new ve),this.options=ge,this.stringify=new re(ge),this.isDocument=!0}return fe(ne,te),ne.prototype.end=function(ge){var we;return ge?se(ge)&&(we=ge,ge=this.options.writer.set(we)):ge=this.options.writer,ge.document(this)},ne.prototype.toString=function(ge){return this.options.writer.set(ge).document(this)},ne}(de)}).call(void 0)},{"./Utility":214,"./XMLNode":227,"./XMLStringWriter":231,"./XMLStringifier":232}],225:[function(oe,ye,De){"use strict";(function(){var de,ve,re,se,fe,E,te,ne,ge,we,xe,ue,Ee,Oe,Ae,Re,Me,be,Pe,Fe={}.hasOwnProperty;Pe=oe("./Utility"),Me=Pe.isObject,Re=Pe.isFunction,be=Pe.isPlainObject,we=oe("./XMLElement"),ve=oe("./XMLCData"),re=oe("./XMLComment"),ue=oe("./XMLRaw"),Ae=oe("./XMLText"),xe=oe("./XMLProcessingInstruction"),ne=oe("./XMLDeclaration"),ge=oe("./XMLDocType"),se=oe("./XMLDTDAttList"),E=oe("./XMLDTDEntity"),fe=oe("./XMLDTDElement"),te=oe("./XMLDTDNotation"),de=oe("./XMLAttribute"),Oe=oe("./XMLStringifier"),Ee=oe("./XMLStringWriter"),ye.exports=function(){function _e(Te,Ke,We){var Ne;Te||(Te={}),Te.writer?be(Te.writer)&&(Ne=Te.writer,Te.writer=new Ee(Ne)):Te.writer=new Ee(Te),this.options=Te,this.writer=Te.writer,this.stringify=new Oe(Te),this.onDataCallback=Ke||function(){},this.onEndCallback=We||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return _e.prototype.node=function(Te,Ke,We){var Ne;if(Te==null)throw new Error("Missing node name");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node");return this.openCurrent(),Te=Te.valueOf(),Ke==null&&(Ke={}),Ke=Ke.valueOf(),Me(Ke)||(Ne=[Ke,We],We=Ne[0],Ke=Ne[1]),this.currentNode=new we(this,Te,Ke),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,We!=null&&this.text(We),this},_e.prototype.element=function(Te,Ke,We){return this.currentNode&&this.currentNode instanceof ge?this.dtdElement.apply(this,arguments):this.node(Te,Ke,We)},_e.prototype.attribute=function(Te,Ke){var We,Ne;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode");if(Te!=null&&(Te=Te.valueOf()),Me(Te))for(We in Te)Fe.call(Te,We)&&(Ne=Te[We],this.attribute(We,Ne));else Re(Ke)&&(Ke=Ke.apply()),this.options.skipNullAttributes&&Ke==null||(this.currentNode.attributes[Te]=new de(this,Te,Ke));return this},_e.prototype.text=function(Te){var Ke;return this.openCurrent(),Ke=new Ae(this,Te),this.onData(this.writer.text(Ke,this.currentLevel+1)),this},_e.prototype.cdata=function(Te){var Ke;return this.openCurrent(),Ke=new ve(this,Te),this.onData(this.writer.cdata(Ke,this.currentLevel+1)),this},_e.prototype.comment=function(Te){var Ke;return this.openCurrent(),Ke=new re(this,Te),this.onData(this.writer.comment(Ke,this.currentLevel+1)),this},_e.prototype.raw=function(Te){var Ke;return this.openCurrent(),Ke=new ue(this,Te),this.onData(this.writer.raw(Ke,this.currentLevel+1)),this},_e.prototype.instruction=function(Te,Ke){var We,Ne,Ye,Je,He;if(this.openCurrent(),Te!=null&&(Te=Te.valueOf()),Ke!=null&&(Ke=Ke.valueOf()),Array.isArray(Te))for(We=0,Je=Te.length;We<Je;We++)Ne=Te[We],this.instruction(Ne);else if(Me(Te))for(Ne in Te)Fe.call(Te,Ne)&&(Ye=Te[Ne],this.instruction(Ne,Ye));else Re(Ke)&&(Ke=Ke.apply()),He=new xe(this,Te,Ke),this.onData(this.writer.processingInstruction(He,this.currentLevel+1));return this},_e.prototype.declaration=function(Te,Ke,We){var Ne;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node");return Ne=new ne(this,Te,Ke,We),this.onData(this.writer.declaration(Ne,this.currentLevel+1)),this},_e.prototype.doctype=function(Te,Ke,We){if(this.openCurrent(),Te==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 ge(this,Ke,We),this.currentNode.rootNodeName=Te,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},_e.prototype.dtdElement=function(Te,Ke){var We;return this.openCurrent(),We=new fe(this,Te,Ke),this.onData(this.writer.dtdElement(We,this.currentLevel+1)),this},_e.prototype.attList=function(Te,Ke,We,Ne,Ye){var Je;return this.openCurrent(),Je=new se(this,Te,Ke,We,Ne,Ye),this.onData(this.writer.dtdAttList(Je,this.currentLevel+1)),this},_e.prototype.entity=function(Te,Ke){var We;return this.openCurrent(),We=new E(this,!1,Te,Ke),this.onData(this.writer.dtdEntity(We,this.currentLevel+1)),this},_e.prototype.pEntity=function(Te,Ke){var We;return this.openCurrent(),We=new E(this,!0,Te,Ke),this.onData(this.writer.dtdEntity(We,this.currentLevel+1)),this},_e.prototype.notation=function(Te,Ke){var We;return this.openCurrent(),We=new te(this,Te,Ke),this.onData(this.writer.dtdNotation(We,this.currentLevel+1)),this},_e.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},_e.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},_e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},_e.prototype.openNode=function(Te){if(!Te.isOpen)return!this.root&&this.currentLevel===0&&Te instanceof we&&(this.root=Te),this.onData(this.writer.openNode(Te,this.currentLevel)),Te.isOpen=!0},_e.prototype.closeNode=function(Te){if(!Te.isClosed)return this.onData(this.writer.closeNode(Te,this.currentLevel)),Te.isClosed=!0},_e.prototype.onData=function(Te){return this.documentStarted=!0,this.onDataCallback(Te)},_e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},_e.prototype.ele=function(){return this.element.apply(this,arguments)},_e.prototype.nod=function(Te,Ke,We){return this.node(Te,Ke,We)},_e.prototype.txt=function(Te){return this.text(Te)},_e.prototype.dat=function(Te){return this.cdata(Te)},_e.prototype.com=function(Te){return this.comment(Te)},_e.prototype.ins=function(Te,Ke){return this.instruction(Te,Ke)},_e.prototype.dec=function(Te,Ke,We){return this.declaration(Te,Ke,We)},_e.prototype.dtd=function(Te,Ke,We){return this.doctype(Te,Ke,We)},_e.prototype.e=function(Te,Ke,We){return this.element(Te,Ke,We)},_e.prototype.n=function(Te,Ke,We){return this.node(Te,Ke,We)},_e.prototype.t=function(Te){return this.text(Te)},_e.prototype.d=function(Te){return this.cdata(Te)},_e.prototype.c=function(Te){return this.comment(Te)},_e.prototype.r=function(Te){return this.raw(Te)},_e.prototype.i=function(Te,Ke){return this.instruction(Te,Ke)},_e.prototype.att=function(){return this.currentNode&&this.currentNode instanceof ge?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_e.prototype.a=function(){return this.currentNode&&this.currentNode instanceof ge?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_e.prototype.ent=function(Te,Ke){return this.entity(Te,Ke)},_e.prototype.pent=function(Te,Ke){return this.pEntity(Te,Ke)},_e.prototype.not=function(Te,Ke){return this.notation(Te,Ke)},_e}()}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLStringWriter":231,"./XMLStringifier":232,"./XMLText":233}],226:[function(oe,ye,De){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se,fe,E,te,ne=function(we,xe){function ue(){this.constructor=we}for(var Ee in xe)ge.call(xe,Ee)&&(we[Ee]=xe[Ee]);return ue.prototype=xe.prototype,we.prototype=new ue,we.__super__=xe.prototype,we},ge={}.hasOwnProperty;te=oe("./Utility"),E=te.isObject,fe=te.isFunction,se=oe("./XMLNode"),re=oe("./XMLAttribute"),ye.exports=function(we){function xe(ue,Ee,Oe){if(xe.__super__.constructor.call(this,ue),Ee==null)throw new Error("Missing element name");this.name=this.stringify.eleName(Ee),this.attributes={},Oe!=null&&this.attribute(Oe),ue.isDocument&&(this.isRoot=!0,this.documentObject=ue,ue.rootObject=this)}return ne(xe,we),xe.prototype.clone=function(){var ue,Ee,Oe,Ae;Oe=(0,ve.default)(this),Oe.isRoot&&(Oe.documentObject=null),Oe.attributes={},Ae=this.attributes;for(Ee in Ae)ge.call(Ae,Ee)&&(ue=Ae[Ee],Oe.attributes[Ee]=ue.clone());return Oe.children=[],this.children.forEach(function(Re){var Me;return Me=Re.clone(),Me.parent=Oe,Oe.children.push(Me)}),Oe},xe.prototype.attribute=function(ue,Ee){var Oe,Ae;if(ue!=null&&(ue=ue.valueOf()),E(ue))for(Oe in ue)ge.call(ue,Oe)&&(Ae=ue[Oe],this.attribute(Oe,Ae));else fe(Ee)&&(Ee=Ee.apply()),this.options.skipNullAttributes&&Ee==null||(this.attributes[ue]=new re(this,ue,Ee));return this},xe.prototype.removeAttribute=function(ue){var Ee,Oe,Ae;if(ue==null)throw new Error("Missing attribute name");if(ue=ue.valueOf(),Array.isArray(ue))for(Oe=0,Ae=ue.length;Oe<Ae;Oe++)Ee=ue[Oe],delete this.attributes[Ee];else delete this.attributes[ue];return this},xe.prototype.toString=function(ue){return this.options.writer.set(ue).element(this)},xe.prototype.att=function(ue,Ee){return this.attribute(ue,Ee)},xe.prototype.a=function(ue,Ee){return this.attribute(ue,Ee)},xe}(se)}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLNode":227,"babel-runtime/core-js/object/create":19}],227:[function(oe,ye,De){"use strict";(function(){var de,ve,re,se,fe,E,te,ne,ge,we,xe,ue,Ee={}.hasOwnProperty;ue=oe("./Utility"),xe=ue.isObject,we=ue.isFunction,ge=ue.isEmpty,fe=null,de=null,ve=null,re=null,se=null,te=null,ne=null,E=null,ye.exports=function(){function Oe(Ae){this.parent=Ae,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],fe||(fe=oe("./XMLElement"),de=oe("./XMLCData"),ve=oe("./XMLComment"),re=oe("./XMLDeclaration"),se=oe("./XMLDocType"),te=oe("./XMLRaw"),ne=oe("./XMLText"),E=oe("./XMLProcessingInstruction"))}return Oe.prototype.element=function(Ae,Re,Me){var be,Pe,Fe,_e,Te,Ke,We,Ne,Ye,Je;if(Ke=null,Re==null&&(Re={}),Re=Re.valueOf(),xe(Re)||(Ye=[Re,Me],Me=Ye[0],Re=Ye[1]),Ae!=null&&(Ae=Ae.valueOf()),Array.isArray(Ae))for(Fe=0,We=Ae.length;Fe<We;Fe++)Pe=Ae[Fe],Ke=this.element(Pe);else if(we(Ae))Ke=this.element(Ae.apply());else if(xe(Ae)){for(Te in Ae)if(Ee.call(Ae,Te))if(Je=Ae[Te],we(Je)&&(Je=Je.apply()),xe(Je)&&ge(Je)&&(Je=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Te.indexOf(this.stringify.convertAttKey)===0)Ke=this.attribute(Te.substr(this.stringify.convertAttKey.length),Je);else if(!this.options.separateArrayItems&&Array.isArray(Je))for(_e=0,Ne=Je.length;_e<Ne;_e++)Pe=Je[_e],be={},be[Te]=Pe,Ke=this.element(be);else xe(Je)?(Ke=this.element(Te),Ke.element(Je)):Ke=this.element(Te,Je)}else Ke=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Ae.indexOf(this.stringify.convertTextKey)===0?this.text(Me):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&Ae.indexOf(this.stringify.convertCDataKey)===0?this.cdata(Me):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&Ae.indexOf(this.stringify.convertCommentKey)===0?this.comment(Me):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&Ae.indexOf(this.stringify.convertRawKey)===0?this.raw(Me):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&Ae.indexOf(this.stringify.convertPIKey)===0?this.instruction(Ae.substr(this.stringify.convertPIKey.length),Me):this.node(Ae,Re,Me);if(Ke==null)throw new Error("Could not create any elements with: "+Ae);return Ke},Oe.prototype.insertBefore=function(Ae,Re,Me){var be,Pe,Fe;if(this.isRoot)throw new Error("Cannot insert elements at root level");return Pe=this.parent.children.indexOf(this),Fe=this.parent.children.splice(Pe),be=this.parent.element(Ae,Re,Me),Array.prototype.push.apply(this.parent.children,Fe),be},Oe.prototype.insertAfter=function(Ae,Re,Me){var be,Pe,Fe;if(this.isRoot)throw new Error("Cannot insert elements at root level");return Pe=this.parent.children.indexOf(this),Fe=this.parent.children.splice(Pe+1),be=this.parent.element(Ae,Re,Me),Array.prototype.push.apply(this.parent.children,Fe),be},Oe.prototype.remove=function(){var Ae;if(this.isRoot)throw new Error("Cannot remove the root element");return Ae=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[Ae,Ae-Ae+1].concat([])),this.parent},Oe.prototype.node=function(Ae,Re,Me){var be,Pe;return Ae!=null&&(Ae=Ae.valueOf()),Re||(Re={}),Re=Re.valueOf(),xe(Re)||(Pe=[Re,Me],Me=Pe[0],Re=Pe[1]),be=new fe(this,Ae,Re),Me!=null&&be.text(Me),this.children.push(be),be},Oe.prototype.text=function(Ae){var Re;return Re=new ne(this,Ae),this.children.push(Re),this},Oe.prototype.cdata=function(Ae){var Re;return Re=new de(this,Ae),this.children.push(Re),this},Oe.prototype.comment=function(Ae){var Re;return Re=new ve(this,Ae),this.children.push(Re),this},Oe.prototype.commentBefore=function(Ae){var Re,Me;return Re=this.parent.children.indexOf(this),Me=this.parent.children.splice(Re),this.parent.comment(Ae),Array.prototype.push.apply(this.parent.children,Me),this},Oe.prototype.commentAfter=function(Ae){var Re,Me;return Re=this.parent.children.indexOf(this),Me=this.parent.children.splice(Re+1),this.parent.comment(Ae),Array.prototype.push.apply(this.parent.children,Me),this},Oe.prototype.raw=function(Ae){var Re;return Re=new te(this,Ae),this.children.push(Re),this},Oe.prototype.instruction=function(Ae,Re){var Me,be,Pe,Fe,_e;if(Ae!=null&&(Ae=Ae.valueOf()),Re!=null&&(Re=Re.valueOf()),Array.isArray(Ae))for(Fe=0,_e=Ae.length;Fe<_e;Fe++)Me=Ae[Fe],this.instruction(Me);else if(xe(Ae))for(Me in Ae)Ee.call(Ae,Me)&&(be=Ae[Me],this.instruction(Me,be));else we(Re)&&(Re=Re.apply()),Pe=new E(this,Ae,Re),this.children.push(Pe);return this},Oe.prototype.instructionBefore=function(Ae,Re){var Me,be;return Me=this.parent.children.indexOf(this),be=this.parent.children.splice(Me),this.parent.instruction(Ae,Re),Array.prototype.push.apply(this.parent.children,be),this},Oe.prototype.instructionAfter=function(Ae,Re){var Me,be;return Me=this.parent.children.indexOf(this),be=this.parent.children.splice(Me+1),this.parent.instruction(Ae,Re),Array.prototype.push.apply(this.parent.children,be),this},Oe.prototype.declaration=function(Ae,Re,Me){var be,Pe;return be=this.document(),Pe=new re(be,Ae,Re,Me),be.children[0]instanceof re?be.children[0]=Pe:be.children.unshift(Pe),be.root()||be},Oe.prototype.doctype=function(Ae,Re){var Me,be,Pe,Fe,_e,Te,Ke,We,Ne,Ye;for(be=this.document(),Pe=new se(be,Ae,Re),Ne=be.children,Fe=_e=0,Ke=Ne.length;_e<Ke;Fe=++_e)if((Me=Ne[Fe])instanceof se)return be.children[Fe]=Pe,Pe;for(Ye=be.children,Fe=Te=0,We=Ye.length;Te<We;Fe=++Te)if(Me=Ye[Fe],Me.isRoot)return be.children.splice(Fe,0,Pe),Pe;return be.children.push(Pe),Pe},Oe.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},Oe.prototype.root=function(){var Ae;for(Ae=this;Ae;){if(Ae.isDocument)return Ae.rootObject;if(Ae.isRoot)return Ae;Ae=Ae.parent}},Oe.prototype.document=function(){var Ae;for(Ae=this;Ae;){if(Ae.isDocument)return Ae;Ae=Ae.parent}},Oe.prototype.end=function(Ae){return this.document().end(Ae)},Oe.prototype.prev=function(){var Ae;if((Ae=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node");return this.parent.children[Ae-1]},Oe.prototype.next=function(){var Ae;if((Ae=this.parent.children.indexOf(this))===-1||Ae===this.parent.children.length-1)throw new Error("Already at the last node");return this.parent.children[Ae+1]},Oe.prototype.importDocument=function(Ae){var Re;return Re=Ae.root().clone(),Re.parent=this,Re.isRoot=!1,this.children.push(Re),this},Oe.prototype.ele=function(Ae,Re,Me){return this.element(Ae,Re,Me)},Oe.prototype.nod=function(Ae,Re,Me){return this.node(Ae,Re,Me)},Oe.prototype.txt=function(Ae){return this.text(Ae)},Oe.prototype.dat=function(Ae){return this.cdata(Ae)},Oe.prototype.com=function(Ae){return this.comment(Ae)},Oe.prototype.ins=function(Ae,Re){return this.instruction(Ae,Re)},Oe.prototype.doc=function(){return this.document()},Oe.prototype.dec=function(Ae,Re,Me){return this.declaration(Ae,Re,Me)},Oe.prototype.dtd=function(Ae,Re){return this.doctype(Ae,Re)},Oe.prototype.e=function(Ae,Re,Me){return this.element(Ae,Re,Me)},Oe.prototype.n=function(Ae,Re,Me){return this.node(Ae,Re,Me)},Oe.prototype.t=function(Ae){return this.text(Ae)},Oe.prototype.d=function(Ae){return this.cdata(Ae)},Oe.prototype.c=function(Ae){return this.comment(Ae)},Oe.prototype.r=function(Ae){return this.raw(Ae)},Oe.prototype.i=function(Ae,Re){return this.instruction(Ae,Re)},Oe.prototype.u=function(){return this.up()},Oe.prototype.importXMLBuilder=function(Ae){return this.importDocument(Ae)},Oe}()}).call(void 0)},{"./Utility":214,"./XMLCData":216,"./XMLComment":217,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233}],228:[function(oe,ye,De){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se=function(E,te){function ne(){this.constructor=E}for(var ge in te)fe.call(te,ge)&&(E[ge]=te[ge]);return ne.prototype=te.prototype,E.prototype=new ne,E.__super__=te.prototype,E},fe={}.hasOwnProperty;re=oe("./XMLNode"),ye.exports=function(E){function te(ne,ge,we){if(te.__super__.constructor.call(this,ne),ge==null)throw new Error("Missing instruction target");this.target=this.stringify.insTarget(ge),we&&(this.value=this.stringify.insValue(we))}return se(te,E),te.prototype.clone=function(){return(0,ve.default)(this)},te.prototype.toString=function(ne){return this.options.writer.set(ne).processingInstruction(this)},te}(re)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],229:[function(oe,ye,De){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se=function(E,te){function ne(){this.constructor=E}for(var ge in te)fe.call(te,ge)&&(E[ge]=te[ge]);return ne.prototype=te.prototype,E.prototype=new ne,E.__super__=te.prototype,E},fe={}.hasOwnProperty;re=oe("./XMLNode"),ye.exports=function(E){function te(ne,ge){if(te.__super__.constructor.call(this,ne),ge==null)throw new Error("Missing raw text");this.value=this.stringify.raw(ge)}return se(te,E),te.prototype.clone=function(){return(0,ve.default)(this)},te.prototype.toString=function(ne){return this.options.writer.set(ne).raw(this)},te}(re)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],230:[function(oe,ye,De){"use strict";(function(){var de,ve,re,se,fe,E,te,ne,ge,we,xe,ue,Ee,Oe=function(Re,Me){function be(){this.constructor=Re}for(var Pe in Me)Ae.call(Me,Pe)&&(Re[Pe]=Me[Pe]);return be.prototype=Me.prototype,Re.prototype=new be,Re.__super__=Me.prototype,Re},Ae={}.hasOwnProperty;te=oe("./XMLDeclaration"),ne=oe("./XMLDocType"),de=oe("./XMLCData"),ve=oe("./XMLComment"),ge=oe("./XMLElement"),xe=oe("./XMLRaw"),ue=oe("./XMLText"),we=oe("./XMLProcessingInstruction"),re=oe("./XMLDTDAttList"),se=oe("./XMLDTDElement"),fe=oe("./XMLDTDEntity"),E=oe("./XMLDTDNotation"),Ee=oe("./XMLWriterBase"),ye.exports=function(Re){function Me(be,Pe){Me.__super__.constructor.call(this,Pe),this.stream=be}return Oe(Me,Re),Me.prototype.document=function(be){var Pe,Fe,_e,Te,Ke,We,Ne,Ye;for(We=be.children,Fe=0,Te=We.length;Fe<Te;Fe++)Pe=We[Fe],Pe.isLastRootNode=!1;for(be.children[be.children.length-1].isLastRootNode=!0,Ne=be.children,Ye=[],_e=0,Ke=Ne.length;_e<Ke;_e++)switch(Pe=Ne[_e],!1){case!(Pe instanceof te):Ye.push(this.declaration(Pe));break;case!(Pe instanceof ne):Ye.push(this.docType(Pe));break;case!(Pe instanceof ve):Ye.push(this.comment(Pe));break;case!(Pe instanceof we):Ye.push(this.processingInstruction(Pe));break;default:Ye.push(this.element(Pe))}return Ye},Me.prototype.attribute=function(be){return this.stream.write(" "+be.name+'="'+be.value+'"')},Me.prototype.cdata=function(be,Pe){return this.stream.write(this.space(Pe)+"<![CDATA["+be.text+"]]>"+this.endline(be))},Me.prototype.comment=function(be,Pe){return this.stream.write(this.space(Pe)+"<!-- "+be.text+" -->"+this.endline(be))},Me.prototype.declaration=function(be,Pe){return this.stream.write(this.space(Pe)),this.stream.write('<?xml version="'+be.version+'"'),be.encoding!=null&&this.stream.write(' encoding="'+be.encoding+'"'),be.standalone!=null&&this.stream.write(' standalone="'+be.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(be))},Me.prototype.docType=function(be,Pe){var Fe,_e,Te,Ke;if(Pe||(Pe=0),this.stream.write(this.space(Pe)),this.stream.write("<!DOCTYPE "+be.root().name),be.pubID&&be.sysID?this.stream.write(' PUBLIC "'+be.pubID+'" "'+be.sysID+'"'):be.sysID&&this.stream.write(' SYSTEM "'+be.sysID+'"'),be.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(be)),Ke=be.children,_e=0,Te=Ke.length;_e<Te;_e++)switch(Fe=Ke[_e],!1){case!(Fe instanceof re):this.dtdAttList(Fe,Pe+1);break;case!(Fe instanceof se):this.dtdElement(Fe,Pe+1);break;case!(Fe instanceof fe):this.dtdEntity(Fe,Pe+1);break;case!(Fe instanceof E):this.dtdNotation(Fe,Pe+1);break;case!(Fe instanceof de):this.cdata(Fe,Pe+1);break;case!(Fe instanceof ve):this.comment(Fe,Pe+1);break;case!(Fe instanceof we):this.processingInstruction(Fe,Pe+1);break;default:throw new Error("Unknown DTD node type: "+Fe.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(be))},Me.prototype.element=function(be,Pe){var Fe,_e,Te,Ke,We,Ne,Ye,Je;Pe||(Pe=0),Je=this.space(Pe),this.stream.write(Je+"<"+be.name),Ne=be.attributes;for(We in Ne)Ae.call(Ne,We)&&(Fe=Ne[We],this.attribute(Fe));if(be.children.length===0||be.children.every(function(He){return He.value===""}))this.allowEmpty?this.stream.write("></"+be.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&be.children.length===1&&be.children[0].value!=null)this.stream.write(">"),this.stream.write(be.children[0].value),this.stream.write("</"+be.name+">");else{for(this.stream.write(">"+this.newline),Ye=be.children,Te=0,Ke=Ye.length;Te<Ke;Te++)switch(_e=Ye[Te],!1){case!(_e instanceof de):this.cdata(_e,Pe+1);break;case!(_e instanceof ve):this.comment(_e,Pe+1);break;case!(_e instanceof ge):this.element(_e,Pe+1);break;case!(_e instanceof xe):this.raw(_e,Pe+1);break;case!(_e instanceof ue):this.text(_e,Pe+1);break;case!(_e instanceof we):this.processingInstruction(_e,Pe+1);break;default:throw new Error("Unknown XML node type: "+_e.constructor.name)}this.stream.write(Je+"</"+be.name+">")}return this.stream.write(this.endline(be))},Me.prototype.processingInstruction=function(be,Pe){return this.stream.write(this.space(Pe)+"<?"+be.target),be.value&&this.stream.write(" "+be.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(be))},Me.prototype.raw=function(be,Pe){return this.stream.write(this.space(Pe)+be.value+this.endline(be))},Me.prototype.text=function(be,Pe){return this.stream.write(this.space(Pe)+be.value+this.endline(be))},Me.prototype.dtdAttList=function(be,Pe){return this.stream.write(this.space(Pe)+"<!ATTLIST "+be.elementName+" "+be.attributeName+" "+be.attributeType),be.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+be.defaultValueType),be.defaultValue&&this.stream.write(' "'+be.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(be))},Me.prototype.dtdElement=function(be,Pe){return this.stream.write(this.space(Pe)+"<!ELEMENT "+be.name+" "+be.value),this.stream.write(this.spacebeforeslash+">"+this.endline(be))},Me.prototype.dtdEntity=function(be,Pe){return this.stream.write(this.space(Pe)+"<!ENTITY"),be.pe&&this.stream.write(" %"),this.stream.write(" "+be.name),be.value?this.stream.write(' "'+be.value+'"'):(be.pubID&&be.sysID?this.stream.write(' PUBLIC "'+be.pubID+'" "'+be.sysID+'"'):be.sysID&&this.stream.write(' SYSTEM "'+be.sysID+'"'),be.nData&&this.stream.write(" NDATA "+be.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(be))},Me.prototype.dtdNotation=function(be,Pe){return this.stream.write(this.space(Pe)+"<!NOTATION "+be.name),be.pubID&&be.sysID?this.stream.write(' PUBLIC "'+be.pubID+'" "'+be.sysID+'"'):be.pubID?this.stream.write(' PUBLIC "'+be.pubID+'"'):be.sysID&&this.stream.write(' SYSTEM "'+be.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(be))},Me.prototype.endline=function(be){return be.isLastRootNode?"":this.newline},Me}(Ee)}).call(void 0)},{"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233,"./XMLWriterBase":234}],231:[function(oe,ye,De){"use strict";(function(){var de,ve,re,se,fe,E,te,ne,ge,we,xe,ue,Ee,Oe=function(Re,Me){function be(){this.constructor=Re}for(var Pe in Me)Ae.call(Me,Pe)&&(Re[Pe]=Me[Pe]);return be.prototype=Me.prototype,Re.prototype=new be,Re.__super__=Me.prototype,Re},Ae={}.hasOwnProperty;te=oe("./XMLDeclaration"),ne=oe("./XMLDocType"),de=oe("./XMLCData"),ve=oe("./XMLComment"),ge=oe("./XMLElement"),xe=oe("./XMLRaw"),ue=oe("./XMLText"),we=oe("./XMLProcessingInstruction"),re=oe("./XMLDTDAttList"),se=oe("./XMLDTDElement"),fe=oe("./XMLDTDEntity"),E=oe("./XMLDTDNotation"),Ee=oe("./XMLWriterBase"),ye.exports=function(Re){function Me(be){Me.__super__.constructor.call(this,be)}return Oe(Me,Re),Me.prototype.document=function(be){var Pe,Fe,_e,Te,Ke;for(this.textispresent=!1,Te="",Ke=be.children,Fe=0,_e=Ke.length;Fe<_e;Fe++)Pe=Ke[Fe],Te+=function(){switch(!1){case!(Pe instanceof te):return this.declaration(Pe);case!(Pe instanceof ne):return this.docType(Pe);case!(Pe instanceof ve):return this.comment(Pe);case!(Pe instanceof we):return this.processingInstruction(Pe);default:return this.element(Pe,0)}}.call(this);return this.pretty&&Te.slice(-this.newline.length)===this.newline&&(Te=Te.slice(0,-this.newline.length)),Te},Me.prototype.attribute=function(be){return" "+be.name+'="'+be.value+'"'},Me.prototype.cdata=function(be,Pe){return this.space(Pe)+"<![CDATA["+be.text+"]]>"+this.newline},Me.prototype.comment=function(be,Pe){return this.space(Pe)+"<!-- "+be.text+" -->"+this.newline},Me.prototype.declaration=function(be,Pe){var Fe;return Fe=this.space(Pe),Fe+='<?xml version="'+be.version+'"',be.encoding!=null&&(Fe+=' encoding="'+be.encoding+'"'),be.standalone!=null&&(Fe+=' standalone="'+be.standalone+'"'),Fe+=this.spacebeforeslash+"?>",Fe+=this.newline},Me.prototype.docType=function(be,Pe){var Fe,_e,Te,Ke,We;if(Pe||(Pe=0),Ke=this.space(Pe),Ke+="<!DOCTYPE "+be.root().name,be.pubID&&be.sysID?Ke+=' PUBLIC "'+be.pubID+'" "'+be.sysID+'"':be.sysID&&(Ke+=' SYSTEM "'+be.sysID+'"'),be.children.length>0){for(Ke+=" [",Ke+=this.newline,We=be.children,_e=0,Te=We.length;_e<Te;_e++)Fe=We[_e],Ke+=function(){switch(!1){case!(Fe instanceof re):return this.dtdAttList(Fe,Pe+1);case!(Fe instanceof se):return this.dtdElement(Fe,Pe+1);case!(Fe instanceof fe):return this.dtdEntity(Fe,Pe+1);case!(Fe instanceof E):return this.dtdNotation(Fe,Pe+1);case!(Fe instanceof de):return this.cdata(Fe,Pe+1);case!(Fe instanceof ve):return this.comment(Fe,Pe+1);case!(Fe instanceof we):return this.processingInstruction(Fe,Pe+1);default:throw new Error("Unknown DTD node type: "+Fe.constructor.name)}}.call(this);Ke+="]"}return Ke+=this.spacebeforeslash+">",Ke+=this.newline},Me.prototype.element=function(be,Pe){var Fe,_e,Te,Ke,We,Ne,Ye,Je,He,lt,ct,tt,Bt;Pe||(Pe=0),Bt=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),tt=this.space(Pe),Je="",Je+=tt+"<"+be.name,He=be.attributes;for(Ye in He)Ae.call(He,Ye)&&(Fe=He[Ye],Je+=this.attribute(Fe));if(be.children.length===0||be.children.every(function(nt){return nt.value===""}))this.allowEmpty?Je+="></"+be.name+">"+this.newline:Je+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&be.children.length===1&&be.children[0].value!=null)Je+=">",Je+=be.children[0].value,Je+="</"+be.name+">"+this.newline;else{if(this.dontprettytextnodes){for(lt=be.children,Te=0,We=lt.length;Te<We;Te++)if(_e=lt[Te],_e.value!=null){this.textispresent++,Bt=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,tt=this.space(Pe)),Je+=">"+this.newline,ct=be.children,Ke=0,Ne=ct.length;Ke<Ne;Ke++)_e=ct[Ke],Je+=function(){switch(!1){case!(_e instanceof de):return this.cdata(_e,Pe+1);case!(_e instanceof ve):return this.comment(_e,Pe+1);case!(_e instanceof ge):return this.element(_e,Pe+1);case!(_e instanceof xe):return this.raw(_e,Pe+1);case!(_e instanceof ue):return this.text(_e,Pe+1);case!(_e instanceof we):return this.processingInstruction(_e,Pe+1);default:throw new Error("Unknown XML node type: "+_e.constructor.name)}}.call(this);Bt&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),Je+=tt+"</"+be.name+">"+this.newline}return Je},Me.prototype.processingInstruction=function(be,Pe){var Fe;return Fe=this.space(Pe)+"<?"+be.target,be.value&&(Fe+=" "+be.value),Fe+=this.spacebeforeslash+"?>"+this.newline},Me.prototype.raw=function(be,Pe){return this.space(Pe)+be.value+this.newline},Me.prototype.text=function(be,Pe){return this.space(Pe)+be.value+this.newline},Me.prototype.dtdAttList=function(be,Pe){var Fe;return Fe=this.space(Pe)+"<!ATTLIST "+be.elementName+" "+be.attributeName+" "+be.attributeType,be.defaultValueType!=="#DEFAULT"&&(Fe+=" "+be.defaultValueType),be.defaultValue&&(Fe+=' "'+be.defaultValue+'"'),Fe+=this.spacebeforeslash+">"+this.newline},Me.prototype.dtdElement=function(be,Pe){return this.space(Pe)+"<!ELEMENT "+be.name+" "+be.value+this.spacebeforeslash+">"+this.newline},Me.prototype.dtdEntity=function(be,Pe){var Fe;return Fe=this.space(Pe)+"<!ENTITY",be.pe&&(Fe+=" %"),Fe+=" "+be.name,be.value?Fe+=' "'+be.value+'"':(be.pubID&&be.sysID?Fe+=' PUBLIC "'+be.pubID+'" "'+be.sysID+'"':be.sysID&&(Fe+=' SYSTEM "'+be.sysID+'"'),be.nData&&(Fe+=" NDATA "+be.nData)),Fe+=this.spacebeforeslash+">"+this.newline},Me.prototype.dtdNotation=function(be,Pe){var Fe;return Fe=this.space(Pe)+"<!NOTATION "+be.name,be.pubID&&be.sysID?Fe+=' PUBLIC "'+be.pubID+'" "'+be.sysID+'"':be.pubID?Fe+=' PUBLIC "'+be.pubID+'"':be.sysID&&(Fe+=' SYSTEM "'+be.sysID+'"'),Fe+=this.spacebeforeslash+">"+this.newline},Me.prototype.openNode=function(be,Pe){var Fe,_e,Te,Ke;if(Pe||(Pe=0),be instanceof ge){Te=this.space(Pe)+"<"+be.name,Ke=be.attributes;for(_e in Ke)Ae.call(Ke,_e)&&(Fe=Ke[_e],Te+=this.attribute(Fe));return Te+=(be.children?">":"/>")+this.newline}return Te=this.space(Pe)+"<!DOCTYPE "+be.rootNodeName,be.pubID&&be.sysID?Te+=' PUBLIC "'+be.pubID+'" "'+be.sysID+'"':be.sysID&&(Te+=' SYSTEM "'+be.sysID+'"'),Te+=(be.children?" [":">")+this.newline},Me.prototype.closeNode=function(be,Pe){switch(Pe||(Pe=0),!1){case!(be instanceof ge):return this.space(Pe)+"</"+be.name+">"+this.newline;case!(be instanceof ne):return this.space(Pe)+"]>"+this.newline}},Me}(Ee)}).call(void 0)},{"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233,"./XMLWriterBase":234}],232:[function(oe,ye,De){"use strict";(function(){var de=function(re,se){return function(){return re.apply(se,arguments)}},ve={}.hasOwnProperty;ye.exports=function(){function re(se){this.assertLegalChar=de(this.assertLegalChar,this);var fe,E,te;se||(se={}),this.noDoubleEncoding=se.noDoubleEncoding,E=se.stringify||{};for(fe in E)ve.call(E,fe)&&(te=E[fe],this[fe]=te)}return re.prototype.eleName=function(se){return se=""+se||"",this.assertLegalChar(se)},re.prototype.eleText=function(se){return se=""+se||"",this.assertLegalChar(this.elEscape(se))},re.prototype.cdata=function(se){return se=""+se||"",se=se.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(se)},re.prototype.comment=function(se){if(se=""+se||"",se.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+se);return this.assertLegalChar(se)},re.prototype.raw=function(se){return""+se||""},re.prototype.attName=function(se){return se=""+se||""},re.prototype.attValue=function(se){return se=""+se||"",this.attEscape(se)},re.prototype.insTarget=function(se){return""+se||""},re.prototype.insValue=function(se){if(se=""+se||"",se.match(/\?>/))throw new Error("Invalid processing instruction value: "+se);return se},re.prototype.xmlVersion=function(se){if(se=""+se||"",!se.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+se);return se},re.prototype.xmlEncoding=function(se){if(se=""+se||"",!se.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+se);return se},re.prototype.xmlStandalone=function(se){return se?"yes":"no"},re.prototype.dtdPubID=function(se){return""+se||""},re.prototype.dtdSysID=function(se){return""+se||""},re.prototype.dtdElementValue=function(se){return""+se||""},re.prototype.dtdAttType=function(se){return""+se||""},re.prototype.dtdAttDefault=function(se){return se!=null?""+se||"":se},re.prototype.dtdEntityValue=function(se){return""+se||""},re.prototype.dtdNData=function(se){return""+se||""},re.prototype.convertAttKey="@",re.prototype.convertPIKey="?",re.prototype.convertTextKey="#text",re.prototype.convertCDataKey="#cdata",re.prototype.convertCommentKey="#comment",re.prototype.convertRawKey="#raw",re.prototype.assertLegalChar=function(se){var fe;if(fe=se.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+se+" at index "+fe.index);return se},re.prototype.elEscape=function(se){var fe;return fe=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,se.replace(fe,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},re.prototype.attEscape=function(se){var fe;return fe=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,se.replace(fe,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},re}()}).call(void 0)},{}],233:[function(oe,ye,De){"use strict";var de=oe("babel-runtime/core-js/object/create"),ve=function(re){return re&&re.__esModule?re:{default:re}}(de);(function(){var re,se=function(E,te){function ne(){this.constructor=E}for(var ge in te)fe.call(te,ge)&&(E[ge]=te[ge]);return ne.prototype=te.prototype,E.prototype=new ne,E.__super__=te.prototype,E},fe={}.hasOwnProperty;re=oe("./XMLNode"),ye.exports=function(E){function te(ne,ge){if(te.__super__.constructor.call(this,ne),ge==null)throw new Error("Missing element text");this.value=this.stringify.eleText(ge)}return se(te,E),te.prototype.clone=function(){return(0,ve.default)(this)},te.prototype.toString=function(ne){return this.options.writer.set(ne).text(this)},te}(re)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],234:[function(oe,ye,De){"use strict";(function(){var de={}.hasOwnProperty;ye.exports=function(){function ve(re){var se,fe,E,te,ne,ge,we,xe,ue;re||(re={}),this.pretty=re.pretty||!1,this.allowEmpty=(fe=re.allowEmpty)!=null&&fe,this.pretty?(this.indent=(E=re.indent)!=null?E:" ",this.newline=(te=re.newline)!=null?te:`
|
|
|
`,this.offset=(ne=re.offset)!=null?ne:0,this.dontprettytextnodes=(ge=re.dontprettytextnodes)!=null?ge:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(we=re.spacebeforeslash)!=null?we:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,xe=re.writer||{};for(se in xe)de.call(xe,se)&&(ue=xe[se],this[se]=ue)}return ve.prototype.set=function(re){var se,fe,E;re||(re={}),"pretty"in re&&(this.pretty=re.pretty),"allowEmpty"in re&&(this.allowEmpty=re.allowEmpty),this.pretty?(this.indent="indent"in re?re.indent:" ",this.newline="newline"in re?re.newline:`
|
|
|
`,this.offset="offset"in re?re.offset:0,this.dontprettytextnodes="dontprettytextnodes"in re?re.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in re?re.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,fe=re.writer||{};for(se in fe)de.call(fe,se)&&(E=fe[se],this[se]=E);return this},ve.prototype.space=function(re){var se;return this.pretty?(se=(re||0)+this.offset+1,se>0?new Array(se).join(this.indent):""):""},ve}()}).call(void 0)},{}],235:[function(oe,ye,De){"use strict";(function(){var de,ve,re,se,fe,E,te;te=oe("./Utility"),fe=te.assign,E=te.isFunction,de=oe("./XMLDocument"),ve=oe("./XMLDocumentCB"),se=oe("./XMLStringWriter"),re=oe("./XMLStreamWriter"),ye.exports.create=function(ne,ge,we,xe){var ue,Ee;if(ne==null)throw new Error("Root element needs a name");return xe=fe({},ge,we,xe),ue=new de(xe),Ee=ue.element(ne),xe.headless||(ue.declaration(xe),xe.pubID==null&&xe.sysID==null||ue.doctype(xe)),Ee},ye.exports.begin=function(ne,ge,we){var xe;return E(ne)&&(xe=[ne,ge],ge=xe[0],we=xe[1],ne={}),ge?new ve(ne,ge,we):new de(ne)},ye.exports.stringWriter=function(ne){return new se(ne)},ye.exports.streamWriter=function(ne,ge){return new re(ne,ge)}}).call(void 0)},{"./Utility":214,"./XMLDocument":224,"./XMLDocumentCB":225,"./XMLStreamWriter":230,"./XMLStringWriter":231}],236:[function(oe,ye,De){function de(){for(var re={},se=0;se<arguments.length;se++){var fe=arguments[se];for(var E in fe)ve.call(fe,E)&&(re[E]=fe[E])}return re}ye.exports=de;var ve=Object.prototype.hasOwnProperty},{}],237:[function(oe,ye,De){"use strict";function de(xe,ue,Ee){se.isBuffer(ue)||(ue=new se(ue)),se.isBuffer(Ee)||(Ee=new se(Ee)),ue.length>ge?ue=xe(ue):ue.length<ge&&(ue=se.concat([ue,we],ge));for(var Oe=new se(ge),Ae=new se(ge),Re=0;Re<ge;Re++)Oe[Re]=54^ue[Re],Ae[Re]=92^ue[Re];var Me=xe(se.concat([Oe,Ee]));return xe(se.concat([Ae,Me]))}function ve(xe,ue){xe=xe||"sha1";var Ee=ne[xe],Oe=[],Ae=0;return Ee||re("algorithm:",xe,"is not yet supported"),{update:function(Re){return se.isBuffer(Re)||(Re=new se(Re)),Oe.push(Re),Ae+=Re.length,this},digest:function(Re){var Me=se.concat(Oe),be=ue?de(Ee,ue,Me):Ee(Me);return Oe=null,Re?be.toString(Re):be}}}function re(){var xe=[].slice.call(arguments).join(" ");throw new Error([xe,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}var se=oe("buffer").Buffer,fe=oe("./sha"),E=oe("./sha256"),te=oe("./md5"),ne={sha1:fe,sha256:E,md5:te},ge=64,we=new se(ge);we.fill(0),De.createHash=function(xe){return ve(xe)},De.createHmac=function(xe,ue){return ve(xe,ue)},function(xe,ue){for(var Ee in xe)ue(xe[Ee],Ee)}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],function(xe){De[xe]=function(){re("sorry,",xe,"is not implemented yet")}})},{"./md5":239,"./sha":240,"./sha256":241,buffer:38}],238:[function(oe,ye,De){"use strict";function de(ne,ge){if(ne.length%fe!=0){var we=ne.length+(fe-ne.length%fe);ne=se.concat([ne,E],we)}for(var xe=[],ue=ge?ne.readInt32BE:ne.readInt32LE,Ee=0;Ee<ne.length;Ee+=fe)xe.push(ue.call(ne,Ee));return xe}function ve(ne,ge,we){for(var xe=new se(ge),ue=we?xe.writeInt32BE:xe.writeInt32LE,Ee=0;Ee<ne.length;Ee++)ue.call(xe,ne[Ee],4*Ee,!0);return xe}function re(ne,ge,we,xe){return se.isBuffer(ne)||(ne=new se(ne)),ve(ge(de(ne,xe),ne.length*te),we,xe)}var se=oe("buffer").Buffer,fe=4,E=new se(fe);E.fill(0);var te=8;ye.exports={hash:re}},{buffer:38}],239:[function(oe,ye,De){"use strict";function de(we,xe){we[xe>>5]|=128<<xe%32,we[14+(xe+64>>>9<<4)]=xe;for(var ue=1732584193,Ee=-271733879,Oe=-1732584194,Ae=271733878,Re=0;Re<we.length;Re+=16){var Me=ue,be=Ee,Pe=Oe,Fe=Ae;ue=re(ue,Ee,Oe,Ae,we[Re+0],7,-680876936),Ae=re(Ae,ue,Ee,Oe,we[Re+1],12,-389564586),Oe=re(Oe,Ae,ue,Ee,we[Re+2],17,606105819),Ee=re(Ee,Oe,Ae,ue,we[Re+3],22,-1044525330),ue=re(ue,Ee,Oe,Ae,we[Re+4],7,-176418897),Ae=re(Ae,ue,Ee,Oe,we[Re+5],12,1200080426),Oe=re(Oe,Ae,ue,Ee,we[Re+6],17,-1473231341),Ee=re(Ee,Oe,Ae,ue,we[Re+7],22,-45705983),ue=re(ue,Ee,Oe,Ae,we[Re+8],7,1770035416),Ae=re(Ae,ue,Ee,Oe,we[Re+9],12,-1958414417),Oe=re(Oe,Ae,ue,Ee,we[Re+10],17,-42063),Ee=re(Ee,Oe,Ae,ue,we[Re+11],22,-1990404162),ue=re(ue,Ee,Oe,Ae,we[Re+12],7,1804603682),Ae=re(Ae,ue,Ee,Oe,we[Re+13],12,-40341101),Oe=re(Oe,Ae,ue,Ee,we[Re+14],17,-1502002290),Ee=re(Ee,Oe,Ae,ue,we[Re+15],22,1236535329),ue=se(ue,Ee,Oe,Ae,we[Re+1],5,-165796510),Ae=se(Ae,ue,Ee,Oe,we[Re+6],9,-1069501632),Oe=se(Oe,Ae,ue,Ee,we[Re+11],14,643717713),Ee=se(Ee,Oe,Ae,ue,we[Re+0],20,-373897302),ue=se(ue,Ee,Oe,Ae,we[Re+5],5,-701558691),Ae=se(Ae,ue,Ee,Oe,we[Re+10],9,38016083),Oe=se(Oe,Ae,ue,Ee,we[Re+15],14,-660478335),Ee=se(Ee,Oe,Ae,ue,we[Re+4],20,-405537848),ue=se(ue,Ee,Oe,Ae,we[Re+9],5,568446438),Ae=se(Ae,ue,Ee,Oe,we[Re+14],9,-1019803690),Oe=se(Oe,Ae,ue,Ee,we[Re+3],14,-187363961),Ee=se(Ee,Oe,Ae,ue,we[Re+8],20,1163531501),ue=se(ue,Ee,Oe,Ae,we[Re+13],5,-1444681467),Ae=se(Ae,ue,Ee,Oe,we[Re+2],9,-51403784),Oe=se(Oe,Ae,ue,Ee,we[Re+7],14,1735328473),Ee=se(Ee,Oe,Ae,ue,we[Re+12],20,-1926607734),ue=fe(ue,Ee,Oe,Ae,we[Re+5],4,-378558),Ae=fe(Ae,ue,Ee,Oe,we[Re+8],11,-2022574463),Oe=fe(Oe,Ae,ue,Ee,we[Re+11],16,1839030562),Ee=fe(Ee,Oe,Ae,ue,we[Re+14],23,-35309556),ue=fe(ue,Ee,Oe,Ae,we[Re+1],4,-1530992060),Ae=fe(Ae,ue,Ee,Oe,we[Re+4],11,1272893353),Oe=fe(Oe,Ae,ue,Ee,we[Re+7],16,-155497632),Ee=fe(Ee,Oe,Ae,ue,we[Re+10],23,-1094730640),ue=fe(ue,Ee,Oe,Ae,we[Re+13],4,681279174),Ae=fe(Ae,ue,Ee,Oe,we[Re+0],11,-358537222),Oe=fe(Oe,Ae,ue,Ee,we[Re+3],16,-722521979),Ee=fe(Ee,Oe,Ae,ue,we[Re+6],23,76029189),ue=fe(ue,Ee,Oe,Ae,we[Re+9],4,-640364487),Ae=fe(Ae,ue,Ee,Oe,we[Re+12],11,-421815835),Oe=fe(Oe,Ae,ue,Ee,we[Re+15],16,530742520),Ee=fe(Ee,Oe,Ae,ue,we[Re+2],23,-995338651),ue=E(ue,Ee,Oe,Ae,we[Re+0],6,-198630844),Ae=E(Ae,ue,Ee,Oe,we[Re+7],10,1126891415),Oe=E(Oe,Ae,ue,Ee,we[Re+14],15,-1416354905),Ee=E(Ee,Oe,Ae,ue,we[Re+5],21,-57434055),ue=E(ue,Ee,Oe,Ae,we[Re+12],6,1700485571),Ae=E(Ae,ue,Ee,Oe,we[Re+3],10,-1894986606),Oe=E(Oe,Ae,ue,Ee,we[Re+10],15,-1051523),Ee=E(Ee,Oe,Ae,ue,we[Re+1],21,-2054922799),ue=E(ue,Ee,Oe,Ae,we[Re+8],6,1873313359),Ae=E(Ae,ue,Ee,Oe,we[Re+15],10,-30611744),Oe=E(Oe,Ae,ue,Ee,we[Re+6],15,-1560198380),Ee=E(Ee,Oe,Ae,ue,we[Re+13],21,1309151649),ue=E(ue,Ee,Oe,Ae,we[Re+4],6,-145523070),Ae=E(Ae,ue,Ee,Oe,we[Re+11],10,-1120210379),Oe=E(Oe,Ae,ue,Ee,we[Re+2],15,718787259),Ee=E(Ee,Oe,Ae,ue,we[Re+9],21,-343485551),ue=te(ue,Me),Ee=te(Ee,be),Oe=te(Oe,Pe),Ae=te(Ae,Fe)}return Array(ue,Ee,Oe,Ae)}function ve(we,xe,ue,Ee,Oe,Ae){return te(ne(te(te(xe,we),te(Ee,Ae)),Oe),ue)}function re(we,xe,ue,Ee,Oe,Ae,Re){return ve(xe&ue|~xe&Ee,we,xe,Oe,Ae,Re)}function se(we,xe,ue,Ee,Oe,Ae,Re){return ve(xe&Ee|ue&~Ee,we,xe,Oe,Ae,Re)}function fe(we,xe,ue,Ee,Oe,Ae,Re){return ve(xe^ue^Ee,we,xe,Oe,Ae,Re)}function E(we,xe,ue,Ee,Oe,Ae,Re){return ve(ue^(xe|~Ee),we,xe,Oe,Ae,Re)}function te(we,xe){var ue=(65535&we)+(65535&xe);return(we>>16)+(xe>>16)+(ue>>16)<<16|65535&ue}function ne(we,xe){return we<<xe|we>>>32-xe}var ge=oe("./helpers");ye.exports=function(we){return ge.hash(we,de,16)}},{"./helpers":238}],240:[function(oe,ye,De){"use strict";function de(te,ne){te[ne>>5]|=128<<24-ne%32,te[15+(ne+64>>9<<4)]=ne;for(var ge=Array(80),we=1732584193,xe=-271733879,ue=-1732584194,Ee=271733878,Oe=-1009589776,Ae=0;Ae<te.length;Ae+=16){for(var Re=we,Me=xe,be=ue,Pe=Ee,Fe=Oe,_e=0;_e<80;_e++){ge[_e]=_e<16?te[Ae+_e]:fe(ge[_e-3]^ge[_e-8]^ge[_e-14]^ge[_e-16],1);var Te=se(se(fe(we,5),ve(_e,xe,ue,Ee)),se(se(Oe,ge[_e]),re(_e)));Oe=Ee,Ee=ue,ue=fe(xe,30),xe=we,we=Te}we=se(we,Re),xe=se(xe,Me),ue=se(ue,be),Ee=se(Ee,Pe),Oe=se(Oe,Fe)}return Array(we,xe,ue,Ee,Oe)}function ve(te,ne,ge,we){return te<20?ne&ge|~ne&we:te<40?ne^ge^we:te<60?ne&ge|ne&we|ge&we:ne^ge^we}function re(te){return te<20?1518500249:te<40?1859775393:te<60?-1894007588:-899497514}function se(te,ne){var ge=(65535&te)+(65535&ne);return(te>>16)+(ne>>16)+(ge>>16)<<16|65535&ge}function fe(te,ne){return te<<ne|te>>>32-ne}var E=oe("./helpers");ye.exports=function(te){return E.hash(te,de,20,!0)}},{"./helpers":238}],241:[function(oe,ye,De){"use strict";var de=oe("./helpers"),ve=function(ue,Ee){var Oe=(65535&ue)+(65535&Ee);return(ue>>16)+(Ee>>16)+(Oe>>16)<<16|65535&Oe},re=function(ue,Ee){return ue>>>Ee|ue<<32-Ee},se=function(ue,Ee){return ue>>>Ee},fe=function(ue,Ee,Oe){return ue&Ee^~ue&Oe},E=function(ue,Ee,Oe){return ue&Ee^ue&Oe^Ee&Oe},te=function(ue){return re(ue,2)^re(ue,13)^re(ue,22)},ne=function(ue){return re(ue,6)^re(ue,11)^re(ue,25)},ge=function(ue){return re(ue,7)^re(ue,18)^se(ue,3)},we=function(ue){return re(ue,17)^re(ue,19)^se(ue,10)},xe=function(ue,Ee){var Oe,Ae,Re,Me,be,Pe,Fe,_e,Te,Ke,We,Ne,Ye=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),Je=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),He=new Array(64);ue[Ee>>5]|=128<<24-Ee%32,ue[15+(Ee+64>>9<<4)]=Ee;for(var Te=0;Te<ue.length;Te+=16){Oe=Je[0],Ae=Je[1],Re=Je[2],Me=Je[3],be=Je[4],Pe=Je[5],Fe=Je[6],_e=Je[7];for(var Ke=0;Ke<64;Ke++)He[Ke]=Ke<16?ue[Ke+Te]:ve(ve(ve(we(He[Ke-2]),He[Ke-7]),ge(He[Ke-15])),He[Ke-16]),We=ve(ve(ve(ve(_e,ne(be)),fe(be,Pe,Fe)),Ye[Ke]),He[Ke]),Ne=ve(te(Oe),E(Oe,Ae,Re)),_e=Fe,Fe=Pe,Pe=be,be=ve(Me,We),Me=Re,Re=Ae,Ae=Oe,Oe=ve(We,Ne);Je[0]=ve(Oe,Je[0]),Je[1]=ve(Ae,Je[1]),Je[2]=ve(Re,Je[2]),Je[3]=ve(Me,Je[3]),Je[4]=ve(be,Je[4]),Je[5]=ve(Pe,Je[5]),Je[6]=ve(Fe,Je[6]),Je[7]=ve(_e,Je[7])}return Je};ye.exports=function(ue){return de.hash(ue,xe,32,!0)}},{"./helpers":238}],242:[function(oe,ye,De){(function(de){"use strict";function ve(xe){return xe&&xe.__esModule?xe:{default:xe}}var re=oe("babel-runtime/core-js/object/create"),se=ve(re),fe=oe("babel-runtime/helpers/classCallCheck"),E=ve(fe),te=oe("babel-runtime/helpers/createClass"),ne=ve(te),ge=oe("babel-runtime/helpers/typeof"),we=ve(ge);(function(xe){if((De===void 0?"undefined":(0,we.default)(De))==="object"&&ye!==void 0)ye.exports=xe();else if(typeof b=="function"&&b.amd)b([],xe);else{var ue;ue=typeof window!="undefined"?window:de!==void 0?de:typeof self!="undefined"?self:this,ue.mime=xe()}})(function(){return function xe(ue,Ee,Oe){function Ae(be,Pe){if(!Ee[be]){if(!ue[be]){var Fe=typeof oe=="function"&&oe;if(!Pe&&Fe)return Fe(be,!0);if(Re)return Re(be,!0);var _e=new Error("Cannot find module '"+be+"'");throw _e.code="MODULE_NOT_FOUND",_e}var Te=Ee[be]={exports:{}};ue[be][0].call(Te.exports,function(Ke){var We=ue[be][1][Ke];return Ae(We||Ke)},Te,Te.exports,xe,ue,Ee,Oe)}return Ee[be].exports}for(var Re=typeof oe=="function"&&oe,Me=0;Me<Oe.length;Me++)Ae(Oe[Me]);return Ae}({1:[function(xe,ue,Ee){var Oe=function(){function Ae(){(0,E.default)(this,Ae),this._types=(0,se.default)(null),this._extensions=(0,se.default)(null);for(var Re=0;Re<arguments.length;Re++)this.define(arguments[Re])}return(0,ne.default)(Ae,[{key:"define",value:function(Re,Me){for(var be in Re){for(var Pe=Re[be],Fe=0;Fe<Pe.length;Fe++){var _e=Pe[Fe];if(!Me&&_e in this._types)throw new Error('Attempt to change mapping for "'+_e+'" extension from "'+this._types[_e]+'" to "'+be+'". Pass `force=true` to allow this, otherwise remove "'+_e+'" from the list of extensions for "'+be+'".');this._types[_e]=be}!Me&&this._extensions[be]||(this._extensions[be]=Pe[0])}}},{key:"getType",value:function(Re){Re=String(Re);var Me=Re.replace(/^.*[\/\\]/,"").toLowerCase(),be=Me.replace(/^.*\./,"").toLowerCase(),Pe=Me.length<Re.length;return(be.length<Me.length-1||!Pe)&&this._types[be]||null}},{key:"getExtension",value:function(Re){return(Re=/^\s*([^;\s]*)/.test(Re)&&RegExp.$1)&&this._extensions[Re.toLowerCase()]||null}}]),Ae}();ue.exports=Oe},{}],2:[function(xe,ue,Ee){var Oe=xe("./Mime");ue.exports=new Oe(xe("./types/standard"),xe("./types/other"))},{"./Mime":1,"./types/other":3,"./types/standard":4}],3:[function(xe,ue,Ee){ue.exports={"application/prs.cww":["cww"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-otf":[],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-ttf":["ttf","ttc"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}},{}],4:[function(xe,ue,Ee){ue.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"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":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":["woff"],"application/font-woff2":["woff2"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"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/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/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"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/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/pskc+xml":["pskcxml"],"application/rdf+xml":["rdf"],"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/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/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"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/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/voicexml+xml":["vxml"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/xm":["xm"],"font/otf":["otf"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jpeg":["jpeg","jpg","jpe"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/webp":["webp"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"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":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"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"]}},{}]},{},[2])(2)})}).call(this,typeof ae.g!="undefined"?ae.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"babel-runtime/core-js/object/create":19,"babel-runtime/helpers/classCallCheck":30,"babel-runtime/helpers/createClass":31,"babel-runtime/helpers/typeof":32}],243:[function(oe,ye,De){"use strict";De.encodeURIComponent=function(de){try{return encodeURIComponent(de)}catch(ve){return de}},De.escape=oe("escape-html"),De.timestamp=function(de){if(de){var ve=de;return typeof ve=="string"&&(ve=Number(ve)),String(de).length===10&&(ve*=1e3),new Date(ve)}return Math.round(Date.now()/1e3)}},{"escape-html":157}],244:[function(oe,ye,De){(function(de,ve){"use strict";function re(_e){return _e&&_e.__esModule?_e:{default:_e}}function se(_e,Te){return _e===void 0?Te:_e}function fe(_e,Te){return function(Ke,We,Ne){if(Ke)return Te(Ke);_e({data:We,status:Ne.statusCode,headers:Ne.headers,res:Ne})}}var E,te=oe("babel-runtime/core-js/json/stringify"),ne=re(te),ge=oe("babel-runtime/helpers/typeof"),we=re(ge),xe=oe("util"),ue=oe("url"),Ee=oe("http"),Oe=oe("https"),Ae=oe("debug")("urllib"),Re=oe("humanize-ms"),Me=0,be=Math.pow(2,31)-10,Pe=/^https?:\/\//i;De.TIMEOUTS=[Re("300s"),Re("300s")];var Fe=["json","text"];De.request=function(_e,Te,Ke){return arguments.length===2&&typeof Te=="function"&&(Ke=Te,Te=null),typeof Ke=="function"?De.requestWithCallback(_e,Te,Ke):(E||(E=oe("any-promise")),new E(function(We,Ne){De.requestWithCallback(_e,Te,fe(We,Ne))}))},De.requestWithCallback=function(_e,Te,Ke){function We(){Ie&&(clearTimeout(Ie),Ie=null)}function Ne(){pe&&(clearTimeout(pe),pe=null)}function Ye(Lt,qt,Wt){if(Ne(),!Ke)return console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),nt,de.pid,dt.method,_e),void(Lt&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),nt,de.pid,Lt.name,Lt.message,Lt.stack));var Dt=Ke;Ke=null;var zt={};if(Wt&&(Be=Wt.statusCode,zt=Wt.headers),Be===401&&zt["www-authenticate"]&&(!Te.headers||!Te.headers.Authorization)&&Te.digestAuth){var un=zt["www-authenticate"];if(un.indexOf("Digest ")>=0)return Ae("Request#%d %s: got digest auth header WWW-Authenticate: %s",nt,_e,un),Te.headers=Te.headers||{},Te.headers.Authorization=digestAuthHeader(dt.method,dt.path,un,Te.digestAuth),Ae("Request#%d %s: auth with digest header: %s",nt,_e,Te.headers.Authorization),Wt.headers["set-cookie"]&&(Te.headers.Cookie=Wt.headers["set-cookie"].join(";")),De.requestWithCallback(_e,Te,Dt)}var mn=Date.now()-$e;at&&(at.contentDownload=mn),Ae("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",mn,Se,Be,dt.method,dt.host,dt.path,Le,at);var Et={status:Be,statusCode:Be,headers:zt,size:Se,aborted:Qe,rt:mn,keepAliveSocket:Le,data:qt,requestUrls:Te.requestUrls,timing:at,remoteAddress:it,remotePort:ot};if(Lt){var Ht="";st&&typeof st.getCurrentStatus=="function"&&(Ht=", agent status: "+(0,ne.default)(st.getCurrentStatus())),Lt.message+=", "+dt.method+" "+_e+" "+Be+" (connected: "+me+", keepalive socket: "+Le+Ht+`)
|
|
|
headers: `+(0,ne.default)(zt),Lt.data=qt,Lt.path=dt.path,Lt.status=Be,Lt.headers=zt,Lt.res=Et}Dt(Lt,qt,Te.streaming?Wt:Et),Te.emitter&&(Ue.url=_e,Ue.socket=nn&&nn.connection,Ue.options=dt,Ue.size=ke,Te.emitter.emit("response",{requestId:nt,error:Lt,ctx:Te.ctx,req:Ue,res:Et}))}function Je(Lt){var qt=null;if(Te.followRedirect&&statuses.redirect[Lt.statusCode]){Te._followRedirectCount=(Te._followRedirectCount||0)+1;var Wt=Lt.headers.location;if(Wt){if(!(Te._followRedirectCount>Te.maxRedirects)){var Dt=Te.formatRedirectUrl?Te.formatRedirectUrl(_e,Wt):ue.resolve(_e,Wt);Ae("Request#%d %s: `redirected` from %s to %s",nt,dt.path,_e,Dt),Ne(),Te.headers&&Te.headers.Host&&Pe.test(Wt)&&(Te.headers.Host=null);var zt=Ke;return Ke=null,De.requestWithCallback(Dt,Te,zt),{redirect:!0,error:null}}qt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+_e),qt.name="MaxRedirectError"}else qt=new Error("Got statusCode "+Lt.statusCode+" but cannot resolve next location from headers"),qt.name="FollowRedirectError"}return{redirect:!1,error:qt}}function He(Lt,qt,Wt){return Wt(null,qt,Lt.headers["content-encoding"])}function lt(Lt){if(at&&(at.waiting=Date.now()-$e),Ae("Request#%d %s `req response` event emit: status %d, headers: %j",nt,_e,Lt.statusCode,Lt.headers),Te.streaming){var qt=Je(Lt);return qt.redirect?void Lt.resume():qt.error?(Lt.resume(),Ye(qt.error,null,Lt)):Ye(null,null,Lt)}if(Lt.on("close",function(){Ae("Request#%d %s: `res close` event emit, total size %d",nt,_e,Se)}),Lt.on("error",function(){Ae("Request#%d %s: `res error` event emit, total size %d",nt,_e,Se)}),Lt.on("aborted",function(){Qe=!0,Ae("Request#%d %s: `res aborted` event emit, total size %d",nt,_e,Se)}),Rt){var qt=Je(Lt);return qt.redirect?void Lt.resume():qt.error?(Lt.resume(),Rt.end(),Ye(qt.error,null,Lt)):(Te.consumeWriteStream===!1?Lt.on("end",Ye.bind(null,null,null,Lt)):isNode010||isNode012?first([[Rt,"close"],[Lt,"aborted"]],function(zt,un,mn){Ae("Request#%d %s: writeStream or res %s event emitted",nt,_e,mn),Ye(x||null,null,Lt)}):Rt.on("close",function(){Ae("Request#%d %s: writeStream close event emitted",nt,_e),Ye(x||null,null,Lt)}),Lt.pipe(Rt))}var Wt=[];Lt.on("data",function(Dt){Ae("Request#%d %s: `res data` event emit, size %d",nt,_e,Dt.length),Se+=Dt.length,Wt.push(Dt)}),Lt.on("end",function(){var Dt=ve.concat(Wt,Se);if(Ae("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",nt,_e,Se,Lt._dumped),x)return Ye(x,Dt,Lt);var zt=Je(Lt);if(zt.error)return Ye(zt.error,Dt,Lt);zt.redirect||He(Lt,Dt,function(un,mn,Et){if(un)return Ye(un,Dt,Lt);if(!Et&&Fe.indexOf(Te.dataType)>=0){try{mn=decodeBodyByCharset(mn,Lt)}catch(Jt){return Ae("decodeBodyByCharset error: %s",Jt),Ye(null,mn,Lt)}if(Te.dataType==="json")if(Se===0)mn=null;else{var Ht=parseJSON(mn,Nt);Ht.error?un=Ht.error:mn=Ht.data}}Qe&&Ae("Request#%d %s: Remote socket was terminated before `response.end()` was called",nt,_e),Ye(un,mn,Lt)})})}function ct(){Ae("Response timer ticking, timeout: %d",rn),pe=setTimeout(function(){pe=null;var Lt="Response timeout for "+rn+"ms";x=new Error(Lt),x.name="ResponseTimeoutError",x.requestId=nt,Ae("ResponseTimeout: Request#%d %s %s: %s, connected: %s",nt,_e,x.name,Lt,me),tt()},rn)}function tt(){Ae("Request#%d %s abort, connected: %s",nt,_e,me),nn.socket||(x.noSocket=!0,Ye(x)),nn.abort()}if(!_e||typeof _e!="string"&&(_e===void 0?"undefined":(0,we.default)(_e))!=="object"){var Bt=xe.format("expect request url to be a string or a http request options, but got %j",_e);throw new Error(Bt)}arguments.length===2&&typeof Te=="function"&&(Ke=Te,Te=null),Te=Te||{},Me>=be&&(Me=0);var nt=++Me;Te.requestUrls=Te.requestUrls||[];var Ue={requestId:nt,url:_e,args:Te,ctx:Te.ctx};Te.emitter&&Te.emitter.emit("request",Ue),Te.timeout=Te.timeout||De.TIMEOUTS,Te.maxRedirects=Te.maxRedirects||10,Te.streaming=Te.streaming||Te.customResponse;var Xe,$e=Date.now();typeof _e=="string"?(Pe.test(_e)||(_e="http://"+_e),Xe=ue.parse(_e)):Xe=_e;var qe=(Te.type||Te.method||Xe.method||"GET").toUpperCase(),Ve=Xe.port||80,ht=Ee,st=se(Te.agent,De.agent),Nt=Te.fixJSONCtlChars;Xe.protocol==="https:"&&(ht=Oe,st=se(Te.httpsAgent,De.httpsAgent),Xe.port||(Ve=443));var dt={host:Xe.hostname||Xe.host||"localhost",path:Xe.path||"/",method:qe,port:Ve,agent:st,headers:Te.headers||{},lookup:Te.lookup};Array.isArray(Te.timeout)?dt.requestTimeout=Te.timeout[Te.timeout.length-1]:Te.timeout!==void 0&&(dt.requestTimeout=Te.timeout);for(var Tt=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],bt=0;bt<Tt.length;bt++){var Ct=Tt[bt];Te.hasOwnProperty(Ct)&&(dt[Ct]=Te[Ct])}dt.rejectUnauthorized!==!1||dt.hasOwnProperty("secureOptions")||(dt.secureOptions=oe("constants").SSL_OP_NO_TLSv1_2);var gt=Te.auth||Xe.auth;gt&&(dt.auth=gt);var je=Te.content||Te.data,le=qe==="GET"||qe==="HEAD"||Te.dataAsQueryString;if(!Te.content&&je&&typeof je!="string"&&!ve.isBuffer(je))if(le)je=Te.nestedQuerystring?qs.stringify(je):querystring.stringify(je);else{var ie=dt.headers["Content-Type"]||dt.headers["content-type"];ie||(ie=Te.contentType==="json"?"application/json":"application/x-www-form-urlencoded",dt.headers["Content-Type"]=ie),je=parseContentType(ie).type==="application/json"?(0,ne.default)(je):Te.nestedQuerystring?qs.stringify(je):querystring.stringify(je)}le&&je&&(dt.path+=(Xe.query?"&":"?")+je,je=null);var ke=0;if(je){var Ge=je.length;ve.isBuffer(je)||(Ge=ve.byteLength(je)),ke=dt.headers["Content-Length"]=Ge}Te.dataType==="json"&&(dt.headers.Accept="application/json"),typeof Te.beforeRequest=="function"&&Te.beforeRequest(dt);var Ie=null,pe=null,x=null,me=!1,Le=!1,Se=0,Be=-1,Qe=!1,it="",ot="",at=null;Te.timing&&(at={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0}),dt.headers["User-Agent"]||dt.headers["user-agent"]||(dt.headers["User-Agent"]=navigator.userAgent),Te.gzip&&(dt.headers["Accept-Encoding"]||dt.headers["accept-encoding"]||(dt.headers["Accept-Encoding"]="gzip"));var Rt=Te.writeStream;Ae("Request#%d %s %s with headers %j, options.path: %s",nt,qe,_e,dt.headers,dt.path),Te.requestUrls.push(_e);var Ft,rn;Array.isArray(Te.timeout)?(Ft=Re(Te.timeout[0]),rn=Re(Te.timeout[1])):Ft=rn=Re(Te.timeout),Ae("ConnectTimeout: %d, ResponseTimeout: %d",Ft,rn);var nn;try{nn=ht.request(dt,lt)}catch(Lt){return Ye(Lt)}return typeof window=="undefined"?function(){Ae("Connect timer ticking, timeout: %d",Ft),Ie=setTimeout(function(){Ie=null,Be===-1&&(Be=-2);var Lt="Connect timeout for "+Ft+"ms",qt="ConnectionTimeoutError";nn.socket||(qt="SocketAssignTimeoutError",Lt+=", working sockets is full"),x=new Error(Lt),x.name=qt,x.requestId=nt,Ae("ConnectTimeout: Request#%d %s %s: %s, connected: %s",nt,_e,x.name,Lt,me),tt()},Ft)}():nn.on("requestTimeout",function(){Be===-1&&(Be=-2);var Lt="Connect timeout for "+Ft+"ms";x=new Error(Lt),x.name="ConnectionTimeoutError",x.requestId=nt,tt()}),at&&nn.on("finish",function(){at.requestSent=Date.now()-$e}),nn.once("socket",function(Lt){at&&(at.queuing=Date.now()-$e),isNode010&&Lt.socket&&(Lt=Lt.socket);var qt=Lt.readyState;if(qt==="opening")return Lt.once("lookup",function(Wt,Dt,zt){Ae("Request#%d %s lookup: %s, %s, %s",nt,_e,Wt,Dt,zt),at&&(at.dnslookup=Date.now()-$e),Dt&&(it=Dt)}),void Lt.once("connect",function(){at&&(at.connected=Date.now()-$e),We(),ct(),Ae("Request#%d %s new socket connected",nt,_e),me=!0,it||(it=Lt.remoteAddress),ot=Lt.remotePort});Ae("Request#%d %s reuse socket connected, readyState: %s",nt,_e,qt),me=!0,Le=!0,it||(it=Lt.remoteAddress),ot=Lt.remotePort,We(),ct()}),nn.on("error",function(Lt){Lt.name!=="Error"&&Lt.name!=="TypeError"||(Lt.name=me?"ResponseError":"RequestError"),Lt.message+=' (req "error")',Ae("Request#%d %s `req error` event emit, %s: %s",nt,_e,Lt.name,Lt.message),Ye(x||Lt)}),Rt&&Rt.once("error",function(Lt){Lt.message+=' (writeStream "error")',x=Lt,Ae("Request#%d %s `writeStream error` event emit, %s: %s",nt,_e,Lt.name,Lt.message),tt()}),Te.stream?(Te.stream.pipe(nn),Te.stream.once("error",function(Lt){Lt.message+=' (stream "error")',x=Lt,Ae("Request#%d %s `readStream error` event emit, %s: %s",nt,_e,Lt.name,Lt.message),tt()})):nn.end(je),nn.requestId=nt,nn}}).call(this,oe("_process"),oe("buffer").Buffer)},{_process:173,"any-promise":13,"babel-runtime/core-js/json/stringify":17,"babel-runtime/helpers/typeof":32,buffer:38,constants:42,debug:155,http:196,https:159,"humanize-ms":160,url:203,util:207}]},{},[1])(1)}),function(b){function oe(De){if(ye[De])return ye[De].exports;var de=ye[De]={i:De,l:!1,exports:{}};return b[De].call(de.exports,de,de.exports,oe),de.l=!0,de.exports}var ye={};oe.m=b,oe.c=ye,oe.d=function(De,de,ve){oe.o(De,de)||Object.defineProperty(De,de,{configurable:!1,enumerable:!0,get:ve})},oe.n=function(De){var de=De&&De.__esModule?function(){return De.default}:function(){return De};return oe.d(de,"a",de),de},oe.o=function(De,de){return Object.prototype.hasOwnProperty.call(De,de)},oe.p="",oe(oe.s=12)}([function(b,oe,ye){(function(De,de){b.exports=oe=de()})(0,function(){var De=De||function(de,ve){var re=Object.create||function(){function Oe(){}return function(Ae){var Re;return Oe.prototype=Ae,Re=new Oe,Oe.prototype=null,Re}}(),se={},fe=se.lib={},E=fe.Base=function(){return{extend:function(Oe){var Ae=re(this);return Oe&&Ae.mixIn(Oe),Ae.hasOwnProperty("init")&&this.init!==Ae.init||(Ae.init=function(){Ae.$super.init.apply(this,arguments)}),Ae.init.prototype=Ae,Ae.$super=this,Ae},create:function(){var Oe=this.extend();return Oe.init.apply(Oe,arguments),Oe},init:function(){},mixIn:function(Oe){for(var Ae in Oe)Oe.hasOwnProperty(Ae)&&(this[Ae]=Oe[Ae]);Oe.hasOwnProperty("toString")&&(this.toString=Oe.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),te=fe.WordArray=E.extend({init:function(Oe,Ae){Oe=this.words=Oe||[],this.sigBytes=Ae!=null?Ae:4*Oe.length},toString:function(Oe){return(Oe||ge).stringify(this)},concat:function(Oe){var Ae=this.words,Re=Oe.words,Me=this.sigBytes,be=Oe.sigBytes;if(this.clamp(),Me%4)for(var Pe=0;Pe<be;Pe++){var Fe=Re[Pe>>>2]>>>24-Pe%4*8&255;Ae[Me+Pe>>>2]|=Fe<<24-(Me+Pe)%4*8}else for(var Pe=0;Pe<be;Pe+=4)Ae[Me+Pe>>>2]=Re[Pe>>>2];return this.sigBytes+=be,this},clamp:function(){var Oe=this.words,Ae=this.sigBytes;Oe[Ae>>>2]&=4294967295<<32-Ae%4*8,Oe.length=de.ceil(Ae/4)},clone:function(){var Oe=E.clone.call(this);return Oe.words=this.words.slice(0),Oe},random:function(Oe){for(var Ae,Re=[],Me=0;Me<Oe;Me+=4){var be=function(Fe){var Fe=Fe,_e=987654321,Te=4294967295;return function(){_e=36969*(65535&_e)+(_e>>16)&Te,Fe=18e3*(65535&Fe)+(Fe>>16)&Te;var Ke=(_e<<16)+Fe&Te;return Ke/=4294967296,(Ke+=.5)*(de.random()>.5?1:-1)}}(4294967296*(Ae||de.random()));Ae=987654071*be(),Re.push(4294967296*be()|0)}return new te.init(Re,Oe)}}),ne=se.enc={},ge=ne.Hex={stringify:function(Oe){for(var Ae=Oe.words,Re=Oe.sigBytes,Me=[],be=0;be<Re;be++){var Pe=Ae[be>>>2]>>>24-be%4*8&255;Me.push((Pe>>>4).toString(16)),Me.push((15&Pe).toString(16))}return Me.join("")},parse:function(Oe){for(var Ae=Oe.length,Re=[],Me=0;Me<Ae;Me+=2)Re[Me>>>3]|=parseInt(Oe.substr(Me,2),16)<<24-Me%8*4;return new te.init(Re,Ae/2)}},we=ne.Latin1={stringify:function(Oe){for(var Ae=Oe.words,Re=Oe.sigBytes,Me=[],be=0;be<Re;be++){var Pe=Ae[be>>>2]>>>24-be%4*8&255;Me.push(String.fromCharCode(Pe))}return Me.join("")},parse:function(Oe){for(var Ae=Oe.length,Re=[],Me=0;Me<Ae;Me++)Re[Me>>>2]|=(255&Oe.charCodeAt(Me))<<24-Me%4*8;return new te.init(Re,Ae)}},xe=ne.Utf8={stringify:function(Oe){try{return decodeURIComponent(escape(we.stringify(Oe)))}catch(Ae){throw new Error("Malformed UTF-8 data")}},parse:function(Oe){return we.parse(unescape(encodeURIComponent(Oe)))}},ue=fe.BufferedBlockAlgorithm=E.extend({reset:function(){this._data=new te.init,this._nDataBytes=0},_append:function(Oe){typeof Oe=="string"&&(Oe=xe.parse(Oe)),this._data.concat(Oe),this._nDataBytes+=Oe.sigBytes},_process:function(Oe){var Ae=this._data,Re=Ae.words,Me=Ae.sigBytes,be=this.blockSize,Pe=4*be,Fe=Me/Pe;Fe=Oe?de.ceil(Fe):de.max((0|Fe)-this._minBufferSize,0);var _e=Fe*be,Te=de.min(4*_e,Me);if(_e){for(var Ke=0;Ke<_e;Ke+=be)this._doProcessBlock(Re,Ke);var We=Re.splice(0,_e);Ae.sigBytes-=Te}return new te.init(We,Te)},clone:function(){var Oe=E.clone.call(this);return Oe._data=this._data.clone(),Oe},_minBufferSize:0}),Ee=(fe.Hasher=ue.extend({cfg:E.extend(),init:function(Oe){this.cfg=this.cfg.extend(Oe),this.reset()},reset:function(){ue.reset.call(this),this._doReset()},update:function(Oe){return this._append(Oe),this._process(),this},finalize:function(Oe){return Oe&&this._append(Oe),this._doFinalize()},blockSize:16,_createHelper:function(Oe){return function(Ae,Re){return new Oe.init(Re).finalize(Ae)}},_createHmacHelper:function(Oe){return function(Ae,Re){return new Ee.HMAC.init(Oe,Re).finalize(Ae)}}}),se.algo={});return se}(Math);return De})},function(b,oe,ye){"use strict";function De(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){De(this,re)}return de(re,null,[{key:"detectIEVersion",value:function(){for(var se=4,fe=document.createElement("div"),E=fe.getElementsByTagName("i");fe.innerHTML="<!--[if gt IE "+se+"]><i></i><![endif]-->",E[0];)se++;return se>4&&se}},{key:"extend",value:function(se,fe){for(var E in fe)Object.prototype.hasOwnProperty.call(fe,E)&&fe[E]&&(se[E]=fe[E])}},{key:"isArray",value:function(se){return Object.prototype.toString.call(arg)==="[object Array]"}},{key:"getFileType",value:function(se){return se=se.toLowerCase(),/.mp4|.flv|.m3u8|.avi|.rm|.rmvb|.mpeg|.mpg|.mov|.wmv|.3gp|.asf|.dat|.dv|.f4v|.gif|.m2t|.m4v|.mj2|.mjpeg|.mpe|.mts|.ogg|.qt|.swf|.ts|.vob|.wmv|.webm/.test(se)?"video":/.mp3|.wav|.ape|.cda|.au|.midi|.mac|.aac|.ac3|.acm|.amr|.caf|.flac|.m4a|.ra|.wma/.test(se)?"audio":/.bmp|.jpg|.jpeg|.png/.test(se)?"img":"other"}},{key:"isImage",value:function(se){return se=se.toLowerCase(),!!/.jpg|.jpeg|.png/.test(se)}},{key:"ISODateString",value:function(se){function fe(E){return E<10?"0"+E:E}return se.getUTCFullYear()+"-"+fe(se.getUTCMonth()+1)+"-"+fe(se.getUTCDate())+"T"+fe(se.getUTCHours())+":"+fe(se.getUTCMinutes())+":"+fe(se.getUTCSeconds())+"Z"}},{key:"isIntNum",value:function(se){return!!/^\d+$/.test(se)}}]),re}();oe.default=ve},function(b,oe,ye){(function(De,de){b.exports=oe=de(ye(0))})(0,function(De){return function(de){function ve(Ee,Oe,Ae,Re,Me,be,Pe){var Fe=Ee+(Oe&Ae|~Oe&Re)+Me+Pe;return(Fe<<be|Fe>>>32-be)+Oe}function re(Ee,Oe,Ae,Re,Me,be,Pe){var Fe=Ee+(Oe&Re|Ae&~Re)+Me+Pe;return(Fe<<be|Fe>>>32-be)+Oe}function se(Ee,Oe,Ae,Re,Me,be,Pe){var Fe=Ee+(Oe^Ae^Re)+Me+Pe;return(Fe<<be|Fe>>>32-be)+Oe}function fe(Ee,Oe,Ae,Re,Me,be,Pe){var Fe=Ee+(Ae^(Oe|~Re))+Me+Pe;return(Fe<<be|Fe>>>32-be)+Oe}var E=De,te=E.lib,ne=te.WordArray,ge=te.Hasher,we=E.algo,xe=[];(function(){for(var Ee=0;Ee<64;Ee++)xe[Ee]=4294967296*de.abs(de.sin(Ee+1))|0})();var ue=we.MD5=ge.extend({_doReset:function(){this._hash=new ne.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(Ee,Oe){for(var Ae=0;Ae<16;Ae++){var Re=Oe+Ae,Me=Ee[Re];Ee[Re]=16711935&(Me<<8|Me>>>24)|4278255360&(Me<<24|Me>>>8)}var be=this._hash.words,Pe=Ee[Oe+0],Fe=Ee[Oe+1],_e=Ee[Oe+2],Te=Ee[Oe+3],Ke=Ee[Oe+4],We=Ee[Oe+5],Ne=Ee[Oe+6],Ye=Ee[Oe+7],Je=Ee[Oe+8],He=Ee[Oe+9],lt=Ee[Oe+10],ct=Ee[Oe+11],tt=Ee[Oe+12],Bt=Ee[Oe+13],nt=Ee[Oe+14],Ue=Ee[Oe+15],Xe=be[0],$e=be[1],qe=be[2],Ve=be[3];Xe=ve(Xe,$e,qe,Ve,Pe,7,xe[0]),Ve=ve(Ve,Xe,$e,qe,Fe,12,xe[1]),qe=ve(qe,Ve,Xe,$e,_e,17,xe[2]),$e=ve($e,qe,Ve,Xe,Te,22,xe[3]),Xe=ve(Xe,$e,qe,Ve,Ke,7,xe[4]),Ve=ve(Ve,Xe,$e,qe,We,12,xe[5]),qe=ve(qe,Ve,Xe,$e,Ne,17,xe[6]),$e=ve($e,qe,Ve,Xe,Ye,22,xe[7]),Xe=ve(Xe,$e,qe,Ve,Je,7,xe[8]),Ve=ve(Ve,Xe,$e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e[42]),$e=se($e,qe,Ve,Xe,Ne,23,xe[43]),Xe=se(Xe,$e,qe,Ve,He,4,xe[44]),Ve=se(Ve,Xe,$e,qe,tt,11,xe[45]),qe=se(qe,Ve,Xe,$e,Ue,16,xe[46]),$e=se($e,qe,Ve,Xe,_e,23,xe[47]),Xe=fe(Xe,$e,qe,Ve,Pe,6,xe[48]),Ve=fe(Ve,Xe,$e,qe,Ye,10,xe[49]),qe=fe(qe,Ve,Xe,$e,nt,15,xe[50]),$e=fe($e,qe,Ve,Xe,We,21,xe[51]),Xe=fe(Xe,$e,qe,Ve,tt,6,xe[52]),Ve=fe(Ve,Xe,$e,qe,Te,10,xe[53]),qe=fe(qe,Ve,Xe,$e,lt,15,xe[54]),$e=fe($e,qe,Ve,Xe,Fe,21,xe[55]),Xe=fe(Xe,$e,qe,Ve,Je,6,xe[56]),Ve=fe(Ve,Xe,$e,qe,Ue,10,xe[57]),qe=fe(qe,Ve,Xe,$e,Ne,15,xe[58]),$e=fe($e,qe,Ve,Xe,Bt,21,xe[59]),Xe=fe(Xe,$e,qe,Ve,Ke,6,xe[60]),Ve=fe(Ve,Xe,$e,qe,ct,10,xe[61]),qe=fe(qe,Ve,Xe,$e,_e,15,xe[62]),$e=fe($e,qe,Ve,Xe,He,21,xe[63]),be[0]=be[0]+Xe|0,be[1]=be[1]+$e|0,be[2]=be[2]+qe|0,be[3]=be[3]+Ve|0},_doFinalize:function(){var Ee=this._data,Oe=Ee.words,Ae=8*this._nDataBytes,Re=8*Ee.sigBytes;Oe[Re>>>5]|=128<<24-Re%32;var Me=de.floor(Ae/4294967296),be=Ae;Oe[15+(Re+64>>>9<<4)]=16711935&(Me<<8|Me>>>24)|4278255360&(Me<<24|Me>>>8),Oe[14+(Re+64>>>9<<4)]=16711935&(be<<8|be>>>24)|4278255360&(be<<24|be>>>8),Ee.sigBytes=4*(Oe.length+1),this._process();for(var Pe=this._hash,Fe=Pe.words,_e=0;_e<4;_e++){var Te=Fe[_e];Fe[_e]=16711935&(Te<<8|Te>>>24)|4278255360&(Te<<24|Te>>>8)}return Pe},clone:function(){var Ee=ge.clone.call(this);return Ee._hash=this._hash.clone(),Ee}});E.MD5=ge._createHelper(ue),E.HmacMD5=ge._createHmacHelper(ue)}(Math),De.MD5})},function(b,oe,ye){"use strict";Object.defineProperty(oe,"__esModule",{value:!0}),oe.UPLOADSTATE={INIT:"init",UPLOADING:"uploading",COMPLETE:"complete",INTERRUPT:"interrupt"},oe.UPLOADSTEP={INIT:"init",PART:"part",COMPLETE:"complete"},oe.UPLOADDEFAULT={PARALLEL:5,PARTSIZE:1048576}},function(b,oe,ye){"use strict";function De(ue){return ue&&ue.__esModule?ue:{default:ue}}function de(ue,Ee){if(!(ue instanceof Ee))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function ue(Ee,Oe){for(var Ae=0;Ae<Oe.length;Ae++){var Re=Oe[Ae];Re.enumerable=Re.enumerable||!1,Re.configurable=!0,"value"in Re&&(Re.writable=!0),Object.defineProperty(Ee,Re.key,Re)}}return function(Ee,Oe,Ae){return Oe&&ue(Ee.prototype,Oe),Ae&&ue(Ee,Ae),Ee}}(),re=ye(5),se=De(re),fe=ye(25),E=De(fe),te=ye(6),ne=De(te),ge=ye(7),we=De(ge),xe=function(){function ue(Ee){de(this,ue);var Oe=we.default.os.name,Ae=we.default.os.version||"",Re=we.default.browser.name,Me=we.default.browser.version||"",be=window.location.href,Pe="";be&&(Pe=we.default.getHost(be));var Fe="pc";we.default.os.ipad?Fe="pad":(we.default.os.iphone||we.default.os.android)&&(Fe="phone"),this._ri=se.default.create(),this.initParam={APIVersion:"0.6.0",lv:"1",av:ne.default.version,pd:"upload",sm:"upload",md:"uploader",uuid:ue.getUuid(),os:Oe,ov:Ae,et:Re,ev:Me,uat:navigator.userAgent,app_n:Pe,tt:Fe,dm:"h5",ut:""}}return ve(ue,[{key:"log",value:function(Ee,Oe){Oe&&Oe.ri?(this._ri=Oe.ri,delete Oe.ri):this._ri=se.default.create(),Oe&&Oe.ut&&(this.initParam.ut=Oe.ut,delete Oe.ut),this.initParam.t=new Date().getTime(),this.initParam.ll=Ee=="20006"?"error":"info",this.initParam.ri=this._ri,this.initParam.e=Ee;var Ae=[];if(Oe)for(var Re in Oe)Ae.push(Re+"="+Oe[Re]);var Me=Ae.join("&");this.initParam.args=encodeURIComponent(Me==""?"0":Me);var be=[];for(var Re in this.initParam)be.push(Re+"="+this.initParam[Re]);var Pe=be.join("&");AliyunUpload&&AliyunUpload.__logTestCallback__?AliyunUpload.__logTestCallback__(Pe):new Image(0,0).src="https://videocloud.cn-hangzhou.log.aliyuncs.com/logstores/upload/track?"+Pe}}],[{key:"getUuid",value:function(){var Ee=E.default.get("p_h5_upload_u");return Ee||(Ee=se.default.create(),E.default.set("p_h5_upload_u",Ee,730)),Ee}},{key:"getClientId",value:function(){return E.default.get("p_h5_upload_clientId")}},{key:"setClientId",value:function(Ee){return Ee||(Ee=se.default.create()),E.default.set("p_h5_upload_clientId",Ee,730),Ee}}]),ue}();oe.default=xe},function(b,oe,ye){"use strict";function De(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){De(this,re)}return de(re,null,[{key:"create",value:function(se,fe){var E,te="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),ne=[];if(fe=fe||te.length,se)for(E=0;E<se;E++)ne[E]=te[0|Math.random()*fe];else{var ge;for(ne[8]=ne[13]=ne[18]=ne[23]="-",ne[14]="4",E=0;E<36;E++)ne[E]||(ge=0|16*Math.random(),ne[E]=te[E==19?3&ge|8:ge])}return ne.join("")}}]),re}();oe.default=ve},function(b,oe,ye){"use strict";Object.defineProperty(oe,"__esModule",{value:!0});var De={version:"1.5.0"};oe.default=De},function(b,oe,ye){"use strict";function De(te,ne){if(!(te instanceof ne))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function te(ne,ge){for(var we=0;we<ge.length;we++){var xe=ge[we];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(ne,xe.key,xe)}}return function(ne,ge,we){return ge&&te(ne.prototype,ge),we&&te(ne,we),ne}}(),ve=function(te){var ne=navigator.userAgent,ge="other";if(te.ios)return"iOS";if(te.android)return"android";if(ne.indexOf("Baiduspider")>-1)return"Baiduspider";if(ne.indexOf("PlayStation")>-1)return"PS4";var we=navigator.platform=="Win32"||navigator.platform=="Windows"||ne.indexOf("Windows")>-1,xe=navigator.platform=="Mac68K"||navigator.platform=="MacPPC"||navigator.platform=="Macintosh"||navigator.platform=="MacIntel";return xe&&(ge="macOS"),navigator.platform=="X11"&&!we&&!xe&&(ge="Unix"),String(navigator.platform).indexOf("Linux")>-1&&(ge="Linux"),we?"windows":ge},re=function(){var te=navigator.userAgent,ne="";return(te.indexOf("Windows NT 5.0")>-1||te.indexOf("Windows 2000")>-1)&&(ne="2000"),(te.indexOf("Windows NT 5.1")>-1||te.indexOf("Windows XP")>-1)&&(ne="XP"),(te.indexOf("Windows NT 5.2")>-1||te.indexOf("Windows 2003")>-1)&&(ne="2003"),(te.indexOf("Windows NT 6.0")>-1||te.indexOf("Windows Vista")>-1)&&(ne="Vista"),(te.indexOf("Windows NT 6.1")>-1||te.indexOf("Windows 7")>-1)&&(ne="7"),(te.indexOf("Windows NT 6.2")>-1||te.indexOf("Windows 8")>-1)&&(ne="8"),(te.indexOf("Windows NT 6.3")>-1||te.indexOf("Windows 8.1")>-1)&&(ne="8.1"),(te.indexOf("Windows NT 10")>-1||te.indexOf("Windows 10")>-1)&&(ne="10"),ne},se=function(te){var ne=navigator.userAgent.toLowerCase();return te.chrome?"Chrome":te.firefox?"Firefox":te.safari?"Safari":te.webview?"webview":te.ie?/edge/.test(ne)?"Edge":"IE":/baiduspider/.test(ne)?"Baiduspider":/ucweb/.test(ne)||/UCBrowser/.test(ne)?"UC":/opera/.test(ne)?"Opera":/ucweb/.test(ne)?"UC":/360se/.test(ne)?"360\u6D4F\u89C8\u5668":/bidubrowser/.test(ne)?"\u767E\u5EA6\u6D4F\u89C8\u5668":/metasr/.test(ne)?"\u641C\u72D7\u6D4F\u89C8\u5668":/lbbrowser/.test(ne)?"\u730E\u8C79\u6D4F\u89C8\u5668":/micromessenger/.test(ne)?"\u5FAE\u4FE1\u5185\u7F6E\u6D4F\u89C8\u5668":/qqbrowser/.test(ne)?"QQ\u6D4F\u89C8\u5668":/playstation/.test(ne)?"PS4\u6D4F\u89C8\u5668":void 0},fe=function(){var te={},ne={},ge=navigator.userAgent,we=navigator.platform,xe=ge.match(/Web[kK]it[\/]{0,1}([\d.]+)/),ue=ge.match(/(Android);?[\s\/]+([\d.]+)?/),Ee=!!ge.match(/\(Macintosh\; Intel /),Oe=ge.match(/(iPad).*OS\s([\d_]+)/),Ae=ge.match(/(iPod)(.*OS\s([\d_]+))?/),Re=!Oe&&ge.match(/(iPhone\sOS)\s([\d_]+)/),Me=ge.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),be=/Win\d{2}|Windows/.test(we),Pe=ge.match(/Windows Phone ([\d.]+)/),Fe=Me&&ge.match(/TouchPad/),_e=ge.match(/Kindle\/([\d.]+)/),Te=ge.match(/Silk\/([\d._]+)/),Ke=ge.match(/(BlackBerry).*Version\/([\d.]+)/),We=ge.match(/(BB10).*Version\/([\d.]+)/),Ne=ge.match(/(RIM\sTablet\sOS)\s([\d.]+)/),Ye=ge.match(/PlayBook/),Je=ge.match(/Chrome\/([\d.]+)/)||ge.match(/CriOS\/([\d.]+)/),He=ge.match(/Firefox\/([\d.]+)/),lt=ge.match(/\((?:Mobile|Tablet); rv:([\d.]+)\).*Firefox\/[\d.]+/),ct=ge.match(/MSIE\s([\d.]+)/)||ge.match(/Trident\/[\d](?=[^\?]+).*rv:([0-9.].)/),tt=!Je&&ge.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/),Bt=tt||ge.match(/Version\/([\d.]+)([^S](Safari)|[^M]*(Mobile)[^S]*(Safari))/);if((ne.webkit=!!xe)&&(ne.version=xe[1]),ue&&(te.android=!0,te.version=ue[2]),Re&&!Ae&&(te.ios=te.iphone=!0,te.version=Re[2].replace(/_/g,".")),Oe&&(te.ios=te.ipad=!0,te.version=Oe[2].replace(/_/g,".")),Ae&&(te.ios=te.ipod=!0,te.version=Ae[3]?Ae[3].replace(/_/g,"."):null),Pe&&(te.wp=!0,te.version=Pe[1]),Me&&(te.webos=!0,te.version=Me[2]),Fe&&(te.touchpad=!0),Ke&&(te.blackberry=!0,te.version=Ke[2]),We&&(te.bb10=!0,te.version=We[2]),Ne&&(te.rimtabletos=!0,te.version=Ne[2]),Ye&&(ne.playbook=!0),_e&&(te.kindle=!0,te.version=_e[1]),Te&&(ne.silk=!0,ne.version=Te[1]),!Te&&te.android&&ge.match(/Kindle Fire/)&&(ne.silk=!0),Je&&(ne.chrome=!0,ne.version=Je[1]),He&&(ne.firefox=!0,ne.version=He[1]),lt&&(te.firefoxos=!0,te.version=lt[1]),ct&&(ne.ie=!0,ne.version=ct[1]),Bt&&(Ee||te.ios||be||ue)&&(ne.safari=!0,te.ios||(ne.version=Bt[1])),tt&&(ne.webview=!0),Ee){var nt=ge.match(/[\d]*_[\d]*_[\d]*/);nt&&nt.length>0&&nt[0]&&(te.version=nt[0].replace(/_/g,"."))}return te.tablet=!!(Oe||Ye||ue&&!ge.match(/Mobile/)||He&&ge.match(/Tablet/)||ct&&!ge.match(/Phone/)&&ge.match(/Touch/)),te.phone=!(te.tablet||te.ipod||!(ue||Re||Me||Ke||We||Je&&ge.match(/Android/)||Je&&ge.match(/CriOS\/([\d.]+)/)||He&&ge.match(/Mobile/)||ct&&ge.match(/Touch/))),te.pc=!te.tablet&&!te.phone,Ee?te.name="macOS":be?(te.name="windows",te.version=re()):te.name=ve(te),ne.name=se(ne),{os:te,browser:ne}}(),E=function(){function te(){De(this,te)}return de(te,null,[{key:"getHost",value:function(ne){var xe="";if(ne===void 0||ne==null||ne=="")return"";var ge=ne.indexOf("//"),we=ne;ge>-1&&(we=ne.substring(ge+2));var xe=we,ue=we.split("/");return ue&&ue.length>0&&(xe=ue[0]),ue=xe.split(":"),ue&&ue.length>0&&(xe=ue[0]),xe}},{key:"os",get:function(){return fe.os}},{key:"browser",get:function(){var ne=fe.browser;return ne.name||(ne.name=se()),ne}}]),te}();oe.default=E},function(b,oe,ye){"use strict";function De(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){De(this,re)}return de(re,null,[{key:"get",value:function(se,fe,E,te,ne){var ge;E=E||function(){},typeof XMLHttpRequest=="undefined"&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(we){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(we){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(we){}throw new Error("This browser does not support XMLHttpRequest.")}),ge=new XMLHttpRequest,ge.onreadystatechange=function(){ge.readyState===4&&(ge.status===200?fe(ge.responseText):E(ge.responseText))};try{te===void 0&&(te=!0),ge.open("GET",se,te),ne&&(ge.withCredentials=!0)}catch(we){return void E(we)}try{ge.send()}catch(we){E(we)}}}]),re}();oe.default=ve},function(b,oe,ye){"use strict";function De(fe,E){if(!(fe instanceof E))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function fe(E,te){for(var ne=0;ne<te.length;ne++){var ge=te[ne];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(E,ge.key,ge)}}return function(E,te,ne){return te&&fe(E.prototype,te),ne&&fe(E,ne),E}}(),ve=ye(27),re=ye(30),se=(ye(10),function(){function fe(){De(this,fe)}return de(fe,null,[{key:"randomUUID",value:function(){for(var E=[],te="0123456789abcdef",ne=0;ne<36;ne++)E[ne]=te.substr(Math.floor(16*Math.random()),1);return E[14]="4",E[19]=te.substr(3&E[19]|8,1),E[8]=E[13]=E[18]=E[23]="-",E.join("")}},{key:"aliyunEncodeURI",value:function(E){var te=encodeURIComponent(E);return te=te.replace(/\+/g,"%20").replace(/\*/g,"%2A").replace(/%7E/g,"~").replace(/!/g,"%21").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}},{key:"makeUTF8sort",value:function(E,te,ne){if(!E)throw new Error("PrismPlayer Error: vid should not be null!");var ge=[];for(var we in E)ge.push(we);for(var xe=ge.sort(),ue="",Ee=xe.length,we=0;we<Ee;we++){var Oe=fe.aliyunEncodeURI(xe[we]),Ae=fe.aliyunEncodeURI(E[xe[we]]);ue==""?ue=Oe+te+Ae:ue+=ne+Oe+te+Ae}return ue}},{key:"makeChangeSiga",value:function(E,te){if(!E)throw new Error("PrismPlayer Error: vid should not be null!");return re.stringify(ve("GET&"+fe.aliyunEncodeURI("/")+"&"+fe.aliyunEncodeURI(fe.makeUTF8sort(E,"=","&")),te+"&"))}}]),fe}());oe.default=se},function(b,oe,ye){(function(De,de){b.exports=oe=de(ye(0))})(0,function(De){return De.enc.Utf8})},function(b,oe,ye){(function(De,de){b.exports=oe=de(ye(0))})(0,function(De){return De.enc.Hex})},function(b,oe,ye){b.exports=ye(13)},function(b,oe,ye){"use strict";var De,de,ve=ye(14),re=function(fe){return fe&&fe.__esModule?fe:{default:fe}}(ve),se={Vod:re.default};De=[],(de=function(){return se}.apply(oe,De))!==void 0&&(b.exports=de),window.AliyunUpload=se,Un.exports=AliyunUpload},function(b,oe,ye){"use strict";function De(We){return We&&We.__esModule?We:{default:We}}function de(We,Ne){if(!(We instanceof Ne))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function We(Ne,Ye){for(var Je=0;Je<Ye.length;Je++){var He=Ye[Je];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(Ne,He.key,He)}}return function(Ne,Ye,Je){return Ye&&We(Ne.prototype,Ye),Je&&We(Ne,Je),Ne}}(),re=ye(15),se=ye(3),fe=ye(16),E=De(fe),te=ye(18),ne=De(te),ge=ye(24),we=De(ge),xe=ye(4),ue=De(xe),Ee=ye(1),Oe=De(Ee),Ae=ye(5),Re=De(Ae),Me=ye(26),be=De(Me),Pe=ye(31),Fe=De(Pe),_e=ye(32),Te=De(_e),Ke=(ye(2),function(){function We(Ne){de(this,We),this.options=Ne,this.options.partSize=this.options.partSize||se.UPLOADDEFAULT.PARTSIZE,this.options.parallel=this.options.parallel||se.UPLOADDEFAULT.PARALLEL,this.options.region=this.options.region||"cn-shanghai",this.options.cname=this.options.cname||!1,this.options.localCheckpoint=this.options.localCheckpoint||!1,this.options.enableUploadProgress===void 0&&(this.options.enableUploadProgress=!0),this._ossCreditor=new Object,this._state=re.VODSTATE.INIT,this._uploadList=[],this._curIndex=-1,this._ossUpload=null,this._log=new ue.default,this._retryCount=0,this._retryTotal=this.options.retryCount||3,this._retryDuration=this.options.retryDuration||2,this._state=re.VODSTATE.INIT,this._uploadWay="vod",this._onbeforeunload=!1,this._invalidUserId=!1,this._initEvent()}return ve(We,[{key:"init",value:function(Ne,Ye,Je,He){return this._retryCount=0,!(Je&&!He||!Je&&He)&&!(Ne&&!Ye||!Ne&&Ye)&&(this._ossCreditor.accessKeyId=Ne,this._ossCreditor.accessKeySecret=Ye,this._ossCreditor.securityToken=Je,this._ossCreditor.expireTime=He,!0)}},{key:"addFile",value:function(Ne,Ye,Je,He,lt,ct){if(!Ne)return!1;if(Ne.size==0)try{this.options.onUploadFailed({file:Ne},"EmptyFile","\u6587\u4EF6\u5927\u5C0F\u4E3A0\uFF0C\u4E0D\u80FD\u4E0A\u4F20")}catch(Ue){console.log(Ue)}for(var tt=(this.options,0);tt<this._uploadList.length;tt++)if(this._uploadList[tt].file==Ne)return!1;var Bt=new Object;if(Bt.file=Ne,Bt._endpoint=Ye,Bt._bucket=Je,Bt._object=He,Bt.state=re.UPLOADSTATE.INIT,Bt.isImage=Oe.default.isImage(Ne.name),!Bt.isImage&&this.options.enableUploadProgress){var nt=this;Te.default.getMd5(Ne,function(Ue){Bt.fileHash=Ue;var Xe=nt._getCheckoutpoint(Bt);nt.options.localCheckpoint||Xe||nt._getCheckoutpointFromCloud(Bt,function($e){if($e.UploadPoint){var qe=JSON.parse($e.UploadPoint);qe.loaded!=1&&(Bt.checkpoint=qe.checkpoint,Bt.loaded=qe.loaded,Bt.videoId=$e.VideoId,nt._saveCheckoutpoint(Bt,qe.checkpoint))}},function($e){try{if(($e=JSON.parse($e))&&$e.Code=="InvalidParameter"&&$e.Message.indexOf("UserId")>0){nt._invalidUserId=!0;var qe=$e.Message+"\uFF0C\u6B63\u786E\u8D26\u53F7ID(userId)\u8BF7\u53C2\u8003\uFF1Ahttps://help.aliyun.com/knowledge_detail/37196.html";console.log(qe)}}catch(Ve){console.log(Ve)}})})}lt&&(Bt.videoInfo=lt?JSON.parse(lt).Vod:{},Bt.userData=ne.default.encode(lt)),Bt.ri=Re.default.create(),this._uploadList.push(Bt),this._reportLog("20001",Bt,{ql:this._uploadList.length});try{this.options.addFileSuccess&&this.options.addFileSuccess(Bt)}catch(Ue){console.log(Ue)}return!0}},{key:"deleteFile",value:function(Ne){return!!this.cancelFile(Ne)&&(this._uploadList.splice(Ne,1),!0)}},{key:"cleanList",value:function(){this.stopUpload(),this._uploadList.length=0,this._curIndex=-1}},{key:"cancelFile",value:function(Ne){if(this.options,Ne<0||Ne>=this._uploadList.length)return!1;var Ye=this._uploadList[Ne];if(Ne==this._curIndex&&Ye.state==re.UPLOADSTATE.UPLOADING){Ye.state=re.UPLOADSTATE.CANCELED;var Je=this._getCheckoutpoint(Ye);Je&&Je.checkpoint&&(Je=Je.checkpoint),Je&&this._ossUpload.abort(Ye),this._removeCheckoutpoint(Ye),this.nextUpload()}else Ye.state!=re.UPLOADSTATE.SUCCESS&&(Ye.state=re.UPLOADSTATE.CANCELED);return this._reportLog("20008",Ye),!0}},{key:"resumeFile",value:function(Ne){if(this.options,Ne<0||Ne>=this._uploadList.length)return!1;var Ye=this._uploadList[Ne];return Ye.state==re.UPLOADSTATE.CANCELED&&(Ye.state=re.UPLOADSTATE.INIT,!0)}},{key:"listFiles",value:function(){return this._uploadList}},{key:"getCheckpoint",value:function(Ne){return this._getCheckoutpoint({file:Ne})}},{key:"startUpload",value:function(Ne){if(this._retryCount=0,this.options,this._state==re.VODSTATE.START||this._state==re.VODSTATE.EXPIRE)return void console.log("already started or expired");if(this._initState(),this._curIndex=this._findUploadIndex(),this._curIndex==-1)return void(this._state=re.VODSTATE.END);var Ye=this._uploadList[this._curIndex];this._ossUpload=null,this._upload(Ye),this._state=re.VODSTATE.START}},{key:"nextUpload",value:function(){var Ne=this.options;if(this._state==re.VODSTATE.START)if(this._curIndex=this._findUploadIndex(),this._curIndex!=-1){var Ye=this._uploadList[this._curIndex];this._ossUpload=null,this._upload(Ye)}else{this._state=re.VODSTATE.END;try{Ne.onUploadEnd&&Ne.onUploadEnd(Ye)}catch(Je){console.log(Je)}}}},{key:"clear",value:function(Ne){for(var Ye=this.options,Je=0,He=0;He<this._uploadList.length;He++)Ye.uploadList[He].state==re.UPLOADSTATE.SUCCESS&&Je++,this._uploadList[He].state==Ne&&(Ye.uploadList.splice(He,1),He--);Ye.onClear&&Ye.onClear(Ye.uploadList.length,Je)}},{key:"stopUpload",value:function(){if((this._state==re.VODSTATE.START||this._state==re.VODSTATE.FAILURE||this._curIndex==-1)&&this._curIndex!=-1){var Ne=this._uploadList[this._curIndex];this._state=re.VODSTATE.STOP,Ne.state=re.UPLOADSTATE.STOPED,this._changeState(Ne,re.UPLOADSTATE.STOPED),this._ossUpload.cancel()}}},{key:"resumeUploadWithAuth",value:function(Ne){var Ye=this;if(!Ne)return!1;var Je=JSON.parse(ne.default.decode(Ne));return!!(Je.AccessKeyId&&Je.AccessKeySecret&&Je.SecurityToken&&Je.Expiration)&&Ye.resumeUploadWithToken(Je.AccessKeyId,Je.AccessKeySecret,Je.SecurityToken,Je.Expiration)}},{key:"resumeUploadWithToken",value:function(Ne,Ye,Je,He){if(this.options,!(Ne&&Ye&&Je&&He)||this._state!=re.VODSTATE.EXPIRE||this._curIndex==-1)return!1;var lt="";return this._uploadList.length>this._curIndex&&(lt=this._uploadList[this._curIndex]),lt&&(this.init(Ne,Ye,Je,He),this._state=re.VODSTATE.START,this._ossUpload=null,this._uploadCore(lt,lt.retry),lt.retry=!1),!0}},{key:"resumeUploadWithSTSToken",value:function(Ne,Ye,Je){if(this._curIndex==-1||this._state!=re.VODSTATE.EXPIRE)return!1;if(this._uploadList.length>this._curIndex){var He=this._uploadList[this._curIndex];He.object?this._refreshSTSTokenUpload(He,Ne,Ye,Je):this.setSTSToken(He,Ne,Ye,Je)}}},{key:"setSTSTokenDirectlyUpload",value:function(Ne,Ye,Je,He,lt){if(!(Ye&&Je&&He&<))return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken and expiration should not be empty."),!1;this._ut="oss";var ct=Ne;this.init(Ye,Je,He,lt),ct.endpoint=ct._endpoint,ct.bucket=ct._bucket,ct.object=ct._object,this._ossUpload=null,this._uploadCore(ct,Ne.retry),Ne.retry=!1}},{key:"setSTSToken",value:function(Ne,Ye,Je,He){if(!Ye||!Je||!He)return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken should not be empty."),!1;this._ut="vod",this._uploadWay="sts";var lt=Ne.videoInfo,ct={accessKeyId:Ye,securityToken:He,accessKeySecret:Je,fileName:Ne.file.name,title:lt.Title,requestId:Ne.ri,region:this.options.region};lt.ImageType&&(ct.imageType=lt.ImageType),lt.ImageExt&&(ct.imageExt=lt.ImageExt),lt.FileSize&&(ct.fileSize=lt.FileSize),lt.Description&&(ct.description=lt.Description),lt.CateId&&(ct.cateId=lt.CateId),lt.Tags&&(ct.tags=lt.Tags),lt.TemplateGroupId&&(ct.templateGroupId=lt.TemplateGroupId),lt.StorageLocation&&(ct.storageLocation=lt.StorageLocation),lt.CoverURL&&(ct.coverUrl=lt.CoverURL),lt.TransCodeMode&&(ct.transCodeMode=lt.TransCodeMode),lt.UserData&&(ct.userData=lt.UserData);var tt=this,Bt="getUploadAuth";Ne.videoId?(ct.videoId=Ne.videoId,Bt="refreshUploadAuth"):Ne.isImage&&(Bt="getImageUploadAuth"),be.default[Bt](ct,function(nt){Ne.videoId=nt.VideoId?nt.VideoId:Ne.videoId,tt.setUploadAuthAndAddress(Ne,nt.UploadAuth,nt.UploadAddress),tt._state=re.VODSTATE.START},function(nt){tt._error(Ne,{name:nt.Code,code:nt.Code,message:nt.Message,requestId:nt.RequestId})})}},{key:"setUploadAuthAndAddress",value:function(Ne,Ye,Je,He){if(!Ne||!Ye||!Je)return!1;var lt=JSON.parse(ne.default.decode(Ye));if(!(lt.AccessKeyId&<.AccessKeySecret&<.SecurityToken&<.Expiration))return console.error("uploadauth is invalid"),!1;var ct={},tt=Ne;if(Je){if(ct=JSON.parse(ne.default.decode(Je)),!ct.Endpoint||!ct.Bucket||!ct.FileName)return console.error("uploadAddress is invalid"),!1}else ct.Endpoint=tt.endpoint,ct.Bucket=tt.bucket,ct.FileName=tt.object;this._ut="vod",this._uploadWay="vod",this.options.region=lt.Region||this.options.region,this.init(lt.AccessKeyId,lt.AccessKeySecret,lt.SecurityToken,lt.Expiration),tt.endpoint=tt._endpoint?tt._endpoint:ct.Endpoint,tt.bucket=tt._bucket?tt._bucket:ct.Bucket,tt.object=tt._object?tt._object:ct.FileName,tt.region=this.options.region,He&&(tt.videoId=He),this._ossUpload=null,this._uploadCore(tt,Ne.retry),Ne.retry=!1}},{key:"_refreshSTSTokenUpload",value:function(Ne,Ye,Je,He){if(!Ye||!Je||!He)return console.log("accessKeyId\u3001ccessKeySecret\u3001securityToken should not be empty."),!1;var lt={accessKeyId:Ye,securityToken:He,accessKeySecret:Je,videoId:Ne.object,requestId:Ne.ri,region:this.options.region},ct=this,tt="refreshUploadAuth";Ne.isImage&&(tt="getImageUploadAuth"),be.default[tt](lt,function(Bt){ct.setUploadAuthAndAddress(Ne,Bt.UploadAuth,UploadAddress),ct._state=re.VODSTATE.START},function(Bt){ct._error(Ne,{name:Bt.Code,code:Bt.Code,message:Bt.Message,requestId:Bt.RequestId})})}},{key:"_upload",value:function(Ne){var Ye=arguments.length>1&&arguments[1]!==void 0&&arguments[1],Je=this.options;if(Ne.retry=Ye,Je.onUploadstarted&&!Ye)try{var He=this._getCheckoutpoint(Ne);He&&He.state!=re.UPLOADSTATE.UPLOADING&&(Ne.checkpoint=He,Ne.videoId=He.videoId),Je.onUploadstarted(Ne)}catch(lt){console.log(lt)}}},{key:"_uploadCore",value:function(Ne){if(arguments.length>1&&arguments[1]!==void 0&&arguments[1],!this._ossCreditor.accessKeyId||!this._ossCreditor.accessKeySecret||!this._ossCreditor.securityToken)throw new Error("AccessKeyId\u3001AccessKeySecret\u3001securityToken should not be null");if(Ne.state=re.UPLOADSTATE.UPLOADING,!this._ossUpload){Ne.endpoint=Ne.endpoint||"http://oss-cn-hangzhou.aliyuncs.com";var Ye=this;this._ossUpload=new E.default({bucket:Ne.bucket,endpoint:Ne.endpoint,AccessKeyId:this._ossCreditor.accessKeyId,AccessKeySecret:this._ossCreditor.accessKeySecret,SecurityToken:this._ossCreditor.securityToken,timeout:this.options.timeout,cname:this.options.cname},{onerror:function(nt,Ue){Ye._error.call(Ye,nt,Ue)},oncomplete:function(nt,Ue){Ye._complete.call(Ye,nt,Ue)},onprogress:function(nt,Ue,Xe){Ye._progress.call(Ye,nt,Ue,Xe)}})}var Je=Oe.default.getFileType(Ne.file.name),He=this._getCheckoutpoint(Ne),lt="",ct="";He&&He.checkpoint&&(ct=He.state,lt=He.videoId,He=He.checkpoint),He&<==Ne.videoId&&ct!=re.UPLOADSTATE.UPLOADING&&(He.file=Ne.file,Ne.checkpoint=He,He.uploadId);var tt=this._adjustPartSize(Ne);this._reportLog("20002",Ne,{ft:Je,fs:Ne.file.size,bu:Ne.bucket,ok:Ne.object,vid:Ne.videoId||"",fn:Ne.file.name,fw:null,fh:null,ps:tt});var Bt={headers:{"x-oss-notification":Ne.userData?Ne.userData:""},partSize:tt,parallel:this.options.parallel};this._ossUpload.upload(Ne,Bt)}},{key:"_findUploadIndex",value:function(){for(var Ne=-1,Ye=0;Ye<this._uploadList.length;Ye++)if(this._uploadList[Ye].state==re.UPLOADSTATE.INIT){Ne=Ye;break}return Ne}},{key:"_error",value:function(Ne,Ye){if(Ye.name=="cancel")try{this.options.onUploadCanceled(Ne,Ye)}catch(He){console.log(He)}else{if(Ye.message.indexOf("InvalidAccessKeyIdError")>0||Ye.name=="SignatureDoesNotMatchError"||Ye.code=="SecurityTokenExpired"||Ye.code=="InvalidSecurityToken.Expired"||Ye.code=="InvalidAccessKeyId"&&this._ossCreditor.securityToken){if(this.options.onUploadTokenExpired){this._state=re.VODSTATE.EXPIRE,Ne.state=re.UPLOADSTATE.FAIlURE;try{this.options.onUploadTokenExpired(Ne,Ye)}catch(He){console.log(He)}}return}if((Ye.name=="RequestTimeoutError"||Ye.name=="ConnectionTimeout"||Ye.name=="ConnectionTimeoutError")&&this._retryTotal>this._retryCount){var Je=this;return setTimeout(function(){Je._uploadCore(Ne,!0)},1e3*Je._retryDuration),void this._retryCount++}Ye.name=="NoSuchUploadError"&&this._removeCheckoutpoint(Ne),this._handleError(Ne,Ye)}}},{key:"_handleError",value:function(Ne,Ye){var Je=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],He=re.UPLOADSTATE.FAIlURE;if(Ne.state!=re.UPLOADSTATE.CANCELED&&(Ne.state=re.UPLOADSTATE.FAIlURE,this._state=re.VODSTATE.FAILURE,this.options.onUploadFailed&&Ye&&Ye.code&&Ye.message))try{this.options.onUploadFailed(Ne,Ye.code,Ye.message)}catch(ct){console.log(ct)}if(Je&&this._changeState(Ne,He),this._reportLog("20006",Ne,{code:Ye.name,message:Ye.message,requestId:Ye.requestId,fs:Ne.file.size,bu:Ne.bucket,ok:Ne.object,fn:Ne.file.name}),this._reportLog("20004",Ne,{requestId:Ye.requestId,fs:Ne.file.size,bu:Ne.bucket,ok:Ne.object,fn:Ne.file.name}),Ne.ri=Re.default.create(),this._findUploadIndex()!=-1){var lt=this;this._state=re.VODSTATE.START,setTimeout(function(){lt.nextUpload()},100)}}},{key:"_complete",value:function(Ne,Ye){if(Ne.state=re.UPLOADSTATE.SUCCESS,this.options.onUploadSucceed)try{this.options.onUploadSucceed(Ne)}catch(lt){console.log(lt)}var Je=0;Ye&&Ye.res&&Ye.res.headers&&(Je=Ye.res.headers["x-oss-request-id"]),this._removeCheckoutpoint(Ne);var He=this;setTimeout(function(){He.nextUpload()},100),this._retryCount=0,this._reportLog("20003",Ne,{requestId:Je})}},{key:"_progress",value:function(Ne,Ye,Je){if(this.options.onUploadProgress)try{Ne.loaded=Ye.loaded,this.options.onUploadProgress(Ne,Ye.total,Ye.loaded)}catch(Ue){console.log(Ue)}var He=Ye.checkpoint,lt=0;He&&(Ne.checkpoint=He,this._saveCheckoutpoint(Ne,He,re.UPLOADSTATE.UPLOADING),lt=He.uploadId),this._retryCount=0;var ct=this._getPortNumber(He),tt=0;if(Je&&Je.headers&&(tt=Je.headers["x-oss-request-id"]),Ye.loaded!=0&&this._reportLog("20007",Ne,{pn:ct,requestId:tt}),Ye.loaded!=1&&this._reportLog("20005",Ne,{UploadId:lt,pn:ct+1,pr:Ne.retry?1:0,fs:Ne.file.size,bu:Ne.bucket,ok:Ne.object,fn:Ne.file.name}),!this._invalidUserId&&!Ne.isImage&&this._ut=="vod"&&this.options.enableUploadProgress){var Bt={file:Ne.file,checkpoint:Ye,userId:this.options.userId,videoId:Ne.videoId,region:this.options.region,fileHash:Ne.fileHash};try{var nt=this;Fe.default.upload(Bt,function(){},function(Ue){if((Ue=JSON.parse(Ue))&&Ue.Code=="InvalidParameter"&&Ue.Message.indexOf("UserId")>0){nt._invalidUserId=!0;var Xe=Ue.Message+"\uFF0C\u6B63\u786E\u8D26\u53F7ID(userId)\u8BF7\u53C2\u8003\uFF1Ahttps://help.aliyun.com/knowledge_detail/37196.html";console.log(Xe)}})}catch(Ue){console.log(Ue)}}}},{key:"_getPortNumber",value:function(Ne){if(Ne){var Ye=Ne.doneParts;if(Ye&&Ye.length>0)return Ye[Ye.length-1].number}return 0}},{key:"_removeCheckoutpoint",value:function(Ne){var Ye=this._getCheckoutpointKey(Ne);we.default.remove(Ye)}},{key:"_getCheckoutpoint",value:function(Ne){var Ye=this._getCheckoutpointKey(Ne),Je=we.default.get(Ye);if(Je)try{return JSON.parse(Je)}catch(He){}return""}},{key:"_saveCheckoutpoint",value:function(Ne,Ye,Je){if(Ye){var He=this._getCheckoutpointKey(Ne),lt=Ne.file,ct={fileName:lt.name,lastModified:lt.lastModified,size:lt.size,object:Ne.object,videoId:Ne.videoId,bucket:Ne.bucket,endpoint:Ne.endpoint,checkpoint:Ye,loaded:Ne.loaded,state:Je};we.default.set(He,JSON.stringify(ct))}}},{key:"_changeState",value:function(Ne,Ye){var Je=this._getCheckoutpoint(Ne);Je&&((this._onbeforeunload=!0)&&(Ye=re.UPLOADSTATE.STOPED),this._saveCheckoutpoint(Ne,Je.checkpoint,Ye))}},{key:"_getCheckoutpointKey",value:function(Ne){return"upload_"+Ne.file.lastModified+"_"+Ne.file.name+"_"+Ne.file.size}},{key:"_getCheckoutpointFromCloud",value:function(Ne,Ye,Je){var He={userId:this.options.userId,uploadInfoList:[{FileName:Ne.file.name,FileSize:Ne.file.size,FileCreateTime:Ne.file.lastModified,FileHash:Ne.fileHash}],region:this.options.region};Fe.default.get(He,function(lt){Ye(lt)},Je)}},{key:"_reportLog",value:function(Ne,Ye,Je){Je||(Je={}),Je.ri=Ye.ri,this._ut&&(Je.ut=this._ut),this._log.log(Ne,Je)}},{key:"_initEvent",value:function(){var Ne=this;window&&(window.onbeforeunload=function(Ye){if(Ne._onbeforeunload=!0,Ne._curIndex!=-1&&Ne._uploadList.length>Ne._curIndex){var Je=Ne._uploadList[Ne._curIndex];Ne._changeState(Je,re.UPLOADSTATE.STOPED)}})}},{key:"_initState",value:function(){for(var Ne=0;Ne<this._uploadList.length;Ne++){var Ye=this._uploadList[Ne];Ye.state!=re.UPLOADSTATE.FAIlURE&&Ye.state!=re.UPLOADSTATE.STOPED||(Ye.state=re.UPLOADSTATE.INIT)}this._state=re.VODSTATE.INIT}},{key:"_adjustPartSize",value:function(Ne){return Ne.file.size/this.options.partSize>1e4?Ne.file.size/9999:this.options.partSize}}]),We}());oe.default=Ke},function(b,oe,ye){"use strict";Object.defineProperty(oe,"__esModule",{value:!0}),oe.UPLOADSTATE={INIT:"Ready",UPLOADING:"Uploading",SUCCESS:"Success",FAIlURE:"Failure",CANCELED:"Canceled",STOPED:"Stoped"},oe.VODSTATE={INIT:"Init",START:"Start",STOP:"Stop",FAILURE:"Failure",EXPIRE:"Expire",END:"End"}},function(b,oe,ye){"use strict";function De(te){return te&&te.__esModule?te:{default:te}}function de(te,ne){if(!(te instanceof ne))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function te(ne,ge){for(var we=0;we<ge.length;we++){var xe=ge[we];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(ne,xe.key,xe)}}return function(ne,ge,we){return ge&&te(ne.prototype,ge),we&&te(ne,we),ne}}(),re=ye(3),se=ye(17),fe=(De(se),ye(1)),E=(De(fe),function(){function te(ne,ge){if(de(this,te),ne){this._config=ne,this.create(this._config),this._uploadInfo=null,this._callback={};var we=function(){};this._callback.onerror=ge.onerror||we,this._callback.oncomplete=ge.oncomplete||we,this._callback.onprogress=ge.onprogress||we}}return ve(te,[{key:"create",value:function(ne){if(ne.endpoint=ne.endpoint||this._config.endpoint,ne.bucket=ne.bucket||this._config.bucket,!(ne.AccessKeyId&&ne.AccessKeySecret&&ne.endpoint&&ne.SecurityToken))throw new Error("AccessKeyId\u3001AccessKeySecret\u3001endpoint should not be null");var ge={accessKeyId:ne.AccessKeyId,accessKeySecret:ne.AccessKeySecret,stsToken:ne.SecurityToken,endpoint:ne.endpoint||this._config.endpoint,bucket:ne.bucket||this._config.bucket,secure:!0,cname:ne.cname};ne.timeout&&(ge.timeout=ne.timeout),this.oss=new OSS.Wrapper(ge)}},{key:"abort",value:function(ne){if(ne.checkpoint){var ge=ne.checkpoint.uploadId;this.oss.abortMultipartUpload(ne.object,ge)}}},{key:"getVersion",value:function(){}},{key:"cancel",value:function(){this.oss.cancel&&this.oss.cancel()}},{key:"upload",value:function(ne,ge){this._uploadInfo=ne;var we=this,xe=function(Ee,Oe,Ae){return function(Re){we._progress(Ee,Oe,Ae),Re()}},ue={parallel:ge.parallel||this._config.parallel||re.UPLOADDEFAULT.PARALLEL,partSize:ge.partSize||this._config.partSize||re.UPLOADDEFAULT.PARTSIZE,progress:xe};ge.headers&&(ue.headers=ge.headers),ne.checkpoint&&(ue.checkpoint=ne.checkpoint),ne.bucket||(this.oss.options.bucket=ne.bucket),ne.endpoint||(this.oss.options.endpoint=ne.endpoint),this.oss.multipartUpload(ne.object,ne.file,ue).then(function(Ee,Oe){we._complete(Ee)}).catch(function(Ee){we.oss.cancel&&(we.oss&&we.oss.isCancel()?console.log("oss is cancel as error"):we.oss.cancel()),we._error(Ee)})}},{key:"header",value:function(ne,ge,we){this.oss.get(ne.object).then(function(xe){ge(xe)}).catch(function(xe){we(xe)})}},{key:"_progress",value:function(ne,ge,we){this._callback.onprogress(this._uploadInfo,{loaded:ne,total:this._uploadInfo.file.size,checkpoint:ge},we)}},{key:"_error",value:function(ne){this._callback.onerror(this._uploadInfo,ne)}},{key:"_complete",value:function(ne){this._callback.oncomplete(this._uploadInfo,ne)}}]),te}());oe.default=E},function(b,oe,ye){"use strict";function De(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){De(this,re)}return de(re,null,[{key:"format",value:function(se){if(arguments.length<2)return null;for(var fe=arguments[1],E=1;E<arguments.length;E++){var te=new RegExp("\\{"+(E-1)+"\\}","gm");fe=fe.replace(te,arguments[E+1])}return{code:se,message:fe}}},{key:"CODE",get:function(){return{SUCCESS:"Successful",EmptyValue:"InvalidParameter.EmptyValue",STSInvalid:"InvalidParameter.TokenInvalid",ReadFileError:"ReadFileError",FILEDUPLICATION:"FileDuplication",UploadALEADRYSTARTED:"UploadAlearyStarted"}}},{key:"MESSAGE",get:function(){return{SUCCESS:"Successful",EmptyValue:"\u53C2\u6570 {0} \u4E0D\u80FD\u4E3A\u7A7A\u3002",STSInvalid:"STS\u53C2\u6570\u975E\u6CD5\uFF0C accessKeyId\u3001accessKeySecret\u3001secretToken\u3001expireTime\u90FD\u4E0D\u80FD\u4E3A\u7A7A\u3002",ReadFileError:"\u8BFB\u53D6\u6587\u4EF6{0}{1}\u5931\u8D25.",FILEDUPLICATION:"\u6587\u4EF6\u91CD\u590D\u6DFB\u52A0 {0}",UploadALEADRYSTARTED:"\u91CD\u590D\u5F00\u59CB."}}}]),re}();oe.default=ve},function(b,oe,ye){"use strict";(function(De){function de(se,fe){if(!(se instanceof fe))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function se(fe,E){for(var te=0;te<E.length;te++){var ne=E[te];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(fe,ne.key,ne)}}return function(fe,E,te){return E&&se(fe.prototype,E),te&&se(fe,te),fe}}(),re=function(){function se(){de(this,se)}return ve(se,null,[{key:"encode",value:function(fe){return new De(fe).toString("base64")}},{key:"decode",value:function(fe){return new De(fe,"base64").toString()}}]),se}();oe.default=re}).call(oe,ye(19).Buffer)},function(b,oe,ye){"use strict";(function(De){function de(){return re.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ve(pe,x){if(de()<x)throw new RangeError("Invalid typed array length");return re.TYPED_ARRAY_SUPPORT?(pe=new Uint8Array(x),pe.__proto__=re.prototype):(pe===null&&(pe=new re(x)),pe.length=x),pe}function re(pe,x,me){if(!(re.TYPED_ARRAY_SUPPORT||this instanceof re))return new re(pe,x,me);if(typeof pe=="number"){if(typeof x=="string")throw new Error("If encoding is specified then the first argument must be a string");return te(this,pe)}return se(this,pe,x,me)}function se(pe,x,me,Le){if(typeof x=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&x instanceof ArrayBuffer?we(pe,x,me,Le):typeof x=="string"?ne(pe,x,me):xe(pe,x)}function fe(pe){if(typeof pe!="number")throw new TypeError('"size" argument must be a number');if(pe<0)throw new RangeError('"size" argument must not be negative')}function E(pe,x,me,Le){return fe(x),x<=0?ve(pe,x):me!==void 0?typeof Le=="string"?ve(pe,x).fill(me,Le):ve(pe,x).fill(me):ve(pe,x)}function te(pe,x){if(fe(x),pe=ve(pe,x<0?0:0|ue(x)),!re.TYPED_ARRAY_SUPPORT)for(var me=0;me<x;++me)pe[me]=0;return pe}function ne(pe,x,me){if(typeof me=="string"&&me!==""||(me="utf8"),!re.isEncoding(me))throw new TypeError('"encoding" must be a valid string encoding');var Le=0|Oe(x,me);pe=ve(pe,Le);var Se=pe.write(x,me);return Se!==Le&&(pe=pe.slice(0,Se)),pe}function ge(pe,x){var me=x.length<0?0:0|ue(x.length);pe=ve(pe,me);for(var Le=0;Le<me;Le+=1)pe[Le]=255&x[Le];return pe}function we(pe,x,me,Le){if(x.byteLength,me<0||x.byteLength<me)throw new RangeError("'offset' is out of bounds");if(x.byteLength<me+(Le||0))throw new RangeError("'length' is out of bounds");return x=me===void 0&&Le===void 0?new Uint8Array(x):Le===void 0?new Uint8Array(x,me):new Uint8Array(x,me,Le),re.TYPED_ARRAY_SUPPORT?(pe=x,pe.__proto__=re.prototype):pe=ge(pe,x),pe}function xe(pe,x){if(re.isBuffer(x)){var me=0|ue(x.length);return pe=ve(pe,me),pe.length===0||x.copy(pe,0,0,me),pe}if(x){if(typeof ArrayBuffer!="undefined"&&x.buffer instanceof ArrayBuffer||"length"in x)return typeof x.length!="number"||je(x.length)?ve(pe,0):ge(pe,x);if(x.type==="Buffer"&&ke(x.data))return ge(pe,x.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function ue(pe){if(pe>=de())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+de().toString(16)+" bytes");return 0|pe}function Ee(pe){return+pe!=pe&&(pe=0),re.alloc(+pe)}function Oe(pe,x){if(re.isBuffer(pe))return pe.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(pe)||pe instanceof ArrayBuffer))return pe.byteLength;typeof pe!="string"&&(pe=""+pe);var me=pe.length;if(me===0)return 0;for(var Le=!1;;)switch(x){case"ascii":case"latin1":case"binary":return me;case"utf8":case"utf-8":case void 0:return dt(pe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*me;case"hex":return me>>>1;case"base64":return Ct(pe).length;default:if(Le)return dt(pe).length;x=(""+x).toLowerCase(),Le=!0}}function Ae(pe,x,me){var Le=!1;if((x===void 0||x<0)&&(x=0),x>this.length||((me===void 0||me>this.length)&&(me=this.length),me<=0)||(me>>>=0,x>>>=0,me<=x))return"";for(pe||(pe="utf8");;)switch(pe){case"hex":return ct(this,x,me);case"utf8":case"utf-8":return Ye(this,x,me);case"ascii":return He(this,x,me);case"latin1":case"binary":return lt(this,x,me);case"base64":return Ne(this,x,me);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tt(this,x,me);default:if(Le)throw new TypeError("Unknown encoding: "+pe);pe=(pe+"").toLowerCase(),Le=!0}}function Re(pe,x,me){var Le=pe[x];pe[x]=pe[me],pe[me]=Le}function Me(pe,x,me,Le,Se){if(pe.length===0)return-1;if(typeof me=="string"?(Le=me,me=0):me>2147483647?me=2147483647:me<-2147483648&&(me=-2147483648),me=+me,isNaN(me)&&(me=Se?0:pe.length-1),me<0&&(me=pe.length+me),me>=pe.length){if(Se)return-1;me=pe.length-1}else if(me<0){if(!Se)return-1;me=0}if(typeof x=="string"&&(x=re.from(x,Le)),re.isBuffer(x))return x.length===0?-1:be(pe,x,me,Le,Se);if(typeof x=="number")return x&=255,re.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Se?Uint8Array.prototype.indexOf.call(pe,x,me):Uint8Array.prototype.lastIndexOf.call(pe,x,me):be(pe,[x],me,Le,Se);throw new TypeError("val must be string, number or Buffer")}function be(pe,x,me,Le,Se){function Be(nn,Lt){return Qe===1?nn[Lt]:nn.readUInt16BE(Lt*Qe)}var Qe=1,it=pe.length,ot=x.length;if(Le!==void 0&&((Le=String(Le).toLowerCase())==="ucs2"||Le==="ucs-2"||Le==="utf16le"||Le==="utf-16le")){if(pe.length<2||x.length<2)return-1;Qe=2,it/=2,ot/=2,me/=2}var at;if(Se){var Rt=-1;for(at=me;at<it;at++)if(Be(pe,at)===Be(x,Rt===-1?0:at-Rt)){if(Rt===-1&&(Rt=at),at-Rt+1===ot)return Rt*Qe}else Rt!==-1&&(at-=at-Rt),Rt=-1}else for(me+ot>it&&(me=it-ot),at=me;at>=0;at--){for(var Ft=!0,rn=0;rn<ot;rn++)if(Be(pe,at+rn)!==Be(x,rn)){Ft=!1;break}if(Ft)return at}return-1}function Pe(pe,x,me,Le){me=Number(me)||0;var Se=pe.length-me;Le?(Le=Number(Le))>Se&&(Le=Se):Le=Se;var Be=x.length;if(Be%2!=0)throw new TypeError("Invalid hex string");Le>Be/2&&(Le=Be/2);for(var Qe=0;Qe<Le;++Qe){var it=parseInt(x.substr(2*Qe,2),16);if(isNaN(it))return Qe;pe[me+Qe]=it}return Qe}function Fe(pe,x,me,Le){return gt(dt(x,pe.length-me),pe,me,Le)}function _e(pe,x,me,Le){return gt(Tt(x),pe,me,Le)}function Te(pe,x,me,Le){return _e(pe,x,me,Le)}function Ke(pe,x,me,Le){return gt(Ct(x),pe,me,Le)}function We(pe,x,me,Le){return gt(bt(x,pe.length-me),pe,me,Le)}function Ne(pe,x,me){return x===0&&me===pe.length?le.fromByteArray(pe):le.fromByteArray(pe.slice(x,me))}function Ye(pe,x,me){me=Math.min(pe.length,me);for(var Le=[],Se=x;Se<me;){var Be=pe[Se],Qe=null,it=Be>239?4:Be>223?3:Be>191?2:1;if(Se+it<=me){var ot,at,Rt,Ft;switch(it){case 1:Be<128&&(Qe=Be);break;case 2:ot=pe[Se+1],(192&ot)==128&&(Ft=(31&Be)<<6|63&ot)>127&&(Qe=Ft);break;case 3:ot=pe[Se+1],at=pe[Se+2],(192&ot)==128&&(192&at)==128&&(Ft=(15&Be)<<12|(63&ot)<<6|63&at)>2047&&(Ft<55296||Ft>57343)&&(Qe=Ft);break;case 4:ot=pe[Se+1],at=pe[Se+2],Rt=pe[Se+3],(192&ot)==128&&(192&at)==128&&(192&Rt)==128&&(Ft=(15&Be)<<18|(63&ot)<<12|(63&at)<<6|63&Rt)>65535&&Ft<1114112&&(Qe=Ft)}}Qe===null?(Qe=65533,it=1):Qe>65535&&(Qe-=65536,Le.push(Qe>>>10&1023|55296),Qe=56320|1023&Qe),Le.push(Qe),Se+=it}return Je(Le)}function Je(pe){var x=pe.length;if(x<=Ge)return String.fromCharCode.apply(String,pe);for(var me="",Le=0;Le<x;)me+=String.fromCharCode.apply(String,pe.slice(Le,Le+=Ge));return me}function He(pe,x,me){var Le="";me=Math.min(pe.length,me);for(var Se=x;Se<me;++Se)Le+=String.fromCharCode(127&pe[Se]);return Le}function lt(pe,x,me){var Le="";me=Math.min(pe.length,me);for(var Se=x;Se<me;++Se)Le+=String.fromCharCode(pe[Se]);return Le}function ct(pe,x,me){var Le=pe.length;(!x||x<0)&&(x=0),(!me||me<0||me>Le)&&(me=Le);for(var Se="",Be=x;Be<me;++Be)Se+=Nt(pe[Be]);return Se}function tt(pe,x,me){for(var Le=pe.slice(x,me),Se="",Be=0;Be<Le.length;Be+=2)Se+=String.fromCharCode(Le[Be]+256*Le[Be+1]);return Se}function Bt(pe,x,me){if(pe%1!=0||pe<0)throw new RangeError("offset is not uint");if(pe+x>me)throw new RangeError("Trying to access beyond buffer length")}function nt(pe,x,me,Le,Se,Be){if(!re.isBuffer(pe))throw new TypeError('"buffer" argument must be a Buffer instance');if(x>Se||x<Be)throw new RangeError('"value" argument is out of bounds');if(me+Le>pe.length)throw new RangeError("Index out of range")}function Ue(pe,x,me,Le){x<0&&(x=65535+x+1);for(var Se=0,Be=Math.min(pe.length-me,2);Se<Be;++Se)pe[me+Se]=(x&255<<8*(Le?Se:1-Se))>>>8*(Le?Se:1-Se)}function Xe(pe,x,me,Le){x<0&&(x=4294967295+x+1);for(var Se=0,Be=Math.min(pe.length-me,4);Se<Be;++Se)pe[me+Se]=x>>>8*(Le?Se:3-Se)&255}function $e(pe,x,me,Le,Se,Be){if(me+Le>pe.length)throw new RangeError("Index out of range");if(me<0)throw new RangeError("Index out of range")}function qe(pe,x,me,Le,Se){return Se||$e(pe,x,me,4,34028234663852886e22,-34028234663852886e22),ie.write(pe,x,me,Le,23,4),me+4}function Ve(pe,x,me,Le,Se){return Se||$e(pe,x,me,8,17976931348623157e292,-17976931348623157e292),ie.write(pe,x,me,Le,52,8),me+8}function ht(pe){if(pe=st(pe).replace(Ie,""),pe.length<2)return"";for(;pe.length%4!=0;)pe+="=";return pe}function st(pe){return pe.trim?pe.trim():pe.replace(/^\s+|\s+$/g,"")}function Nt(pe){return pe<16?"0"+pe.toString(16):pe.toString(16)}function dt(pe,x){x=x||1/0;for(var me,Le=pe.length,Se=null,Be=[],Qe=0;Qe<Le;++Qe){if((me=pe.charCodeAt(Qe))>55295&&me<57344){if(!Se){if(me>56319){(x-=3)>-1&&Be.push(239,191,189);continue}if(Qe+1===Le){(x-=3)>-1&&Be.push(239,191,189);continue}Se=me;continue}if(me<56320){(x-=3)>-1&&Be.push(239,191,189),Se=me;continue}me=65536+(Se-55296<<10|me-56320)}else Se&&(x-=3)>-1&&Be.push(239,191,189);if(Se=null,me<128){if((x-=1)<0)break;Be.push(me)}else if(me<2048){if((x-=2)<0)break;Be.push(me>>6|192,63&me|128)}else if(me<65536){if((x-=3)<0)break;Be.push(me>>12|224,me>>6&63|128,63&me|128)}else{if(!(me<1114112))throw new Error("Invalid code point");if((x-=4)<0)break;Be.push(me>>18|240,me>>12&63|128,me>>6&63|128,63&me|128)}}return Be}function Tt(pe){for(var x=[],me=0;me<pe.length;++me)x.push(255&pe.charCodeAt(me));return x}function bt(pe,x){for(var me,Le,Se,Be=[],Qe=0;Qe<pe.length&&!((x-=2)<0);++Qe)me=pe.charCodeAt(Qe),Le=me>>8,Se=me%256,Be.push(Se),Be.push(Le);return Be}function Ct(pe){return le.toByteArray(ht(pe))}function gt(pe,x,me,Le){for(var Se=0;Se<Le&&!(Se+me>=x.length||Se>=pe.length);++Se)x[Se+me]=pe[Se];return Se}function je(pe){return pe!==pe}var le=ye(21),ie=ye(22),ke=ye(23);oe.Buffer=re,oe.SlowBuffer=Ee,oe.INSPECT_MAX_BYTES=50,re.TYPED_ARRAY_SUPPORT=De.TYPED_ARRAY_SUPPORT!==void 0?De.TYPED_ARRAY_SUPPORT:function(){try{var pe=new Uint8Array(1);return pe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},pe.foo()===42&&typeof pe.subarray=="function"&&pe.subarray(1,1).byteLength===0}catch(x){return!1}}(),oe.kMaxLength=de(),re.poolSize=8192,re._augment=function(pe){return pe.__proto__=re.prototype,pe},re.from=function(pe,x,me){return se(null,pe,x,me)},re.TYPED_ARRAY_SUPPORT&&(re.prototype.__proto__=Uint8Array.prototype,re.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&re[Symbol.species]===re&&Object.defineProperty(re,Symbol.species,{value:null,configurable:!0})),re.alloc=function(pe,x,me){return E(null,pe,x,me)},re.allocUnsafe=function(pe){return te(null,pe)},re.allocUnsafeSlow=function(pe){return te(null,pe)},re.isBuffer=function(pe){return!(pe==null||!pe._isBuffer)},re.compare=function(pe,x){if(!re.isBuffer(pe)||!re.isBuffer(x))throw new TypeError("Arguments must be Buffers");if(pe===x)return 0;for(var me=pe.length,Le=x.length,Se=0,Be=Math.min(me,Le);Se<Be;++Se)if(pe[Se]!==x[Se]){me=pe[Se],Le=x[Se];break}return me<Le?-1:Le<me?1:0},re.isEncoding=function(pe){switch(String(pe).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(pe,x){if(!ke(pe))throw new TypeError('"list" argument must be an Array of Buffers');if(pe.length===0)return re.alloc(0);var me;if(x===void 0)for(x=0,me=0;me<pe.length;++me)x+=pe[me].length;var Le=re.allocUnsafe(x),Se=0;for(me=0;me<pe.length;++me){var Be=pe[me];if(!re.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(Le,Se),Se+=Be.length}return Le},re.byteLength=Oe,re.prototype._isBuffer=!0,re.prototype.swap16=function(){var pe=this.length;if(pe%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var x=0;x<pe;x+=2)Re(this,x,x+1);return this},re.prototype.swap32=function(){var pe=this.length;if(pe%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var x=0;x<pe;x+=4)Re(this,x,x+3),Re(this,x+1,x+2);return this},re.prototype.swap64=function(){var pe=this.length;if(pe%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var x=0;x<pe;x+=8)Re(this,x,x+7),Re(this,x+1,x+6),Re(this,x+2,x+5),Re(this,x+3,x+4);return this},re.prototype.toString=function(){var pe=0|this.length;return pe===0?"":arguments.length===0?Ye(this,0,pe):Ae.apply(this,arguments)},re.prototype.equals=function(pe){if(!re.isBuffer(pe))throw new TypeError("Argument must be a Buffer");return this===pe||re.compare(this,pe)===0},re.prototype.inspect=function(){var pe="",x=oe.INSPECT_MAX_BYTES;return this.length>0&&(pe=this.toString("hex",0,x).match(/.{2}/g).join(" "),this.length>x&&(pe+=" ... ")),"<Buffer "+pe+">"},re.prototype.compare=function(pe,x,me,Le,Se){if(!re.isBuffer(pe))throw new TypeError("Argument must be a Buffer");if(x===void 0&&(x=0),me===void 0&&(me=pe?pe.length:0),Le===void 0&&(Le=0),Se===void 0&&(Se=this.length),x<0||me>pe.length||Le<0||Se>this.length)throw new RangeError("out of range index");if(Le>=Se&&x>=me)return 0;if(Le>=Se)return-1;if(x>=me)return 1;if(x>>>=0,me>>>=0,Le>>>=0,Se>>>=0,this===pe)return 0;for(var Be=Se-Le,Qe=me-x,it=Math.min(Be,Qe),ot=this.slice(Le,Se),at=pe.slice(x,me),Rt=0;Rt<it;++Rt)if(ot[Rt]!==at[Rt]){Be=ot[Rt],Qe=at[Rt];break}return Be<Qe?-1:Qe<Be?1:0},re.prototype.includes=function(pe,x,me){return this.indexOf(pe,x,me)!==-1},re.prototype.indexOf=function(pe,x,me){return Me(this,pe,x,me,!0)},re.prototype.lastIndexOf=function(pe,x,me){return Me(this,pe,x,me,!1)},re.prototype.write=function(pe,x,me,Le){if(x===void 0)Le="utf8",me=this.length,x=0;else if(me===void 0&&typeof x=="string")Le=x,me=this.length,x=0;else{if(!isFinite(x))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");x|=0,isFinite(me)?(me|=0,Le===void 0&&(Le="utf8")):(Le=me,me=void 0)}var Se=this.length-x;if((me===void 0||me>Se)&&(me=Se),pe.length>0&&(me<0||x<0)||x>this.length)throw new RangeError("Attempt to write outside buffer bounds");Le||(Le="utf8");for(var Be=!1;;)switch(Le){case"hex":return Pe(this,pe,x,me);case"utf8":case"utf-8":return Fe(this,pe,x,me);case"ascii":return _e(this,pe,x,me);case"latin1":case"binary":return Te(this,pe,x,me);case"base64":return Ke(this,pe,x,me);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return We(this,pe,x,me);default:if(Be)throw new TypeError("Unknown encoding: "+Le);Le=(""+Le).toLowerCase(),Be=!0}},re.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Ge=4096;re.prototype.slice=function(pe,x){var me=this.length;pe=~~pe,x=x===void 0?me:~~x,pe<0?(pe+=me)<0&&(pe=0):pe>me&&(pe=me),x<0?(x+=me)<0&&(x=0):x>me&&(x=me),x<pe&&(x=pe);var Le;if(re.TYPED_ARRAY_SUPPORT)Le=this.subarray(pe,x),Le.__proto__=re.prototype;else{var Se=x-pe;Le=new re(Se,void 0);for(var Be=0;Be<Se;++Be)Le[Be]=this[Be+pe]}return Le},re.prototype.readUIntLE=function(pe,x,me){pe|=0,x|=0,me||Bt(pe,x,this.length);for(var Le=this[pe],Se=1,Be=0;++Be<x&&(Se*=256);)Le+=this[pe+Be]*Se;return Le},re.prototype.readUIntBE=function(pe,x,me){pe|=0,x|=0,me||Bt(pe,x,this.length);for(var Le=this[pe+--x],Se=1;x>0&&(Se*=256);)Le+=this[pe+--x]*Se;return Le},re.prototype.readUInt8=function(pe,x){return x||Bt(pe,1,this.length),this[pe]},re.prototype.readUInt16LE=function(pe,x){return x||Bt(pe,2,this.length),this[pe]|this[pe+1]<<8},re.prototype.readUInt16BE=function(pe,x){return x||Bt(pe,2,this.length),this[pe]<<8|this[pe+1]},re.prototype.readUInt32LE=function(pe,x){return x||Bt(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+16777216*this[pe+3]},re.prototype.readUInt32BE=function(pe,x){return x||Bt(pe,4,this.length),16777216*this[pe]+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},re.prototype.readIntLE=function(pe,x,me){pe|=0,x|=0,me||Bt(pe,x,this.length);for(var Le=this[pe],Se=1,Be=0;++Be<x&&(Se*=256);)Le+=this[pe+Be]*Se;return Se*=128,Le>=Se&&(Le-=Math.pow(2,8*x)),Le},re.prototype.readIntBE=function(pe,x,me){pe|=0,x|=0,me||Bt(pe,x,this.length);for(var Le=x,Se=1,Be=this[pe+--Le];Le>0&&(Se*=256);)Be+=this[pe+--Le]*Se;return Se*=128,Be>=Se&&(Be-=Math.pow(2,8*x)),Be},re.prototype.readInt8=function(pe,x){return x||Bt(pe,1,this.length),128&this[pe]?-1*(255-this[pe]+1):this[pe]},re.prototype.readInt16LE=function(pe,x){x||Bt(pe,2,this.length);var me=this[pe]|this[pe+1]<<8;return 32768&me?4294901760|me:me},re.prototype.readInt16BE=function(pe,x){x||Bt(pe,2,this.length);var me=this[pe+1]|this[pe]<<8;return 32768&me?4294901760|me:me},re.prototype.readInt32LE=function(pe,x){return x||Bt(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},re.prototype.readInt32BE=function(pe,x){return x||Bt(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},re.prototype.readFloatLE=function(pe,x){return x||Bt(pe,4,this.length),ie.read(this,pe,!0,23,4)},re.prototype.readFloatBE=function(pe,x){return x||Bt(pe,4,this.length),ie.read(this,pe,!1,23,4)},re.prototype.readDoubleLE=function(pe,x){return x||Bt(pe,8,this.length),ie.read(this,pe,!0,52,8)},re.prototype.readDoubleBE=function(pe,x){return x||Bt(pe,8,this.length),ie.read(this,pe,!1,52,8)},re.prototype.writeUIntLE=function(pe,x,me,Le){pe=+pe,x|=0,me|=0,!Le&&nt(this,pe,x,me,Math.pow(2,8*me)-1,0);var Se=1,Be=0;for(this[x]=255&pe;++Be<me&&(Se*=256);)this[x+Be]=pe/Se&255;return x+me},re.prototype.writeUIntBE=function(pe,x,me,Le){pe=+pe,x|=0,me|=0,!Le&&nt(this,pe,x,me,Math.pow(2,8*me)-1,0);var Se=me-1,Be=1;for(this[x+Se]=255&pe;--Se>=0&&(Be*=256);)this[x+Se]=pe/Be&255;return x+me},re.prototype.writeUInt8=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,1,255,0),re.TYPED_ARRAY_SUPPORT||(pe=Math.floor(pe)),this[x]=255&pe,x+1},re.prototype.writeUInt16LE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,2,65535,0),re.TYPED_ARRAY_SUPPORT?(this[x]=255&pe,this[x+1]=pe>>>8):Ue(this,pe,x,!0),x+2},re.prototype.writeUInt16BE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,2,65535,0),re.TYPED_ARRAY_SUPPORT?(this[x]=pe>>>8,this[x+1]=255&pe):Ue(this,pe,x,!1),x+2},re.prototype.writeUInt32LE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,4,4294967295,0),re.TYPED_ARRAY_SUPPORT?(this[x+3]=pe>>>24,this[x+2]=pe>>>16,this[x+1]=pe>>>8,this[x]=255&pe):Xe(this,pe,x,!0),x+4},re.prototype.writeUInt32BE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,4,4294967295,0),re.TYPED_ARRAY_SUPPORT?(this[x]=pe>>>24,this[x+1]=pe>>>16,this[x+2]=pe>>>8,this[x+3]=255&pe):Xe(this,pe,x,!1),x+4},re.prototype.writeIntLE=function(pe,x,me,Le){if(pe=+pe,x|=0,!Le){var Se=Math.pow(2,8*me-1);nt(this,pe,x,me,Se-1,-Se)}var Be=0,Qe=1,it=0;for(this[x]=255&pe;++Be<me&&(Qe*=256);)pe<0&&it===0&&this[x+Be-1]!==0&&(it=1),this[x+Be]=(pe/Qe>>0)-it&255;return x+me},re.prototype.writeIntBE=function(pe,x,me,Le){if(pe=+pe,x|=0,!Le){var Se=Math.pow(2,8*me-1);nt(this,pe,x,me,Se-1,-Se)}var Be=me-1,Qe=1,it=0;for(this[x+Be]=255&pe;--Be>=0&&(Qe*=256);)pe<0&&it===0&&this[x+Be+1]!==0&&(it=1),this[x+Be]=(pe/Qe>>0)-it&255;return x+me},re.prototype.writeInt8=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,1,127,-128),re.TYPED_ARRAY_SUPPORT||(pe=Math.floor(pe)),pe<0&&(pe=255+pe+1),this[x]=255&pe,x+1},re.prototype.writeInt16LE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,2,32767,-32768),re.TYPED_ARRAY_SUPPORT?(this[x]=255&pe,this[x+1]=pe>>>8):Ue(this,pe,x,!0),x+2},re.prototype.writeInt16BE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,2,32767,-32768),re.TYPED_ARRAY_SUPPORT?(this[x]=pe>>>8,this[x+1]=255&pe):Ue(this,pe,x,!1),x+2},re.prototype.writeInt32LE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,4,2147483647,-2147483648),re.TYPED_ARRAY_SUPPORT?(this[x]=255&pe,this[x+1]=pe>>>8,this[x+2]=pe>>>16,this[x+3]=pe>>>24):Xe(this,pe,x,!0),x+4},re.prototype.writeInt32BE=function(pe,x,me){return pe=+pe,x|=0,me||nt(this,pe,x,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),re.TYPED_ARRAY_SUPPORT?(this[x]=pe>>>24,this[x+1]=pe>>>16,this[x+2]=pe>>>8,this[x+3]=255&pe):Xe(this,pe,x,!1),x+4},re.prototype.writeFloatLE=function(pe,x,me){return qe(this,pe,x,!0,me)},re.prototype.writeFloatBE=function(pe,x,me){return qe(this,pe,x,!1,me)},re.prototype.writeDoubleLE=function(pe,x,me){return Ve(this,pe,x,!0,me)},re.prototype.writeDoubleBE=function(pe,x,me){return Ve(this,pe,x,!1,me)},re.prototype.copy=function(pe,x,me,Le){if(me||(me=0),Le||Le===0||(Le=this.length),x>=pe.length&&(x=pe.length),x||(x=0),Le>0&&Le<me&&(Le=me),Le===me||pe.length===0||this.length===0)return 0;if(x<0)throw new RangeError("targetStart out of bounds");if(me<0||me>=this.length)throw new RangeError("sourceStart out of bounds");if(Le<0)throw new RangeError("sourceEnd out of bounds");Le>this.length&&(Le=this.length),pe.length-x<Le-me&&(Le=pe.length-x+me);var Se,Be=Le-me;if(this===pe&&me<x&&x<Le)for(Se=Be-1;Se>=0;--Se)pe[Se+x]=this[Se+me];else if(Be<1e3||!re.TYPED_ARRAY_SUPPORT)for(Se=0;Se<Be;++Se)pe[Se+x]=this[Se+me];else Uint8Array.prototype.set.call(pe,this.subarray(me,me+Be),x);return Be},re.prototype.fill=function(pe,x,me,Le){if(typeof pe=="string"){if(typeof x=="string"?(Le=x,x=0,me=this.length):typeof me=="string"&&(Le=me,me=this.length),pe.length===1){var Se=pe.charCodeAt(0);Se<256&&(pe=Se)}if(Le!==void 0&&typeof Le!="string")throw new TypeError("encoding must be a string");if(typeof Le=="string"&&!re.isEncoding(Le))throw new TypeError("Unknown encoding: "+Le)}else typeof pe=="number"&&(pe&=255);if(x<0||this.length<x||this.length<me)throw new RangeError("Out of range index");if(me<=x)return this;x>>>=0,me=me===void 0?this.length:me>>>0,pe||(pe=0);var Be;if(typeof pe=="number")for(Be=x;Be<me;++Be)this[Be]=pe;else{var Qe=re.isBuffer(pe)?pe:dt(new re(pe,Le).toString()),it=Qe.length;for(Be=0;Be<me-x;++Be)this[Be+x]=Qe[Be%it]}return this};var Ie=/[^+\/0-9A-Za-z-_]/g}).call(oe,ye(20))},function(b,oe){var ye;ye=function(){return this}();try{ye=ye||Function("return this")()||(0,eval)("this")}catch(De){typeof window=="object"&&(ye=window)}b.exports=ye},function(b,oe,ye){"use strict";function De(ue){var Ee=ue.length;if(Ee%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return ue[Ee-2]==="="?2:ue[Ee-1]==="="?1:0}function de(ue){return 3*ue.length/4-De(ue)}function ve(ue){var Ee,Oe,Ae,Re,Me,be=ue.length;Re=De(ue),Me=new ne(3*be/4-Re),Oe=Re>0?be-4:be;var Pe=0;for(Ee=0;Ee<Oe;Ee+=4)Ae=te[ue.charCodeAt(Ee)]<<18|te[ue.charCodeAt(Ee+1)]<<12|te[ue.charCodeAt(Ee+2)]<<6|te[ue.charCodeAt(Ee+3)],Me[Pe++]=Ae>>16&255,Me[Pe++]=Ae>>8&255,Me[Pe++]=255&Ae;return Re===2?(Ae=te[ue.charCodeAt(Ee)]<<2|te[ue.charCodeAt(Ee+1)]>>4,Me[Pe++]=255&Ae):Re===1&&(Ae=te[ue.charCodeAt(Ee)]<<10|te[ue.charCodeAt(Ee+1)]<<4|te[ue.charCodeAt(Ee+2)]>>2,Me[Pe++]=Ae>>8&255,Me[Pe++]=255&Ae),Me}function re(ue){return E[ue>>18&63]+E[ue>>12&63]+E[ue>>6&63]+E[63&ue]}function se(ue,Ee,Oe){for(var Ae,Re=[],Me=Ee;Me<Oe;Me+=3)Ae=(ue[Me]<<16)+(ue[Me+1]<<8)+ue[Me+2],Re.push(re(Ae));return Re.join("")}function fe(ue){for(var Ee,Oe=ue.length,Ae=Oe%3,Re="",Me=[],be=0,Pe=Oe-Ae;be<Pe;be+=16383)Me.push(se(ue,be,be+16383>Pe?Pe:be+16383));return Ae===1?(Ee=ue[Oe-1],Re+=E[Ee>>2],Re+=E[Ee<<4&63],Re+="=="):Ae===2&&(Ee=(ue[Oe-2]<<8)+ue[Oe-1],Re+=E[Ee>>10],Re+=E[Ee>>4&63],Re+=E[Ee<<2&63],Re+="="),Me.push(Re),Me.join("")}oe.byteLength=de,oe.toByteArray=ve,oe.fromByteArray=fe;for(var E=[],te=[],ne=typeof Uint8Array!="undefined"?Uint8Array:Array,ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",we=0,xe=ge.length;we<xe;++we)E[we]=ge[we],te[ge.charCodeAt(we)]=we;te[45]=62,te[95]=63},function(b,oe){oe.read=function(ye,De,de,ve,re){var se,fe,E=8*re-ve-1,te=(1<<E)-1,ne=te>>1,ge=-7,we=de?re-1:0,xe=de?-1:1,ue=ye[De+we];for(we+=xe,se=ue&(1<<-ge)-1,ue>>=-ge,ge+=E;ge>0;se=256*se+ye[De+we],we+=xe,ge-=8);for(fe=se&(1<<-ge)-1,se>>=-ge,ge+=ve;ge>0;fe=256*fe+ye[De+we],we+=xe,ge-=8);if(se===0)se=1-ne;else{if(se===te)return fe?NaN:1/0*(ue?-1:1);fe+=Math.pow(2,ve),se-=ne}return(ue?-1:1)*fe*Math.pow(2,se-ve)},oe.write=function(ye,De,de,ve,re,se){var fe,E,te,ne=8*se-re-1,ge=(1<<ne)-1,we=ge>>1,xe=re===23?Math.pow(2,-24)-Math.pow(2,-77):0,ue=ve?0:se-1,Ee=ve?1:-1,Oe=De<0||De===0&&1/De<0?1:0;for(De=Math.abs(De),isNaN(De)||De===1/0?(E=isNaN(De)?1:0,fe=ge):(fe=Math.floor(Math.log(De)/Math.LN2),De*(te=Math.pow(2,-fe))<1&&(fe--,te*=2),De+=fe+we>=1?xe/te:xe*Math.pow(2,1-we),De*te>=2&&(fe++,te/=2),fe+we>=ge?(E=0,fe=ge):fe+we>=1?(E=(De*te-1)*Math.pow(2,re),fe+=we):(E=De*Math.pow(2,we-1)*Math.pow(2,re),fe=0));re>=8;ye[de+ue]=255&E,ue+=Ee,E/=256,re-=8);for(fe=fe<<re|E,ne+=re;ne>0;ye[de+ue]=255&fe,ue+=Ee,fe/=256,ne-=8);ye[de+ue-Ee]|=128*Oe}},function(b,oe){var ye={}.toString;b.exports=Array.isArray||function(De){return ye.call(De)=="[object Array]"}},function(b,oe,ye){"use strict";function De(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){De(this,re)}return de(re,null,[{key:"set",value:function(se,fe){try{window.localStorage&&localStorage.setItem(se,fe)}catch(E){window[se+"_localStorage"]=fe}}},{key:"get",value:function(se){try{if(window.localStorage)return localStorage.getItem(se)}catch(fe){return window[se+"_localStorage"]}return""}},{key:"remove",value:function(se){try{window.localStorage&&localStorage.removeItem(se)}catch(fe){delete window[se+"_localStorage"]}}}]),re}();oe.default=ve},function(b,oe,ye){"use strict";function De(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function re(se,fe){for(var E=0;E<fe.length;E++){var te=fe[E];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(se,te.key,te)}}return function(se,fe,E){return fe&&re(se.prototype,fe),E&&re(se,E),se}}(),ve=function(){function re(){De(this,re)}return de(re,null,[{key:"get",value:function(se){for(var fe=se+"",E=document.cookie.split(";"),te=0;te<E.length;te++){var ne=E[te].trim();if(ne.indexOf(fe)==0)return unescape(ne.substring(fe.length+1,ne.length))}return""}},{key:"set",value:function(se,fe,E){var te=new Date;te.setTime(te.getTime()+24*E*60*60*1e3);var ne="expires="+te.toGMTString();document.cookie=se+"="+escape(fe)+"; "+ne}}]),re}();oe.default=ve},function(b,oe,ye){"use strict";function De(ne){return ne&&ne.__esModule?ne:{default:ne}}function de(ne,ge){if(!(ne instanceof ge))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function ne(ge,we){for(var xe=0;xe<we.length;xe++){var ue=we[xe];ue.enumerable=ue.enumerable||!1,ue.configurable=!0,"value"in ue&&(ue.writable=!0),Object.defineProperty(ge,ue.key,ue)}}return function(ge,we,xe){return we&&ne(ge.prototype,we),xe&&ne(ge,xe),ge}}(),re=ye(8),se=De(re),fe=ye(9),E=De(fe),te=function(){function ne(){de(this,ne)}return ve(ne,null,[{key:"refreshUploadAuth",value:function(ge,we,xe){var ue=(E.default.randomUUID(),E.default.randomUUID()),Ee={AccessKeyId:ge.accessKeyId,SecurityToken:ge.securityToken,Action:"RefreshUploadVideo",VideoId:ge.videoId,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:ue,RequestId:ge.requestId},Oe=E.default.makeUTF8sort(Ee,"=","&")+"&Signature="+E.default.aliyunEncodeURI(E.default.makeChangeSiga(Ee,ge.accessKeySecret)),Ae="https://vod."+ge.region+".aliyuncs.com/?"+Oe;se.default.get(Ae,function(Me){var Me=JSON.parse(Me);we&&we(Me)},function(Re){if(xe){var Me=JSON.parse(Re);xe(Me)}})}},{key:"getUploadAuth",value:function(ge,we,xe){var ue=(E.default.randomUUID(),E.default.randomUUID()),Ee={AccessKeyId:ge.accessKeyId,SecurityToken:ge.securityToken,Action:"CreateUploadVideo",Title:ge.title,FileName:ge.fileName,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:ue,RequestId:ge.requestId};ge.fileSize&&(Ee.FileSize=ge.fileSize),ge.description&&(Ee.Description=ge.description),ge.cateId&&(Ee.CateId=ge.cateId),ge.tags&&(Ee.Tags=ge.tags),ge.templateGroupId&&(Ee.TemplateGroupId=ge.templateGroupId),ge.storageLocation&&(Ee.StorageLocation=ge.storageLocation),ge.coverUrl&&(Ee.CoverURL=ge.coverUrl),ge.transCodeMode&&(Ee.TransCodeMode=ge.transCodeMode),ge.userData&&(Ee.UserData=JSON.stringify(ge.userData));var Oe=E.default.makeUTF8sort(Ee,"=","&")+"&Signature="+E.default.aliyunEncodeURI(E.default.makeChangeSiga(Ee,ge.accessKeySecret)),Ae="https://vod."+ge.region+".aliyuncs.com/?"+Oe;se.default.get(Ae,function(Re){try{Re=JSON.parse(Re)}catch(Me){if(xe)return void xe({Code:"GetUploadAuthFailed",Message:"\u83B7\u53D6uploadauth\u5931\u8D25"})}we&&we(Re)},function(Re){if(xe){var Me={Code:"GetUploadAuthFailed",Message:"\u83B7\u53D6uploadauth\u5931\u8D25"};try{Me=JSON.parse(Re)}catch(be){}xe(Me)}})}},{key:"getImageUploadAuth",value:function(ge,we,xe){var ue=(E.default.randomUUID(),E.default.randomUUID()),Ee={AccessKeyId:ge.accessKeyId,SecurityToken:ge.securityToken,Action:"CreateUploadImage",ImageType:ge.imageType?ge.imageType:"default",Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:ue,RequestId:ge.requestId};ge.title&&(Ee.Title=ge.title),ge.imageExt&&(Ee.ImageExt=ge.imageExt),ge.tags&&(Ee.Tags=ge.tags),ge.storageLocation&&(Ee.StorageLocation=ge.storageLocation);var Oe=E.default.makeUTF8sort(Ee,"=","&")+"&Signature="+E.default.aliyunEncodeURI(E.default.makeChangeSiga(Ee,ge.accessKeySecret)),Ae="https://vod."+ge.region+".aliyuncs.com/?"+Oe;se.default.get(Ae,function(Re){Re=JSON.parse(Re),we&&we(Re)},function(Re){if(xe){var Me=JSON.parse(Re);xe(Me)}})}}]),ne}();oe.default=te},function(b,oe,ye){(function(De,de,ve){b.exports=oe=de(ye(0),ye(28),ye(29))})(0,function(De){return De.HmacSHA1})},function(b,oe,ye){(function(De,de){b.exports=oe=de(ye(0))})(0,function(De){return function(){var de=De,ve=de.lib,re=ve.WordArray,se=ve.Hasher,fe=de.algo,E=[],te=fe.SHA1=se.extend({_doReset:function(){this._hash=new re.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(ne,ge){for(var we=this._hash.words,xe=we[0],ue=we[1],Ee=we[2],Oe=we[3],Ae=we[4],Re=0;Re<80;Re++){if(Re<16)E[Re]=0|ne[ge+Re];else{var Me=E[Re-3]^E[Re-8]^E[Re-14]^E[Re-16];E[Re]=Me<<1|Me>>>31}var be=(xe<<5|xe>>>27)+Ae+E[Re];be+=Re<20?1518500249+(ue&Ee|~ue&Oe):Re<40?1859775393+(ue^Ee^Oe):Re<60?(ue&Ee|ue&Oe|Ee&Oe)-1894007588:(ue^Ee^Oe)-899497514,Ae=Oe,Oe=Ee,Ee=ue<<30|ue>>>2,ue=xe,xe=be}we[0]=we[0]+xe|0,we[1]=we[1]+ue|0,we[2]=we[2]+Ee|0,we[3]=we[3]+Oe|0,we[4]=we[4]+Ae|0},_doFinalize:function(){var ne=this._data,ge=ne.words,we=8*this._nDataBytes,xe=8*ne.sigBytes;return ge[xe>>>5]|=128<<24-xe%32,ge[14+(xe+64>>>9<<4)]=Math.floor(we/4294967296),ge[15+(xe+64>>>9<<4)]=we,ne.sigBytes=4*ge.length,this._process(),this._hash},clone:function(){var ne=se.clone.call(this);return ne._hash=this._hash.clone(),ne}});de.SHA1=se._createHelper(te),de.HmacSHA1=se._createHmacHelper(te)}(),De.SHA1})},function(b,oe,ye){(function(De,de){b.exports=oe=de(ye(0))})(0,function(De){(function(){var de=De,ve=de.lib,re=ve.Base,se=de.enc,fe=se.Utf8,E=de.algo;E.HMAC=re.extend({init:function(te,ne){te=this._hasher=new te.init,typeof ne=="string"&&(ne=fe.parse(ne));var ge=te.blockSize,we=4*ge;ne.sigBytes>we&&(ne=te.finalize(ne)),ne.clamp();for(var xe=this._oKey=ne.clone(),ue=this._iKey=ne.clone(),Ee=xe.words,Oe=ue.words,Ae=0;Ae<ge;Ae++)Ee[Ae]^=1549556828,Oe[Ae]^=909522486;xe.sigBytes=ue.sigBytes=we,this.reset()},reset:function(){var te=this._hasher;te.reset(),te.update(this._iKey)},update:function(te){return this._hasher.update(te),this},finalize:function(te){var ne=this._hasher,ge=ne.finalize(te);return ne.reset(),ne.finalize(this._oKey.clone().concat(ge))}})})()})},function(b,oe,ye){(function(De,de){b.exports=oe=de(ye(0))})(0,function(De){return function(){function de(E,te,ne){for(var ge=[],we=0,xe=0;xe<te;xe++)if(xe%4){var ue=ne[E.charCodeAt(xe-1)]<<xe%4*2,Ee=ne[E.charCodeAt(xe)]>>>6-xe%4*2;ge[we>>>2]|=(ue|Ee)<<24-we%4*8,we++}return se.create(ge,we)}var ve=De,re=ve.lib,se=re.WordArray,fe=ve.enc;fe.Base64={stringify:function(E){var te=E.words,ne=E.sigBytes,ge=this._map;E.clamp();for(var we=[],xe=0;xe<ne;xe+=3)for(var ue=te[xe>>>2]>>>24-xe%4*8&255,Ee=te[xe+1>>>2]>>>24-(xe+1)%4*8&255,Oe=te[xe+2>>>2]>>>24-(xe+2)%4*8&255,Ae=ue<<16|Ee<<8|Oe,Re=0;Re<4&&xe+.75*Re<ne;Re++)we.push(ge.charAt(Ae>>>6*(3-Re)&63));var Me=ge.charAt(64);if(Me)for(;we.length%4;)we.push(Me);return we.join("")},parse:function(E){var te=E.length,ne=this._map,ge=this._reverseMap;if(!ge){ge=this._reverseMap=[];for(var we=0;we<ne.length;we++)ge[ne.charCodeAt(we)]=we}var xe=ne.charAt(64);if(xe){var ue=E.indexOf(xe);ue!==-1&&(te=ue)}return de(E,te,ge)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),De.enc.Base64})},function(b,oe,ye){"use strict";function De(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}function de(Pe,Fe){if(!(Pe instanceof Fe))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var ve=function(){function Pe(Fe,_e){for(var Te=0;Te<_e.length;Te++){var Ke=_e[Te];Ke.enumerable=Ke.enumerable||!1,Ke.configurable=!0,"value"in Ke&&(Ke.writable=!0),Object.defineProperty(Fe,Ke.key,Ke)}}return function(Fe,_e,Te){return _e&&Pe(Fe.prototype,_e),Te&&Pe(Fe,Te),Fe}}(),re=ye(8),se=De(re),fe=ye(7),E=De(fe),te=ye(4),ne=De(te),ge=ye(6),we=De(ge),xe=ye(1),ue=De(xe),Ee=ye(9),Oe=De(Ee),Ae=ye(2),Re=ye(11),Me=ye(10),be=function(){function Pe(){de(this,Pe)}return ve(Pe,null,[{key:"getAuthInfo",value:function(Fe,_e,Te){var Ke=Fe+"|f#Ylm&^1TppeRhLg|"+Te;return _e&&(Ke=Fe+"|"+_e+"|f#Ylm&^1TppeRhLg|"+Te),Ae(Me.parse(Ke)).toString(Re)}},{key:"upload",value:function(Fe,_e,Te){var Ke=ue.default.ISODateString(new Date),We=Math.floor(new Date().valueOf()/1e3),Ne=ne.default.getClientId();Ne=ne.default.setClientId(Ne);var Ye=Pe.getAuthInfo(Fe.userId,Ne,We),Je=Oe.default.randomUUID(),He={Source:"WebSDK",BusinessType:"UploadVideo",Action:"ReportUploadProgress",TerminalType:"H5",DeviceModel:E.default.browser.name+(E.default.browser.version||""),AppVersion:we.default.version,AuthTimestamp:We,Timestamp:Ke,AuthInfo:Ye,FileName:Fe.file.name,FileSize:Fe.file.size,FileCreateTime:Fe.file.lastModified,FileHash:Fe.fileHash,UploadId:Fe.checkpoint.checkpoint.uploadId,PartSize:Fe.checkpoint.checkpoint.partSize,DonePartsCount:Fe.checkpoint.checkpoint.doneParts.length,UploadPoint:JSON.stringify(Fe.checkpoint),UploadRatio:Fe.checkpoint.loaded,UserId:Fe.userId,VideoId:Fe.videoId,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:Je};Ne&&(He.ClientId=Ne);var lt=Oe.default.makeUTF8sort(He,"=","&")+"&Signature="+Oe.default.aliyunEncodeURI(Oe.default.makeChangeSiga(He,Fe.accessKeySecret)),ct="https://vod."+Fe.region+".aliyuncs.com/?"+lt;se.default.get(ct,function(tt){_e&&_e()},function(tt){tt&&(Te(tt),console.log(tt))})}},{key:"get",value:function(Fe,_e,Te){var Ke=ue.default.ISODateString(new Date),We=Math.floor(new Date().valueOf()/1e3),Ne=ne.default.getClientId(),Ye=Pe.getAuthInfo(Fe.userId,Ne,We),Je=Oe.default.randomUUID(),He={Source:"WebSDK",BusinessType:"UploadVideo",Action:"GetUploadProgress",TerminalType:"H5",DeviceModel:E.default.browser.name+(E.default.browser.version||""),AppVersion:we.default.version,AuthTimestamp:We,Timestamp:Ke,AuthInfo:Ye,UserId:Fe.userId,UploadInfoList:JSON.stringify(Fe.uploadInfoList),Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:Je};Ne&&(He.ClientId=Ne);var lt=Oe.default.makeUTF8sort(He,"=","&")+"&Signature="+Oe.default.aliyunEncodeURI(Oe.default.makeChangeSiga(He,Fe.accessKeySecret)),ct="https://vod."+Fe.region+".aliyuncs.com/?"+lt;se.default.get(ct,function(tt){var Bt={},nt=Ne;tt=tt?JSON.parse(tt):{},tt.UploadProgress&&tt.UploadProgress.UploadProgressList&&tt.UploadProgress.UploadProgressList.length>0&&(Bt=tt.UploadProgress.UploadProgressList[0],nt=Bt.ClientId),ne.default.setClientId(nt),_e&&_e(Bt)},function(tt){tt&&(Te(tt),console.log(tt))})}}]),Pe}();oe.default=be},function(b,oe,ye){"use strict";function De(fe,E){if(!(fe instanceof E))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(oe,"__esModule",{value:!0});var de=function(){function fe(E,te){for(var ne=0;ne<te.length;ne++){var ge=te[ne];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(E,ge.key,ge)}}return function(E,te,ne){return te&&fe(E.prototype,te),ne&&fe(E,ne),E}}(),ve=ye(2),re=ye(33),se=(ye(11),function(){function fe(){De(this,fe)}return de(fe,null,[{key:"getMd5",value:function(E,te,ne){var ge=new FileReader;ge.onload=function(ue){try{if(ue&&ue.target){var Ee=ve(re.parse(ue.target.result)),Oe=Ee.toString();te(Oe)}}catch(Ae){console.log(Ae)}},ge.onerror=function(ue){console.log(ue),errorCallback(ue)};var we=File.prototype.slice||File.prototype.mozSlice||File.prototype.webkitSlice,xe=we.call(E,0,1024);ge.readAsBinaryString(xe)}}]),fe}());oe.default=se},function(b,oe,ye){(function(De,de){b.exports=oe=de(ye(0))})(0,function(De){return De.enc.Latin1})}])},9981:function(Un,pn){"use strict";const ae=function(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let oe=1;oe<arguments.length;oe++){const ye=oe<0||arguments.length<=oe?void 0:arguments[oe];ye&&Object.keys(ye).forEach(De=>{const de=ye[De];de!==void 0&&(b[De]=de)})}return b};pn.Z=ae},86013:function(Un,pn,ae){"use strict";var b=ae(59301),oe=ae(19248);const ye=De=>{let de;return typeof De=="object"&&(De!=null&&De.clearIcon)?de=De:De&&(de={clearIcon:b.createElement(oe.Z,null)}),de};pn.Z=ye},97224:function(Un,pn,ae){"use strict";ae.d(pn,{F:function(){return b}});function b(ye){return ye!=null&&ye===ye.window}const oe=ye=>{var De,de;if(typeof window=="undefined")return 0;let ve=0;return b(ye)?ve=ye.pageYOffset:ye instanceof Document?ve=ye.documentElement.scrollTop:(ye instanceof HTMLElement||ye)&&(ve=ye.scrollTop),ye&&!b(ye)&&typeof ve!="number"&&(ve=(de=((De=ye.ownerDocument)!==null&&De!==void 0?De:ye).documentElement)===null||de===void 0?void 0:de.scrollTop),ve};pn.Z=oe},83010:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return De}});var b=ae(16089);function oe(de,ve,re,se){const fe=re-ve;return de/=se/2,de<1?fe/2*de*de*de+ve:fe/2*((de-=2)*de*de+2)+ve}var ye=ae(97224);function De(de){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:se,duration:fe=450}=ve,E=re(),te=(0,ye.Z)(E),ne=Date.now(),ge=()=>{const xe=Date.now()-ne,ue=oe(xe>fe?fe:xe,te,de,fe);(0,ye.F)(E)?E.scrollTo(window.pageXOffset,ue):E instanceof Document||E.constructor.name==="HTMLDocument"?E.documentElement.scrollTop=ue:E.scrollTop=ue,xe<fe?(0,b.Z)(ge):typeof se=="function"&&se()};(0,b.Z)(ge)}},62673:function(Un,pn,ae){"use strict";ae.d(pn,{default:function(){return Te}});var b=ae(59301),oe=ae(92310),ye=ae.n(oe),De=ae(16632),de=ae(8654),ve=ae(12919),re=ae(63872),se=ae(48755),fe=ae(2171),E=ae(83397),te=ae(56553),ge=b.createContext(null),we=ae(36170),xe=ae(74632),ue=function(Ke,We){var Ne={};for(var Ye in Ke)Object.prototype.hasOwnProperty.call(Ke,Ye)&&We.indexOf(Ye)<0&&(Ne[Ye]=Ke[Ye]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Ye=Object.getOwnPropertySymbols(Ke);Je<Ye.length;Je++)We.indexOf(Ye[Je])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Ye[Je])&&(Ne[Ye[Je]]=Ke[Ye[Je]]);return Ne};const Ee=(Ke,We)=>{var Ne;const{prefixCls:Ye,className:Je,rootClassName:He,children:lt,indeterminate:ct=!1,style:tt,onMouseEnter:Bt,onMouseLeave:nt,skipGroup:Ue=!1,disabled:Xe}=Ke,$e=ue(Ke,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:qe,direction:Ve,checkbox:ht}=b.useContext(se.E_),st=b.useContext(ge),{isFormItemInput:Nt}=b.useContext(te.aM),dt=b.useContext(fe.Z),Tt=(Ne=(st==null?void 0:st.disabled)||Xe)!==null&&Ne!==void 0?Ne:dt,bt=b.useRef($e.value),Ct=b.useRef(null),gt=(0,de.sQ)(We,Ct);b.useEffect(()=>{st==null||st.registerValue($e.value)},[]),b.useEffect(()=>{if(!Ue)return $e.value!==bt.current&&(st==null||st.cancelValue(bt.current),st==null||st.registerValue($e.value),bt.current=$e.value),()=>st==null?void 0:st.cancelValue($e.value)},[$e.value]),b.useEffect(()=>{var Se;!((Se=Ct.current)===null||Se===void 0)&&Se.input&&(Ct.current.input.indeterminate=ct)},[ct]);const je=qe("checkbox",Ye),le=(0,E.Z)(je),[ie,ke,Ge]=(0,we.ZP)(je,le),Ie=Object.assign({},$e);st&&!Ue&&(Ie.onChange=function(){$e.onChange&&$e.onChange.apply($e,arguments),st.toggleOption&&st.toggleOption({label:lt,value:$e.value})},Ie.name=st.name,Ie.checked=st.value.includes($e.value));const pe=ye()(`${je}-wrapper`,{[`${je}-rtl`]:Ve==="rtl",[`${je}-wrapper-checked`]:Ie.checked,[`${je}-wrapper-disabled`]:Tt,[`${je}-wrapper-in-form-item`]:Nt},ht==null?void 0:ht.className,Je,He,Ge,le,ke),x=ye()({[`${je}-indeterminate`]:ct},re.A,ke),[me,Le]=(0,xe.Z)(Ie.onClick);return ie(b.createElement(ve.Z,{component:"Checkbox",disabled:Tt},b.createElement("label",{className:pe,style:Object.assign(Object.assign({},ht==null?void 0:ht.style),tt),onMouseEnter:Bt,onMouseLeave:nt,onClick:me},b.createElement(De.Z,Object.assign({},Ie,{onClick:Le,prefixCls:je,className:x,disabled:Tt,ref:gt})),lt!==void 0&&b.createElement("span",{className:`${je}-label`},lt))))};var Ae=b.forwardRef(Ee),Re=ae(94480),Me=ae(2738),be=function(Ke,We){var Ne={};for(var Ye in Ke)Object.prototype.hasOwnProperty.call(Ke,Ye)&&We.indexOf(Ye)<0&&(Ne[Ye]=Ke[Ye]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Ye=Object.getOwnPropertySymbols(Ke);Je<Ye.length;Je++)We.indexOf(Ye[Je])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Ye[Je])&&(Ne[Ye[Je]]=Ke[Ye[Je]]);return Ne},Fe=b.forwardRef((Ke,We)=>{const{defaultValue:Ne,children:Ye,options:Je=[],prefixCls:He,className:lt,rootClassName:ct,style:tt,onChange:Bt}=Ke,nt=be(Ke,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ue,direction:Xe}=b.useContext(se.E_),[$e,qe]=b.useState(nt.value||Ne||[]),[Ve,ht]=b.useState([]);b.useEffect(()=>{"value"in nt&&qe(nt.value||[])},[nt.value]);const st=b.useMemo(()=>Je.map(x=>typeof x=="string"||typeof x=="number"?{label:x,value:x}:x),[Je]),Nt=x=>{ht(me=>me.filter(Le=>Le!==x))},dt=x=>{ht(me=>[].concat((0,Re.Z)(me),[x]))},Tt=x=>{const me=$e.indexOf(x.value),Le=(0,Re.Z)($e);me===-1?Le.push(x.value):Le.splice(me,1),"value"in nt||qe(Le),Bt==null||Bt(Le.filter(Se=>Ve.includes(Se)).sort((Se,Be)=>{const Qe=st.findIndex(ot=>ot.value===Se),it=st.findIndex(ot=>ot.value===Be);return Qe-it}))},bt=Ue("checkbox",He),Ct=`${bt}-group`,gt=(0,E.Z)(bt),[je,le,ie]=(0,we.ZP)(bt,gt),ke=(0,Me.Z)(nt,["value","disabled"]),Ge=Je.length?st.map(x=>b.createElement(Ae,{prefixCls:bt,key:x.value.toString(),disabled:"disabled"in x?x.disabled:nt.disabled,value:x.value,checked:$e.includes(x.value),onChange:x.onChange,className:`${Ct}-item`,style:x.style,title:x.title,id:x.id,required:x.required},x.label)):Ye,Ie={toggleOption:Tt,value:$e,disabled:nt.disabled,name:nt.name,registerValue:dt,cancelValue:Nt},pe=ye()(Ct,{[`${Ct}-rtl`]:Xe==="rtl"},lt,ct,ie,gt,le);return je(b.createElement("div",Object.assign({className:pe,style:tt},ke,{ref:We}),b.createElement(ge.Provider,{value:Ie},Ge)))});const _e=Ae;_e.Group=Fe,_e.__ANT_CHECKBOX=!0;var Te=_e},36170:function(Un,pn,ae){"use strict";ae.d(pn,{C2:function(){return ve}});var b=ae(36237),oe=ae(63356),ye=ae(51636),De=ae(16931);const de=re=>{const{checkboxCls:se}=re,fe=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,oe.Wf)(re)),{display:"inline-flex",flexWrap:"wrap",columnGap:re.marginXS,[`> ${re.antCls}-row`]:{flex:1}}),[fe]:Object.assign(Object.assign({},(0,oe.Wf)(re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${fe}`]:{marginInlineStart:0},[`&${fe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,oe.Wf)(re)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:re.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,oe.oN)(re))},[`${se}-inner`]:{boxSizing:"border-box",display:"block",width:re.checkboxSize,height:re.checkboxSize,direction:"ltr",backgroundColor:re.colorBgContainer,border:`${(0,b.unit)(re.lineWidth)} ${re.lineType} ${re.colorBorder}`,borderRadius:re.borderRadiusSM,borderCollapse:"separate",transition:`all ${re.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:re.calc(re.checkboxSize).div(14).mul(5).equal(),height:re.calc(re.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(re.lineWidthBold)} solid ${re.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${re.motionDurationFast} ${re.motionEaseInBack}, opacity ${re.motionDurationFast}`}},"& + span":{paddingInlineStart:re.paddingXS,paddingInlineEnd:re.paddingXS}})},{[`
|
|
|
${fe}:not(${fe}-disabled),
|
|
|
${se}:not(${se}-disabled)
|
|
|
`]:{[`&:hover ${se}-inner`]:{borderColor:re.colorPrimary}},[`${fe}:not(${fe}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:re.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:re.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-inner`]:{backgroundColor:re.colorPrimary,borderColor:re.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${re.motionDurationMid} ${re.motionEaseOutBack} ${re.motionDurationFast}`}}},[`
|
|
|
${fe}-checked:not(${fe}-disabled),
|
|
|
${se}-checked:not(${se}-disabled)
|
|
|
`]:{[`&:hover ${se}-inner`]:{backgroundColor:re.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:`${re.colorBgContainer} !important`,borderColor:`${re.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:re.calc(re.fontSizeLG).div(2).equal(),height:re.calc(re.fontSizeLG).div(2).equal(),backgroundColor:re.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${se}-inner`]:{backgroundColor:`${re.colorBgContainer} !important`,borderColor:`${re.colorPrimary} !important`}}}},{[`${fe}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:re.colorBgContainerDisabled,borderColor:re.colorBorder,"&:after":{borderColor:re.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:re.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:re.colorTextDisabled}}}]};function ve(re,se){const fe=(0,ye.mergeToken)(se,{checkboxCls:`.${re}`,checkboxSize:se.controlInteractiveSize});return[de(fe)]}pn.ZP=(0,De.I$)("Checkbox",(re,se)=>{let{prefixCls:fe}=se;return[ve(fe,re)]})},38406:function(Un,pn,ae){"use strict";var b=ae(59301),oe=ae(48755),ye=ae(584);const De=de=>{const{componentName:ve}=de,{getPrefixCls:re}=(0,b.useContext)(oe.E_),se=re("empty");switch(ve){case"Table":case"List":return b.createElement(ye.Z,{image:ye.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(ye.Z,{image:ye.Z.PRESENTED_IMAGE_SIMPLE,className:`${se}-small`});case"Table.filter":return null;default:return b.createElement(ye.Z,null)}};pn.Z=De},37285:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return we}});var b=ae(59301),oe=ae(92310),ye=ae.n(oe),De=ae(48755),de=ae(36237),ve=ae(63356),re=ae(16931),se=ae(51636);const fe=xe=>{const{componentCls:ue,sizePaddingEdgeHorizontal:Ee,colorSplit:Oe,lineWidth:Ae,textPaddingInline:Re,orientationMargin:Me,verticalMarginInline:be}=xe;return{[ue]:Object.assign(Object.assign({},(0,ve.Wf)(xe)),{borderBlockStart:`${(0,de.unit)(Ae)} solid ${Oe}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:be,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,de.unit)(Ae)} solid ${Oe}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,de.unit)(xe.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${ue}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,de.unit)(xe.dividerHorizontalWithTextGutterMargin)} 0`,color:xe.colorTextHeading,fontWeight:500,fontSize:xe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Oe}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,de.unit)(Ae)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ue}-with-text-start`]:{"&::before":{width:`calc(${Me} * 100%)`},"&::after":{width:`calc(100% - ${Me} * 100%)`}},[`&-horizontal${ue}-with-text-end`]:{"&::before":{width:`calc(100% - ${Me} * 100%)`},"&::after":{width:`calc(${Me} * 100%)`}},[`${ue}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Re},"&-dashed":{background:"none",borderColor:Oe,borderStyle:"dashed",borderWidth:`${(0,de.unit)(Ae)} 0 0`},[`&-horizontal${ue}-with-text${ue}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ue}-dashed`]:{borderInlineStartWidth:Ae,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:Oe,borderStyle:"dotted",borderWidth:`${(0,de.unit)(Ae)} 0 0`},[`&-horizontal${ue}-with-text${ue}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${ue}-dotted`]:{borderInlineStartWidth:Ae,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ue}-with-text`]:{color:xe.colorText,fontWeight:"normal",fontSize:xe.fontSize},[`&-horizontal${ue}-with-text-start${ue}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ue}-inner-text`]:{paddingInlineStart:Ee}},[`&-horizontal${ue}-with-text-end${ue}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ue}-inner-text`]:{paddingInlineEnd:Ee}}})}},E=xe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:xe.marginXS});var te=(0,re.I$)("Divider",xe=>{const ue=(0,se.mergeToken)(xe,{dividerHorizontalWithTextGutterMargin:xe.margin,dividerHorizontalGutterMargin:xe.marginLG,sizePaddingEdgeHorizontal:0});return[fe(ue)]},E,{unitless:{orientationMargin:!0}}),ne=function(xe,ue){var Ee={};for(var Oe in xe)Object.prototype.hasOwnProperty.call(xe,Oe)&&ue.indexOf(Oe)<0&&(Ee[Oe]=xe[Oe]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Oe=Object.getOwnPropertySymbols(xe);Ae<Oe.length;Ae++)ue.indexOf(Oe[Ae])<0&&Object.prototype.propertyIsEnumerable.call(xe,Oe[Ae])&&(Ee[Oe[Ae]]=xe[Oe[Ae]]);return Ee},we=xe=>{const{getPrefixCls:ue,direction:Ee,className:Oe,style:Ae}=(0,De.dj)("divider"),{prefixCls:Re,type:Me="horizontal",orientation:be="center",orientationMargin:Pe,className:Fe,rootClassName:_e,children:Te,dashed:Ke,variant:We="solid",plain:Ne,style:Ye}=xe,Je=ne(xe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),He=ue("divider",Re),[lt,ct,tt]=te(He),Bt=!!Te,nt=b.useMemo(()=>be==="left"?Ee==="rtl"?"end":"start":be==="right"?Ee==="rtl"?"start":"end":be,[Ee,be]),Ue=nt==="start"&&Pe!=null,Xe=nt==="end"&&Pe!=null,$e=ye()(He,Oe,ct,tt,`${He}-${Me}`,{[`${He}-with-text`]:Bt,[`${He}-with-text-${nt}`]:Bt,[`${He}-dashed`]:!!Ke,[`${He}-${We}`]:We!=="solid",[`${He}-plain`]:!!Ne,[`${He}-rtl`]:Ee==="rtl",[`${He}-no-default-orientation-margin-start`]:Ue,[`${He}-no-default-orientation-margin-end`]:Xe},Fe,_e),qe=b.useMemo(()=>typeof Pe=="number"?Pe:/^\d+$/.test(Pe)?Number(Pe):Pe,[Pe]),Ve={marginInlineStart:Ue?qe:void 0,marginInlineEnd:Xe?qe:void 0};return lt(b.createElement("div",Object.assign({className:$e,style:Object.assign(Object.assign({},Ae),Ye)},Je,{role:"separator"}),Te&&Me!=="vertical"&&b.createElement("span",{className:`${He}-inner-text`,style:Ve},Te)))}},36207:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return me}});var b=ae(59301),oe=ae(92310),ye=ae.n(oe),De=ae(33885),de=ae(42978),ve=ae(43403),re=ae(34280),se=b.createContext(null),fe=b.createContext({}),E=se,te=ae(20068),ne=ae(54476),ge=ae(77900),we=ae(10228),xe=ae(26112),ue=ae(75931),Ee=ae(8654),Oe=["prefixCls","className","containerRef"],Ae=function(Se){var Be=Se.prefixCls,Qe=Se.className,it=Se.containerRef,ot=(0,ue.Z)(Se,Oe),at=b.useContext(fe),Rt=at.panel,Ft=(0,Ee.x1)(Rt,it);return b.createElement("div",(0,ne.Z)({className:ye()("".concat(Be,"-content"),Qe),role:"dialog",ref:Ft},(0,xe.Z)(Se,{aria:!0}),{"aria-modal":"true"},ot))},Re=Ae,Me=ae(48736);function be(Le){return typeof Le=="string"&&String(Number(Le))===Le?((0,Me.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Le)):Le}function Pe(Le){warning(!("wrapperClassName"in Le),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Le.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Fe={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function _e(Le,Se){var Be,Qe,it,ot=Le.prefixCls,at=Le.open,Rt=Le.placement,Ft=Le.inline,rn=Le.push,nn=Le.forceRender,Lt=Le.autoFocus,qt=Le.keyboard,Wt=Le.classNames,Dt=Le.rootClassName,zt=Le.rootStyle,un=Le.zIndex,mn=Le.className,Et=Le.id,Ht=Le.style,Jt=Le.motion,gn=Le.width,Nn=Le.height,Xn=Le.children,gr=Le.mask,br=Le.maskClosable,Yn=Le.maskMotion,hr=Le.maskClassName,Wn=Le.maskStyle,xn=Le.afterOpenChange,Pn=Le.onClose,Tn=Le.onMouseEnter,An=Le.onMouseOver,zn=Le.onMouseLeave,Kn=Le.onClick,er=Le.onKeyDown,wr=Le.onKeyUp,Sr=Le.styles,Er=Le.drawerRender,Nr=b.useRef(),Br=b.useRef(),jr=b.useRef();b.useImperativeHandle(Se,function(){return Nr.current});var Rr=function($t){var Xt=$t.keyCode,fn=$t.shiftKey;switch(Xt){case we.Z.TAB:{if(Xt===we.Z.TAB){if(!fn&&document.activeElement===jr.current){var lr;(lr=Br.current)===null||lr===void 0||lr.focus({preventScroll:!0})}else if(fn&&document.activeElement===Br.current){var Ut;(Ut=jr.current)===null||Ut===void 0||Ut.focus({preventScroll:!0})}}break}case we.Z.ESC:{Pn&&qt&&($t.stopPropagation(),Pn($t));break}}};b.useEffect(function(){if(at&&Lt){var Yt;(Yt=Nr.current)===null||Yt===void 0||Yt.focus({preventScroll:!0})}},[at]);var Ln=b.useState(!1),tr=(0,de.Z)(Ln,2),Ar=tr[0],yr=tr[1],Zt=b.useContext(E),St;typeof rn=="boolean"?St=rn?{}:{distance:0}:St=rn||{};var Ot=(Be=(Qe=(it=St)===null||it===void 0?void 0:it.distance)!==null&&Qe!==void 0?Qe:Zt==null?void 0:Zt.pushDistance)!==null&&Be!==void 0?Be:180,Gt=b.useMemo(function(){return{pushDistance:Ot,push:function(){yr(!0)},pull:function(){yr(!1)}}},[Ot]);b.useEffect(function(){if(at){var Yt;Zt==null||(Yt=Zt.push)===null||Yt===void 0||Yt.call(Zt)}else{var $t;Zt==null||($t=Zt.pull)===null||$t===void 0||$t.call(Zt)}},[at]),b.useEffect(function(){return function(){var Yt;Zt==null||(Yt=Zt.pull)===null||Yt===void 0||Yt.call(Zt)}},[]);var kt=gr&&b.createElement(ge.default,(0,ne.Z)({key:"mask"},Yn,{visible:at}),function(Yt,$t){var Xt=Yt.className,fn=Yt.style;return b.createElement("div",{className:ye()("".concat(ot,"-mask"),Xt,Wt==null?void 0:Wt.mask,hr),style:(0,De.Z)((0,De.Z)((0,De.Z)({},fn),Wn),Sr==null?void 0:Sr.mask),onClick:br&&at?Pn:void 0,ref:$t})}),Pt=typeof Jt=="function"?Jt(Rt):Jt,xt={};if(Ar&&Ot)switch(Rt){case"top":xt.transform="translateY(".concat(Ot,"px)");break;case"bottom":xt.transform="translateY(".concat(-Ot,"px)");break;case"left":xt.transform="translateX(".concat(Ot,"px)");break;default:xt.transform="translateX(".concat(-Ot,"px)");break}Rt==="left"||Rt==="right"?xt.width=be(gn):xt.height=be(Nn);var en={onMouseEnter:Tn,onMouseOver:An,onMouseLeave:zn,onClick:Kn,onKeyDown:er,onKeyUp:wr},on=b.createElement(ge.default,(0,ne.Z)({key:"panel"},Pt,{visible:at,forceRender:nn,onVisibleChanged:function($t){xn==null||xn($t)},removeOnLeave:!1,leavedClassName:"".concat(ot,"-content-wrapper-hidden")}),function(Yt,$t){var Xt=Yt.className,fn=Yt.style,lr=b.createElement(Re,(0,ne.Z)({id:Et,containerRef:$t,prefixCls:ot,className:ye()(mn,Wt==null?void 0:Wt.content),style:(0,De.Z)((0,De.Z)({},Ht),Sr==null?void 0:Sr.content)},(0,xe.Z)(Le,{aria:!0}),en),Xn);return b.createElement("div",(0,ne.Z)({className:ye()("".concat(ot,"-content-wrapper"),Wt==null?void 0:Wt.wrapper,Xt),style:(0,De.Z)((0,De.Z)((0,De.Z)({},xt),fn),Sr==null?void 0:Sr.wrapper)},(0,xe.Z)(Le,{data:!0})),Er?Er(lr):lr)}),cn=(0,De.Z)({},zt);return un&&(cn.zIndex=un),b.createElement(E.Provider,{value:Gt},b.createElement("div",{className:ye()(ot,"".concat(ot,"-").concat(Rt),Dt,(0,te.Z)((0,te.Z)({},"".concat(ot,"-open"),at),"".concat(ot,"-inline"),Ft)),style:cn,tabIndex:-1,ref:Nr,onKeyDown:Rr},kt,b.createElement("div",{tabIndex:0,ref:Br,style:Fe,"aria-hidden":"true","data-sentinel":"start"}),on,b.createElement("div",{tabIndex:0,ref:jr,style:Fe,"aria-hidden":"true","data-sentinel":"end"})))}var Te=b.forwardRef(_e),Ke=Te,We=function(Se){var Be=Se.open,Qe=Be===void 0?!1:Be,it=Se.prefixCls,ot=it===void 0?"rc-drawer":it,at=Se.placement,Rt=at===void 0?"right":at,Ft=Se.autoFocus,rn=Ft===void 0?!0:Ft,nn=Se.keyboard,Lt=nn===void 0?!0:nn,qt=Se.width,Wt=qt===void 0?378:qt,Dt=Se.mask,zt=Dt===void 0?!0:Dt,un=Se.maskClosable,mn=un===void 0?!0:un,Et=Se.getContainer,Ht=Se.forceRender,Jt=Se.afterOpenChange,gn=Se.destroyOnClose,Nn=Se.onMouseEnter,Xn=Se.onMouseOver,gr=Se.onMouseLeave,br=Se.onClick,Yn=Se.onKeyDown,hr=Se.onKeyUp,Wn=Se.panelRef,xn=b.useState(!1),Pn=(0,de.Z)(xn,2),Tn=Pn[0],An=Pn[1],zn=b.useState(!1),Kn=(0,de.Z)(zn,2),er=Kn[0],wr=Kn[1];(0,re.Z)(function(){wr(!0)},[]);var Sr=er?Qe:!1,Er=b.useRef(),Nr=b.useRef();(0,re.Z)(function(){Sr&&(Nr.current=document.activeElement)},[Sr]);var Br=function(Ar){var yr;if(An(Ar),Jt==null||Jt(Ar),!Ar&&Nr.current&&!((yr=Er.current)!==null&&yr!==void 0&&yr.contains(Nr.current))){var Zt;(Zt=Nr.current)===null||Zt===void 0||Zt.focus({preventScroll:!0})}},jr=b.useMemo(function(){return{panel:Wn}},[Wn]);if(!Ht&&!Tn&&!Sr&&gn)return null;var Rr={onMouseEnter:Nn,onMouseOver:Xn,onMouseLeave:gr,onClick:br,onKeyDown:Yn,onKeyUp:hr},Ln=(0,De.Z)((0,De.Z)({},Se),{},{open:Sr,prefixCls:ot,placement:Rt,autoFocus:rn,keyboard:Lt,width:Wt,mask:zt,maskClosable:mn,inline:Et===!1,afterOpenChange:Br,ref:Er},Rr);return b.createElement(fe.Provider,{value:jr},b.createElement(ve.Z,{open:Sr||Ht||Tn,autoDestroy:!1,getContainer:Et,autoLock:zt&&(Sr||Tn)},b.createElement(Ke,Ln)))},Ne=We,Ye=Ne,Je=ae(62487),He=ae(75030),lt=ae(86641),ct=ae(55743),tt=ae(48755),Bt=ae(91190),nt=ae(78776),Ue=ae(458),$e=Le=>{var Se,Be;const{prefixCls:Qe,title:it,footer:ot,extra:at,loading:Rt,onClose:Ft,headerStyle:rn,bodyStyle:nn,footerStyle:Lt,children:qt,classNames:Wt,styles:Dt}=Le,zt=(0,tt.dj)("drawer"),un=b.useCallback(gn=>b.createElement("button",{type:"button",onClick:Ft,"aria-label":"Close",className:`${Qe}-close`},gn),[Ft]),[mn,Et]=(0,nt.Z)((0,nt.w)(Le),(0,nt.w)(zt),{closable:!0,closeIconRender:un}),Ht=b.useMemo(()=>{var gn,Nn;return!it&&!mn?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(gn=zt.styles)===null||gn===void 0?void 0:gn.header),rn),Dt==null?void 0:Dt.header),className:ye()(`${Qe}-header`,{[`${Qe}-header-close-only`]:mn&&!it&&!at},(Nn=zt.classNames)===null||Nn===void 0?void 0:Nn.header,Wt==null?void 0:Wt.header)},b.createElement("div",{className:`${Qe}-header-title`},Et,it&&b.createElement("div",{className:`${Qe}-title`},it)),at&&b.createElement("div",{className:`${Qe}-extra`},at))},[mn,Et,at,rn,Qe,it]),Jt=b.useMemo(()=>{var gn,Nn;if(!ot)return null;const Xn=`${Qe}-footer`;return b.createElement("div",{className:ye()(Xn,(gn=zt.classNames)===null||gn===void 0?void 0:gn.footer,Wt==null?void 0:Wt.footer),style:Object.assign(Object.assign(Object.assign({},(Nn=zt.styles)===null||Nn===void 0?void 0:Nn.footer),Lt),Dt==null?void 0:Dt.footer)},ot)},[ot,Lt,Qe]);return b.createElement(b.Fragment,null,Ht,b.createElement("div",{className:ye()(`${Qe}-body`,Wt==null?void 0:Wt.body,(Se=zt.classNames)===null||Se===void 0?void 0:Se.body),style:Object.assign(Object.assign(Object.assign({},(Be=zt.styles)===null||Be===void 0?void 0:Be.body),nn),Dt==null?void 0:Dt.body)},Rt?b.createElement(Ue.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Qe}-body-skeleton`}):qt),Jt)},qe=ae(36237),Ve=ae(63356),ht=ae(16931),st=ae(51636);const Nt=Le=>{const Se="100%";return{left:`translateX(-${Se})`,right:`translateX(${Se})`,top:`translateY(-${Se})`,bottom:`translateY(${Se})`}[Le]},dt=(Le,Se)=>({"&-enter, &-appear":Object.assign(Object.assign({},Le),{"&-active":Se}),"&-leave":Object.assign(Object.assign({},Se),{"&-active":Le})}),Tt=(Le,Se)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Se}`}}},dt({opacity:Le},{opacity:1})),bt=(Le,Se)=>[Tt(.7,Se),dt({transform:Nt(Le)},{transform:"none"})];var gt=Le=>{const{componentCls:Se,motionDurationSlow:Be}=Le;return{[Se]:{[`${Se}-mask-motion`]:Tt(0,Be),[`${Se}-panel-motion`]:["left","right","top","bottom"].reduce((Qe,it)=>Object.assign(Object.assign({},Qe),{[`&-${it}`]:bt(it,Be)}),{})}}};const je=Le=>{const{borderRadiusSM:Se,componentCls:Be,zIndexPopup:Qe,colorBgMask:it,colorBgElevated:ot,motionDurationSlow:at,motionDurationMid:Rt,paddingXS:Ft,padding:rn,paddingLG:nn,fontSizeLG:Lt,lineHeightLG:qt,lineWidth:Wt,lineType:Dt,colorSplit:zt,marginXS:un,colorIcon:mn,colorIconHover:Et,colorBgTextHover:Ht,colorBgTextActive:Jt,colorText:gn,fontWeightStrong:Nn,footerPaddingBlock:Xn,footerPaddingInline:gr,calc:br}=Le,Yn=`${Be}-content-wrapper`;return{[Be]:{position:"fixed",inset:0,zIndex:Qe,pointerEvents:"none",color:gn,"&-pure":{position:"relative",background:ot,display:"flex",flexDirection:"column",[`&${Be}-left`]:{boxShadow:Le.boxShadowDrawerLeft},[`&${Be}-right`]:{boxShadow:Le.boxShadowDrawerRight},[`&${Be}-top`]:{boxShadow:Le.boxShadowDrawerUp},[`&${Be}-bottom`]:{boxShadow:Le.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Be}-mask`]:{position:"absolute",inset:0,zIndex:Qe,background:it,pointerEvents:"auto"},[Yn]:{position:"absolute",zIndex:Qe,maxWidth:"100vw",transition:`all ${at}`,"&-hidden":{display:"none"}},[`&-left > ${Yn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Le.boxShadowDrawerLeft},[`&-right > ${Yn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Le.boxShadowDrawerRight},[`&-top > ${Yn}`]:{top:0,insetInline:0,boxShadow:Le.boxShadowDrawerUp},[`&-bottom > ${Yn}`]:{bottom:0,insetInline:0,boxShadow:Le.boxShadowDrawerDown},[`${Be}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:ot,pointerEvents:"auto"},[`${Be}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,qe.unit)(rn)} ${(0,qe.unit)(nn)}`,fontSize:Lt,lineHeight:qt,borderBottom:`${(0,qe.unit)(Wt)} ${Dt} ${zt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Be}-extra`]:{flex:"none"},[`${Be}-close`]:Object.assign({display:"inline-flex",width:br(Lt).add(Ft).equal(),height:br(Lt).add(Ft).equal(),borderRadius:Se,justifyContent:"center",alignItems:"center",marginInlineEnd:un,color:mn,fontWeight:Nn,fontSize:Lt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Rt}`,textRendering:"auto","&:hover":{color:Et,backgroundColor:Ht,textDecoration:"none"},"&:active":{backgroundColor:Jt}},(0,Ve.Qy)(Le)),[`${Be}-title`]:{flex:1,margin:0,fontWeight:Le.fontWeightStrong,fontSize:Lt,lineHeight:qt},[`${Be}-body`]:{flex:1,minWidth:0,minHeight:0,padding:nn,overflow:"auto",[`${Be}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${Be}-footer`]:{flexShrink:0,padding:`${(0,qe.unit)(Xn)} ${(0,qe.unit)(gr)}`,borderTop:`${(0,qe.unit)(Wt)} ${Dt} ${zt}`},"&-rtl":{direction:"rtl"}}}},le=Le=>({zIndexPopup:Le.zIndexPopupBase,footerPaddingBlock:Le.paddingXS,footerPaddingInline:Le.padding});var ie=(0,ht.I$)("Drawer",Le=>{const Se=(0,st.mergeToken)(Le,{});return[je(Se),gt(Se)]},le),ke=function(Le,Se){var Be={};for(var Qe in Le)Object.prototype.hasOwnProperty.call(Le,Qe)&&Se.indexOf(Qe)<0&&(Be[Qe]=Le[Qe]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,Qe=Object.getOwnPropertySymbols(Le);it<Qe.length;it++)Se.indexOf(Qe[it])<0&&Object.prototype.propertyIsEnumerable.call(Le,Qe[it])&&(Be[Qe[it]]=Le[Qe[it]]);return Be};const Ge=null,Ie={distance:180},pe=Le=>{var Se;const{rootClassName:Be,width:Qe,height:it,size:ot="default",mask:at=!0,push:Rt=Ie,open:Ft,afterOpenChange:rn,onClose:nn,prefixCls:Lt,getContainer:qt,style:Wt,className:Dt,visible:zt,afterVisibleChange:un,maskStyle:mn,drawerStyle:Et,contentWrapperStyle:Ht}=Le,Jt=ke(Le,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:gn,getPrefixCls:Nn,direction:Xn,className:gr,style:br,classNames:Yn,styles:hr}=(0,tt.dj)("drawer"),Wn=Nn("drawer",Lt),[xn,Pn,Tn]=ie(Wn),An=qt===void 0&&gn?()=>gn(document.body):qt,zn=ye()({"no-mask":!at,[`${Wn}-rtl`]:Xn==="rtl"},Be,Pn,Tn),Kn=b.useMemo(()=>Qe!=null?Qe:ot==="large"?736:378,[Qe,ot]),er=b.useMemo(()=>it!=null?it:ot==="large"?736:378,[it,ot]),wr={motionName:(0,lt.m)(Wn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Sr=Ln=>({motionName:(0,lt.m)(Wn,`panel-motion-${Ln}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Er=(0,Bt.H)(),[Nr,Br]=(0,He.Cn)("Drawer",Jt.zIndex),{classNames:jr={},styles:Rr={}}=Jt;return xn(b.createElement(Je.Z,{form:!0,space:!0},b.createElement(ct.Z.Provider,{value:Br},b.createElement(Ye,Object.assign({prefixCls:Wn,onClose:nn,maskMotion:wr,motion:Sr},Jt,{classNames:{mask:ye()(jr.mask,Yn.mask),content:ye()(jr.content,Yn.content),wrapper:ye()(jr.wrapper,Yn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Rr.mask),mn),hr.mask),content:Object.assign(Object.assign(Object.assign({},Rr.content),Et),hr.content),wrapper:Object.assign(Object.assign(Object.assign({},Rr.wrapper),Ht),hr.wrapper)},open:Ft!=null?Ft:zt,mask:at,push:Rt,width:Kn,height:er,style:Object.assign(Object.assign({},br),Wt),className:ye()(gr,Dt),rootClassName:zn,getContainer:An,afterOpenChange:rn!=null?rn:un,panelRef:Er,zIndex:Nr}),b.createElement($e,Object.assign({prefixCls:Wn},Jt,{onClose:nn}))))))},x=Le=>{const{prefixCls:Se,style:Be,className:Qe,placement:it="right"}=Le,ot=ke(Le,["prefixCls","style","className","placement"]),{getPrefixCls:at}=b.useContext(tt.E_),Rt=at("drawer",Se),[Ft,rn,nn]=ie(Rt),Lt=ye()(Rt,`${Rt}-pure`,`${Rt}-${it}`,rn,nn,Qe);return Ft(b.createElement("div",{className:Lt,style:Be},b.createElement($e,Object.assign({prefixCls:Rt},ot))))};pe._InternalPanelDoNotUseOrYouWillBeFired=x;var me=pe},19563:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return qe}});var b=ae(59301),oe=ae(33853),ye=ae(38819),De=ae(92310),de=ae.n(De),ve=ae(96478),re=ae(6089),se=ae(18929),fe=ae(2738),E=ae(75030),ne=Ve=>typeof Ve!="object"&&typeof Ve!="function"||Ve===null,ge=ae(52838),we=ae(45915),xe=ae(22703),ue=ae(32383),Ee=ae(55743),Oe=ae(48755),Ae=ae(83397),Re=ae(93041),Me=ae(78857),be=ae(57700),Pe=ae(36237),Fe=ae(63356),_e=ae(46e3),Te=ae(93873),Ke=ae(34925),We=ae(37645),Ne=ae(36305),Ye=ae(16931),Je=ae(51636),lt=Ve=>{const{componentCls:ht,menuCls:st,colorError:Nt,colorTextLightSolid:dt}=Ve,Tt=`${st}-item`;return{[`${ht}, ${ht}-menu-submenu`]:{[`${st} ${Tt}`]:{[`&${Tt}-danger:not(${Tt}-disabled)`]:{color:Nt,"&:hover":{color:dt,backgroundColor:Nt}}}}}};const ct=Ve=>{const{componentCls:ht,menuCls:st,zIndexPopup:Nt,dropdownArrowDistance:dt,sizePopupArrow:Tt,antCls:bt,iconCls:Ct,motionDurationMid:gt,paddingBlock:je,fontSize:le,dropdownEdgeChildPadding:ie,colorTextDisabled:ke,fontSizeIcon:Ge,controlPaddingHorizontal:Ie,colorBgElevated:pe}=Ve;return[{[ht]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Nt,display:"block","&::before":{position:"absolute",insetBlock:Ve.calc(Tt).div(2).sub(dt).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${bt}-btn`]:{[`& > ${Ct}-down, & > ${bt}-btn-icon > ${Ct}-down`]:{fontSize:Ge}},[`${ht}-wrap`]:{position:"relative",[`${bt}-btn > ${Ct}-down`]:{fontSize:Ge},[`${Ct}-down::before`]:{transition:`transform ${gt}`}},[`${ht}-wrap-open`]:{[`${Ct}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${bt}-slide-down-enter${bt}-slide-down-enter-active${ht}-placement-bottomLeft,
|
|
|
&${bt}-slide-down-appear${bt}-slide-down-appear-active${ht}-placement-bottomLeft,
|
|
|
&${bt}-slide-down-enter${bt}-slide-down-enter-active${ht}-placement-bottom,
|
|
|
&${bt}-slide-down-appear${bt}-slide-down-appear-active${ht}-placement-bottom,
|
|
|
&${bt}-slide-down-enter${bt}-slide-down-enter-active${ht}-placement-bottomRight,
|
|
|
&${bt}-slide-down-appear${bt}-slide-down-appear-active${ht}-placement-bottomRight`]:{animationName:_e.fJ},[`&${bt}-slide-up-enter${bt}-slide-up-enter-active${ht}-placement-topLeft,
|
|
|
&${bt}-slide-up-appear${bt}-slide-up-appear-active${ht}-placement-topLeft,
|
|
|
&${bt}-slide-up-enter${bt}-slide-up-enter-active${ht}-placement-top,
|
|
|
&${bt}-slide-up-appear${bt}-slide-up-appear-active${ht}-placement-top,
|
|
|
&${bt}-slide-up-enter${bt}-slide-up-enter-active${ht}-placement-topRight,
|
|
|
&${bt}-slide-up-appear${bt}-slide-up-appear-active${ht}-placement-topRight`]:{animationName:_e.Qt},[`&${bt}-slide-down-leave${bt}-slide-down-leave-active${ht}-placement-bottomLeft,
|
|
|
&${bt}-slide-down-leave${bt}-slide-down-leave-active${ht}-placement-bottom,
|
|
|
&${bt}-slide-down-leave${bt}-slide-down-leave-active${ht}-placement-bottomRight`]:{animationName:_e.Uw},[`&${bt}-slide-up-leave${bt}-slide-up-leave-active${ht}-placement-topLeft,
|
|
|
&${bt}-slide-up-leave${bt}-slide-up-leave-active${ht}-placement-top,
|
|
|
&${bt}-slide-up-leave${bt}-slide-up-leave-active${ht}-placement-topRight`]:{animationName:_e.ly}}},(0,We.ZP)(Ve,pe,{arrowPlacement:{top:!0,bottom:!0}}),{[`${ht} ${st}`]:{position:"relative",margin:0},[`${st}-submenu-popup`]:{position:"absolute",zIndex:Nt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ht}, ${ht}-menu-submenu`]:Object.assign(Object.assign({},(0,Fe.Wf)(Ve)),{[st]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:pe,backgroundClip:"padding-box",borderRadius:Ve.borderRadiusLG,outline:"none",boxShadow:Ve.boxShadowSecondary},(0,Fe.Qy)(Ve)),{"&:empty":{padding:0,boxShadow:"none"},[`${st}-item-group-title`]:{padding:`${(0,Pe.unit)(je)} ${(0,Pe.unit)(Ie)}`,color:Ve.colorTextDescription,transition:`all ${gt}`},[`${st}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${st}-item-icon`]:{minWidth:le,marginInlineEnd:Ve.marginXS,fontSize:Ve.fontSizeSM},[`${st}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${gt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${st}-item-extra`]:{paddingInlineStart:Ve.padding,marginInlineStart:"auto",fontSize:Ve.fontSizeSM,color:Ve.colorTextDescription}},[`${st}-item, ${st}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Pe.unit)(je)} ${(0,Pe.unit)(Ie)}`,color:Ve.colorText,fontWeight:"normal",fontSize:le,lineHeight:Ve.lineHeight,cursor:"pointer",transition:`all ${gt}`,borderRadius:Ve.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ve.controlItemBgHover}},(0,Fe.Qy)(Ve)),{"&-selected":{color:Ve.colorPrimary,backgroundColor:Ve.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ve.controlItemBgActiveHover}},"&-disabled":{color:ke,cursor:"not-allowed","&:hover":{color:ke,backgroundColor:pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Pe.unit)(Ve.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ve.colorSplit},[`${ht}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ve.paddingXS,[`${ht}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ve.colorTextDescription,fontSize:Ge,fontStyle:"normal"}}}),[`${st}-item-group-list`]:{margin:`0 ${(0,Pe.unit)(Ve.marginXS)}`,padding:0,listStyle:"none"},[`${st}-submenu-title`]:{paddingInlineEnd:Ve.calc(Ie).add(Ve.fontSizeSM).equal()},[`${st}-submenu-vertical`]:{position:"relative"},[`${st}-submenu${st}-submenu-disabled ${ht}-menu-submenu-title`]:{[`&, ${ht}-menu-submenu-arrow-icon`]:{color:ke,backgroundColor:pe,cursor:"not-allowed"}},[`${st}-submenu-selected ${ht}-menu-submenu-title`]:{color:Ve.colorPrimary}})})},[(0,_e.oN)(Ve,"slide-up"),(0,_e.oN)(Ve,"slide-down"),(0,Te.Fm)(Ve,"move-up"),(0,Te.Fm)(Ve,"move-down"),(0,Ke._y)(Ve,"zoom-big")]]},tt=Ve=>Object.assign(Object.assign({zIndexPopup:Ve.zIndexPopupBase+50,paddingBlock:(Ve.controlHeight-Ve.fontSize*Ve.lineHeight)/2},(0,We.wZ)({contentRadius:Ve.borderRadiusLG,limitVerticalRadius:!0})),(0,Ne.w)(Ve));var Bt=(0,Ye.I$)("Dropdown",Ve=>{const{marginXXS:ht,sizePopupArrow:st,paddingXXS:Nt,componentCls:dt}=Ve,Tt=(0,Je.mergeToken)(Ve,{menuCls:`${dt}-menu`,dropdownArrowDistance:Ve.calc(st).div(2).add(ht).equal(),dropdownEdgeChildPadding:Nt});return[ct(Tt),lt(Tt)]},tt,{resetStyle:!1});const nt=null,Ue=Ve=>{var ht;const{menu:st,arrow:Nt,prefixCls:dt,children:Tt,trigger:bt,disabled:Ct,dropdownRender:gt,getPopupContainer:je,overlayClassName:le,rootClassName:ie,overlayStyle:ke,open:Ge,onOpenChange:Ie,visible:pe,onVisibleChange:x,mouseEnterDelay:me=.15,mouseLeaveDelay:Le=.1,autoAdjustOverflow:Se=!0,placement:Be="",overlay:Qe,transitionName:it}=Ve,{getPopupContainer:ot,getPrefixCls:at,direction:Rt,dropdown:Ft}=b.useContext(Oe.E_),rn=(0,ue.ln)("Dropdown"),nn=b.useMemo(()=>{const An=at();return it!==void 0?it:Be.includes("top")?`${An}-slide-down`:`${An}-slide-up`},[at,Be,it]),Lt=b.useMemo(()=>Be?Be.includes("Center")?Be.slice(0,Be.indexOf("Center")):Be:Rt==="rtl"?"bottomRight":"bottomLeft",[Be,Rt]),qt=at("dropdown",dt),Wt=(0,Ae.Z)(qt),[Dt,zt,un]=Bt(qt,Wt),[,mn]=(0,be.ZP)(),Et=b.Children.only(ne(Tt)?b.createElement("span",null,Tt):Tt),Ht=(0,xe.Tm)(Et,{className:de()(`${qt}-trigger`,{[`${qt}-rtl`]:Rt==="rtl"},Et.props.className),disabled:(ht=Et.props.disabled)!==null&&ht!==void 0?ht:Ct}),Jt=Ct?[]:bt,gn=!!(Jt!=null&&Jt.includes("contextMenu")),[Nn,Xn]=(0,se.Z)(!1,{value:Ge!=null?Ge:pe}),gr=(0,re.Z)(An=>{Ie==null||Ie(An,{source:"trigger"}),x==null||x(An),Xn(An)}),br=de()(le,ie,zt,un,Wt,Ft==null?void 0:Ft.className,{[`${qt}-rtl`]:Rt==="rtl"}),Yn=(0,ge.Z)({arrowPointAtCenter:typeof Nt=="object"&&Nt.pointAtCenter,autoAdjustOverflow:Se,offset:mn.marginXXS,arrowWidth:Nt?mn.sizePopupArrow:0,borderRadius:mn.borderRadius}),hr=b.useCallback(()=>{st!=null&&st.selectable&&(st!=null&&st.multiple)||(Ie==null||Ie(!1,{source:"menu"}),Xn(!1))},[st==null?void 0:st.selectable,st==null?void 0:st.multiple]),Wn=()=>{let An;return st!=null&&st.items?An=b.createElement(Re.default,Object.assign({},st)):typeof Qe=="function"?An=Qe():An=Qe,gt&&(An=gt(An)),An=b.Children.only(typeof An=="string"?b.createElement("span",null,An):An),b.createElement(Me.J,{prefixCls:`${qt}-menu`,rootClassName:de()(un,Wt),expandIcon:b.createElement("span",{className:`${qt}-menu-submenu-arrow`},Rt==="rtl"?b.createElement(oe.Z,{className:`${qt}-menu-submenu-arrow-icon`}):b.createElement(ye.Z,{className:`${qt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:hr,validator:zn=>{let{mode:Kn}=zn}},An)},[xn,Pn]=(0,E.Cn)("Dropdown",ke==null?void 0:ke.zIndex);let Tn=b.createElement(ve.Z,Object.assign({alignPoint:gn},(0,fe.Z)(Ve,["rootClassName"]),{mouseEnterDelay:me,mouseLeaveDelay:Le,visible:Nn,builtinPlacements:Yn,arrow:!!Nt,overlayClassName:br,prefixCls:qt,getPopupContainer:je||ot,transitionName:nn,trigger:Jt,overlay:Wn,placement:Lt,onVisibleChange:gr,overlayStyle:Object.assign(Object.assign(Object.assign({},Ft==null?void 0:Ft.style),ke),{zIndex:xn})}),Ht);return xn&&(Tn=b.createElement(Ee.Z.Provider,{value:Pn},Tn)),Dt(Tn)},Xe=(0,we.Z)(Ue,"align",void 0,"dropdown",Ve=>Ve),$e=Ve=>b.createElement(Xe,Object.assign({},Ve),b.createElement("span",null));Ue._InternalPanelDoNotUseOrYouWillBeFired=$e;var qe=Ue},75727:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return we}});var b=ae(19563),oe=ae(59301),ye=ae(18785),De=ae(92310),de=ae.n(De),ve=ae(7939),re=ae(48755),se=ae(44104),fe=ae(70045),E=function(xe,ue){var Ee={};for(var Oe in xe)Object.prototype.hasOwnProperty.call(xe,Oe)&&ue.indexOf(Oe)<0&&(Ee[Oe]=xe[Oe]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Oe=Object.getOwnPropertySymbols(xe);Ae<Oe.length;Ae++)ue.indexOf(Oe[Ae])<0&&Object.prototype.propertyIsEnumerable.call(xe,Oe[Ae])&&(Ee[Oe[Ae]]=xe[Oe[Ae]]);return Ee};const te=xe=>{const{getPopupContainer:ue,getPrefixCls:Ee,direction:Oe}=oe.useContext(re.E_),{prefixCls:Ae,type:Re="default",danger:Me,disabled:be,loading:Pe,onClick:Fe,htmlType:_e,children:Te,className:Ke,menu:We,arrow:Ne,autoFocus:Ye,overlay:Je,trigger:He,align:lt,open:ct,onOpenChange:tt,placement:Bt,getPopupContainer:nt,href:Ue,icon:Xe=oe.createElement(ye.Z,null),title:$e,buttonsRender:qe=me=>me,mouseEnterDelay:Ve,mouseLeaveDelay:ht,overlayClassName:st,overlayStyle:Nt,destroyPopupOnHide:dt,dropdownRender:Tt}=xe,bt=E(xe,["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"]),Ct=Ee("dropdown",Ae),gt=`${Ct}-button`,je={menu:We,arrow:Ne,autoFocus:Ye,align:lt,disabled:be,trigger:be?[]:He,onOpenChange:tt,getPopupContainer:nt||ue,mouseEnterDelay:Ve,mouseLeaveDelay:ht,overlayClassName:st,overlayStyle:Nt,destroyPopupOnHide:dt,dropdownRender:Tt},{compactSize:le,compactItemClassnames:ie}=(0,fe.ri)(Ct,Oe),ke=de()(gt,ie,Ke);"overlay"in xe&&(je.overlay=Je),"open"in xe&&(je.open=ct),"placement"in xe?je.placement=Bt:je.placement=Oe==="rtl"?"bottomLeft":"bottomRight";const Ge=oe.createElement(ve.ZP,{type:Re,danger:Me,disabled:be,loading:Pe,onClick:Fe,htmlType:_e,href:Ue,title:$e},Te),Ie=oe.createElement(ve.ZP,{type:Re,danger:Me,icon:Xe}),[pe,x]=qe([Ge,Ie]);return oe.createElement(se.Z.Compact,Object.assign({className:ke,size:le,block:!0},bt),pe,oe.createElement(b.Z,Object.assign({},je),x))};te.__ANT_BUTTON=!0;var ne=te;const ge=b.Z;ge.Button=ne;var we=ge},584:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Re}});var b=ae(59301),oe=ae(92310),ye=ae.n(oe),De=ae(9017),de=ae(17835),ve=ae(57700),se=()=>{const[,Me]=(0,ve.ZP)(),[be]=(0,De.Z)("Empty"),Fe=new de.FastColor(Me.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:Fe,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(be==null?void 0:be.description)||"Empty"),b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(24 31.67)"},b.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),b.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"}),b.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)"}),b.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"}),b.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"})),b.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"}),b.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},b.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),b.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},E=()=>{const[,Me]=(0,ve.ZP)(),[be]=(0,De.Z)("Empty"),{colorFill:Pe,colorFillTertiary:Fe,colorFillQuaternary:_e,colorBgContainer:Te}=Me,{borderColor:Ke,shadowColor:We,contentColor:Ne}=(0,b.useMemo)(()=>({borderColor:new de.FastColor(Pe).onBackground(Te).toHexString(),shadowColor:new de.FastColor(Fe).onBackground(Te).toHexString(),contentColor:new de.FastColor(_e).onBackground(Te).toHexString()}),[Pe,Fe,_e,Te]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(be==null?void 0:be.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:We,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:Ke},b.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"}),b.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Ne}))))},te=ae(16931),ne=ae(51636);const ge=Me=>{const{componentCls:be,margin:Pe,marginXS:Fe,marginXL:_e,fontSize:Te,lineHeight:Ke}=Me;return{[be]:{marginInline:Fe,fontSize:Te,lineHeight:Ke,textAlign:"center",[`${be}-image`]:{height:Me.emptyImgHeight,marginBottom:Fe,opacity:Me.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${be}-description`]:{color:Me.colorTextDescription},[`${be}-footer`]:{marginTop:Pe},"&-normal":{marginBlock:_e,color:Me.colorTextDescription,[`${be}-description`]:{color:Me.colorTextDescription},[`${be}-image`]:{height:Me.emptyImgHeightMD}},"&-small":{marginBlock:Fe,color:Me.colorTextDescription,[`${be}-image`]:{height:Me.emptyImgHeightSM}}}}};var we=(0,te.I$)("Empty",Me=>{const{componentCls:be,controlHeightLG:Pe,calc:Fe}=Me,_e=(0,ne.mergeToken)(Me,{emptyImgCls:`${be}-img`,emptyImgHeight:Fe(Pe).mul(2.5).equal(),emptyImgHeightMD:Pe,emptyImgHeightSM:Fe(Pe).mul(.875).equal()});return[ge(_e)]}),xe=ae(48755),ue=function(Me,be){var Pe={};for(var Fe in Me)Object.prototype.hasOwnProperty.call(Me,Fe)&&be.indexOf(Fe)<0&&(Pe[Fe]=Me[Fe]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Fe=Object.getOwnPropertySymbols(Me);_e<Fe.length;_e++)be.indexOf(Fe[_e])<0&&Object.prototype.propertyIsEnumerable.call(Me,Fe[_e])&&(Pe[Fe[_e]]=Me[Fe[_e]]);return Pe};const Ee=b.createElement(se,null),Oe=b.createElement(E,null),Ae=Me=>{const{className:be,rootClassName:Pe,prefixCls:Fe,image:_e=Ee,description:Te,children:Ke,imageStyle:We,style:Ne,classNames:Ye,styles:Je}=Me,He=ue(Me,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:lt,direction:ct,className:tt,style:Bt,classNames:nt,styles:Ue}=(0,xe.dj)("empty"),Xe=lt("empty",Fe),[$e,qe,Ve]=we(Xe),[ht]=(0,De.Z)("Empty"),st=typeof Te!="undefined"?Te:ht==null?void 0:ht.description,Nt=typeof st=="string"?st:"empty";let dt=null;return typeof _e=="string"?dt=b.createElement("img",{alt:Nt,src:_e}):dt=_e,$e(b.createElement("div",Object.assign({className:ye()(qe,Ve,Xe,tt,{[`${Xe}-normal`]:_e===Oe,[`${Xe}-rtl`]:ct==="rtl"},be,Pe,nt.root,Ye==null?void 0:Ye.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Ue.root),Bt),Je==null?void 0:Je.root),Ne)},He),b.createElement("div",{className:ye()(`${Xe}-image`,nt.image,Ye==null?void 0:Ye.image),style:Object.assign(Object.assign(Object.assign({},We),Ue.image),Je==null?void 0:Je.image)},dt),st&&b.createElement("div",{className:ye()(`${Xe}-description`,nt.description,Ye==null?void 0:Ye.description),style:Object.assign(Object.assign({},Ue.description),Je==null?void 0:Je.description)},st),Ke&&b.createElement("div",{className:ye()(`${Xe}-footer`,nt.footer,Ye==null?void 0:Ye.footer),style:Object.assign(Object.assign({},Ue.footer),Je==null?void 0:Je.footer)},Ke)))};Ae.PRESENTED_IMAGE_DEFAULT=Ee,Ae.PRESENTED_IMAGE_SIMPLE=Oe;var Re=Ae},28284:function(Un,pn,ae){"use strict";ae.d(pn,{default:function(){return St}});var b=ae(56553),oe=ae(94480),ye=ae(59301),De=ae(92310),de=ae.n(De),ve=ae(77900),re=ae(86641),se=ae(83397);function fe(Ot){const[Gt,kt]=ye.useState(Ot);return ye.useEffect(()=>{const Pt=setTimeout(()=>{kt(Ot)},Ot.length?0:10);return()=>{clearTimeout(Pt)}},[Ot]),Gt}var E=ae(36237),te=ae(63356),ne=ae(34925),ge=ae(34961),we=ae(51636),xe=ae(16931),Ee=Ot=>{const{componentCls:Gt}=Ot,kt=`${Gt}-show-help`,Pt=`${Gt}-show-help-item`;return{[kt]:{transition:`opacity ${Ot.motionDurationFast} ${Ot.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Pt]:{overflow:"hidden",transition:`height ${Ot.motionDurationFast} ${Ot.motionEaseInOut},
|
|
|
opacity ${Ot.motionDurationFast} ${Ot.motionEaseInOut},
|
|
|
transform ${Ot.motionDurationFast} ${Ot.motionEaseInOut} !important`,[`&${Pt}-appear, &${Pt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Pt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Oe=Ot=>({legend:{display:"block",width:"100%",marginBottom:Ot.marginLG,padding:0,color:Ot.colorTextDescription,fontSize:Ot.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,E.unit)(Ot.lineWidth)} ${Ot.lineType} ${Ot.colorBorder}`},'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 ${(0,E.unit)(Ot.controlOutlineWidth)} ${Ot.controlOutline}`},output:{display:"block",paddingTop:15,color:Ot.colorText,fontSize:Ot.fontSize,lineHeight:Ot.lineHeight}}),Ae=(Ot,Gt)=>{const{formItemCls:kt}=Ot;return{[kt]:{[`${kt}-label > label`]:{height:Gt},[`${kt}-control-input`]:{minHeight:Gt}}}},Re=Ot=>{const{componentCls:Gt}=Ot;return{[Ot.componentCls]:Object.assign(Object.assign(Object.assign({},(0,te.Wf)(Ot)),Oe(Ot)),{[`${Gt}-text`]:{display:"inline-block",paddingInlineEnd:Ot.paddingSM},"&-small":Object.assign({},Ae(Ot,Ot.controlHeightSM)),"&-large":Object.assign({},Ae(Ot,Ot.controlHeightLG))})}},Me=Ot=>{const{formItemCls:Gt,iconCls:kt,rootPrefixCls:Pt,antCls:xt,labelRequiredMarkColor:en,labelColor:on,labelFontSize:cn,labelHeight:Yt,labelColonMarginInlineStart:$t,labelColonMarginInlineEnd:Xt,itemMarginBottom:fn}=Ot;return{[Gt]:Object.assign(Object.assign({},(0,te.Wf)(Ot)),{marginBottom:fn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${xt}-row`]:{display:"none"},"&-has-warning":{[`${Gt}-split`]:{color:Ot.colorError}},"&-has-error":{[`${Gt}-split`]:{color:Ot.colorWarning}},[`${Gt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Ot.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Yt,color:on,fontSize:cn,[`> ${kt}`]:{fontSize:Ot.fontSize,verticalAlign:"top"},[`&${Gt}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Ot.marginXXS,color:en,fontSize:Ot.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Gt}-required-mark-hidden, &${Gt}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Gt}-optional`]:{display:"inline-block",marginInlineStart:Ot.marginXXS,color:Ot.colorTextDescription,[`&${Gt}-required-mark-hidden`]:{display:"none"}},[`${Gt}-tooltip`]:{color:Ot.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ot.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:$t,marginInlineEnd:Xt},[`&${Gt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Gt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Pt}-col-'"]):not([class*="' ${Pt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Ot.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Gt]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Ot.colorTextDescription,fontSize:Ot.fontSize,lineHeight:Ot.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ot.controlHeightSM,transition:`color ${Ot.motionDurationMid} ${Ot.motionEaseOut}`},"&-explain":{"&-error":{color:Ot.colorError},"&-warning":{color:Ot.colorWarning}}},[`&-with-help ${Gt}-explain`]:{height:"auto",opacity:1},[`${Gt}-feedback-icon`]:{fontSize:Ot.fontSize,textAlign:"center",visibility:"visible",animationName:ne.kr,animationDuration:Ot.motionDurationMid,animationTimingFunction:Ot.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ot.colorSuccess},"&-error":{color:Ot.colorError},"&-warning":{color:Ot.colorWarning},"&-validating":{color:Ot.colorPrimary}}})}},be=(Ot,Gt)=>{const{formItemCls:kt}=Ot;return{[`${Gt}-horizontal`]:{[`${kt}-label`]:{flexGrow:0},[`${kt}-control`]:{flex:"1 1 0",minWidth:0},[`${kt}-label[class$='-24'], ${kt}-label[class*='-24 ']`]:{[`& + ${kt}-control`]:{minWidth:"unset"}}}}},Pe=Ot=>{const{componentCls:Gt,formItemCls:kt,inlineItemMarginBottom:Pt}=Ot;return{[`${Gt}-inline`]:{display:"flex",flexWrap:"wrap",[kt]:{flex:"none",marginInlineEnd:Ot.margin,marginBottom:Pt,"&-row":{flexWrap:"nowrap"},[`> ${kt}-label,
|
|
|
> ${kt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${kt}-label`]:{flex:"none"},[`${Gt}-text`]:{display:"inline-block"},[`${kt}-has-feedback`]:{display:"inline-block"}}}}},Fe=Ot=>({padding:Ot.verticalLabelPadding,margin:Ot.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),_e=Ot=>{const{componentCls:Gt,formItemCls:kt,rootPrefixCls:Pt}=Ot;return{[`${kt} ${kt}-label`]:Fe(Ot),[`${Gt}:not(${Gt}-inline)`]:{[kt]:{flexWrap:"wrap",[`${kt}-label, ${kt}-control`]:{[`&:not([class*=" ${Pt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Te=Ot=>{const{componentCls:Gt,formItemCls:kt,antCls:Pt}=Ot;return{[`${Gt}-vertical`]:{[`${kt}:not(${kt}-horizontal)`]:{[`${kt}-row`]:{flexDirection:"column"},[`${kt}-label > label`]:{height:"auto"},[`${kt}-control`]:{width:"100%"},[`${kt}-label,
|
|
|
${Pt}-col-24${kt}-label,
|
|
|
${Pt}-col-xl-24${kt}-label`]:Fe(Ot)}},[`@media (max-width: ${(0,E.unit)(Ot.screenXSMax)})`]:[_e(Ot),{[Gt]:{[`${kt}:not(${kt}-horizontal)`]:{[`${Pt}-col-xs-24${kt}-label`]:Fe(Ot)}}}],[`@media (max-width: ${(0,E.unit)(Ot.screenSMMax)})`]:{[Gt]:{[`${kt}:not(${kt}-horizontal)`]:{[`${Pt}-col-sm-24${kt}-label`]:Fe(Ot)}}},[`@media (max-width: ${(0,E.unit)(Ot.screenMDMax)})`]:{[Gt]:{[`${kt}:not(${kt}-horizontal)`]:{[`${Pt}-col-md-24${kt}-label`]:Fe(Ot)}}},[`@media (max-width: ${(0,E.unit)(Ot.screenLGMax)})`]:{[Gt]:{[`${kt}:not(${kt}-horizontal)`]:{[`${Pt}-col-lg-24${kt}-label`]:Fe(Ot)}}}}},Ke=Ot=>{const{formItemCls:Gt,antCls:kt}=Ot;return{[`${Gt}-vertical`]:{[`${Gt}-row`]:{flexDirection:"column"},[`${Gt}-label > label`]:{height:"auto"},[`${Gt}-control`]:{width:"100%"}},[`${Gt}-vertical ${Gt}-label,
|
|
|
${kt}-col-24${Gt}-label,
|
|
|
${kt}-col-xl-24${Gt}-label`]:Fe(Ot),[`@media (max-width: ${(0,E.unit)(Ot.screenXSMax)})`]:[_e(Ot),{[Gt]:{[`${kt}-col-xs-24${Gt}-label`]:Fe(Ot)}}],[`@media (max-width: ${(0,E.unit)(Ot.screenSMMax)})`]:{[Gt]:{[`${kt}-col-sm-24${Gt}-label`]:Fe(Ot)}},[`@media (max-width: ${(0,E.unit)(Ot.screenMDMax)})`]:{[Gt]:{[`${kt}-col-md-24${Gt}-label`]:Fe(Ot)}},[`@media (max-width: ${(0,E.unit)(Ot.screenLGMax)})`]:{[Gt]:{[`${kt}-col-lg-24${Gt}-label`]:Fe(Ot)}}}},We=Ot=>({labelRequiredMarkColor:Ot.colorError,labelColor:Ot.colorTextHeading,labelFontSize:Ot.fontSize,labelHeight:Ot.controlHeight,labelColonMarginInlineStart:Ot.marginXXS/2,labelColonMarginInlineEnd:Ot.marginXS,itemMarginBottom:Ot.marginLG,verticalLabelPadding:`0 0 ${Ot.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Ne=(Ot,Gt)=>(0,we.mergeToken)(Ot,{formItemCls:`${Ot.componentCls}-item`,rootPrefixCls:Gt});var Ye=(0,xe.I$)("Form",(Ot,Gt)=>{let{rootPrefixCls:kt}=Gt;const Pt=Ne(Ot,kt);return[Re(Pt),Me(Pt),Ee(Pt),be(Pt,Pt.componentCls),be(Pt,Pt.formItemCls),Pe(Pt),Te(Pt),Ke(Pt),(0,ge.Z)(Pt),ne.kr]},We,{order:-1e3});const Je=[];function He(Ot,Gt,kt){let Pt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ot=="string"?Ot:`${Gt}-${Pt}`,error:Ot,errorStatus:kt}}var ct=Ot=>{let{help:Gt,helpStatus:kt,errors:Pt=Je,warnings:xt=Je,className:en,fieldId:on,onVisibleChanged:cn}=Ot;const{prefixCls:Yt}=ye.useContext(b.Rk),$t=`${Yt}-item-explain`,Xt=(0,se.Z)(Yt),[fn,lr,Ut]=Ye(Yt,Xt),Qt=ye.useMemo(()=>(0,re.Z)(Yt),[Yt]),Cn=fe(Pt),Vt=fe(xt),jt=ye.useMemo(()=>Gt!=null?[He(Gt,"help",kt)]:[].concat((0,oe.Z)(Cn.map((bn,In)=>He(bn,"error","error",In))),(0,oe.Z)(Vt.map((bn,In)=>He(bn,"warning","warning",In)))),[Gt,kt,Cn,Vt]),hn=ye.useMemo(()=>{const bn={};return jt.forEach(In=>{let{key:Fn}=In;bn[Fn]=(bn[Fn]||0)+1}),jt.map((In,Fn)=>Object.assign(Object.assign({},In),{key:bn[In.key]>1?`${In.key}-fallback-${Fn}`:In.key}))},[jt]),wn={};return on&&(wn.id=`${on}_help`),fn(ye.createElement(ve.default,{motionDeadline:Qt.motionDeadline,motionName:`${Yt}-show-help`,visible:!!hn.length,onVisibleChanged:cn},bn=>{const{className:In,style:Fn}=bn;return ye.createElement("div",Object.assign({},wn,{className:de()($t,In,Ut,Xt,en,lr),style:Fn}),ye.createElement(ve.CSSMotionList,Object.assign({keys:hn},(0,re.Z)(Yt),{motionName:`${Yt}-show-help-item`,component:!1}),Zn=>{const{key:Mn,error:Gn,errorStatus:sr,className:jn,style:ir}=Zn;return ye.createElement("div",{key:Mn,className:de()(jn,{[`${$t}-${sr}`]:sr}),style:ir},Gn)}))}))},tt=ae(22001),Bt=ae(48755),nt=ae(2171),Ue=ae(31756),Xe=ae(23069),$e=ae(76846),qe=ae(16722);const Ve=["parentNode"],ht="form_item";function st(Ot){return Ot===void 0||Ot===!1?[]:Array.isArray(Ot)?Ot:[Ot]}function Nt(Ot,Gt){if(!Ot.length)return;const kt=Ot.join("_");return Gt?`${Gt}_${kt}`:Ve.includes(kt)?`${ht}_${kt}`:kt}function dt(Ot,Gt,kt,Pt,xt,en){let on=Pt;return en!==void 0?on=en:kt.validating?on="validating":Ot.length?on="error":Gt.length?on="warning":(kt.touched||xt&&kt.validated)&&(on="success"),on}var Tt=function(Ot,Gt){var kt={};for(var Pt in Ot)Object.prototype.hasOwnProperty.call(Ot,Pt)&&Gt.indexOf(Pt)<0&&(kt[Pt]=Ot[Pt]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Pt=Object.getOwnPropertySymbols(Ot);xt<Pt.length;xt++)Gt.indexOf(Pt[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ot,Pt[xt])&&(kt[Pt[xt]]=Ot[Pt[xt]]);return kt};function bt(Ot){return st(Ot).join("_")}function Ct(Ot,Gt){const kt=Gt.getFieldInstance(Ot),Pt=(0,$e.bn)(kt);if(Pt)return Pt;const xt=Nt(st(Ot),Gt.__INTERNAL__.name);if(xt)return document.getElementById(xt)}function gt(Ot){const[Gt]=(0,tt.useForm)(),kt=ye.useRef({}),Pt=ye.useMemo(()=>Ot!=null?Ot:Object.assign(Object.assign({},Gt),{__INTERNAL__:{itemRef:xt=>en=>{const on=bt(xt);en?kt.current[on]=en:delete kt.current[on]}},scrollToField:function(xt){let en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:on}=en,cn=Tt(en,["focus"]),Yt=Ct(xt,Pt);Yt&&((0,qe.Z)(Yt,Object.assign({scrollMode:"if-needed",block:"nearest"},cn)),on&&Pt.focusField(xt))},focusField:xt=>{var en,on;const cn=Pt.getFieldInstance(xt);typeof(cn==null?void 0:cn.focus)=="function"?cn.focus():(on=(en=Ct(xt,Pt))===null||en===void 0?void 0:en.focus)===null||on===void 0||on.call(en)},getFieldInstance:xt=>{const en=bt(xt);return kt.current[en]}}),[Ot,Gt]);return[Pt]}var je=ae(98350),le=function(Ot,Gt){var kt={};for(var Pt in Ot)Object.prototype.hasOwnProperty.call(Ot,Pt)&&Gt.indexOf(Pt)<0&&(kt[Pt]=Ot[Pt]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Pt=Object.getOwnPropertySymbols(Ot);xt<Pt.length;xt++)Gt.indexOf(Pt[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ot,Pt[xt])&&(kt[Pt[xt]]=Ot[Pt[xt]]);return kt};const ie=(Ot,Gt)=>{const kt=ye.useContext(nt.Z),{getPrefixCls:Pt,direction:xt,requiredMark:en,colon:on,scrollToFirstError:cn,className:Yt,style:$t}=(0,Bt.dj)("form"),{prefixCls:Xt,className:fn,rootClassName:lr,size:Ut,disabled:Qt=kt,form:Cn,colon:Vt,labelAlign:jt,labelWrap:hn,labelCol:wn,wrapperCol:bn,hideRequiredMark:In,layout:Fn="horizontal",scrollToFirstError:Zn,requiredMark:Mn,onFinishFailed:Gn,name:sr,style:jn,feedbackIcons:ir,variant:Dr}=Ot,Tr=le(Ot,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Wr=(0,Ue.Z)(Ut),vr=ye.useContext(je.Z),Ir=ye.useMemo(()=>Mn!==void 0?Mn:In?!1:en!==void 0?en:!0,[In,Mn,en]),_r=Vt!=null?Vt:on,mr=Pt("form",Xt),Gr=(0,se.Z)(mr),[Fr,gi,Xr]=Ye(mr,Gr),$r=de()(mr,`${mr}-${Fn}`,{[`${mr}-hide-required-mark`]:Ir===!1,[`${mr}-rtl`]:xt==="rtl",[`${mr}-${Wr}`]:Wr},Xr,Gr,gi,Yt,fn,lr),[ti]=gt(Cn),{__INTERNAL__:oi}=ti;oi.name=sr;const kr=ye.useMemo(()=>({name:sr,labelAlign:jt,labelCol:wn,labelWrap:hn,wrapperCol:bn,vertical:Fn==="vertical",colon:_r,requiredMark:Ir,itemRef:oi.itemRef,form:ti,feedbackIcons:ir}),[sr,jt,wn,bn,Fn,_r,Ir,ti,ir]),Vr=ye.useRef(null);ye.useImperativeHandle(Gt,()=>{var ur;return Object.assign(Object.assign({},ti),{nativeElement:(ur=Vr.current)===null||ur===void 0?void 0:ur.nativeElement})});const Cr=(ur,fr)=>{if(ur){let Qn={block:"nearest"};typeof ur=="object"&&(Qn=Object.assign(Object.assign({},Qn),ur)),ti.scrollToField(fr,Qn)}},_n=ur=>{if(Gn==null||Gn(ur),ur.errorFields.length){const fr=ur.errorFields[0].name;if(Zn!==void 0){Cr(Zn,fr);return}cn!==void 0&&Cr(cn,fr)}};return Fr(ye.createElement(b.pg.Provider,{value:Dr},ye.createElement(nt.n,{disabled:Qt},ye.createElement(Xe.Z.Provider,{value:Wr},ye.createElement(b.RV,{validateMessages:vr},ye.createElement(b.q3.Provider,{value:kr},ye.createElement(tt.default,Object.assign({id:sr},Tr,{name:sr,onFinishFailed:_n,form:ti,ref:Vr,style:Object.assign(Object.assign({},$t),jn),className:$r}))))))))};var Ge=ye.forwardRef(ie),Ie=ae(41799),pe=ae(8654),x=ae(22703),me=ae(32383),Le=ae(11592);function Se(Ot){if(typeof Ot=="function")return Ot;const Gt=(0,Le.Z)(Ot);return Gt.length<=1?Gt[0]:Gt}const Be=()=>{const{status:Ot,errors:Gt=[],warnings:kt=[]}=ye.useContext(b.aM);return{status:Ot,errors:Gt,warnings:kt}};Be.Context=b.aM;var Qe=Be,it=ae(16089);function ot(Ot){const[Gt,kt]=ye.useState(Ot),Pt=ye.useRef(null),xt=ye.useRef([]),en=ye.useRef(!1);ye.useEffect(()=>(en.current=!1,()=>{en.current=!0,it.Z.cancel(Pt.current),Pt.current=null}),[]);function on(cn){en.current||(Pt.current===null&&(xt.current=[],Pt.current=(0,it.Z)(()=>{Pt.current=null,kt(Yt=>{let $t=Yt;return xt.current.forEach(Xt=>{$t=Xt($t)}),$t})})),xt.current.push(cn))}return[Gt,on]}function at(){const{itemRef:Ot}=ye.useContext(b.q3),Gt=ye.useRef({});function kt(Pt,xt){const en=xt&&typeof xt=="object"&&(0,pe.C4)(xt),on=Pt.join("_");return(Gt.current.name!==on||Gt.current.originRef!==en)&&(Gt.current.name=on,Gt.current.originRef=en,Gt.current.ref=(0,pe.sQ)(Ot(Pt),en)),Gt.current.ref}return kt}var Rt=ae(29194),Ft=ae(34280),rn=ae(2738),nn=ae(65970),Lt=ae(70425),qt=ae(5472);const Wt=Ot=>{const{formItemCls:Gt}=Ot;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Gt}-control`]:{display:"flex"}}}};var Dt=(0,xe.bk)(["Form","item-item"],(Ot,Gt)=>{let{rootPrefixCls:kt}=Gt;const Pt=Ne(Ot,kt);return[Wt(Pt)]}),zt=function(Ot,Gt){var kt={};for(var Pt in Ot)Object.prototype.hasOwnProperty.call(Ot,Pt)&&Gt.indexOf(Pt)<0&&(kt[Pt]=Ot[Pt]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Pt=Object.getOwnPropertySymbols(Ot);xt<Pt.length;xt++)Gt.indexOf(Pt[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ot,Pt[xt])&&(kt[Pt[xt]]=Ot[Pt[xt]]);return kt};const un=24;var Et=Ot=>{const{prefixCls:Gt,status:kt,labelCol:Pt,wrapperCol:xt,children:en,errors:on,warnings:cn,_internalItemRender:Yt,extra:$t,help:Xt,fieldId:fn,marginBottom:lr,onErrorVisibleChanged:Ut,label:Qt}=Ot,Cn=`${Gt}-item`,Vt=ye.useContext(b.q3),jt=ye.useMemo(()=>{let Tr=Object.assign({},xt||Vt.wrapperCol||{});return Qt===null&&!Pt&&!xt&&Vt.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(vr=>{const Ir=vr?[vr]:[],_r=(0,Lt.U2)(Vt.labelCol,Ir),mr=typeof _r=="object"?_r:{},Gr=(0,Lt.U2)(Tr,Ir),Fr=typeof Gr=="object"?Gr:{};"span"in mr&&!("offset"in Fr)&&mr.span<un&&(Tr=(0,Lt.t8)(Tr,[].concat(Ir,["offset"]),mr.span))}),Tr},[xt,Vt]),hn=de()(`${Cn}-control`,jt.className),wn=ye.useMemo(()=>{const{labelCol:Tr,wrapperCol:Wr}=Vt;return zt(Vt,["labelCol","wrapperCol"])},[Vt]),bn=ye.useRef(null),[In,Fn]=ye.useState(0);(0,Ft.Z)(()=>{$t&&bn.current?Fn(bn.current.clientHeight):Fn(0)},[$t]);const Zn=ye.createElement("div",{className:`${Cn}-control-input`},ye.createElement("div",{className:`${Cn}-control-input-content`},en)),Mn=ye.useMemo(()=>({prefixCls:Gt,status:kt}),[Gt,kt]),Gn=lr!==null||on.length||cn.length?ye.createElement(b.Rk.Provider,{value:Mn},ye.createElement(ct,{fieldId:fn,errors:on,warnings:cn,help:Xt,helpStatus:kt,className:`${Cn}-explain-connected`,onVisibleChanged:Ut})):null,sr={};fn&&(sr.id=`${fn}_extra`);const jn=$t?ye.createElement("div",Object.assign({},sr,{className:`${Cn}-extra`,ref:bn}),$t):null,ir=Gn||jn?ye.createElement("div",{className:`${Cn}-additional`,style:lr?{minHeight:lr+In}:{}},Gn,jn):null,Dr=Yt&&Yt.mark==="pro_table_render"&&Yt.render?Yt.render(Ot,{input:Zn,errorList:Gn,extra:jn}):ye.createElement(ye.Fragment,null,Zn,ir);return ye.createElement(b.q3.Provider,{value:wn},ye.createElement(qt.Z,Object.assign({},jt,{className:hn}),Dr),ye.createElement(Dt,{prefixCls:Gt}))},Ht=ae(61485),Jt=ae(9017),gn=ae(85981),Nn=ae(25399),Xn=function(Ot,Gt){var kt={};for(var Pt in Ot)Object.prototype.hasOwnProperty.call(Ot,Pt)&&Gt.indexOf(Pt)<0&&(kt[Pt]=Ot[Pt]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Pt=Object.getOwnPropertySymbols(Ot);xt<Pt.length;xt++)Gt.indexOf(Pt[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ot,Pt[xt])&&(kt[Pt[xt]]=Ot[Pt[xt]]);return kt};function gr(Ot){return Ot?typeof Ot=="object"&&!ye.isValidElement(Ot)?Ot:{title:Ot}:null}var Yn=Ot=>{let{prefixCls:Gt,label:kt,htmlFor:Pt,labelCol:xt,labelAlign:en,colon:on,required:cn,requiredMark:Yt,tooltip:$t,vertical:Xt}=Ot;var fn;const[lr]=(0,Jt.Z)("Form"),{labelAlign:Ut,labelCol:Qt,labelWrap:Cn,colon:Vt}=ye.useContext(b.q3);if(!kt)return null;const jt=xt||Qt||{},hn=en||Ut,wn=`${Gt}-item-label`,bn=de()(wn,hn==="left"&&`${wn}-left`,jt.className,{[`${wn}-wrap`]:!!Cn});let In=kt;const Fn=on===!0||Vt!==!1&&on!==!1;Fn&&!Xt&&typeof kt=="string"&&kt.trim()&&(In=kt.replace(/[:|:]\s*$/,""));const Mn=gr($t);if(Mn){const{icon:Tr=ye.createElement(Ht.Z,null)}=Mn,Wr=Xn(Mn,["icon"]),vr=ye.createElement(Nn.Z,Object.assign({},Wr),ye.cloneElement(Tr,{className:`${Gt}-item-tooltip`,title:"",onClick:Ir=>{Ir.preventDefault()},tabIndex:null}));In=ye.createElement(ye.Fragment,null,In,vr)}const Gn=Yt==="optional",sr=typeof Yt=="function",jn=Yt===!1;sr?In=Yt(In,{required:!!cn}):Gn&&!cn&&(In=ye.createElement(ye.Fragment,null,In,ye.createElement("span",{className:`${Gt}-item-optional`,title:""},(lr==null?void 0:lr.optional)||((fn=gn.Z.Form)===null||fn===void 0?void 0:fn.optional))));let ir;jn?ir="hidden":(Gn||sr)&&(ir="optional");const Dr=de()({[`${Gt}-item-required`]:cn,[`${Gt}-item-required-mark-${ir}`]:ir,[`${Gt}-item-no-colon`]:!Fn});return ye.createElement(qt.Z,Object.assign({},jt,{className:bn}),ye.createElement("label",{htmlFor:Pt,className:Dr,title:typeof kt=="string"?kt:""},In))},hr=ae(29679),Wn=ae(19248),xn=ae(96512),Pn=ae(58617);const Tn={success:hr.Z,warning:xn.Z,error:Wn.Z,validating:Pn.Z};function An(Ot){let{children:Gt,errors:kt,warnings:Pt,hasFeedback:xt,validateStatus:en,prefixCls:on,meta:cn,noStyle:Yt}=Ot;const $t=`${on}-item`,{feedbackIcons:Xt}=ye.useContext(b.q3),fn=dt(kt,Pt,cn,null,!!xt,en),{isFormItemInput:lr,status:Ut,hasFeedback:Qt,feedbackIcon:Cn}=ye.useContext(b.aM),Vt=ye.useMemo(()=>{var jt;let hn;if(xt){const bn=xt!==!0&&xt.icons||Xt,In=fn&&((jt=bn==null?void 0:bn({status:fn,errors:kt,warnings:Pt}))===null||jt===void 0?void 0:jt[fn]),Fn=fn&&Tn[fn];hn=In!==!1&&Fn?ye.createElement("span",{className:de()(`${$t}-feedback-icon`,`${$t}-feedback-icon-${fn}`)},In||ye.createElement(Fn,null)):null}const wn={status:fn||"",errors:kt,warnings:Pt,hasFeedback:!!xt,feedbackIcon:hn,isFormItemInput:!0};return Yt&&(wn.status=(fn!=null?fn:Ut)||"",wn.isFormItemInput=lr,wn.hasFeedback=!!(xt!=null?xt:Qt),wn.feedbackIcon=xt!==void 0?wn.feedbackIcon:Cn),wn},[fn,xt,Yt,lr,Ut]);return ye.createElement(b.aM.Provider,{value:Vt},Gt)}var zn=function(Ot,Gt){var kt={};for(var Pt in Ot)Object.prototype.hasOwnProperty.call(Ot,Pt)&&Gt.indexOf(Pt)<0&&(kt[Pt]=Ot[Pt]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Pt=Object.getOwnPropertySymbols(Ot);xt<Pt.length;xt++)Gt.indexOf(Pt[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ot,Pt[xt])&&(kt[Pt[xt]]=Ot[Pt[xt]]);return kt};function Kn(Ot){const{prefixCls:Gt,className:kt,rootClassName:Pt,style:xt,help:en,errors:on,warnings:cn,validateStatus:Yt,meta:$t,hasFeedback:Xt,hidden:fn,children:lr,fieldId:Ut,required:Qt,isRequired:Cn,onSubItemMetaChange:Vt,layout:jt}=Ot,hn=zn(Ot,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),wn=`${Gt}-item`,{requiredMark:bn,vertical:In}=ye.useContext(b.q3),Fn=In||jt==="vertical",Zn=ye.useRef(null),Mn=fe(on),Gn=fe(cn),sr=en!=null,jn=!!(sr||on.length||cn.length),ir=!!Zn.current&&(0,Rt.Z)(Zn.current),[Dr,Tr]=ye.useState(null);(0,Ft.Z)(()=>{if(jn&&Zn.current){const mr=getComputedStyle(Zn.current);Tr(parseInt(mr.marginBottom,10))}},[jn,ir]);const Wr=mr=>{mr||Tr(null)},Ir=function(){let mr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Gr=mr?Mn:$t.errors,Fr=mr?Gn:$t.warnings;return dt(Gr,Fr,$t,"",!!Xt,Yt)}(),_r=de()(wn,kt,Pt,{[`${wn}-with-help`]:sr||Mn.length||Gn.length,[`${wn}-has-feedback`]:Ir&&Xt,[`${wn}-has-success`]:Ir==="success",[`${wn}-has-warning`]:Ir==="warning",[`${wn}-has-error`]:Ir==="error",[`${wn}-is-validating`]:Ir==="validating",[`${wn}-hidden`]:fn,[`${wn}-${jt}`]:jt});return ye.createElement("div",{className:_r,style:xt,ref:Zn},ye.createElement(nn.Z,Object.assign({className:`${wn}-row`},(0,rn.Z)(hn,["_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"])),ye.createElement(Yn,Object.assign({htmlFor:Ut},Ot,{requiredMark:bn,required:Qt!=null?Qt:Cn,prefixCls:Gt,vertical:Fn})),ye.createElement(Et,Object.assign({},Ot,$t,{errors:Mn,warnings:Gn,prefixCls:Gt,status:Ir,help:en,marginBottom:Dr,onErrorVisibleChanged:Wr}),ye.createElement(b.qI.Provider,{value:Vt},ye.createElement(An,{prefixCls:Gt,meta:$t,errors:$t.errors,warnings:$t.warnings,hasFeedback:Xt,validateStatus:Ir},lr)))),!!Dr&&ye.createElement("div",{className:`${wn}-margin-offset`,style:{marginBottom:-Dr}}))}const er="__SPLIT__",wr=null;function Sr(Ot,Gt){const kt=Object.keys(Ot),Pt=Object.keys(Gt);return kt.length===Pt.length&&kt.every(xt=>{const en=Ot[xt],on=Gt[xt];return en===on||typeof en=="function"||typeof on=="function"})}const Er=ye.memo(Ot=>{let{children:Gt}=Ot;return Gt},(Ot,Gt)=>Sr(Ot.control,Gt.control)&&Ot.update===Gt.update&&Ot.childProps.length===Gt.childProps.length&&Ot.childProps.every((kt,Pt)=>kt===Gt.childProps[Pt]));function Nr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Br(Ot){const{name:Gt,noStyle:kt,className:Pt,dependencies:xt,prefixCls:en,shouldUpdate:on,rules:cn,children:Yt,required:$t,label:Xt,messageVariables:fn,trigger:lr="onChange",validateTrigger:Ut,hidden:Qt,help:Cn,layout:Vt}=Ot,{getPrefixCls:jt}=ye.useContext(Bt.E_),{name:hn}=ye.useContext(b.q3),wn=Se(Yt),bn=typeof wn=="function",In=ye.useContext(b.qI),{validateTrigger:Fn}=ye.useContext(tt.FieldContext),Zn=Ut!==void 0?Ut:Fn,Mn=Gt!=null,Gn=jt("form",en),sr=(0,se.Z)(Gn),[jn,ir,Dr]=Ye(Gn,sr),Tr=(0,me.ln)("Form.Item"),Wr=ye.useContext(tt.ListContext),vr=ye.useRef(null),[Ir,_r]=ot({}),[mr,Gr]=(0,Ie.Z)(()=>Nr()),Fr=Vr=>{const Cr=Wr==null?void 0:Wr.getKey(Vr.name);if(Gr(Vr.destroy?Nr():Vr,!0),kt&&Cn!==!1&&In){let _n=Vr.name;if(Vr.destroy)_n=vr.current||_n;else if(Cr!==void 0){const[ur,fr]=Cr;_n=[ur].concat((0,oe.Z)(fr)),vr.current=_n}In(Vr,_n)}},gi=(Vr,Cr)=>{_r(_n=>{const ur=Object.assign({},_n),Qn=[].concat((0,oe.Z)(Vr.name.slice(0,-1)),(0,oe.Z)(Cr)).join(er);return Vr.destroy?delete ur[Qn]:ur[Qn]=Vr,ur})},[Xr,$r]=ye.useMemo(()=>{const Vr=(0,oe.Z)(mr.errors),Cr=(0,oe.Z)(mr.warnings);return Object.values(Ir).forEach(_n=>{Vr.push.apply(Vr,(0,oe.Z)(_n.errors||[])),Cr.push.apply(Cr,(0,oe.Z)(_n.warnings||[]))}),[Vr,Cr]},[Ir,mr.errors,mr.warnings]),ti=at();function oi(Vr,Cr,_n){return kt&&!Qt?ye.createElement(An,{prefixCls:Gn,hasFeedback:Ot.hasFeedback,validateStatus:Ot.validateStatus,meta:mr,errors:Xr,warnings:$r,noStyle:!0},Vr):ye.createElement(Kn,Object.assign({key:"row"},Ot,{className:de()(Pt,Dr,sr,ir),prefixCls:Gn,fieldId:Cr,isRequired:_n,errors:Xr,warnings:$r,meta:mr,onSubItemMetaChange:gi,layout:Vt}),Vr)}if(!Mn&&!bn&&!xt)return jn(oi(wn));let kr={};return typeof Xt=="string"?kr.label=Xt:Gt&&(kr.label=String(Gt)),fn&&(kr=Object.assign(Object.assign({},kr),fn)),jn(ye.createElement(tt.Field,Object.assign({},Ot,{messageVariables:kr,trigger:lr,validateTrigger:Zn,onMetaChange:Fr}),(Vr,Cr,_n)=>{const ur=st(Gt).length&&Cr?Cr.name:[],fr=Nt(ur,hn),Qn=$t!==void 0?$t:!!(cn!=null&&cn.some(Kt=>{if(Kt&&typeof Kt=="object"&&Kt.required&&!Kt.warningOnly)return!0;if(typeof Kt=="function"){const On=Kt(_n);return(On==null?void 0:On.required)&&!(On!=null&&On.warningOnly)}return!1})),Pr=Object.assign({},Vr);let Mr=null;if(Array.isArray(wn)&&Mn)Mr=wn;else if(!(bn&&(!(on||xt)||Mn))){if(!(xt&&!bn&&!Mn))if(ye.isValidElement(wn)){const Kt=Object.assign(Object.assign({},wn.props),Pr);if(Kt.id||(Kt.id=fr),Cn||Xr.length>0||$r.length>0||Ot.extra){const pr=[];(Cn||Xr.length>0)&&pr.push(`${fr}_help`),Ot.extra&&pr.push(`${fr}_extra`),Kt["aria-describedby"]=pr.join(" ")}Xr.length>0&&(Kt["aria-invalid"]="true"),Qn&&(Kt["aria-required"]="true"),(0,pe.Yr)(wn)&&(Kt.ref=ti(ur,wn)),new Set([].concat((0,oe.Z)(st(lr)),(0,oe.Z)(st(Zn)))).forEach(pr=>{Kt[pr]=function(){for(var zr,Qr,Yr,ki,or,Di=arguments.length,mi=new Array(Di),Ii=0;Ii<Di;Ii++)mi[Ii]=arguments[Ii];(Yr=Pr[pr])===null||Yr===void 0||(zr=Yr).call.apply(zr,[Pr].concat(mi)),(or=(ki=wn.props)[pr])===null||or===void 0||(Qr=or).call.apply(Qr,[ki].concat(mi))}});const $n=[Kt["aria-required"],Kt["aria-invalid"],Kt["aria-describedby"]];Mr=ye.createElement(Er,{control:Pr,update:wn,childProps:$n},(0,x.Tm)(wn,Kt))}else bn&&(on||xt)&&!Mn?Mr=wn(_n):Mr=wn}return oi(Mr,fr,Qn)}))}const jr=Br;jr.useStatus=Qe;var Rr=jr,Ln=function(Ot,Gt){var kt={};for(var Pt in Ot)Object.prototype.hasOwnProperty.call(Ot,Pt)&&Gt.indexOf(Pt)<0&&(kt[Pt]=Ot[Pt]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Pt=Object.getOwnPropertySymbols(Ot);xt<Pt.length;xt++)Gt.indexOf(Pt[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ot,Pt[xt])&&(kt[Pt[xt]]=Ot[Pt[xt]]);return kt},Ar=Ot=>{var{prefixCls:Gt,children:kt}=Ot,Pt=Ln(Ot,["prefixCls","children"]);const{getPrefixCls:xt}=ye.useContext(Bt.E_),en=xt("form",Gt),on=ye.useMemo(()=>({prefixCls:en,status:"error"}),[en]);return ye.createElement(tt.List,Object.assign({},Pt),(cn,Yt,$t)=>ye.createElement(b.Rk.Provider,{value:on},kt(cn.map(Xt=>Object.assign(Object.assign({},Xt),{fieldKey:Xt.key})),Yt,{errors:$t.errors,warnings:$t.warnings})))};function yr(){const{form:Ot}=ye.useContext(b.q3);return Ot}const Zt=Ge;Zt.Item=Rr,Zt.List=Ar,Zt.ErrorList=ct,Zt.useForm=gt,Zt.useFormInstance=yr,Zt.useWatch=tt.useWatch,Zt.Provider=b.RV,Zt.create=()=>{};var St=Zt},75786:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Cn}});var b=ae(59301),oe=ae(15277),ye=ae(92310),De=ae.n(ye),de=ae(54476),ve=ae(33885),re=ae(20068),se=ae(42978),fe=ae(76190),E=ae(75931),te=/margin|padding|width|height|max|min|offset/,ne={left:!0,top:!0},ge={cssFloat:1,styleFloat:1,float:1};function we(Vt){return Vt.nodeType===1?Vt.ownerDocument.defaultView.getComputedStyle(Vt,null):{}}function xe(Vt,jt,hn){if(jt=jt.toLowerCase(),hn==="auto"){if(jt==="height")return Vt.offsetHeight;if(jt==="width")return Vt.offsetWidth}return jt in ne||(ne[jt]=te.test(jt)),ne[jt]?parseFloat(hn)||0:hn}function ue(Vt,jt){var hn=arguments.length,wn=we(Vt);return jt=ge[jt]?"cssFloat"in Vt.style?"cssFloat":"styleFloat":jt,hn===1?wn:xe(Vt,jt,wn[jt]||Vt.style[jt])}function Ee(Vt,jt,hn){var wn=arguments.length;if(jt=ge[jt]?"cssFloat"in Vt.style?"cssFloat":"styleFloat":jt,wn===3)return typeof hn=="number"&&te.test(jt)&&(hn="".concat(hn,"px")),Vt.style[jt]=hn,hn;for(var bn in jt)jt.hasOwnProperty(bn)&&Ee(Vt,bn,jt[bn]);return we(Vt)}function Oe(Vt){return Vt===document.body?document.documentElement.clientWidth:Vt.offsetWidth}function Ae(Vt){return Vt===document.body?window.innerHeight||document.documentElement.clientHeight:Vt.offsetHeight}function Re(){var Vt=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),jt=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Vt,height:jt}}function Me(){var Vt=document.documentElement.clientWidth,jt=window.innerHeight||document.documentElement.clientHeight;return{width:Vt,height:jt}}function be(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Pe(Vt){var jt=Vt.getBoundingClientRect(),hn=document.documentElement;return{left:jt.left+(window.pageXOffset||hn.scrollLeft)-(hn.clientLeft||document.body.clientLeft||0),top:jt.top+(window.pageYOffset||hn.scrollTop)-(hn.clientTop||document.body.clientTop||0)}}var Fe=ae(18929),_e=ae(55311),Te=ae(8224),Ke=ae(10228),We=ae(43403),Ne=ae(77900),Ye=b.createContext(null),Je=function(jt){var hn=jt.visible,wn=jt.maskTransitionName,bn=jt.getContainer,In=jt.prefixCls,Fn=jt.rootClassName,Zn=jt.icons,Mn=jt.countRender,Gn=jt.showSwitch,sr=jt.showProgress,jn=jt.current,ir=jt.transform,Dr=jt.count,Tr=jt.scale,Wr=jt.minScale,vr=jt.maxScale,Ir=jt.closeIcon,_r=jt.onActive,mr=jt.onClose,Gr=jt.onZoomIn,Fr=jt.onZoomOut,gi=jt.onRotateRight,Xr=jt.onRotateLeft,$r=jt.onFlipX,ti=jt.onFlipY,oi=jt.onReset,kr=jt.toolbarRender,Vr=jt.zIndex,Cr=jt.image,_n=(0,b.useContext)(Ye),ur=Zn.rotateLeft,fr=Zn.rotateRight,Qn=Zn.zoomIn,Pr=Zn.zoomOut,Mr=Zn.close,Kt=Zn.left,On=Zn.right,$n=Zn.flipX,pr=Zn.flipY,zr="".concat(In,"-operations-operation");b.useEffect(function(){var $i=function(li){li.keyCode===Ke.Z.ESC&&mr()};return hn&&window.addEventListener("keydown",$i),function(){window.removeEventListener("keydown",$i)}},[hn]);var Qr=function(Ji,li){Ji.preventDefault(),Ji.stopPropagation(),_r(li)},Yr=b.useCallback(function($i){var Ji=$i.type,li=$i.disabled,ci=$i.onClick,qi=$i.icon;return b.createElement("div",{key:Ji,className:De()(zr,"".concat(In,"-operations-operation-").concat(Ji),(0,re.Z)({},"".concat(In,"-operations-operation-disabled"),!!li)),onClick:ci},qi)},[zr,In]),ki=Gn?Yr({icon:Kt,onClick:function(Ji){return Qr(Ji,-1)},type:"prev",disabled:jn===0}):void 0,or=Gn?Yr({icon:On,onClick:function(Ji){return Qr(Ji,1)},type:"next",disabled:jn===Dr-1}):void 0,Di=Yr({icon:pr,onClick:ti,type:"flipY"}),mi=Yr({icon:$n,onClick:$r,type:"flipX"}),Ii=Yr({icon:ur,onClick:Xr,type:"rotateLeft"}),Bi=Yr({icon:fr,onClick:gi,type:"rotateRight"}),Si=Yr({icon:Pr,onClick:Fr,type:"zoomOut",disabled:Tr<=Wr}),so=Yr({icon:Qn,onClick:Gr,type:"zoomIn",disabled:Tr===vr}),Co=b.createElement("div",{className:"".concat(In,"-operations")},Di,mi,Ii,Bi,Si,so);return b.createElement(Ne.default,{visible:hn,motionName:wn},function($i){var Ji=$i.className,li=$i.style;return b.createElement(We.Z,{open:!0,getContainer:bn!=null?bn:document.body},b.createElement("div",{className:De()("".concat(In,"-operations-wrapper"),Ji,Fn),style:(0,ve.Z)((0,ve.Z)({},li),{},{zIndex:Vr})},Ir===null?null:b.createElement("button",{className:"".concat(In,"-close"),onClick:mr},Ir||Mr),Gn&&b.createElement(b.Fragment,null,b.createElement("div",{className:De()("".concat(In,"-switch-left"),(0,re.Z)({},"".concat(In,"-switch-left-disabled"),jn===0)),onClick:function(qi){return Qr(qi,-1)}},Kt),b.createElement("div",{className:De()("".concat(In,"-switch-right"),(0,re.Z)({},"".concat(In,"-switch-right-disabled"),jn===Dr-1)),onClick:function(qi){return Qr(qi,1)}},On)),b.createElement("div",{className:"".concat(In,"-footer")},sr&&b.createElement("div",{className:"".concat(In,"-progress")},Mn?Mn(jn+1,Dr):"".concat(jn+1," / ").concat(Dr)),kr?kr(Co,(0,ve.Z)((0,ve.Z)({icons:{prevIcon:ki,nextIcon:or,flipYIcon:Di,flipXIcon:mi,rotateLeftIcon:Ii,rotateRightIcon:Bi,zoomOutIcon:Si,zoomInIcon:so},actions:{onActive:_r,onFlipY:ti,onFlipX:$r,onRotateLeft:Xr,onRotateRight:gi,onZoomOut:Fr,onZoomIn:Gr,onReset:oi,onClose:mr},transform:ir},_n?{current:jn,total:Dr}:{}),{},{image:Cr})):Co)))})},He=Je,lt=ae(13697),ct=ae(16089),tt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Bt(Vt,jt,hn,wn){var bn=(0,b.useRef)(null),In=(0,b.useRef)([]),Fn=(0,b.useState)(tt),Zn=(0,se.Z)(Fn,2),Mn=Zn[0],Gn=Zn[1],sr=function(Tr){Gn(tt),(0,lt.Z)(tt,Mn)||wn==null||wn({transform:tt,action:Tr})},jn=function(Tr,Wr){bn.current===null&&(In.current=[],bn.current=(0,ct.Z)(function(){Gn(function(vr){var Ir=vr;return In.current.forEach(function(_r){Ir=(0,ve.Z)((0,ve.Z)({},Ir),_r)}),bn.current=null,wn==null||wn({transform:Ir,action:Wr}),Ir})})),In.current.push((0,ve.Z)((0,ve.Z)({},Mn),Tr))},ir=function(Tr,Wr,vr,Ir,_r){var mr=Vt.current,Gr=mr.width,Fr=mr.height,gi=mr.offsetWidth,Xr=mr.offsetHeight,$r=mr.offsetLeft,ti=mr.offsetTop,oi=Tr,kr=Mn.scale*Tr;kr>hn?(kr=hn,oi=hn/Mn.scale):kr<jt&&(kr=_r?kr:jt,oi=kr/Mn.scale);var Vr=vr!=null?vr:innerWidth/2,Cr=Ir!=null?Ir:innerHeight/2,_n=oi-1,ur=_n*Gr*.5,fr=_n*Fr*.5,Qn=_n*(Vr-Mn.x-$r),Pr=_n*(Cr-Mn.y-ti),Mr=Mn.x-(Qn-ur),Kt=Mn.y-(Pr-fr);if(Tr<1&&kr===1){var On=gi*kr,$n=Xr*kr,pr=Me(),zr=pr.width,Qr=pr.height;On<=zr&&$n<=Qr&&(Mr=0,Kt=0)}jn({x:Mr,y:Kt,scale:kr},Wr)};return{transform:Mn,resetTransform:sr,updateTransform:jn,dispatchZoomChange:ir}}var nt=ae(48736);function Ue(Vt,jt,hn,wn){var bn=jt+hn,In=(hn-wn)/2;if(hn>wn){if(jt>0)return(0,re.Z)({},Vt,In);if(jt<0&&bn<wn)return(0,re.Z)({},Vt,-In)}else if(jt<0||bn>wn)return(0,re.Z)({},Vt,jt<0?In:-In);return{}}function Xe(Vt,jt,hn,wn){var bn=Me(),In=bn.width,Fn=bn.height,Zn=null;return Vt<=In&&jt<=Fn?Zn={x:0,y:0}:(Vt>In||jt>Fn)&&(Zn=(0,ve.Z)((0,ve.Z)({},Ue("x",hn,Vt,In)),Ue("y",wn,jt,Fn))),Zn}var $e=1,qe=1;function Ve(Vt,jt,hn,wn,bn,In,Fn){var Zn=bn.rotate,Mn=bn.scale,Gn=bn.x,sr=bn.y,jn=(0,b.useState)(!1),ir=(0,se.Z)(jn,2),Dr=ir[0],Tr=ir[1],Wr=(0,b.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),vr=function(Fr){!jt||Fr.button!==0||(Fr.preventDefault(),Fr.stopPropagation(),Wr.current={diffX:Fr.pageX-Gn,diffY:Fr.pageY-sr,transformX:Gn,transformY:sr},Tr(!0))},Ir=function(Fr){hn&&Dr&&In({x:Fr.pageX-Wr.current.diffX,y:Fr.pageY-Wr.current.diffY},"move")},_r=function(){if(hn&&Dr){Tr(!1);var Fr=Wr.current,gi=Fr.transformX,Xr=Fr.transformY,$r=Gn!==gi&&sr!==Xr;if(!$r)return;var ti=Vt.current.offsetWidth*Mn,oi=Vt.current.offsetHeight*Mn,kr=Vt.current.getBoundingClientRect(),Vr=kr.left,Cr=kr.top,_n=Zn%180!==0,ur=Xe(_n?oi:ti,_n?ti:oi,Vr,Cr);ur&&In((0,ve.Z)({},ur),"dragRebound")}},mr=function(Fr){if(!(!hn||Fr.deltaY==0)){var gi=Math.abs(Fr.deltaY/100),Xr=Math.min(gi,qe),$r=$e+Xr*wn;Fr.deltaY>0&&($r=$e/$r),Fn($r,"wheel",Fr.clientX,Fr.clientY)}};return(0,b.useEffect)(function(){var Gr,Fr,gi,Xr;if(jt){gi=(0,Te.Z)(window,"mouseup",_r,!1),Xr=(0,Te.Z)(window,"mousemove",Ir,!1);try{window.top!==window.self&&(Gr=(0,Te.Z)(window.top,"mouseup",_r,!1),Fr=(0,Te.Z)(window.top,"mousemove",Ir,!1))}catch($r){(0,nt.Kp)(!1,"[rc-image] ".concat($r))}}return function(){var $r,ti,oi,kr;($r=gi)===null||$r===void 0||$r.remove(),(ti=Xr)===null||ti===void 0||ti.remove(),(oi=Gr)===null||oi===void 0||oi.remove(),(kr=Fr)===null||kr===void 0||kr.remove()}},[hn,Dr,Gn,sr,Zn,jt]),{isMoving:Dr,onMouseDown:vr,onMouseMove:Ir,onMouseUp:_r,onWheel:mr}}function ht(Vt){return new Promise(function(jt){if(!Vt){jt(!1);return}var hn=document.createElement("img");hn.onerror=function(){return jt(!1)},hn.onload=function(){return jt(!0)},hn.src=Vt})}function st(Vt){var jt=Vt.src,hn=Vt.isCustomPlaceholder,wn=Vt.fallback,bn=(0,b.useState)(hn?"loading":"normal"),In=(0,se.Z)(bn,2),Fn=In[0],Zn=In[1],Mn=(0,b.useRef)(!1),Gn=Fn==="error";(0,b.useEffect)(function(){var Dr=!0;return ht(jt).then(function(Tr){!Tr&&Dr&&Zn("error")}),function(){Dr=!1}},[jt]),(0,b.useEffect)(function(){hn&&!Mn.current?Zn("loading"):Gn&&Zn("normal")},[jt]);var sr=function(){Zn("normal")},jn=function(Tr){Mn.current=!1,Fn==="loading"&&Tr!==null&&Tr!==void 0&&Tr.complete&&(Tr.naturalWidth||Tr.naturalHeight)&&(Mn.current=!0,sr())},ir=Gn&&wn?{src:wn}:{onLoad:sr,src:jt};return[jn,ir,Fn]}function Nt(Vt,jt){var hn=Vt.x-jt.x,wn=Vt.y-jt.y;return Math.hypot(hn,wn)}function dt(Vt,jt,hn,wn){var bn=Nt(Vt,hn),In=Nt(jt,wn);if(bn===0&&In===0)return[Vt.x,Vt.y];var Fn=bn/(bn+In),Zn=Vt.x+Fn*(jt.x-Vt.x),Mn=Vt.y+Fn*(jt.y-Vt.y);return[Zn,Mn]}function Tt(Vt,jt,hn,wn,bn,In,Fn){var Zn=bn.rotate,Mn=bn.scale,Gn=bn.x,sr=bn.y,jn=(0,b.useState)(!1),ir=(0,se.Z)(jn,2),Dr=ir[0],Tr=ir[1],Wr=(0,b.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),vr=function(Fr){Wr.current=(0,ve.Z)((0,ve.Z)({},Wr.current),Fr)},Ir=function(Fr){if(jt){Fr.stopPropagation(),Tr(!0);var gi=Fr.touches,Xr=gi===void 0?[]:gi;Xr.length>1?vr({point1:{x:Xr[0].clientX,y:Xr[0].clientY},point2:{x:Xr[1].clientX,y:Xr[1].clientY},eventType:"touchZoom"}):vr({point1:{x:Xr[0].clientX-Gn,y:Xr[0].clientY-sr},eventType:"move"})}},_r=function(Fr){var gi=Fr.touches,Xr=gi===void 0?[]:gi,$r=Wr.current,ti=$r.point1,oi=$r.point2,kr=$r.eventType;if(Xr.length>1&&kr==="touchZoom"){var Vr={x:Xr[0].clientX,y:Xr[0].clientY},Cr={x:Xr[1].clientX,y:Xr[1].clientY},_n=dt(ti,oi,Vr,Cr),ur=(0,se.Z)(_n,2),fr=ur[0],Qn=ur[1],Pr=Nt(Vr,Cr)/Nt(ti,oi);Fn(Pr,"touchZoom",fr,Qn,!0),vr({point1:Vr,point2:Cr,eventType:"touchZoom"})}else kr==="move"&&(In({x:Xr[0].clientX-ti.x,y:Xr[0].clientY-ti.y},"move"),vr({eventType:"move"}))},mr=function(){if(hn){if(Dr&&Tr(!1),vr({eventType:"none"}),wn>Mn)return In({x:0,y:0,scale:wn},"touchZoom");var Fr=Vt.current.offsetWidth*Mn,gi=Vt.current.offsetHeight*Mn,Xr=Vt.current.getBoundingClientRect(),$r=Xr.left,ti=Xr.top,oi=Zn%180!==0,kr=Xe(oi?gi:Fr,oi?Fr:gi,$r,ti);kr&&In((0,ve.Z)({},kr),"dragRebound")}};return(0,b.useEffect)(function(){var Gr;return hn&&jt&&(Gr=(0,Te.Z)(window,"touchmove",function(Fr){return Fr.preventDefault()},{passive:!1})),function(){var Fr;(Fr=Gr)===null||Fr===void 0||Fr.remove()}},[hn,jt]),{isTouching:Dr,onTouchStart:Ir,onTouchMove:_r,onTouchEnd:mr}}var bt=["fallback","src","imgRef"],Ct=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],gt=function(jt){var hn=jt.fallback,wn=jt.src,bn=jt.imgRef,In=(0,E.Z)(jt,bt),Fn=st({src:wn,fallback:hn}),Zn=(0,se.Z)(Fn,2),Mn=Zn[0],Gn=Zn[1];return b.createElement("img",(0,de.Z)({ref:function(jn){bn.current=jn,Mn(jn)}},In,Gn))},je=function(jt){var hn=jt.prefixCls,wn=jt.src,bn=jt.alt,In=jt.imageInfo,Fn=jt.fallback,Zn=jt.movable,Mn=Zn===void 0?!0:Zn,Gn=jt.onClose,sr=jt.visible,jn=jt.icons,ir=jn===void 0?{}:jn,Dr=jt.rootClassName,Tr=jt.closeIcon,Wr=jt.getContainer,vr=jt.current,Ir=vr===void 0?0:vr,_r=jt.count,mr=_r===void 0?1:_r,Gr=jt.countRender,Fr=jt.scaleStep,gi=Fr===void 0?.5:Fr,Xr=jt.minScale,$r=Xr===void 0?1:Xr,ti=jt.maxScale,oi=ti===void 0?50:ti,kr=jt.transitionName,Vr=kr===void 0?"zoom":kr,Cr=jt.maskTransitionName,_n=Cr===void 0?"fade":Cr,ur=jt.imageRender,fr=jt.imgCommonProps,Qn=jt.toolbarRender,Pr=jt.onTransform,Mr=jt.onChange,Kt=(0,E.Z)(jt,Ct),On=(0,b.useRef)(),$n=(0,b.useContext)(Ye),pr=$n&&mr>1,zr=$n&&mr>=1,Qr=(0,b.useState)(!0),Yr=(0,se.Z)(Qr,2),ki=Yr[0],or=Yr[1],Di=Bt(On,$r,oi,Pr),mi=Di.transform,Ii=Di.resetTransform,Bi=Di.updateTransform,Si=Di.dispatchZoomChange,so=Ve(On,Mn,sr,gi,mi,Bi,Si),Co=so.isMoving,$i=so.onMouseDown,Ji=so.onWheel,li=Tt(On,Mn,sr,$r,mi,Bi,Si),ci=li.isTouching,qi=li.onTouchStart,po=li.onTouchMove,Ri=li.onTouchEnd,no=mi.rotate,lo=mi.scale,Gi=De()((0,re.Z)({},"".concat(hn,"-moving"),Co));(0,b.useEffect)(function(){ki||or(!0)},[ki]);var fo=function(){Ii("close")},ao=function(){Si($e+gi,"zoomIn")},Fo=function(){Si($e/($e+gi),"zoomOut")},qo=function(){Bi({rotate:no+90},"rotateRight")},Zo=function(){Bi({rotate:no-90},"rotateLeft")},Yo=function(){Bi({flipX:!mi.flipX},"flipX")},Wa=function(){Bi({flipY:!mi.flipY},"flipY")},os=function(){Ii("reset")},Hi=function(Hr){var qr=Ir+Hr;!Number.isInteger(qr)||qr<0||qr>mr-1||(or(!1),Ii(Hr<0?"prev":"next"),Mr==null||Mr(qr,Ir))},ro=function(Hr){!sr||!pr||(Hr.keyCode===Ke.Z.LEFT?Hi(-1):Hr.keyCode===Ke.Z.RIGHT&&Hi(1))},Zi=function(Hr){sr&&(lo!==1?Bi({x:0,y:0,scale:1},"doubleClick"):Si($e+gi,"doubleClick",Hr.clientX,Hr.clientY))};(0,b.useEffect)(function(){var Jn=(0,Te.Z)(window,"keydown",ro,!1);return function(){Jn.remove()}},[sr,pr,Ir]);var Vi=b.createElement(gt,(0,de.Z)({},fr,{width:jt.width,height:jt.height,imgRef:On,className:"".concat(hn,"-img"),alt:bn,style:{transform:"translate3d(".concat(mi.x,"px, ").concat(mi.y,"px, 0) scale3d(").concat(mi.flipX?"-":"").concat(lo,", ").concat(mi.flipY?"-":"").concat(lo,", 1) rotate(").concat(no,"deg)"),transitionDuration:(!ki||ci)&&"0s"},fallback:Fn,src:wn,onWheel:Ji,onMouseDown:$i,onDoubleClick:Zi,onTouchStart:qi,onTouchMove:po,onTouchEnd:Ri,onTouchCancel:Ri})),ho=(0,ve.Z)({url:wn,alt:bn},In);return b.createElement(b.Fragment,null,b.createElement(_e.Z,(0,de.Z)({transitionName:Vr,maskTransitionName:_n,closable:!1,keyboard:!0,prefixCls:hn,onClose:Gn,visible:sr,classNames:{wrapper:Gi},rootClassName:Dr,getContainer:Wr},Kt,{afterClose:fo}),b.createElement("div",{className:"".concat(hn,"-img-wrapper")},ur?ur(Vi,(0,ve.Z)({transform:mi,image:ho},$n?{current:Ir}:{})):Vi)),b.createElement(He,{visible:sr,transform:mi,maskTransitionName:_n,closeIcon:Tr,getContainer:Wr,prefixCls:hn,rootClassName:Dr,icons:ir,countRender:Gr,showSwitch:pr,showProgress:zr,current:Ir,count:mr,scale:lo,minScale:$r,maxScale:oi,toolbarRender:Qn,onActive:Hi,onZoomIn:ao,onZoomOut:Fo,onRotateRight:qo,onRotateLeft:Zo,onFlipX:Yo,onFlipY:Wa,onClose:Gn,onReset:os,zIndex:Kt.zIndex!==void 0?Kt.zIndex+1:void 0,image:ho}))},le=je,ie=ae(94480),ke=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function Ge(Vt){var jt=b.useState({}),hn=(0,se.Z)(jt,2),wn=hn[0],bn=hn[1],In=b.useCallback(function(Zn,Mn){return bn(function(Gn){return(0,ve.Z)((0,ve.Z)({},Gn),{},(0,re.Z)({},Zn,Mn))}),function(){bn(function(Gn){var sr=(0,ve.Z)({},Gn);return delete sr[Zn],sr})}},[]),Fn=b.useMemo(function(){return Vt?Vt.map(function(Zn){if(typeof Zn=="string")return{data:{src:Zn}};var Mn={};return Object.keys(Zn).forEach(function(Gn){["src"].concat((0,ie.Z)(ke)).includes(Gn)&&(Mn[Gn]=Zn[Gn])}),{data:Mn}}):Object.keys(wn).reduce(function(Zn,Mn){var Gn=wn[Mn],sr=Gn.canPreview,jn=Gn.data;return sr&&Zn.push({data:jn,id:Mn}),Zn},[])},[Vt,wn]);return[Fn,In,!!Vt]}var Ie=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],pe=["src"],x=function(jt){var hn,wn=jt.previewPrefixCls,bn=wn===void 0?"rc-image-preview":wn,In=jt.children,Fn=jt.icons,Zn=Fn===void 0?{}:Fn,Mn=jt.items,Gn=jt.preview,sr=jt.fallback,jn=(0,fe.Z)(Gn)==="object"?Gn:{},ir=jn.visible,Dr=jn.onVisibleChange,Tr=jn.getContainer,Wr=jn.current,vr=jn.movable,Ir=jn.minScale,_r=jn.maxScale,mr=jn.countRender,Gr=jn.closeIcon,Fr=jn.onChange,gi=jn.onTransform,Xr=jn.toolbarRender,$r=jn.imageRender,ti=(0,E.Z)(jn,Ie),oi=Ge(Mn),kr=(0,se.Z)(oi,3),Vr=kr[0],Cr=kr[1],_n=kr[2],ur=(0,Fe.Z)(0,{value:Wr}),fr=(0,se.Z)(ur,2),Qn=fr[0],Pr=fr[1],Mr=(0,b.useState)(!1),Kt=(0,se.Z)(Mr,2),On=Kt[0],$n=Kt[1],pr=((hn=Vr[Qn])===null||hn===void 0?void 0:hn.data)||{},zr=pr.src,Qr=(0,E.Z)(pr,pe),Yr=(0,Fe.Z)(!!ir,{value:ir,onChange:function(ci,qi){Dr==null||Dr(ci,qi,Qn)}}),ki=(0,se.Z)(Yr,2),or=ki[0],Di=ki[1],mi=(0,b.useState)(null),Ii=(0,se.Z)(mi,2),Bi=Ii[0],Si=Ii[1],so=b.useCallback(function(li,ci,qi,po){var Ri=_n?Vr.findIndex(function(no){return no.data.src===ci}):Vr.findIndex(function(no){return no.id===li});Pr(Ri<0?0:Ri),Di(!0),Si({x:qi,y:po}),$n(!0)},[Vr,_n]);b.useEffect(function(){or?On||Pr(0):$n(!1)},[or]);var Co=function(ci,qi){Pr(ci),Fr==null||Fr(ci,qi)},$i=function(){Di(!1),Si(null)},Ji=b.useMemo(function(){return{register:Cr,onPreview:so}},[Cr,so]);return b.createElement(Ye.Provider,{value:Ji},In,b.createElement(le,(0,de.Z)({"aria-hidden":!or,movable:vr,visible:or,prefixCls:bn,closeIcon:Gr,onClose:$i,mousePosition:Bi,imgCommonProps:Qr,src:zr,fallback:sr,icons:Zn,minScale:Ir,maxScale:_r,getContainer:Tr,current:Qn,count:Vr.length,countRender:mr,onTransform:gi,toolbarRender:Xr,imageRender:$r,onChange:Co},ti)))},me=x,Le=0;function Se(Vt,jt){var hn=b.useState(function(){return Le+=1,String(Le)}),wn=(0,se.Z)(hn,1),bn=wn[0],In=b.useContext(Ye),Fn={data:jt,canPreview:Vt};return b.useEffect(function(){if(In)return In.register(bn,Fn)},[]),b.useEffect(function(){In&&In.register(bn,Fn)},[Vt,jt]),bn}var Be=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Qe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],it=function(jt){var hn=jt.src,wn=jt.alt,bn=jt.onPreviewClose,In=jt.prefixCls,Fn=In===void 0?"rc-image":In,Zn=jt.previewPrefixCls,Mn=Zn===void 0?"".concat(Fn,"-preview"):Zn,Gn=jt.placeholder,sr=jt.fallback,jn=jt.width,ir=jt.height,Dr=jt.style,Tr=jt.preview,Wr=Tr===void 0?!0:Tr,vr=jt.className,Ir=jt.onClick,_r=jt.onError,mr=jt.wrapperClassName,Gr=jt.wrapperStyle,Fr=jt.rootClassName,gi=(0,E.Z)(jt,Be),Xr=Gn&&Gn!==!0,$r=(0,fe.Z)(Wr)==="object"?Wr:{},ti=$r.src,oi=$r.visible,kr=oi===void 0?void 0:oi,Vr=$r.onVisibleChange,Cr=Vr===void 0?bn:Vr,_n=$r.getContainer,ur=_n===void 0?void 0:_n,fr=$r.mask,Qn=$r.maskClassName,Pr=$r.movable,Mr=$r.icons,Kt=$r.scaleStep,On=$r.minScale,$n=$r.maxScale,pr=$r.imageRender,zr=$r.toolbarRender,Qr=(0,E.Z)($r,Qe),Yr=ti!=null?ti:hn,ki=(0,Fe.Z)(!!kr,{value:kr,onChange:Cr}),or=(0,se.Z)(ki,2),Di=or[0],mi=or[1],Ii=st({src:hn,isCustomPlaceholder:Xr,fallback:sr}),Bi=(0,se.Z)(Ii,3),Si=Bi[0],so=Bi[1],Co=Bi[2],$i=(0,b.useState)(null),Ji=(0,se.Z)($i,2),li=Ji[0],ci=Ji[1],qi=(0,b.useContext)(Ye),po=!!Wr,Ri=function(){mi(!1),ci(null)},no=De()(Fn,mr,Fr,(0,re.Z)({},"".concat(Fn,"-error"),Co==="error")),lo=(0,b.useMemo)(function(){var Fo={};return ke.forEach(function(qo){jt[qo]!==void 0&&(Fo[qo]=jt[qo])}),Fo},ke.map(function(Fo){return jt[Fo]})),Gi=(0,b.useMemo)(function(){return(0,ve.Z)((0,ve.Z)({},lo),{},{src:Yr})},[Yr,lo]),fo=Se(po,Gi),ao=function(qo){var Zo=Pe(qo.target),Yo=Zo.left,Wa=Zo.top;qi?qi.onPreview(fo,Yr,Yo,Wa):(ci({x:Yo,y:Wa}),mi(!0)),Ir==null||Ir(qo)};return b.createElement(b.Fragment,null,b.createElement("div",(0,de.Z)({},gi,{className:no,onClick:po?ao:Ir,style:(0,ve.Z)({width:jn,height:ir},Gr)}),b.createElement("img",(0,de.Z)({},lo,{className:De()("".concat(Fn,"-img"),(0,re.Z)({},"".concat(Fn,"-img-placeholder"),Gn===!0),vr),style:(0,ve.Z)({height:ir},Dr),ref:Si},so,{width:jn,height:ir,onError:_r})),Co==="loading"&&b.createElement("div",{"aria-hidden":"true",className:"".concat(Fn,"-placeholder")},Gn),fr&&po&&b.createElement("div",{className:De()("".concat(Fn,"-mask"),Qn),style:{display:(Dr==null?void 0:Dr.display)==="none"?"none":void 0}},fr)),!qi&&po&&b.createElement(le,(0,de.Z)({"aria-hidden":!Di,visible:Di,prefixCls:Mn,onClose:Ri,mousePosition:li,src:Yr,alt:wn,imageInfo:{width:jn,height:ir},fallback:sr,getContainer:ur,icons:Mr,movable:Pr,scaleStep:Kt,minScale:On,maxScale:$n,rootClassName:Fr,imageRender:pr,imgCommonProps:lo,toolbarRender:zr},Qr)))};it.PreviewGroup=me;var ot=it,at=ot,Rt=ae(75030),Ft=ae(86641),rn=ae(48755),nn=ae(83397),Lt=ae(9017),qt=ae(99267),Wt=ae(33853),Dt=ae(38819),zt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},un=zt,mn=ae(7657),Et=function(jt,hn){return b.createElement(mn.Z,(0,de.Z)({},jt,{ref:hn,icon:un}))},Ht=b.forwardRef(Et),Jt=Ht,gn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Nn=gn,Xn=function(jt,hn){return b.createElement(mn.Z,(0,de.Z)({},jt,{ref:hn,icon:Nn}))},gr=b.forwardRef(Xn),br=gr,Yn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},hr=Yn,Wn=function(jt,hn){return b.createElement(mn.Z,(0,de.Z)({},jt,{ref:hn,icon:hr}))},xn=b.forwardRef(Wn),Pn=xn,Tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},An=Tn,zn=function(jt,hn){return b.createElement(mn.Z,(0,de.Z)({},jt,{ref:hn,icon:An}))},Kn=b.forwardRef(zn),er=Kn,wr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},Sr=wr,Er=function(jt,hn){return b.createElement(mn.Z,(0,de.Z)({},jt,{ref:hn,icon:Sr}))},Nr=b.forwardRef(Er),Br=Nr,jr=ae(36237),Rr=ae(17835),Ln=ae(64427),tr=ae(63356),Ar=ae(34925),yr=ae(99495),Zt=ae(16931),St=ae(51636);const Ot=Vt=>({position:Vt||"absolute",inset:0}),Gt=Vt=>{const{iconCls:jt,motionDurationSlow:hn,paddingXXS:wn,marginXXS:bn,prefixCls:In,colorTextLightSolid:Fn}=Vt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Fn,background:new Rr.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${hn}`,[`.${In}-mask-info`]:Object.assign(Object.assign({},tr.vS),{padding:`0 ${(0,jr.unit)(wn)}`,[jt]:{marginInlineEnd:bn,svg:{verticalAlign:"baseline"}}})}},kt=Vt=>{const{previewCls:jt,modalMaskBg:hn,paddingSM:wn,marginXL:bn,margin:In,paddingLG:Fn,previewOperationColorDisabled:Zn,previewOperationHoverColor:Mn,motionDurationSlow:Gn,iconCls:sr,colorTextLightSolid:jn}=Vt,ir=new Rr.FastColor(hn).setA(.1),Dr=ir.clone().setA(.2);return{[`${jt}-footer`]:{position:"fixed",bottom:bn,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Vt.previewOperationColor,transform:"translateX(-50%)"},[`${jt}-progress`]:{marginBottom:In},[`${jt}-close`]:{position:"fixed",top:bn,right:{_skip_check_:!0,value:bn},display:"flex",color:jn,backgroundColor:ir.toRgbString(),borderRadius:"50%",padding:wn,outline:0,border:0,cursor:"pointer",transition:`all ${Gn}`,"&:hover":{backgroundColor:Dr.toRgbString()},[`& > ${sr}`]:{fontSize:Vt.previewOperationSize}},[`${jt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,jr.unit)(Fn)}`,backgroundColor:ir.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:wn,padding:wn,cursor:"pointer",transition:`all ${Gn}`,userSelect:"none",[`&:not(${jt}-operations-operation-disabled):hover > ${sr}`]:{color:Mn},"&-disabled":{color:Zn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${sr}`]:{fontSize:Vt.previewOperationSize}}}}},Pt=Vt=>{const{modalMaskBg:jt,iconCls:hn,previewOperationColorDisabled:wn,previewCls:bn,zIndexPopup:In,motionDurationSlow:Fn}=Vt,Zn=new Rr.FastColor(jt).setA(.1),Mn=Zn.clone().setA(.2);return{[`${bn}-switch-left, ${bn}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Vt.calc(In).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Vt.imagePreviewSwitchSize,height:Vt.imagePreviewSwitchSize,marginTop:Vt.calc(Vt.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Vt.previewOperationColor,background:Zn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Fn}`,userSelect:"none","&:hover":{background:Mn.toRgbString()},"&-disabled":{"&, &:hover":{color:wn,background:"transparent",cursor:"not-allowed",[`> ${hn}`]:{cursor:"not-allowed"}}},[`> ${hn}`]:{fontSize:Vt.previewOperationSize}},[`${bn}-switch-left`]:{insetInlineStart:Vt.marginSM},[`${bn}-switch-right`]:{insetInlineEnd:Vt.marginSM}}},xt=Vt=>{const{motionEaseOut:jt,previewCls:hn,motionDurationSlow:wn,componentCls:bn}=Vt;return[{[`${bn}-preview-root`]:{[hn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${hn}-body`]:Object.assign(Object.assign({},Ot()),{overflow:"hidden"}),[`${hn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${wn} ${jt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Ot()),{transition:`transform ${wn} ${jt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${hn}-moving`]:{[`${hn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${bn}-preview-root`]:{[`${hn}-wrap`]:{zIndex:Vt.zIndexPopup}}},{[`${bn}-preview-operations-wrapper`]:{position:"fixed",zIndex:Vt.calc(Vt.zIndexPopup).add(1).equal()},"&":[kt(Vt),Pt(Vt)]}]},en=Vt=>{const{componentCls:jt}=Vt;return{[jt]:{position:"relative",display:"inline-block",[`${jt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${jt}-img-placeholder`]:{backgroundColor:Vt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${jt}-mask`]:Object.assign({},Gt(Vt)),[`${jt}-mask:hover`]:{opacity:1},[`${jt}-placeholder`]:Object.assign({},Ot())}}},on=Vt=>{const{previewCls:jt}=Vt;return{[`${jt}-root`]:(0,Ar._y)(Vt,"zoom"),"&":(0,yr.J$)(Vt,!0)}},cn=Vt=>({zIndexPopup:Vt.zIndexPopupBase+80,previewOperationColor:new Rr.FastColor(Vt.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Rr.FastColor(Vt.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Rr.FastColor(Vt.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Vt.fontSizeIcon*1.5});var Yt=(0,Zt.I$)("Image",Vt=>{const jt=`${Vt.componentCls}-preview`,hn=(0,St.mergeToken)(Vt,{previewCls:jt,modalMaskBg:new Rr.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Vt.controlHeightLG});return[en(hn),xt(hn),(0,Ln.QA)((0,St.mergeToken)(hn,{componentCls:jt})),on(hn)]},cn),$t=function(Vt,jt){var hn={};for(var wn in Vt)Object.prototype.hasOwnProperty.call(Vt,wn)&&jt.indexOf(wn)<0&&(hn[wn]=Vt[wn]);if(Vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,wn=Object.getOwnPropertySymbols(Vt);bn<wn.length;bn++)jt.indexOf(wn[bn])<0&&Object.prototype.propertyIsEnumerable.call(Vt,wn[bn])&&(hn[wn[bn]]=Vt[wn[bn]]);return hn};const Xt={rotateLeft:b.createElement(Jt,null),rotateRight:b.createElement(br,null),zoomIn:b.createElement(er,null),zoomOut:b.createElement(Br,null),close:b.createElement(qt.Z,null),left:b.createElement(Wt.Z,null),right:b.createElement(Dt.Z,null),flipX:b.createElement(Pn,null),flipY:b.createElement(Pn,{rotate:90})};var lr=Vt=>{var{previewPrefixCls:jt,preview:hn}=Vt,wn=$t(Vt,["previewPrefixCls","preview"]);const{getPrefixCls:bn}=b.useContext(rn.E_),In=bn("image",jt),Fn=`${In}-preview`,Zn=bn(),Mn=(0,nn.Z)(In),[Gn,sr,jn]=Yt(In,Mn),[ir]=(0,Rt.Cn)("ImagePreview",typeof hn=="object"?hn.zIndex:void 0),Dr=b.useMemo(()=>{var Tr;if(hn===!1)return hn;const Wr=typeof hn=="object"?hn:{},vr=De()(sr,jn,Mn,(Tr=Wr.rootClassName)!==null&&Tr!==void 0?Tr:"");return Object.assign(Object.assign({},Wr),{transitionName:(0,Ft.m)(Zn,"zoom",Wr.transitionName),maskTransitionName:(0,Ft.m)(Zn,"fade",Wr.maskTransitionName),rootClassName:vr,zIndex:ir})},[hn]);return Gn(b.createElement(at.PreviewGroup,Object.assign({preview:Dr,previewPrefixCls:Fn,icons:Xt},wn)))},Ut=function(Vt,jt){var hn={};for(var wn in Vt)Object.prototype.hasOwnProperty.call(Vt,wn)&&jt.indexOf(wn)<0&&(hn[wn]=Vt[wn]);if(Vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,wn=Object.getOwnPropertySymbols(Vt);bn<wn.length;bn++)jt.indexOf(wn[bn])<0&&Object.prototype.propertyIsEnumerable.call(Vt,wn[bn])&&(hn[wn[bn]]=Vt[wn[bn]]);return hn};const Qt=Vt=>{const{prefixCls:jt,preview:hn,className:wn,rootClassName:bn,style:In}=Vt,Fn=Ut(Vt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Zn,getPopupContainer:Mn,className:Gn,style:sr,preview:jn}=(0,rn.dj)("image"),[ir]=(0,Lt.Z)("Image"),Dr=Zn("image",jt),Tr=Zn(),Wr=(0,nn.Z)(Dr),[vr,Ir,_r]=Yt(Dr,Wr),mr=De()(bn,Ir,_r,Wr),Gr=De()(wn,Ir,Gn),[Fr]=(0,Rt.Cn)("ImagePreview",typeof hn=="object"?hn.zIndex:void 0),gi=b.useMemo(()=>{if(hn===!1)return hn;const $r=typeof hn=="object"?hn:{},{getContainer:ti,closeIcon:oi,rootClassName:kr}=$r,Vr=Ut($r,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:b.createElement("div",{className:`${Dr}-mask-info`},b.createElement(oe.Z,null),ir==null?void 0:ir.preview),icons:Xt},Vr),{rootClassName:De()(mr,kr),getContainer:ti!=null?ti:Mn,transitionName:(0,Ft.m)(Tr,"zoom",$r.transitionName),maskTransitionName:(0,Ft.m)(Tr,"fade",$r.maskTransitionName),zIndex:Fr,closeIcon:oi!=null?oi:jn==null?void 0:jn.closeIcon})},[hn,ir,jn==null?void 0:jn.closeIcon]),Xr=Object.assign(Object.assign({},sr),In);return vr(b.createElement(at,Object.assign({prefixCls:Dr,preview:gi,rootClassName:mr,className:Gr,style:Xr},Fn)))};Qt.PreviewGroup=lr;var Cn=Qt},4875:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return mn}});var b=ae(59301),oe=ae(84105),ye=ae(87395),De=ae(92310),de=ae.n(De),ve=ae(54476),re=ae(20068),se=ae(76190),fe=ae(42978),E=ae(75931),te=ae(67732),ne=ae(83652);function ge(){return typeof BigInt=="function"}function we(Et){return!Et&&Et!==0&&!Number.isNaN(Et)||!String(Et).trim()}function xe(Et){var Ht=Et.trim(),Jt=Ht.startsWith("-");Jt&&(Ht=Ht.slice(1)),Ht=Ht.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Ht.startsWith(".")&&(Ht="0".concat(Ht));var gn=Ht||"0",Nn=gn.split("."),Xn=Nn[0]||"0",gr=Nn[1]||"0";Xn==="0"&&gr==="0"&&(Jt=!1);var br=Jt?"-":"";return{negative:Jt,negativeStr:br,trimStr:gn,integerStr:Xn,decimalStr:gr,fullStr:"".concat(br).concat(gn)}}function ue(Et){var Ht=String(Et);return!Number.isNaN(Number(Ht))&&Ht.includes("e")}function Ee(Et){var Ht=String(Et);if(ue(Et)){var Jt=Number(Ht.slice(Ht.indexOf("e-")+2)),gn=Ht.match(/\.(\d+)/);return gn!=null&&gn[1]&&(Jt+=gn[1].length),Jt}return Ht.includes(".")&&Ae(Ht)?Ht.length-Ht.indexOf(".")-1:0}function Oe(Et){var Ht=String(Et);if(ue(Et)){if(Et>Number.MAX_SAFE_INTEGER)return String(ge()?BigInt(Et).toString():Number.MAX_SAFE_INTEGER);if(Et<Number.MIN_SAFE_INTEGER)return String(ge()?BigInt(Et).toString():Number.MIN_SAFE_INTEGER);Ht=Et.toFixed(Ee(Ht))}return xe(Ht).fullStr}function Ae(Et){return typeof Et=="number"?!Number.isNaN(Et):Et?/^\s*-?\d+(\.\d+)?\s*$/.test(Et)||/^\s*-?\d+\.\s*$/.test(Et)||/^\s*-?\.\d+\s*$/.test(Et):!1}var Re=function(){function Et(Ht){if((0,te.Z)(this,Et),(0,re.Z)(this,"origin",""),(0,re.Z)(this,"negative",void 0),(0,re.Z)(this,"integer",void 0),(0,re.Z)(this,"decimal",void 0),(0,re.Z)(this,"decimalLen",void 0),(0,re.Z)(this,"empty",void 0),(0,re.Z)(this,"nan",void 0),we(Ht)){this.empty=!0;return}if(this.origin=String(Ht),Ht==="-"||Number.isNaN(Ht)){this.nan=!0;return}var Jt=Ht;if(ue(Jt)&&(Jt=Number(Jt)),Jt=typeof Jt=="string"?Jt:Oe(Jt),Ae(Jt)){var gn=xe(Jt);this.negative=gn.negative;var Nn=gn.trimStr.split(".");this.integer=BigInt(Nn[0]);var Xn=Nn[1]||"0";this.decimal=BigInt(Xn),this.decimalLen=Xn.length}else this.nan=!0}return(0,ne.Z)(Et,[{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(Jt){var gn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Jt,"0"));return BigInt(gn)}},{key:"negate",value:function(){var Jt=new Et(this.toString());return Jt.negative=!Jt.negative,Jt}},{key:"cal",value:function(Jt,gn,Nn){var Xn=Math.max(this.getDecimalStr().length,Jt.getDecimalStr().length),gr=this.alignDecimal(Xn),br=Jt.alignDecimal(Xn),Yn=gn(gr,br).toString(),hr=Nn(Xn),Wn=xe(Yn),xn=Wn.negativeStr,Pn=Wn.trimStr,Tn="".concat(xn).concat(Pn.padStart(hr+1,"0"));return new Et("".concat(Tn.slice(0,-hr),".").concat(Tn.slice(-hr)))}},{key:"add",value:function(Jt){if(this.isInvalidate())return new Et(Jt);var gn=new Et(Jt);return gn.isInvalidate()?this:this.cal(gn,function(Nn,Xn){return Nn+Xn},function(Nn){return Nn})}},{key:"multi",value:function(Jt){var gn=new Et(Jt);return this.isInvalidate()||gn.isInvalidate()?new Et(NaN):this.cal(gn,function(Nn,Xn){return Nn*Xn},function(Nn){return Nn*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(Jt){return this.toString()===(Jt==null?void 0:Jt.toString())}},{key:"lessEquals",value:function(Jt){return this.add(Jt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Jt?this.isInvalidate()?"":xe("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Et}(),Me=function(){function Et(Ht){if((0,te.Z)(this,Et),(0,re.Z)(this,"origin",""),(0,re.Z)(this,"number",void 0),(0,re.Z)(this,"empty",void 0),we(Ht)){this.empty=!0;return}this.origin=String(Ht),this.number=Number(Ht)}return(0,ne.Z)(Et,[{key:"negate",value:function(){return new Et(-this.toNumber())}},{key:"add",value:function(Jt){if(this.isInvalidate())return new Et(Jt);var gn=Number(Jt);if(Number.isNaN(gn))return this;var Nn=this.number+gn;if(Nn>Number.MAX_SAFE_INTEGER)return new Et(Number.MAX_SAFE_INTEGER);if(Nn<Number.MIN_SAFE_INTEGER)return new Et(Number.MIN_SAFE_INTEGER);var Xn=Math.max(Ee(this.number),Ee(gn));return new Et(Nn.toFixed(Xn))}},{key:"multi",value:function(Jt){var gn=Number(Jt);if(this.isInvalidate()||Number.isNaN(gn))return new Et(NaN);var Nn=this.number*gn;if(Nn>Number.MAX_SAFE_INTEGER)return new Et(Number.MAX_SAFE_INTEGER);if(Nn<Number.MIN_SAFE_INTEGER)return new Et(Number.MIN_SAFE_INTEGER);var Xn=Math.max(Ee(this.number),Ee(gn));return new Et(Nn.toFixed(Xn))}},{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(Jt){return this.toNumber()===(Jt==null?void 0:Jt.toNumber())}},{key:"lessEquals",value:function(Jt){return this.add(Jt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Jt?this.isInvalidate()?"":Oe(this.number):this.origin}}]),Et}();function be(Et){return ge()?new Re(Et):new Me(Et)}function Pe(Et,Ht,Jt){var gn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Et==="")return"";var Nn=xe(Et),Xn=Nn.negativeStr,gr=Nn.integerStr,br=Nn.decimalStr,Yn="".concat(Ht).concat(br),hr="".concat(Xn).concat(gr);if(Jt>=0){var Wn=Number(br[Jt]);if(Wn>=5&&!gn){var xn=be(Et).add("".concat(Xn,"0.").concat("0".repeat(Jt)).concat(10-Wn));return Pe(xn.toString(),Ht,Jt,gn)}return Jt===0?hr:"".concat(hr).concat(Ht).concat(br.padEnd(Jt,"0").slice(0,Jt))}return Yn===".0"?hr:"".concat(hr).concat(Yn)}var Fe=be,_e=ae(36901),Te=ae(34280);function Ke(Et,Ht){return typeof Proxy!="undefined"&&Et?new Proxy(Et,{get:function(gn,Nn){if(Ht[Nn])return Ht[Nn];var Xn=gn[Nn];return typeof Xn=="function"?Xn.bind(gn):Xn}}):Et}var We=ae(8654),Ne=ae(48736);function Ye(Et,Ht){var Jt=(0,b.useRef)(null);function gn(){try{var Xn=Et.selectionStart,gr=Et.selectionEnd,br=Et.value,Yn=br.substring(0,Xn),hr=br.substring(gr);Jt.current={start:Xn,end:gr,value:br,beforeTxt:Yn,afterTxt:hr}}catch(Wn){}}function Nn(){if(Et&&Jt.current&&Ht)try{var Xn=Et.value,gr=Jt.current,br=gr.beforeTxt,Yn=gr.afterTxt,hr=gr.start,Wn=Xn.length;if(Xn.startsWith(br))Wn=br.length;else if(Xn.endsWith(Yn))Wn=Xn.length-Jt.current.afterTxt.length;else{var xn=br[hr-1],Pn=Xn.indexOf(xn,hr-1);Pn!==-1&&(Wn=Pn+1)}Et.setSelectionRange(Wn,Wn)}catch(Tn){(0,Ne.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Tn.message))}}return[gn,Nn]}var Je=ae(49658),He=function(){var Ht=(0,b.useState)(!1),Jt=(0,fe.Z)(Ht,2),gn=Jt[0],Nn=Jt[1];return(0,Te.Z)(function(){Nn((0,Je.Z)())},[]),gn},lt=He,ct=ae(16089),tt=200,Bt=600;function nt(Et){var Ht=Et.prefixCls,Jt=Et.upNode,gn=Et.downNode,Nn=Et.upDisabled,Xn=Et.downDisabled,gr=Et.onStep,br=b.useRef(),Yn=b.useRef([]),hr=b.useRef();hr.current=gr;var Wn=function(){clearTimeout(br.current)},xn=function(Sr,Er){Sr.preventDefault(),Wn(),hr.current(Er);function Nr(){hr.current(Er),br.current=setTimeout(Nr,tt)}br.current=setTimeout(Nr,Bt)};b.useEffect(function(){return function(){Wn(),Yn.current.forEach(function(wr){return ct.Z.cancel(wr)})}},[]);var Pn=lt();if(Pn)return null;var Tn="".concat(Ht,"-handler"),An=de()(Tn,"".concat(Tn,"-up"),(0,re.Z)({},"".concat(Tn,"-up-disabled"),Nn)),zn=de()(Tn,"".concat(Tn,"-down"),(0,re.Z)({},"".concat(Tn,"-down-disabled"),Xn)),Kn=function(){return Yn.current.push((0,ct.Z)(Wn))},er={unselectable:"on",role:"button",onMouseUp:Kn,onMouseLeave:Kn};return b.createElement("div",{className:"".concat(Tn,"-wrap")},b.createElement("span",(0,ve.Z)({},er,{onMouseDown:function(Sr){xn(Sr,!0)},"aria-label":"Increase Value","aria-disabled":Nn,className:An}),Jt||b.createElement("span",{unselectable:"on",className:"".concat(Ht,"-handler-up-inner")})),b.createElement("span",(0,ve.Z)({},er,{onMouseDown:function(Sr){xn(Sr,!1)},"aria-label":"Decrease Value","aria-disabled":Xn,className:zn}),gn||b.createElement("span",{unselectable:"on",className:"".concat(Ht,"-handler-down-inner")})))}function Ue(Et){var Ht=typeof Et=="number"?Oe(Et):xe(Et).fullStr,Jt=Ht.includes(".");return Jt?xe(Ht.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Et+"0"}var Xe=ae(30292),$e=function(){var Et=(0,b.useRef)(0),Ht=function(){ct.Z.cancel(Et.current)};return(0,b.useEffect)(function(){return Ht},[]),function(Jt){Ht(),Et.current=(0,ct.Z)(function(){Jt()})}},qe=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],Ve=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],ht=function(Ht,Jt){return Ht||Jt.isEmpty()?Jt.toString():Jt.toNumber()},st=function(Ht){var Jt=Fe(Ht);return Jt.isInvalidate()?null:Jt},Nt=b.forwardRef(function(Et,Ht){var Jt=Et.prefixCls,gn=Et.className,Nn=Et.style,Xn=Et.min,gr=Et.max,br=Et.step,Yn=br===void 0?1:br,hr=Et.defaultValue,Wn=Et.value,xn=Et.disabled,Pn=Et.readOnly,Tn=Et.upHandler,An=Et.downHandler,zn=Et.keyboard,Kn=Et.changeOnWheel,er=Kn===void 0?!1:Kn,wr=Et.controls,Sr=wr===void 0?!0:wr,Er=Et.classNames,Nr=Et.stringMode,Br=Et.parser,jr=Et.formatter,Rr=Et.precision,Ln=Et.decimalSeparator,tr=Et.onChange,Ar=Et.onInput,yr=Et.onPressEnter,Zt=Et.onStep,St=Et.changeOnBlur,Ot=St===void 0?!0:St,Gt=Et.domRef,kt=(0,E.Z)(Et,qe),Pt="".concat(Jt,"-input"),xt=b.useRef(null),en=b.useState(!1),on=(0,fe.Z)(en,2),cn=on[0],Yt=on[1],$t=b.useRef(!1),Xt=b.useRef(!1),fn=b.useRef(!1),lr=b.useState(function(){return Fe(Wn!=null?Wn:hr)}),Ut=(0,fe.Z)(lr,2),Qt=Ut[0],Cn=Ut[1];function Vt(fr){Wn===void 0&&Cn(fr)}var jt=b.useCallback(function(fr,Qn){if(!Qn)return Rr>=0?Rr:Math.max(Ee(fr),Ee(Yn))},[Rr,Yn]),hn=b.useCallback(function(fr){var Qn=String(fr);if(Br)return Br(Qn);var Pr=Qn;return Ln&&(Pr=Pr.replace(Ln,".")),Pr.replace(/[^\w.-]+/g,"")},[Br,Ln]),wn=b.useRef(""),bn=b.useCallback(function(fr,Qn){if(jr)return jr(fr,{userTyping:Qn,input:String(wn.current)});var Pr=typeof fr=="number"?Oe(fr):fr;if(!Qn){var Mr=jt(Pr,Qn);if(Ae(Pr)&&(Ln||Mr>=0)){var Kt=Ln||".";Pr=Pe(Pr,Kt,Mr)}}return Pr},[jr,jt,Ln]),In=b.useState(function(){var fr=hr!=null?hr:Wn;return Qt.isInvalidate()&&["string","number"].includes((0,se.Z)(fr))?Number.isNaN(fr)?"":fr:bn(Qt.toString(),!1)}),Fn=(0,fe.Z)(In,2),Zn=Fn[0],Mn=Fn[1];wn.current=Zn;function Gn(fr,Qn){Mn(bn(fr.isInvalidate()?fr.toString(!1):fr.toString(!Qn),Qn))}var sr=b.useMemo(function(){return st(gr)},[gr,Rr]),jn=b.useMemo(function(){return st(Xn)},[Xn,Rr]),ir=b.useMemo(function(){return!sr||!Qt||Qt.isInvalidate()?!1:sr.lessEquals(Qt)},[sr,Qt]),Dr=b.useMemo(function(){return!jn||!Qt||Qt.isInvalidate()?!1:Qt.lessEquals(jn)},[jn,Qt]),Tr=Ye(xt.current,cn),Wr=(0,fe.Z)(Tr,2),vr=Wr[0],Ir=Wr[1],_r=function(Qn){return sr&&!Qn.lessEquals(sr)?sr:jn&&!jn.lessEquals(Qn)?jn:null},mr=function(Qn){return!_r(Qn)},Gr=function(Qn,Pr){var Mr=Qn,Kt=mr(Mr)||Mr.isEmpty();if(!Mr.isEmpty()&&!Pr&&(Mr=_r(Mr)||Mr,Kt=!0),!Pn&&!xn&&Kt){var On=Mr.toString(),$n=jt(On,Pr);return $n>=0&&(Mr=Fe(Pe(On,".",$n)),mr(Mr)||(Mr=Fe(Pe(On,".",$n,!0)))),Mr.equals(Qt)||(Vt(Mr),tr==null||tr(Mr.isEmpty()?null:ht(Nr,Mr)),Wn===void 0&&Gn(Mr,Pr)),Mr}return Qt},Fr=$e(),gi=function fr(Qn){if(vr(),wn.current=Qn,Mn(Qn),!Xt.current){var Pr=hn(Qn),Mr=Fe(Pr);Mr.isNaN()||Gr(Mr,!0)}Ar==null||Ar(Qn),Fr(function(){var Kt=Qn;Br||(Kt=Qn.replace(/。/g,".")),Kt!==Qn&&fr(Kt)})},Xr=function(){Xt.current=!0},$r=function(){Xt.current=!1,gi(xt.current.value)},ti=function(Qn){gi(Qn.target.value)},oi=function(Qn){var Pr;if(!(Qn&&ir||!Qn&&Dr)){$t.current=!1;var Mr=Fe(fn.current?Ue(Yn):Yn);Qn||(Mr=Mr.negate());var Kt=(Qt||Fe(0)).add(Mr.toString()),On=Gr(Kt,!1);Zt==null||Zt(ht(Nr,On),{offset:fn.current?Ue(Yn):Yn,type:Qn?"up":"down"}),(Pr=xt.current)===null||Pr===void 0||Pr.focus()}},kr=function(Qn){var Pr=Fe(hn(Zn)),Mr;Pr.isNaN()?Mr=Gr(Qt,Qn):Mr=Gr(Pr,Qn),Wn!==void 0?Gn(Qt,!1):Mr.isNaN()||Gn(Mr,!1)},Vr=function(){$t.current=!0},Cr=function(Qn){var Pr=Qn.key,Mr=Qn.shiftKey;$t.current=!0,fn.current=Mr,Pr==="Enter"&&(Xt.current||($t.current=!1),kr(!1),yr==null||yr(Qn)),zn!==!1&&!Xt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Pr)&&(oi(Pr==="Up"||Pr==="ArrowUp"),Qn.preventDefault())},_n=function(){$t.current=!1,fn.current=!1};b.useEffect(function(){if(er&&cn){var fr=function(Mr){oi(Mr.deltaY<0),Mr.preventDefault()},Qn=xt.current;if(Qn)return Qn.addEventListener("wheel",fr,{passive:!1}),function(){return Qn.removeEventListener("wheel",fr)}}});var ur=function(){Ot&&kr(!1),Yt(!1),$t.current=!1};return(0,Te.o)(function(){Qt.isInvalidate()||Gn(Qt,!1)},[Rr,jr]),(0,Te.o)(function(){var fr=Fe(Wn);Cn(fr);var Qn=Fe(hn(Zn));(!fr.equals(Qn)||!$t.current||jr)&&Gn(fr,$t.current)},[Wn]),(0,Te.o)(function(){jr&&Ir()},[Zn]),b.createElement("div",{ref:Gt,className:de()(Jt,gn,(0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(Jt,"-focused"),cn),"".concat(Jt,"-disabled"),xn),"".concat(Jt,"-readonly"),Pn),"".concat(Jt,"-not-a-number"),Qt.isNaN()),"".concat(Jt,"-out-of-range"),!Qt.isInvalidate()&&!mr(Qt))),style:Nn,onFocus:function(){Yt(!0)},onBlur:ur,onKeyDown:Cr,onKeyUp:_n,onCompositionStart:Xr,onCompositionEnd:$r,onBeforeInput:Vr},Sr&&b.createElement(nt,{prefixCls:Jt,upNode:Tn,downNode:An,upDisabled:ir,downDisabled:Dr,onStep:oi}),b.createElement("div",{className:"".concat(Pt,"-wrap")},b.createElement("input",(0,ve.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Xn,"aria-valuemax":gr,"aria-valuenow":Qt.isInvalidate()?null:Qt.toString(),step:Yn},kt,{ref:(0,We.sQ)(xt,Ht),className:Pt,value:Zn,onChange:ti,disabled:xn,readOnly:Pn}))))}),dt=b.forwardRef(function(Et,Ht){var Jt=Et.disabled,gn=Et.style,Nn=Et.prefixCls,Xn=Nn===void 0?"rc-input-number":Nn,gr=Et.value,br=Et.prefix,Yn=Et.suffix,hr=Et.addonBefore,Wn=Et.addonAfter,xn=Et.className,Pn=Et.classNames,Tn=(0,E.Z)(Et,Ve),An=b.useRef(null),zn=b.useRef(null),Kn=b.useRef(null),er=function(Sr){Kn.current&&(0,Xe.nH)(Kn.current,Sr)};return b.useImperativeHandle(Ht,function(){return Ke(Kn.current,{focus:er,nativeElement:An.current.nativeElement||zn.current})}),b.createElement(_e.BaseInput,{className:xn,triggerFocus:er,prefixCls:Xn,value:gr,disabled:Jt,style:gn,prefix:br,suffix:Yn,addonAfter:Wn,addonBefore:hr,classNames:Pn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:An},b.createElement(Nt,(0,ve.Z)({prefixCls:Xn,disabled:Jt,ref:Kn,domRef:zn,className:Pn==null?void 0:Pn.input},Tn)))}),Tt=dt,bt=Tt,Ct=ae(62487),gt=ae(82855),je=ae(48755),le=ae(60840),ie=ae(2171),ke=ae(83397),Ge=ae(31756),Ie=ae(56553),pe=ae(24971),x=ae(70045),me=ae(36237),Le=ae(53075),Se=ae(64910),Be=ae(39082),Qe=ae(63356),it=ae(56119),ot=ae(16931),at=ae(51636),Rt=ae(17835);const Ft=Et=>{var Ht;const Jt=(Ht=Et.handleVisible)!==null&&Ht!==void 0?Ht:"auto",gn=Et.controlHeightSM-Et.lineWidth*2;return Object.assign(Object.assign({},(0,Se.T)(Et)),{controlWidth:90,handleWidth:gn,handleFontSize:Et.fontSize/2,handleVisible:Jt,handleActiveBg:Et.colorFillAlter,handleBg:Et.colorBgContainer,filledHandleBg:new Rt.FastColor(Et.colorFillSecondary).onBackground(Et.colorBgContainer).toHexString(),handleHoverColor:Et.colorPrimary,handleBorderColor:Et.colorBorder,handleOpacity:Jt===!0?1:0,handleVisibleWidth:Jt===!0?gn:0})},rn=(Et,Ht)=>{let{componentCls:Jt,borderRadiusSM:gn,borderRadiusLG:Nn}=Et;const Xn=Ht==="lg"?Nn:gn;return{[`&-${Ht}`]:{[`${Jt}-handler-wrap`]:{borderStartEndRadius:Xn,borderEndEndRadius:Xn},[`${Jt}-handler-up`]:{borderStartEndRadius:Xn},[`${Jt}-handler-down`]:{borderEndEndRadius:Xn}}}},nn=Et=>{const{componentCls:Ht,lineWidth:Jt,lineType:gn,borderRadius:Nn,inputFontSizeSM:Xn,inputFontSizeLG:gr,controlHeightLG:br,controlHeightSM:Yn,colorError:hr,paddingInlineSM:Wn,paddingBlockSM:xn,paddingBlockLG:Pn,paddingInlineLG:Tn,colorTextDescription:An,motionDurationMid:zn,handleHoverColor:Kn,handleOpacity:er,paddingInline:wr,paddingBlock:Sr,handleBg:Er,handleActiveBg:Nr,colorTextDisabled:Br,borderRadiusSM:jr,borderRadiusLG:Rr,controlWidth:Ln,handleBorderColor:tr,filledHandleBg:Ar,lineHeightLG:yr,calc:Zt}=Et;return[{[Ht]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Et)),(0,Le.ik)(Et)),{display:"inline-block",width:Ln,margin:0,padding:0,borderRadius:Nn}),(0,Be.qG)(Et,{[`${Ht}-handler-wrap`]:{background:Er,[`${Ht}-handler-down`]:{borderBlockStart:`${(0,me.unit)(Jt)} ${gn} ${tr}`}}})),(0,Be.H8)(Et,{[`${Ht}-handler-wrap`]:{background:Ar,[`${Ht}-handler-down`]:{borderBlockStart:`${(0,me.unit)(Jt)} ${gn} ${tr}`}},"&:focus-within":{[`${Ht}-handler-wrap`]:{background:Er}}})),(0,Be.vc)(Et,{[`${Ht}-handler-wrap`]:{background:Er,[`${Ht}-handler-down`]:{borderBlockStart:`${(0,me.unit)(Jt)} ${gn} ${tr}`}}})),(0,Be.Mu)(Et)),{"&-rtl":{direction:"rtl",[`${Ht}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:gr,lineHeight:yr,borderRadius:Rr,[`input${Ht}-input`]:{height:Zt(br).sub(Zt(Jt).mul(2)).equal(),padding:`${(0,me.unit)(Pn)} ${(0,me.unit)(Tn)}`}},"&-sm":{padding:0,fontSize:Xn,borderRadius:jr,[`input${Ht}-input`]:{height:Zt(Yn).sub(Zt(Jt).mul(2)).equal(),padding:`${(0,me.unit)(xn)} ${(0,me.unit)(Wn)}`}},"&-out-of-range":{[`${Ht}-input-wrap`]:{input:{color:hr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Et)),(0,Le.s7)(Et)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Ht}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Ht}-group-addon`]:{borderRadius:Rr,fontSize:Et.fontSizeLG}},"&-sm":{[`${Ht}-group-addon`]:{borderRadius:jr}}},(0,Be.ir)(Et)),(0,Be.S5)(Et)),{[`&:not(${Ht}-compact-first-item):not(${Ht}-compact-last-item)${Ht}-compact-item`]:{[`${Ht}, ${Ht}-group-addon`]:{borderRadius:0}},[`&:not(${Ht}-compact-last-item)${Ht}-compact-first-item`]:{[`${Ht}, ${Ht}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Ht}-compact-first-item)${Ht}-compact-last-item`]:{[`${Ht}, ${Ht}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Ht}-input`]:{cursor:"not-allowed"},[Ht]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Et)),{width:"100%",padding:`${(0,me.unit)(Sr)} ${(0,me.unit)(wr)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Nn,outline:0,transition:`all ${zn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Le.nz)(Et.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Ht}-handler-wrap, &-focused ${Ht}-handler-wrap`]:{width:Et.handleWidth,opacity:1}})},{[Ht]:Object.assign(Object.assign(Object.assign({[`${Ht}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Et.handleVisibleWidth,opacity:er,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Nn,borderEndEndRadius:Nn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${zn}`,overflow:"hidden",[`${Ht}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${Ht}-handler-up-inner,
|
|
|
${Ht}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:Et.handleFontSize}}},[`${Ht}-handler`]:{height:"50%",overflow:"hidden",color:An,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,me.unit)(Jt)} ${gn} ${tr}`,transition:`all ${zn} linear`,"&:active":{background:Nr},"&:hover":{height:"60%",[`
|
|
|
${Ht}-handler-up-inner,
|
|
|
${Ht}-handler-down-inner
|
|
|
`]:{color:Kn}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Qe.Ro)()),{color:An,transition:`all ${zn} linear`,userSelect:"none"})},[`${Ht}-handler-up`]:{borderStartEndRadius:Nn},[`${Ht}-handler-down`]:{borderEndEndRadius:Nn}},rn(Et,"lg")),rn(Et,"sm")),{"&-disabled, &-readonly":{[`${Ht}-handler-wrap`]:{display:"none"},[`${Ht}-input`]:{color:"inherit"}},[`
|
|
|
${Ht}-handler-up-disabled,
|
|
|
${Ht}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${Ht}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${Ht}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:Br}})}]},Lt=Et=>{const{componentCls:Ht,paddingBlock:Jt,paddingInline:gn,inputAffixPadding:Nn,controlWidth:Xn,borderRadiusLG:gr,borderRadiusSM:br,paddingInlineLG:Yn,paddingInlineSM:hr,paddingBlockLG:Wn,paddingBlockSM:xn,motionDurationMid:Pn}=Et;return{[`${Ht}-affix-wrapper`]:Object.assign(Object.assign({[`input${Ht}-input`]:{padding:`${(0,me.unit)(Jt)} 0`}},(0,Le.ik)(Et)),{position:"relative",display:"inline-flex",alignItems:"center",width:Xn,padding:0,paddingInlineStart:gn,"&-lg":{borderRadius:gr,paddingInlineStart:Yn,[`input${Ht}-input`]:{padding:`${(0,me.unit)(Wn)} 0`}},"&-sm":{borderRadius:br,paddingInlineStart:hr,[`input${Ht}-input`]:{padding:`${(0,me.unit)(xn)} 0`}},[`&:not(${Ht}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Ht}-disabled`]:{background:"transparent"},[`> div${Ht}`]:{width:"100%",border:"none",outline:"none",[`&${Ht}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Ht}-handler-wrap`]:{zIndex:2},[Ht]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Nn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:gn,marginInlineStart:Nn,transition:`margin ${Pn}`}},[`&:hover ${Ht}-handler-wrap, &-focused ${Ht}-handler-wrap`]:{width:Et.handleWidth,opacity:1},[`&:not(${Ht}-affix-wrapper-without-controls):hover ${Ht}-suffix`]:{marginInlineEnd:Et.calc(Et.handleWidth).add(gn).equal()}})}};var qt=(0,ot.I$)("InputNumber",Et=>{const Ht=(0,at.mergeToken)(Et,(0,Se.e)(Et));return[nn(Ht),Lt(Ht),(0,it.c)(Ht)]},Ft,{unitless:{handleOpacity:!0}}),Wt=function(Et,Ht){var Jt={};for(var gn in Et)Object.prototype.hasOwnProperty.call(Et,gn)&&Ht.indexOf(gn)<0&&(Jt[gn]=Et[gn]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nn=0,gn=Object.getOwnPropertySymbols(Et);Nn<gn.length;Nn++)Ht.indexOf(gn[Nn])<0&&Object.prototype.propertyIsEnumerable.call(Et,gn[Nn])&&(Jt[gn[Nn]]=Et[gn[Nn]]);return Jt};const Dt=b.forwardRef((Et,Ht)=>{const{getPrefixCls:Jt,direction:gn}=b.useContext(je.E_),Nn=b.useRef(null);b.useImperativeHandle(Ht,()=>Nn.current);const{className:Xn,rootClassName:gr,size:br,disabled:Yn,prefixCls:hr,addonBefore:Wn,addonAfter:xn,prefix:Pn,suffix:Tn,bordered:An,readOnly:zn,status:Kn,controls:er,variant:wr}=Et,Sr=Wt(Et,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Er=Jt("input-number",hr),Nr=(0,ke.Z)(Er),[Br,jr,Rr]=qt(Er,Nr),{compactSize:Ln,compactItemClassnames:tr}=(0,x.ri)(Er,gn);let Ar=b.createElement(ye.Z,{className:`${Er}-handler-up-inner`}),yr=b.createElement(oe.Z,{className:`${Er}-handler-down-inner`});const Zt=typeof er=="boolean"?er:void 0;typeof er=="object"&&(Ar=typeof er.upIcon=="undefined"?Ar:b.createElement("span",{className:`${Er}-handler-up-inner`},er.upIcon),yr=typeof er.downIcon=="undefined"?yr:b.createElement("span",{className:`${Er}-handler-down-inner`},er.downIcon));const{hasFeedback:St,status:Ot,isFormItemInput:Gt,feedbackIcon:kt}=b.useContext(Ie.aM),Pt=(0,gt.F)(Ot,Kn),xt=(0,Ge.Z)(Ut=>{var Qt;return(Qt=br!=null?br:Ln)!==null&&Qt!==void 0?Qt:Ut}),en=b.useContext(ie.Z),on=Yn!=null?Yn:en,[cn,Yt]=(0,pe.Z)("inputNumber",wr,An),$t=St&&b.createElement(b.Fragment,null,kt),Xt=de()({[`${Er}-lg`]:xt==="large",[`${Er}-sm`]:xt==="small",[`${Er}-rtl`]:gn==="rtl",[`${Er}-in-form-item`]:Gt},jr),fn=`${Er}-group`,lr=b.createElement(bt,Object.assign({ref:Nn,disabled:on,className:de()(Rr,Nr,Xn,gr,tr),upHandler:Ar,downHandler:yr,prefixCls:Er,readOnly:zn,controls:Zt,prefix:Pn,suffix:$t||Tn,addonBefore:Wn&&b.createElement(Ct.Z,{form:!0,space:!0},Wn),addonAfter:xn&&b.createElement(Ct.Z,{form:!0,space:!0},xn),classNames:{input:Xt,variant:de()({[`${Er}-${cn}`]:Yt},(0,gt.Z)(Er,Pt,St)),affixWrapper:de()({[`${Er}-affix-wrapper-sm`]:xt==="small",[`${Er}-affix-wrapper-lg`]:xt==="large",[`${Er}-affix-wrapper-rtl`]:gn==="rtl",[`${Er}-affix-wrapper-without-controls`]:er===!1||on},jr),wrapper:de()({[`${fn}-rtl`]:gn==="rtl"},jr),groupWrapper:de()({[`${Er}-group-wrapper-sm`]:xt==="small",[`${Er}-group-wrapper-lg`]:xt==="large",[`${Er}-group-wrapper-rtl`]:gn==="rtl",[`${Er}-group-wrapper-${cn}`]:Yt},(0,gt.Z)(`${Er}-group-wrapper`,Pt,St),jr)}},Sr));return Br(lr)}),zt=Dt,un=Et=>b.createElement(le.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(Dt,Object.assign({},Et)));zt._InternalPanelDoNotUseOrYouWillBeFired=un;var mn=zt},49397:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Me}});var b=ae(59301),oe=ae(92310),ye=ae.n(oe),De=ae(36901),de=ae(8654),ve=ae(62487),re=ae(86013),se=ae(82855),fe=ae(48755),E=ae(2171),te=ae(83397),ne=ae(31756),ge=ae(56553),we=ae(24971),xe=ae(70045),ue=ae(23826),Ee=ae(53075);function Oe(be){return!!(be.prefix||be.suffix||be.allowClear||be.showCount)}var Ae=function(be,Pe){var Fe={};for(var _e in be)Object.prototype.hasOwnProperty.call(be,_e)&&Pe.indexOf(_e)<0&&(Fe[_e]=be[_e]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,_e=Object.getOwnPropertySymbols(be);Te<_e.length;Te++)Pe.indexOf(_e[Te])<0&&Object.prototype.propertyIsEnumerable.call(be,_e[Te])&&(Fe[_e[Te]]=be[_e[Te]]);return Fe},Me=(0,b.forwardRef)((be,Pe)=>{const{prefixCls:Fe,bordered:_e=!0,status:Te,size:Ke,disabled:We,onBlur:Ne,onFocus:Ye,suffix:Je,allowClear:He,addonAfter:lt,addonBefore:ct,className:tt,style:Bt,styles:nt,rootClassName:Ue,onChange:Xe,classNames:$e,variant:qe}=be,Ve=Ae(be,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:ht,direction:st,allowClear:Nt,autoComplete:dt,className:Tt,style:bt,classNames:Ct,styles:gt}=(0,fe.dj)("input"),je=ht("input",Fe),le=(0,b.useRef)(null),ie=(0,te.Z)(je),[ke,Ge,Ie]=(0,Ee.TI)(je,Ue),[pe]=(0,Ee.ZP)(je,ie),{compactSize:x,compactItemClassnames:me}=(0,xe.ri)(je,st),Le=(0,ne.Z)(mn=>{var Et;return(Et=Ke!=null?Ke:x)!==null&&Et!==void 0?Et:mn}),Se=b.useContext(E.Z),Be=We!=null?We:Se,{status:Qe,hasFeedback:it,feedbackIcon:ot}=(0,b.useContext)(ge.aM),at=(0,se.F)(Qe,Te),Rt=Oe(be)||!!it,Ft=(0,b.useRef)(Rt),rn=(0,ue.Z)(le,!0),nn=mn=>{rn(),Ne==null||Ne(mn)},Lt=mn=>{rn(),Ye==null||Ye(mn)},qt=mn=>{rn(),Xe==null||Xe(mn)},Wt=(it||Je)&&b.createElement(b.Fragment,null,Je,it&&ot),Dt=(0,re.Z)(He!=null?He:Nt),[zt,un]=(0,we.Z)("input",qe,_e);return ke(pe(b.createElement(De.default,Object.assign({ref:(0,de.sQ)(Pe,le),prefixCls:je,autoComplete:dt},Ve,{disabled:Be,onBlur:nn,onFocus:Lt,style:Object.assign(Object.assign({},bt),Bt),styles:Object.assign(Object.assign({},gt),nt),suffix:Wt,allowClear:Dt,className:ye()(tt,Ue,Ie,ie,me,Tt),onChange:qt,addonBefore:ct&&b.createElement(ve.Z,{form:!0,space:!0},ct),addonAfter:lt&&b.createElement(ve.Z,{form:!0,space:!0},lt),classNames:Object.assign(Object.assign(Object.assign({},$e),Ct),{input:ye()({[`${je}-sm`]:Le==="small",[`${je}-lg`]:Le==="large",[`${je}-rtl`]:st==="rtl"},$e==null?void 0:$e.input,Ct.input,Ge),variant:ye()({[`${je}-${zt}`]:un},(0,se.Z)(je,at)),affixWrapper:ye()({[`${je}-affix-wrapper-sm`]:Le==="small",[`${je}-affix-wrapper-lg`]:Le==="large",[`${je}-affix-wrapper-rtl`]:st==="rtl"},Ge),wrapper:ye()({[`${je}-group-rtl`]:st==="rtl"},Ge),groupWrapper:ye()({[`${je}-group-wrapper-sm`]:Le==="small",[`${je}-group-wrapper-lg`]:Le==="large",[`${je}-group-wrapper-rtl`]:st==="rtl",[`${je}-group-wrapper-${zt}`]:un},(0,se.Z)(`${je}-group-wrapper`,at,it),Ge)})}))))})},79809:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Pe}});var b=ae(59301),oe=ae(92310),ye=ae.n(oe),De=ae(22711),de=ae(86013),ve=ae(82855),re=ae(48755),se=ae(2171),fe=ae(83397),E=ae(31756),te=ae(56553),ne=ae(24971),ge=ae(70045),we=ae(30292),xe=ae(53075),ue=ae(16931),Ee=ae(51636),Oe=ae(64910);const Ae=Fe=>{const{componentCls:_e,paddingLG:Te}=Fe,Ke=`${_e}-textarea`;return{[`textarea${_e}`]:{maxWidth:"100%",height:"auto",minHeight:Fe.controlHeight,lineHeight:Fe.lineHeight,verticalAlign:"bottom",transition:`all ${Fe.motionDurationSlow}`,resize:"vertical",[`&${_e}-mouse-active`]:{transition:`all ${Fe.motionDurationSlow}, height 0s, width 0s`}},[`${_e}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Ke]:{position:"relative","&-show-count":{[`> ${_e}`]:{height:"100%"},[`${_e}-data-count`]:{position:"absolute",bottom:Fe.calc(Fe.fontSize).mul(Fe.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Fe.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${_e},
|
|
|
&-affix-wrapper${Ke}-has-feedback ${_e}
|
|
|
`]:{paddingInlineEnd:Te},[`&-affix-wrapper${_e}-affix-wrapper`]:{padding:0,[`> textarea${_e}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Fe.calc(Fe.controlHeight).sub(Fe.calc(Fe.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${_e}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${_e}-clear-icon`]:{position:"absolute",insetInlineEnd:Fe.paddingInline,insetBlockStart:Fe.paddingXS},[`${Ke}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Fe.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${_e}-affix-wrapper-sm`]:{[`${_e}-suffix`]:{[`${_e}-clear-icon`]:{insetInlineEnd:Fe.paddingInlineSM}}}}}};var Re=(0,ue.I$)(["Input","TextArea"],Fe=>{const _e=(0,Ee.mergeToken)(Fe,(0,Oe.e)(Fe));return[Ae(_e)]},Oe.T,{resetFont:!1}),Me=function(Fe,_e){var Te={};for(var Ke in Fe)Object.prototype.hasOwnProperty.call(Fe,Ke)&&_e.indexOf(Ke)<0&&(Te[Ke]=Fe[Ke]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ke=Object.getOwnPropertySymbols(Fe);We<Ke.length;We++)_e.indexOf(Ke[We])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Ke[We])&&(Te[Ke[We]]=Fe[Ke[We]]);return Te},Pe=(0,b.forwardRef)((Fe,_e)=>{var Te;const{prefixCls:Ke,bordered:We=!0,size:Ne,disabled:Ye,status:Je,allowClear:He,classNames:lt,rootClassName:ct,className:tt,style:Bt,styles:nt,variant:Ue,showCount:Xe,onMouseDown:$e,onResize:qe}=Fe,Ve=Me(Fe,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:ht,direction:st,allowClear:Nt,autoComplete:dt,className:Tt,style:bt,classNames:Ct,styles:gt}=(0,re.dj)("textArea"),je=b.useContext(se.Z),le=Ye!=null?Ye:je,{status:ie,hasFeedback:ke,feedbackIcon:Ge}=b.useContext(te.aM),Ie=(0,ve.F)(ie,Je),pe=b.useRef(null);b.useImperativeHandle(_e,()=>{var un;return{resizableTextArea:(un=pe.current)===null||un===void 0?void 0:un.resizableTextArea,focus:mn=>{var Et,Ht;(0,we.nH)((Ht=(Et=pe.current)===null||Et===void 0?void 0:Et.resizableTextArea)===null||Ht===void 0?void 0:Ht.textArea,mn)},blur:()=>{var mn;return(mn=pe.current)===null||mn===void 0?void 0:mn.blur()}}});const x=ht("input",Ke),me=(0,fe.Z)(x),[Le,Se,Be]=(0,xe.TI)(x,ct),[Qe]=Re(x,me),{compactSize:it,compactItemClassnames:ot}=(0,ge.ri)(x,st),at=(0,E.Z)(un=>{var mn;return(mn=Ne!=null?Ne:it)!==null&&mn!==void 0?mn:un}),[Rt,Ft]=(0,ne.Z)("textArea",Ue,We),rn=(0,de.Z)(He!=null?He:Nt),[nn,Lt]=b.useState(!1),[qt,Wt]=b.useState(!1),Dt=un=>{Lt(!0),$e==null||$e(un);const mn=()=>{Lt(!1),document.removeEventListener("mouseup",mn)};document.addEventListener("mouseup",mn)},zt=un=>{var mn,Et;if(qe==null||qe(un),nn&&typeof getComputedStyle=="function"){const Ht=(Et=(mn=pe.current)===null||mn===void 0?void 0:mn.nativeElement)===null||Et===void 0?void 0:Et.querySelector("textarea");Ht&&getComputedStyle(Ht).resize==="both"&&Wt(!0)}};return Le(Qe(b.createElement(De.default,Object.assign({autoComplete:dt},Ve,{style:Object.assign(Object.assign({},bt),Bt),styles:Object.assign(Object.assign({},gt),nt),disabled:le,allowClear:rn,className:ye()(Be,me,tt,ct,ot,Tt,qt&&`${x}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},lt),Ct),{textarea:ye()({[`${x}-sm`]:at==="small",[`${x}-lg`]:at==="large"},Se,lt==null?void 0:lt.textarea,Ct.textarea,nn&&`${x}-mouse-active`),variant:ye()({[`${x}-${Rt}`]:Ft},(0,ve.Z)(x,Ie)),affixWrapper:ye()(`${x}-textarea-affix-wrapper`,{[`${x}-affix-wrapper-rtl`]:st==="rtl",[`${x}-affix-wrapper-sm`]:at==="small",[`${x}-affix-wrapper-lg`]:at==="large",[`${x}-textarea-show-count`]:Xe||((Te=Fe.count)===null||Te===void 0?void 0:Te.show)},Se)}),prefixCls:x,suffix:ke&&b.createElement("span",{className:`${x}-textarea-suffix`},Ge),showCount:Xe,ref:pe,onResize:zt,onMouseDown:Dt}))))})},23826:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return oe}});var b=ae(59301);function oe(ye,De){const de=(0,b.useRef)([]),ve=()=>{de.current.push(setTimeout(()=>{var re,se,fe,E;!((re=ye.current)===null||re===void 0)&&re.input&&((se=ye.current)===null||se===void 0?void 0:se.input.getAttribute("type"))==="password"&&(!((fe=ye.current)===null||fe===void 0)&&fe.input.hasAttribute("value"))&&((E=ye.current)===null||E===void 0||E.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(De&&ve(),()=>de.current.forEach(re=>{re&&clearTimeout(re)})),[]),ve}},37568:function(Un,pn,ae){"use strict";ae.d(pn,{default:function(){return Ct}});var b=ae(59301),oe=ae(92310),ye=ae.n(oe),De=ae(48755),de=ae(56553),ve=ae(53075),se=gt=>{const{getPrefixCls:je,direction:le}=(0,b.useContext)(De.E_),{prefixCls:ie,className:ke}=gt,Ge=je("input-group",ie),Ie=je("input"),[pe,x,me]=(0,ve.ZP)(Ie),Le=ye()(Ge,me,{[`${Ge}-lg`]:gt.size==="large",[`${Ge}-sm`]:gt.size==="small",[`${Ge}-compact`]:gt.compact,[`${Ge}-rtl`]:le==="rtl"},x,ke),Se=(0,b.useContext)(de.aM),Be=(0,b.useMemo)(()=>Object.assign(Object.assign({},Se),{isFormItemInput:!1}),[Se]);return pe(b.createElement("span",{className:Le,style:gt.style,onMouseEnter:gt.onMouseEnter,onMouseLeave:gt.onMouseLeave,onFocus:gt.onFocus,onBlur:gt.onBlur},b.createElement(de.aM.Provider,{value:Be},gt.children)))},fe=ae(49397),E=ae(94480),te=ae(6089),ne=ae(26112),ge=ae(82855),we=ae(31756),xe=ae(16931),ue=ae(51636),Ee=ae(64910);const Oe=gt=>{const{componentCls:je,paddingXS:le}=gt;return{[je]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:le,"&-rtl":{direction:"rtl"},[`${je}-input`]:{textAlign:"center",paddingInline:gt.paddingXXS},[`&${je}-sm ${je}-input`]:{paddingInline:gt.calc(gt.paddingXXS).div(2).equal()},[`&${je}-lg ${je}-input`]:{paddingInline:gt.paddingXS}}}};var Ae=(0,xe.I$)(["Input","OTP"],gt=>{const je=(0,ue.mergeToken)(gt,(0,Ee.e)(gt));return[Oe(je)]},Ee.T),Re=ae(16089),Me=function(gt,je){var le={};for(var ie in gt)Object.prototype.hasOwnProperty.call(gt,ie)&&je.indexOf(ie)<0&&(le[ie]=gt[ie]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ie=Object.getOwnPropertySymbols(gt);ke<ie.length;ke++)je.indexOf(ie[ke])<0&&Object.prototype.propertyIsEnumerable.call(gt,ie[ke])&&(le[ie[ke]]=gt[ie[ke]]);return le},Pe=b.forwardRef((gt,je)=>{const{value:le,onChange:ie,onActiveChange:ke,index:Ge,mask:Ie}=gt,pe=Me(gt,["value","onChange","onActiveChange","index","mask"]),x=le&&typeof Ie=="string"?Ie:le,me=it=>{ie(Ge,it.target.value)},Le=b.useRef(null);b.useImperativeHandle(je,()=>Le.current);const Se=()=>{(0,Re.Z)(()=>{var it;const ot=(it=Le.current)===null||it===void 0?void 0:it.input;document.activeElement===ot&&ot&&ot.select()})},Be=it=>{const{key:ot,ctrlKey:at,metaKey:Rt}=it;ot==="ArrowLeft"?ke(Ge-1):ot==="ArrowRight"?ke(Ge+1):ot==="z"&&(at||Rt)&&it.preventDefault(),Se()},Qe=it=>{it.key==="Backspace"&&!le&&ke(Ge-1),Se()};return b.createElement(fe.Z,Object.assign({type:Ie===!0?"password":"text"},pe,{ref:Le,value:x,onInput:me,onFocus:Se,onKeyDown:Be,onKeyUp:Qe,onMouseDown:Se,onMouseUp:Se}))}),Fe=function(gt,je){var le={};for(var ie in gt)Object.prototype.hasOwnProperty.call(gt,ie)&&je.indexOf(ie)<0&&(le[ie]=gt[ie]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ie=Object.getOwnPropertySymbols(gt);ke<ie.length;ke++)je.indexOf(ie[ke])<0&&Object.prototype.propertyIsEnumerable.call(gt,ie[ke])&&(le[ie[ke]]=gt[ie[ke]]);return le};function _e(gt){return(gt||"").split("")}const Te=gt=>{const{index:je,prefixCls:le,separator:ie}=gt,ke=typeof ie=="function"?ie(je):ie;return ke?b.createElement("span",{className:`${le}-separator`},ke):null};var We=b.forwardRef((gt,je)=>{const{prefixCls:le,length:ie=6,size:ke,defaultValue:Ge,value:Ie,onChange:pe,formatter:x,separator:me,variant:Le,disabled:Se,status:Be,autoFocus:Qe,mask:it,type:ot,onInput:at,inputMode:Rt}=gt,Ft=Fe(gt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:rn,direction:nn}=b.useContext(De.E_),Lt=rn("otp",le),qt=(0,ne.Z)(Ft,{aria:!0,data:!0,attr:!0}),[Wt,Dt,zt]=Ae(Lt),un=(0,we.Z)(Pn=>ke!=null?ke:Pn),mn=b.useContext(de.aM),Et=(0,ge.F)(mn.status,Be),Ht=b.useMemo(()=>Object.assign(Object.assign({},mn),{status:Et,hasFeedback:!1,feedbackIcon:null}),[mn,Et]),Jt=b.useRef(null),gn=b.useRef({});b.useImperativeHandle(je,()=>({focus:()=>{var Pn;(Pn=gn.current[0])===null||Pn===void 0||Pn.focus()},blur:()=>{var Pn;for(let Tn=0;Tn<ie;Tn+=1)(Pn=gn.current[Tn])===null||Pn===void 0||Pn.blur()},nativeElement:Jt.current}));const Nn=Pn=>x?x(Pn):Pn,[Xn,gr]=b.useState(()=>_e(Nn(Ge||"")));b.useEffect(()=>{Ie!==void 0&&gr(_e(Ie))},[Ie]);const br=(0,te.Z)(Pn=>{gr(Pn),at&&at(Pn),pe&&Pn.length===ie&&Pn.every(Tn=>Tn)&&Pn.some((Tn,An)=>Xn[An]!==Tn)&&pe(Pn.join(""))}),Yn=(0,te.Z)((Pn,Tn)=>{let An=(0,E.Z)(Xn);for(let Kn=0;Kn<Pn;Kn+=1)An[Kn]||(An[Kn]="");Tn.length<=1?An[Pn]=Tn:An=An.slice(0,Pn).concat(_e(Tn)),An=An.slice(0,ie);for(let Kn=An.length-1;Kn>=0&&!An[Kn];Kn-=1)An.pop();const zn=Nn(An.map(Kn=>Kn||" ").join(""));return An=_e(zn).map((Kn,er)=>Kn===" "&&!An[er]?An[er]:Kn),An}),hr=(Pn,Tn)=>{var An;const zn=Yn(Pn,Tn),Kn=Math.min(Pn+Tn.length,ie-1);Kn!==Pn&&zn[Pn]!==void 0&&((An=gn.current[Kn])===null||An===void 0||An.focus()),br(zn)},Wn=Pn=>{var Tn;(Tn=gn.current[Pn])===null||Tn===void 0||Tn.focus()},xn={variant:Le,disabled:Se,status:Et,mask:it,type:ot,inputMode:Rt};return Wt(b.createElement("div",Object.assign({},qt,{ref:Jt,className:ye()(Lt,{[`${Lt}-sm`]:un==="small",[`${Lt}-lg`]:un==="large",[`${Lt}-rtl`]:nn==="rtl"},zt,Dt)}),b.createElement(de.aM.Provider,{value:Ht},Array.from({length:ie}).map((Pn,Tn)=>{const An=`otp-${Tn}`,zn=Xn[Tn]||"";return b.createElement(b.Fragment,{key:An},b.createElement(Pe,Object.assign({ref:Kn=>{gn.current[Tn]=Kn},index:Tn,size:un,htmlSize:1,className:`${Lt}-input`,onChange:hr,value:zn,onActiveChange:Wn,autoFocus:Tn===0&&Qe},xn)),Tn<ie-1&&b.createElement(Te,{separator:me,index:Tn,prefixCls:Lt}))}))))}),Ne=ae(73331),Ye=ae(15277),Je=ae(2738),He=ae(8654),lt=ae(2171),ct=ae(23826),tt=function(gt,je){var le={};for(var ie in gt)Object.prototype.hasOwnProperty.call(gt,ie)&&je.indexOf(ie)<0&&(le[ie]=gt[ie]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ie=Object.getOwnPropertySymbols(gt);ke<ie.length;ke++)je.indexOf(ie[ke])<0&&Object.prototype.propertyIsEnumerable.call(gt,ie[ke])&&(le[ie[ke]]=gt[ie[ke]]);return le};const Bt=gt=>gt?b.createElement(Ye.Z,null):b.createElement(Ne.Z,null),nt={click:"onClick",hover:"onMouseOver"};var Xe=b.forwardRef((gt,je)=>{const{disabled:le,action:ie="click",visibilityToggle:ke=!0,iconRender:Ge=Bt}=gt,Ie=b.useContext(lt.Z),pe=le!=null?le:Ie,x=typeof ke=="object"&&ke.visible!==void 0,[me,Le]=(0,b.useState)(()=>x?ke.visible:!1),Se=(0,b.useRef)(null);b.useEffect(()=>{x&&Le(ke.visible)},[x,ke]);const Be=(0,ct.Z)(Se),Qe=()=>{var un;if(pe)return;me&&Be();const mn=!me;Le(mn),typeof ke=="object"&&((un=ke.onVisibleChange)===null||un===void 0||un.call(ke,mn))},it=un=>{const mn=nt[ie]||"",Et=Ge(me),Ht={[mn]:Qe,className:`${un}-icon`,key:"passwordIcon",onMouseDown:Jt=>{Jt.preventDefault()},onMouseUp:Jt=>{Jt.preventDefault()}};return b.cloneElement(b.isValidElement(Et)?Et:b.createElement("span",null,Et),Ht)},{className:ot,prefixCls:at,inputPrefixCls:Rt,size:Ft}=gt,rn=tt(gt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:nn}=b.useContext(De.E_),Lt=nn("input",Rt),qt=nn("input-password",at),Wt=ke&&it(qt),Dt=ye()(qt,ot,{[`${qt}-${Ft}`]:!!Ft}),zt=Object.assign(Object.assign({},(0,Je.Z)(rn,["suffix","iconRender","visibilityToggle"])),{type:me?"text":"password",className:Dt,prefixCls:Lt,suffix:Wt});return Ft&&(zt.size=Ft),b.createElement(fe.Z,Object.assign({ref:(0,He.sQ)(je,Se)},zt))}),$e=ae(47472),qe=ae(22703),Ve=ae(7939),ht=ae(70045),st=function(gt,je){var le={};for(var ie in gt)Object.prototype.hasOwnProperty.call(gt,ie)&&je.indexOf(ie)<0&&(le[ie]=gt[ie]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ie=Object.getOwnPropertySymbols(gt);ke<ie.length;ke++)je.indexOf(ie[ke])<0&&Object.prototype.propertyIsEnumerable.call(gt,ie[ke])&&(le[ie[ke]]=gt[ie[ke]]);return le},dt=b.forwardRef((gt,je)=>{const{prefixCls:le,inputPrefixCls:ie,className:ke,size:Ge,suffix:Ie,enterButton:pe=!1,addonAfter:x,loading:me,disabled:Le,onSearch:Se,onChange:Be,onCompositionStart:Qe,onCompositionEnd:it}=gt,ot=st(gt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:at,direction:Rt}=b.useContext(De.E_),Ft=b.useRef(!1),rn=at("input-search",le),nn=at("input",ie),{compactSize:Lt}=(0,ht.ri)(rn,Rt),qt=(0,we.Z)(hr=>{var Wn;return(Wn=Ge!=null?Ge:Lt)!==null&&Wn!==void 0?Wn:hr}),Wt=b.useRef(null),Dt=hr=>{hr!=null&&hr.target&&hr.type==="click"&&Se&&Se(hr.target.value,hr,{source:"clear"}),Be==null||Be(hr)},zt=hr=>{var Wn;document.activeElement===((Wn=Wt.current)===null||Wn===void 0?void 0:Wn.input)&&hr.preventDefault()},un=hr=>{var Wn,xn;Se&&Se((xn=(Wn=Wt.current)===null||Wn===void 0?void 0:Wn.input)===null||xn===void 0?void 0:xn.value,hr,{source:"input"})},mn=hr=>{Ft.current||me||un(hr)},Et=typeof pe=="boolean"?b.createElement($e.Z,null):null,Ht=`${rn}-button`;let Jt;const gn=pe||{},Nn=gn.type&&gn.type.__ANT_BUTTON===!0;Nn||gn.type==="button"?Jt=(0,qe.Tm)(gn,Object.assign({onMouseDown:zt,onClick:hr=>{var Wn,xn;(xn=(Wn=gn==null?void 0:gn.props)===null||Wn===void 0?void 0:Wn.onClick)===null||xn===void 0||xn.call(Wn,hr),un(hr)},key:"enterButton"},Nn?{className:Ht,size:qt}:{})):Jt=b.createElement(Ve.ZP,{className:Ht,type:pe?"primary":void 0,size:qt,disabled:Le,key:"enterButton",onMouseDown:zt,onClick:un,loading:me,icon:Et},pe),x&&(Jt=[Jt,(0,qe.Tm)(x,{key:"addonAfter"})]);const Xn=ye()(rn,{[`${rn}-rtl`]:Rt==="rtl",[`${rn}-${qt}`]:!!qt,[`${rn}-with-button`]:!!pe},ke),gr=Object.assign(Object.assign({},ot),{className:Xn,prefixCls:nn,type:"search"}),br=hr=>{Ft.current=!0,Qe==null||Qe(hr)},Yn=hr=>{Ft.current=!1,it==null||it(hr)};return b.createElement(fe.Z,Object.assign({ref:(0,He.sQ)(Wt,je),onPressEnter:mn},gr,{size:qt,onCompositionStart:br,onCompositionEnd:Yn,addonAfter:Jt,suffix:Ie,onChange:Dt,disabled:Le}))}),Tt=ae(79809);const bt=fe.Z;bt.Group=se,bt.Search=dt,bt.TextArea=Tt.Z,bt.Password=Xe,bt.OTP=We;var Ct=bt},24303:function(Un,pn,ae){"use strict";ae.d(pn,{D:function(){return Fe},Z:function(){return Ke}});var b=ae(59301),oe=ae(54476),ye={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},De=ye,de=ae(7657),ve=function(Ne,Ye){return b.createElement(de.Z,(0,oe.Z)({},Ne,{ref:Ye,icon:De}))},re=b.forwardRef(ve),se=re,fe=ae(33853),E=ae(38819),te=ae(92310),ne=ae.n(te),ge=ae(2738),we=ae(48755),xe=ae(6989),ue=ae(36237),Ee=ae(48923),Oe=ae(16931);const Ae=We=>{const{componentCls:Ne,siderBg:Ye,motionDurationMid:Je,motionDurationSlow:He,antCls:lt,triggerHeight:ct,triggerColor:tt,triggerBg:Bt,headerHeight:nt,zeroTriggerWidth:Ue,zeroTriggerHeight:Xe,borderRadiusLG:$e,lightSiderBg:qe,lightTriggerColor:Ve,lightTriggerBg:ht,bodyBg:st}=We;return{[Ne]:{position:"relative",minWidth:0,background:Ye,transition:`all ${Je}, background 0s`,"&-has-trigger":{paddingBottom:ct},"&-right":{order:1},[`${Ne}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${lt}-menu${lt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Ne}-children`]:{overflow:"hidden"},[`${Ne}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ct,color:tt,lineHeight:(0,ue.unit)(ct),textAlign:"center",background:Bt,cursor:"pointer",transition:`all ${Je}`},[`${Ne}-zero-width-trigger`]:{position:"absolute",top:nt,insetInlineEnd:We.calc(Ue).mul(-1).equal(),zIndex:1,width:Ue,height:Xe,color:tt,fontSize:We.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ye,borderRadius:`0 ${(0,ue.unit)($e)} ${(0,ue.unit)($e)} 0`,cursor:"pointer",transition:`background ${He} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${He}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:We.calc(Ue).mul(-1).equal(),borderRadius:`${(0,ue.unit)($e)} 0 0 ${(0,ue.unit)($e)}`}},"&-light":{background:qe,[`${Ne}-trigger`]:{color:Ve,background:ht},[`${Ne}-zero-width-trigger`]:{color:Ve,background:ht,border:`1px solid ${st}`,borderInlineStart:0}}}}};var Re=(0,Oe.I$)(["Layout","Sider"],We=>[Ae(We)],Ee.eh,{deprecatedTokens:Ee.jn}),Me=function(We,Ne){var Ye={};for(var Je in We)Object.prototype.hasOwnProperty.call(We,Je)&&Ne.indexOf(Je)<0&&(Ye[Je]=We[Je]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Je=Object.getOwnPropertySymbols(We);He<Je.length;He++)Ne.indexOf(Je[He])<0&&Object.prototype.propertyIsEnumerable.call(We,Je[He])&&(Ye[Je[He]]=We[Je[He]]);return Ye};const be={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Pe=We=>!Number.isNaN(Number.parseFloat(We))&&isFinite(We),Fe=b.createContext({}),_e=(()=>{let We=0;return function(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return We+=1,`${Ne}${We}`}})();var Ke=b.forwardRef((We,Ne)=>{const{prefixCls:Ye,className:Je,trigger:He,children:lt,defaultCollapsed:ct=!1,theme:tt="dark",style:Bt={},collapsible:nt=!1,reverseArrow:Ue=!1,width:Xe=200,collapsedWidth:$e=80,zeroWidthTriggerStyle:qe,breakpoint:Ve,onCollapse:ht,onBreakpoint:st}=We,Nt=Me(We,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:dt}=(0,b.useContext)(xe.V),[Tt,bt]=(0,b.useState)("collapsed"in We?We.collapsed:ct),[Ct,gt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in We&&bt(We.collapsed)},[We.collapsed]);const je=(qt,Wt)=>{"collapsed"in We||bt(qt),ht==null||ht(qt,Wt)},{getPrefixCls:le,direction:ie}=(0,b.useContext)(we.E_),ke=le("layout-sider",Ye),[Ge,Ie,pe]=Re(ke),x=(0,b.useRef)(null);x.current=qt=>{gt(qt.matches),st==null||st(qt.matches),Tt!==qt.matches&&je(qt.matches,"responsive")},(0,b.useEffect)(()=>{function qt(Dt){return x.current(Dt)}let Wt;if(typeof window!="undefined"){const{matchMedia:Dt}=window;if(Dt&&Ve&&Ve in be){Wt=Dt(`screen and (max-width: ${be[Ve]})`);try{Wt.addEventListener("change",qt)}catch(zt){Wt.addListener(qt)}qt(Wt)}}return()=>{try{Wt==null||Wt.removeEventListener("change",qt)}catch(Dt){Wt==null||Wt.removeListener(qt)}}},[Ve]),(0,b.useEffect)(()=>{const qt=_e("ant-sider-");return dt.addSider(qt),()=>dt.removeSider(qt)},[]);const me=()=>{je(!Tt,"clickTrigger")},Le=(0,ge.Z)(Nt,["collapsed"]),Se=Tt?$e:Xe,Be=Pe(Se)?`${Se}px`:String(Se),Qe=parseFloat(String($e||0))===0?b.createElement("span",{onClick:me,className:ne()(`${ke}-zero-width-trigger`,`${ke}-zero-width-trigger-${Ue?"right":"left"}`),style:qe},He||b.createElement(se,null)):null,it=ie==="rtl"==!Ue,Rt={expanded:it?b.createElement(E.Z,null):b.createElement(fe.Z,null),collapsed:it?b.createElement(fe.Z,null):b.createElement(E.Z,null)}[Tt?"collapsed":"expanded"],Ft=He!==null?Qe||b.createElement("div",{className:`${ke}-trigger`,onClick:me,style:{width:Be}},He||Rt):null,rn=Object.assign(Object.assign({},Bt),{flex:`0 0 ${Be}`,maxWidth:Be,minWidth:Be,width:Be}),nn=ne()(ke,`${ke}-${tt}`,{[`${ke}-collapsed`]:!!Tt,[`${ke}-has-trigger`]:nt&&He!==null&&!Qe,[`${ke}-below`]:!!Ct,[`${ke}-zero-width`]:parseFloat(Be)===0},Je,Ie,pe),Lt=b.useMemo(()=>({siderCollapsed:Tt}),[Tt]);return Ge(b.createElement(Fe.Provider,{value:Lt},b.createElement("aside",Object.assign({className:nn},Le,{style:rn,ref:Ne}),b.createElement("div",{className:`${ke}-children`},lt),nt||Ct&&Qe?Ft:null)))})},6989:function(Un,pn,ae){"use strict";ae.d(pn,{V:function(){return oe}});var b=ae(59301);const oe=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Un,pn,ae){"use strict";ae.d(pn,{eh:function(){return De},jn:function(){return de}});var b=ae(36237),oe=ae(16931);const ye=ve=>{const{antCls:re,componentCls:se,colorText:fe,footerBg:E,headerHeight:te,headerPadding:ne,headerColor:ge,footerPadding:we,fontSize:xe,bodyBg:ue,headerBg:Ee}=ve;return{[se]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ue,"&, *":{boxSizing:"border-box"},[`&${se}-has-sider`]:{flexDirection:"row",[`> ${se}, > ${se}-content`]:{width:0}},[`${se}-header, &${se}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${se}-header`]:{height:te,padding:ne,color:ge,lineHeight:(0,b.unit)(te),background:Ee,[`${re}-menu`]:{lineHeight:"inherit"}},[`${se}-footer`]:{padding:we,color:fe,fontSize:xe,background:E},[`${se}-content`]:{flex:"auto",color:fe,minHeight:0}}},De=ve=>{const{colorBgLayout:re,controlHeight:se,controlHeightLG:fe,colorText:E,controlHeightSM:te,marginXXS:ne,colorTextLightSolid:ge,colorBgContainer:we}=ve,xe=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:re,colorBgTrigger:"#002140",bodyBg:re,headerBg:"#001529",headerHeight:se*2,headerPadding:`0 ${xe}px`,headerColor:E,footerPadding:`${te}px ${xe}px`,footerBg:re,siderBg:"#001529",triggerHeight:fe+ne*2,triggerBg:"#002140",triggerColor:ge,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:we,lightTriggerBg:we,lightTriggerColor:E}},de=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];pn.ZP=(0,oe.I$)("Layout",ve=>[ye(ve)],De,{deprecatedTokens:de})},78857:function(Un,pn,ae){"use strict";ae.d(pn,{J:function(){return ve}});var b=ae(59301),oe=ae(8654),ye=ae(62487),De=function(re,se){var fe={};for(var E in re)Object.prototype.hasOwnProperty.call(re,E)&&se.indexOf(E)<0&&(fe[E]=re[E]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,E=Object.getOwnPropertySymbols(re);te<E.length;te++)se.indexOf(E[te])<0&&Object.prototype.propertyIsEnumerable.call(re,E[te])&&(fe[E[te]]=re[E[te]]);return fe};const de=b.createContext(null),ve=b.forwardRef((re,se)=>{const{children:fe}=re,E=De(re,["children"]),te=b.useContext(de),ne=b.useMemo(()=>Object.assign(Object.assign({},te),E),[te,E.prefixCls,E.mode,E.selectable,E.rootClassName]),ge=(0,oe.t4)(fe),we=(0,oe.x1)(se,ge?(0,oe.C4)(fe):null);return b.createElement(de.Provider,{value:ne},b.createElement(ye.Z,{space:!0},ge?b.cloneElement(fe,{ref:we}):fe))});pn.Z=de},93041:function(Un,pn,ae){"use strict";ae.d(pn,{default:function(){return Ge}});var b=ae(59301),oe=ae(28321),ye=ae(24303),De=ae(18785),de=ae(92310),ve=ae.n(de),re=ae(6089),se=ae(2738),fe=ae(86641),E=ae(22703),te=ae(48755),ne=ae(83397),we=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),xe=function(Ie,pe){var x={};for(var me in Ie)Object.prototype.hasOwnProperty.call(Ie,me)&&pe.indexOf(me)<0&&(x[me]=Ie[me]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,me=Object.getOwnPropertySymbols(Ie);Le<me.length;Le++)pe.indexOf(me[Le])<0&&Object.prototype.propertyIsEnumerable.call(Ie,me[Le])&&(x[me[Le]]=Ie[me[Le]]);return x},Ee=Ie=>{const{prefixCls:pe,className:x,dashed:me}=Ie,Le=xe(Ie,["prefixCls","className","dashed"]),{getPrefixCls:Se}=b.useContext(te.E_),Be=Se("menu",pe),Qe=ve()({[`${Be}-item-divider-dashed`]:!!me},x);return b.createElement(oe.iz,Object.assign({className:Qe},Le))},Oe=ae(11592),Ae=ae(25399),Me=Ie=>{var pe;const{className:x,children:me,icon:Le,title:Se,danger:Be,extra:Qe}=Ie,{prefixCls:it,firstLevel:ot,direction:at,disableMenuItemTitleTooltip:Rt,inlineCollapsed:Ft}=b.useContext(we),rn=zt=>{const un=me==null?void 0:me[0],mn=b.createElement("span",{className:ve()(`${it}-title-content`,{[`${it}-title-content-with-extra`]:!!Qe||Qe===0})},me);return(!Le||b.isValidElement(me)&&me.type==="span")&&me&&zt&&ot&&typeof un=="string"?b.createElement("div",{className:`${it}-inline-collapsed-noicon`},un.charAt(0)):mn},{siderCollapsed:nn}=b.useContext(ye.D);let Lt=Se;typeof Se=="undefined"?Lt=ot?me:"":Se===!1&&(Lt="");const qt={title:Lt};!nn&&!Ft&&(qt.title=null,qt.open=!1);const Wt=(0,Oe.Z)(me).length;let Dt=b.createElement(oe.ck,Object.assign({},(0,se.Z)(Ie,["title","icon","danger"]),{className:ve()({[`${it}-item-danger`]:Be,[`${it}-item-only-child`]:(Le?Wt+1:Wt)===1},x),title:typeof Se=="string"?Se:void 0}),(0,E.Tm)(Le,{className:ve()(b.isValidElement(Le)?(pe=Le.props)===null||pe===void 0?void 0:pe.className:"",`${it}-item-icon`)}),rn(Ft));return Rt||(Dt=b.createElement(Ae.Z,Object.assign({},qt,{placement:at==="rtl"?"left":"right",classNames:{root:`${it}-inline-collapsed-tooltip`}}),Dt)),Dt},be=ae(78857),Pe=ae(36237),Fe=ae(17835),_e=ae(63356),Te=ae(34961),Ke=ae(46e3),We=ae(34925),Ne=ae(16931),Ye=ae(51636),He=Ie=>{const{componentCls:pe,motionDurationSlow:x,horizontalLineHeight:me,colorSplit:Le,lineWidth:Se,lineType:Be,itemPaddingInline:Qe}=Ie;return{[`${pe}-horizontal`]:{lineHeight:me,border:0,borderBottom:`${(0,Pe.unit)(Se)} ${Be} ${Le}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${pe}-item, ${pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Qe},[`> ${pe}-item:hover,
|
|
|
> ${pe}-item-active,
|
|
|
> ${pe}-submenu ${pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${pe}-item, ${pe}-submenu-title`]:{transition:[`border-color ${x}`,`background ${x}`].join(",")},[`${pe}-submenu-arrow`]:{display:"none"}}}},ct=Ie=>{let{componentCls:pe,menuArrowOffset:x,calc:me}=Ie;return{[`${pe}-rtl`]:{direction:"rtl"},[`${pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${pe}-rtl${pe}-vertical,
|
|
|
${pe}-submenu-rtl ${pe}-vertical`]:{[`${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Pe.unit)(me(x).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Pe.unit)(x)})`}}}}};const tt=Ie=>Object.assign({},(0,_e.oN)(Ie));var nt=(Ie,pe)=>{const{componentCls:x,itemColor:me,itemSelectedColor:Le,subMenuItemSelectedColor:Se,groupTitleColor:Be,itemBg:Qe,subMenuItemBg:it,itemSelectedBg:ot,activeBarHeight:at,activeBarWidth:Rt,activeBarBorderWidth:Ft,motionDurationSlow:rn,motionEaseInOut:nn,motionEaseOut:Lt,itemPaddingInline:qt,motionDurationMid:Wt,itemHoverColor:Dt,lineType:zt,colorSplit:un,itemDisabledColor:mn,dangerItemColor:Et,dangerItemHoverColor:Ht,dangerItemSelectedColor:Jt,dangerItemActiveBg:gn,dangerItemSelectedBg:Nn,popupBg:Xn,itemHoverBg:gr,itemActiveBg:br,menuSubMenuBg:Yn,horizontalItemSelectedColor:hr,horizontalItemSelectedBg:Wn,horizontalItemBorderRadius:xn,horizontalItemHoverBg:Pn}=Ie;return{[`${x}-${pe}, ${x}-${pe} > ${x}`]:{color:me,background:Qe,[`&${x}-root:focus-visible`]:Object.assign({},tt(Ie)),[`${x}-item`]:{"&-group-title, &-extra":{color:Be}},[`${x}-submenu-selected > ${x}-submenu-title`]:{color:Se},[`${x}-item, ${x}-submenu-title`]:{color:me,[`&:not(${x}-item-disabled):focus-visible`]:Object.assign({},tt(Ie))},[`${x}-item-disabled, ${x}-submenu-disabled`]:{color:`${mn} !important`},[`${x}-item:not(${x}-item-selected):not(${x}-submenu-selected)`]:{[`&:hover, > ${x}-submenu-title:hover`]:{color:Dt}},[`&:not(${x}-horizontal)`]:{[`${x}-item:not(${x}-item-selected)`]:{"&:hover":{backgroundColor:gr},"&:active":{backgroundColor:br}},[`${x}-submenu-title`]:{"&:hover":{backgroundColor:gr},"&:active":{backgroundColor:br}}},[`${x}-item-danger`]:{color:Et,[`&${x}-item:hover`]:{[`&:not(${x}-item-selected):not(${x}-submenu-selected)`]:{color:Ht}},[`&${x}-item:active`]:{background:gn}},[`${x}-item a`]:{"&, &:hover":{color:"inherit"}},[`${x}-item-selected`]:{color:Le,[`&${x}-item-danger`]:{color:Jt},"a, a:hover":{color:"inherit"}},[`& ${x}-item-selected`]:{backgroundColor:ot,[`&${x}-item-danger`]:{backgroundColor:Nn}},[`&${x}-submenu > ${x}`]:{backgroundColor:Yn},[`&${x}-popup > ${x}`]:{backgroundColor:Xn},[`&${x}-submenu-popup > ${x}`]:{backgroundColor:Xn},[`&${x}-horizontal`]:Object.assign(Object.assign({},pe==="dark"?{borderBottom:0}:{}),{[`> ${x}-item, > ${x}-submenu`]:{top:Ft,marginTop:Ie.calc(Ft).mul(-1).equal(),marginBottom:0,borderRadius:xn,"&::after":{position:"absolute",insetInline:qt,bottom:0,borderBottom:`${(0,Pe.unit)(at)} solid transparent`,transition:`border-color ${rn} ${nn}`,content:'""'},"&:hover, &-active, &-open":{background:Pn,"&::after":{borderBottomWidth:at,borderBottomColor:hr}},"&-selected":{color:hr,backgroundColor:Wn,"&:hover":{backgroundColor:Wn},"&::after":{borderBottomWidth:at,borderBottomColor:hr}}}}),[`&${x}-root`]:{[`&${x}-inline, &${x}-vertical`]:{borderInlineEnd:`${(0,Pe.unit)(Ft)} ${zt} ${un}`}},[`&${x}-inline`]:{[`${x}-sub${x}-inline`]:{background:it},[`${x}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Pe.unit)(Rt)} solid ${Le}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Wt} ${Lt}`,`opacity ${Wt} ${Lt}`].join(","),content:'""'},[`&${x}-item-danger`]:{"&::after":{borderInlineEndColor:Jt}}},[`${x}-selected, ${x}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Wt} ${nn}`,`opacity ${Wt} ${nn}`].join(",")}}}}}};const Ue=Ie=>{const{componentCls:pe,itemHeight:x,itemMarginInline:me,padding:Le,menuArrowSize:Se,marginXS:Be,itemMarginBlock:Qe,itemWidth:it,itemPaddingInline:ot}=Ie,at=Ie.calc(Se).add(Le).add(Be).equal();return{[`${pe}-item`]:{position:"relative",overflow:"hidden"},[`${pe}-item, ${pe}-submenu-title`]:{height:x,lineHeight:(0,Pe.unit)(x),paddingInline:ot,overflow:"hidden",textOverflow:"ellipsis",marginInline:me,marginBlock:Qe,width:it},[`> ${pe}-item,
|
|
|
> ${pe}-submenu > ${pe}-submenu-title`]:{height:x,lineHeight:(0,Pe.unit)(x)},[`${pe}-item-group-list ${pe}-submenu-title,
|
|
|
${pe}-submenu-title`]:{paddingInlineEnd:at}}};var $e=Ie=>{const{componentCls:pe,iconCls:x,itemHeight:me,colorTextLightSolid:Le,dropdownWidth:Se,controlHeightLG:Be,motionEaseOut:Qe,paddingXL:it,itemMarginInline:ot,fontSizeLG:at,motionDurationFast:Rt,motionDurationSlow:Ft,paddingXS:rn,boxShadowSecondary:nn,collapsedWidth:Lt,collapsedIconSize:qt}=Ie,Wt={height:me,lineHeight:(0,Pe.unit)(me),listStylePosition:"inside",listStyleType:"disc"};return[{[pe]:{"&-inline, &-vertical":Object.assign({[`&${pe}-root`]:{boxShadow:"none"}},Ue(Ie))},[`${pe}-submenu-popup`]:{[`${pe}-vertical`]:Object.assign(Object.assign({},Ue(Ie)),{boxShadow:nn})}},{[`${pe}-submenu-popup ${pe}-vertical${pe}-sub`]:{minWidth:Se,maxHeight:`calc(100vh - ${(0,Pe.unit)(Ie.calc(Be).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${pe}-inline`]:{width:"100%",[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ft}`,`background ${Ft}`,`padding ${Rt} ${Qe}`].join(","),[`> ${pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${pe}-sub${pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${pe}-submenu > ${pe}-submenu-title`]:Wt,[`& ${pe}-item-group-title`]:{paddingInlineStart:it}},[`${pe}-item`]:Wt}},{[`${pe}-inline-collapsed`]:{width:Lt,[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu ${pe}-submenu-title`]:{[`> ${pe}-inline-collapsed-noicon`]:{fontSize:at,textAlign:"center"}}},[`> ${pe}-item,
|
|
|
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-item,
|
|
|
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-submenu > ${pe}-submenu-title,
|
|
|
> ${pe}-submenu > ${pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Pe.unit)(Ie.calc(qt).div(2).equal())} - ${(0,Pe.unit)(ot)})`,textOverflow:"clip",[`
|
|
|
${pe}-submenu-arrow,
|
|
|
${pe}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${pe}-item-icon, ${x}`]:{margin:0,fontSize:qt,lineHeight:(0,Pe.unit)(me),"+ span":{display:"inline-block",opacity:0}}},[`${pe}-item-icon, ${x}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${pe}-item-icon, ${x}`]:{display:"none"},"a, a:hover":{color:Le}},[`${pe}-item-group-title`]:Object.assign(Object.assign({},_e.vS),{paddingInline:rn})}}]};const qe=Ie=>{const{componentCls:pe,motionDurationSlow:x,motionDurationMid:me,motionEaseInOut:Le,motionEaseOut:Se,iconCls:Be,iconSize:Qe,iconMarginInlineEnd:it}=Ie;return{[`${pe}-item, ${pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${x}`,`background ${x}`,`padding calc(${x} + 0.1s) ${Le}`].join(","),[`${pe}-item-icon, ${Be}`]:{minWidth:Qe,fontSize:Qe,transition:[`font-size ${me} ${Se}`,`margin ${x} ${Le}`,`color ${x}`].join(","),"+ span":{marginInlineStart:it,opacity:1,transition:[`opacity ${x} ${Le}`,`margin ${x}`,`color ${x}`].join(",")}},[`${pe}-item-icon`]:Object.assign({},(0,_e.Ro)()),[`&${pe}-item-only-child`]:{[`> ${Be}, > ${pe}-item-icon`]:{marginInlineEnd:0}}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ve=Ie=>{const{componentCls:pe,motionDurationSlow:x,motionEaseInOut:me,borderRadius:Le,menuArrowSize:Se,menuArrowOffset:Be}=Ie;return{[`${pe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ie.margin,width:Se,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${x} ${me}, opacity ${x}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ie.calc(Se).mul(.6).equal(),height:Ie.calc(Se).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Le,transition:[`background ${x} ${me}`,`transform ${x} ${me}`,`top ${x} ${me}`,`color ${x} ${me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Pe.unit)(Ie.calc(Be).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Pe.unit)(Be)})`}}}}},ht=Ie=>{const{antCls:pe,componentCls:x,fontSize:me,motionDurationSlow:Le,motionDurationMid:Se,motionEaseInOut:Be,paddingXS:Qe,padding:it,colorSplit:ot,lineWidth:at,zIndexPopup:Rt,borderRadiusLG:Ft,subMenuItemBorderRadius:rn,menuArrowSize:nn,menuArrowOffset:Lt,lineType:qt,groupTitleLineHeight:Wt,groupTitleFontSize:Dt}=Ie;return[{"":{[x]:Object.assign(Object.assign({},(0,_e.dF)()),{"&-hidden":{display:"none"}})},[`${x}-submenu-hidden`]:{display:"none"}},{[x]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_e.Wf)(Ie)),(0,_e.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:me,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Le} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${x}-item`]:{flex:"none"}},[`${x}-item, ${x}-submenu, ${x}-submenu-title`]:{borderRadius:Ie.itemBorderRadius},[`${x}-item-group-title`]:{padding:`${(0,Pe.unit)(Qe)} ${(0,Pe.unit)(it)}`,fontSize:Dt,lineHeight:Wt,transition:`all ${Le}`},[`&-horizontal ${x}-submenu`]:{transition:[`border-color ${Le} ${Be}`,`background ${Le} ${Be}`].join(",")},[`${x}-submenu, ${x}-submenu-inline`]:{transition:[`border-color ${Le} ${Be}`,`background ${Le} ${Be}`,`padding ${Se} ${Be}`].join(",")},[`${x}-submenu ${x}-sub`]:{cursor:"initial",transition:[`background ${Le} ${Be}`,`padding ${Le} ${Be}`].join(",")},[`${x}-title-content`]:{transition:`color ${Le}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${pe}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${x}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:Ie.padding}},[`${x}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${x}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ot,borderStyle:qt,borderWidth:0,borderTopWidth:at,marginBlock:at,padding:0,"&-dashed":{borderStyle:"dashed"}}}),qe(Ie)),{[`${x}-item-group`]:{[`${x}-item-group-list`]:{margin:0,padding:0,[`${x}-item, ${x}-submenu-title`]:{paddingInline:`${(0,Pe.unit)(Ie.calc(me).mul(2).equal())} ${(0,Pe.unit)(it)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Rt,borderRadius:Ft,boxShadow:"none",transformOrigin:"0 0",[`&${x}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${x}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ft},qe(Ie)),Ve(Ie)),{[`${x}-item, ${x}-submenu > ${x}-submenu-title`]:{borderRadius:rn},[`${x}-submenu-title::after`]:{transition:`transform ${Le} ${Be}`}})},"\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:Ie.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ie.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ie.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ie.paddingXS}}}),Ve(Ie)),{[`&-inline-collapsed ${x}-submenu-arrow,
|
|
|
&-inline ${x}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Pe.unit)(Lt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Pe.unit)(Ie.calc(Lt).mul(-1).equal())})`}},[`${x}-submenu-open${x}-submenu-inline > ${x}-submenu-title > ${x}-submenu-arrow`]:{transform:`translateY(${(0,Pe.unit)(Ie.calc(nn).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Pe.unit)(Ie.calc(Lt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Pe.unit)(Lt)})`}}})},{[`${pe}-layout-header`]:{[x]:{lineHeight:"inherit"}}}]},st=Ie=>{var pe,x,me;const{colorPrimary:Le,colorError:Se,colorTextDisabled:Be,colorErrorBg:Qe,colorText:it,colorTextDescription:ot,colorBgContainer:at,colorFillAlter:Rt,colorFillContent:Ft,lineWidth:rn,lineWidthBold:nn,controlItemBgActive:Lt,colorBgTextHover:qt,controlHeightLG:Wt,lineHeight:Dt,colorBgElevated:zt,marginXXS:un,padding:mn,fontSize:Et,controlHeightSM:Ht,fontSizeLG:Jt,colorTextLightSolid:gn,colorErrorHover:Nn}=Ie,Xn=(pe=Ie.activeBarWidth)!==null&&pe!==void 0?pe:0,gr=(x=Ie.activeBarBorderWidth)!==null&&x!==void 0?x:rn,br=(me=Ie.itemMarginInline)!==null&&me!==void 0?me:Ie.marginXXS,Yn=new Fe.FastColor(gn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ie.zIndexPopupBase+50,radiusItem:Ie.borderRadiusLG,itemBorderRadius:Ie.borderRadiusLG,radiusSubMenuItem:Ie.borderRadiusSM,subMenuItemBorderRadius:Ie.borderRadiusSM,colorItemText:it,itemColor:it,colorItemTextHover:it,itemHoverColor:it,colorItemTextHoverHorizontal:Le,horizontalItemHoverColor:Le,colorGroupTitle:ot,groupTitleColor:ot,colorItemTextSelected:Le,itemSelectedColor:Le,subMenuItemSelectedColor:Le,colorItemTextSelectedHorizontal:Le,horizontalItemSelectedColor:Le,colorItemBg:at,itemBg:at,colorItemBgHover:qt,itemHoverBg:qt,colorItemBgActive:Ft,itemActiveBg:Lt,colorSubItemBg:Rt,subMenuItemBg:Rt,colorItemBgSelected:Lt,itemSelectedBg:Lt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Xn,colorActiveBarHeight:nn,activeBarHeight:nn,colorActiveBarBorderSize:rn,activeBarBorderWidth:gr,colorItemTextDisabled:Be,itemDisabledColor:Be,colorDangerItemText:Se,dangerItemColor:Se,colorDangerItemTextHover:Se,dangerItemHoverColor:Se,colorDangerItemTextSelected:Se,dangerItemSelectedColor:Se,colorDangerItemBgActive:Qe,dangerItemActiveBg:Qe,colorDangerItemBgSelected:Qe,dangerItemSelectedBg:Qe,itemMarginInline:br,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Wt,groupTitleLineHeight:Dt,collapsedWidth:Wt*2,popupBg:zt,itemMarginBlock:un,itemPaddingInline:mn,horizontalLineHeight:`${Wt*1.15}px`,iconSize:Et,iconMarginInlineEnd:Ht-Et,collapsedIconSize:Jt,groupTitleFontSize:Et,darkItemDisabledColor:new Fe.FastColor(gn).setA(.25).toRgbString(),darkItemColor:Yn,darkDangerItemColor:Se,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:gn,darkItemSelectedBg:Le,darkDangerItemSelectedBg:Se,darkItemHoverBg:"transparent",darkGroupTitleColor:Yn,darkItemHoverColor:gn,darkDangerItemHoverColor:Nn,darkDangerItemSelectedColor:gn,darkDangerItemActiveBg:Se,itemWidth:Xn?`calc(100% + ${gr}px)`:`calc(100% - ${br*2}px)`}};var Nt=function(Ie){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ie,x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Ne.I$)("Menu",Le=>{const{colorBgElevated:Se,controlHeightLG:Be,fontSize:Qe,darkItemColor:it,darkDangerItemColor:ot,darkItemBg:at,darkSubMenuItemBg:Rt,darkItemSelectedColor:Ft,darkItemSelectedBg:rn,darkDangerItemSelectedBg:nn,darkItemHoverBg:Lt,darkGroupTitleColor:qt,darkItemHoverColor:Wt,darkItemDisabledColor:Dt,darkDangerItemHoverColor:zt,darkDangerItemSelectedColor:un,darkDangerItemActiveBg:mn,popupBg:Et,darkPopupBg:Ht}=Le,Jt=Le.calc(Qe).div(7).mul(5).equal(),gn=(0,Ye.mergeToken)(Le,{menuArrowSize:Jt,menuHorizontalHeight:Le.calc(Be).mul(1.15).equal(),menuArrowOffset:Le.calc(Jt).mul(.25).equal(),menuSubMenuBg:Se,calc:Le.calc,popupBg:Et}),Nn=(0,Ye.mergeToken)(gn,{itemColor:it,itemHoverColor:Wt,groupTitleColor:qt,itemSelectedColor:Ft,subMenuItemSelectedColor:Ft,itemBg:at,popupBg:Ht,subMenuItemBg:Rt,itemActiveBg:"transparent",itemSelectedBg:rn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Lt,itemDisabledColor:Dt,dangerItemColor:ot,dangerItemHoverColor:zt,dangerItemSelectedColor:un,dangerItemActiveBg:mn,dangerItemSelectedBg:nn,menuSubMenuBg:Rt,horizontalItemSelectedColor:Ft,horizontalItemSelectedBg:rn});return[ht(gn),He(gn),$e(gn),nt(gn,"light"),nt(Nn,"dark"),ct(gn),(0,Te.Z)(gn),(0,Ke.oN)(gn,"slide-up"),(0,Ke.oN)(gn,"slide-down"),(0,We._y)(gn,"zoom-big")]},st,{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"]],injectStyle:x,unitless:{groupTitleLineHeight:!0}})(Ie,pe)},dt=ae(75030),bt=Ie=>{var pe;const{popupClassName:x,icon:me,title:Le,theme:Se}=Ie,Be=b.useContext(we),{prefixCls:Qe,inlineCollapsed:it,theme:ot}=Be,at=(0,oe.Xl)();let Rt;if(!me)Rt=it&&!at.length&&Le&&typeof Le=="string"?b.createElement("div",{className:`${Qe}-inline-collapsed-noicon`},Le.charAt(0)):b.createElement("span",{className:`${Qe}-title-content`},Le);else{const nn=b.isValidElement(Le)&&Le.type==="span";Rt=b.createElement(b.Fragment,null,(0,E.Tm)(me,{className:ve()(b.isValidElement(me)?(pe=me.props)===null||pe===void 0?void 0:pe.className:"",`${Qe}-item-icon`)}),nn?Le:b.createElement("span",{className:`${Qe}-title-content`},Le))}const Ft=b.useMemo(()=>Object.assign(Object.assign({},Be),{firstLevel:!1}),[Be]),[rn]=(0,dt.Cn)("Menu");return b.createElement(we.Provider,{value:Ft},b.createElement(oe.Wd,Object.assign({},(0,se.Z)(Ie,["icon"]),{title:Rt,popupClassName:ve()(Qe,x,`${Qe}-${Se||ot}`),popupStyle:Object.assign({zIndex:rn},Ie.popupStyle)})))},Ct=function(Ie,pe){var x={};for(var me in Ie)Object.prototype.hasOwnProperty.call(Ie,me)&&pe.indexOf(me)<0&&(x[me]=Ie[me]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,me=Object.getOwnPropertySymbols(Ie);Le<me.length;Le++)pe.indexOf(me[Le])<0&&Object.prototype.propertyIsEnumerable.call(Ie,me[Le])&&(x[me[Le]]=Ie[me[Le]]);return x};function gt(Ie){return Ie===null||Ie===!1}const je={item:Me,submenu:bt,divider:Ee};var ie=(0,b.forwardRef)((Ie,pe)=>{var x;const me=b.useContext(be.Z),Le=me||{},{getPrefixCls:Se,getPopupContainer:Be,direction:Qe,menu:it}=b.useContext(te.E_),ot=Se(),{prefixCls:at,className:Rt,style:Ft,theme:rn="light",expandIcon:nn,_internalDisableMenuItemTitleTooltip:Lt,inlineCollapsed:qt,siderCollapsed:Wt,rootClassName:Dt,mode:zt,selectable:un,onClick:mn,overflowedIndicatorPopupClassName:Et}=Ie,Ht=Ct(Ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Jt=(0,se.Z)(Ht,["collapsedWidth"]);(x=Le.validator)===null||x===void 0||x.call(Le,{mode:zt});const gn=(0,re.Z)(function(){var Kn;mn==null||mn.apply(void 0,arguments),(Kn=Le.onClick)===null||Kn===void 0||Kn.call(Le)}),Nn=Le.mode||zt,Xn=un!=null?un:Le.selectable,gr=qt!=null?qt:Wt,br={horizontal:{motionName:`${ot}-slide-up`},inline:(0,fe.Z)(ot),other:{motionName:`${ot}-zoom-big`}},Yn=Se("menu",at||Le.prefixCls),hr=(0,ne.Z)(Yn),[Wn,xn,Pn]=Nt(Yn,hr,!me),Tn=ve()(`${Yn}-${rn}`,it==null?void 0:it.className,Rt),An=b.useMemo(()=>{var Kn,er;if(typeof nn=="function"||gt(nn))return nn||null;if(typeof Le.expandIcon=="function"||gt(Le.expandIcon))return Le.expandIcon||null;if(typeof(it==null?void 0:it.expandIcon)=="function"||gt(it==null?void 0:it.expandIcon))return(it==null?void 0:it.expandIcon)||null;const wr=(Kn=nn!=null?nn:Le==null?void 0:Le.expandIcon)!==null&&Kn!==void 0?Kn:it==null?void 0:it.expandIcon;return(0,E.Tm)(wr,{className:ve()(`${Yn}-submenu-expand-icon`,b.isValidElement(wr)?(er=wr.props)===null||er===void 0?void 0:er.className:void 0)})},[nn,Le==null?void 0:Le.expandIcon,it==null?void 0:it.expandIcon,Yn]),zn=b.useMemo(()=>({prefixCls:Yn,inlineCollapsed:gr||!1,direction:Qe,firstLevel:!0,theme:rn,mode:Nn,disableMenuItemTitleTooltip:Lt}),[Yn,gr,Qe,Lt,rn]);return Wn(b.createElement(be.Z.Provider,{value:null},b.createElement(we.Provider,{value:zn},b.createElement(oe.ZP,Object.assign({getPopupContainer:Be,overflowedIndicator:b.createElement(De.Z,null),overflowedIndicatorPopupClassName:ve()(Yn,`${Yn}-${rn}`,Et),mode:Nn,selectable:Xn,onClick:gn},Jt,{inlineCollapsed:gr,style:Object.assign(Object.assign({},it==null?void 0:it.style),Ft),className:Tn,prefixCls:Yn,direction:Qe,defaultMotions:br,expandIcon:An,ref:pe,rootClassName:ve()(Dt,xn,Le.rootClassName,Pn,hr),_internalComponents:je})))))});const ke=(0,b.forwardRef)((Ie,pe)=>{const x=(0,b.useRef)(null),me=b.useContext(ye.D);return(0,b.useImperativeHandle)(pe,()=>({menu:x.current,focus:Le=>{var Se;(Se=x.current)===null||Se===void 0||Se.focus(Le)}})),b.createElement(ie,Object.assign({ref:x},Ie,me))});ke.Item=Me,ke.SubMenu=bt,ke.Divider=Ee,ke.ItemGroup=oe.BW;var Ge=ke},31709:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return it}});var b=ae(59301),oe=ae(54476),ye={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"},De=ye,de=ae(7657),ve=function(at,Rt){return b.createElement(de.Z,(0,oe.Z)({},at,{ref:Rt,icon:De}))},re=b.forwardRef(ve),se=re,fe=ae(49198),E=ae(33853),te=ae(38819),ne=ae(92310),ge=ae.n(ne),we=ae(20068),xe=ae(76190),ue=ae(33885),Ee=ae(42978),Oe=ae(18929),Ae=ae(10228),Re=ae(26112),Me=ae(48736),be=ae(17119),Pe=[10,20,50,100],Fe=function(at){var Rt=at.pageSizeOptions,Ft=Rt===void 0?Pe:Rt,rn=at.locale,nn=at.changeSize,Lt=at.pageSize,qt=at.goButton,Wt=at.quickGo,Dt=at.rootPrefixCls,zt=at.disabled,un=at.buildOptionText,mn=at.showSizeChanger,Et=at.sizeChangerRender,Ht=b.useState(""),Jt=(0,Ee.Z)(Ht,2),gn=Jt[0],Nn=Jt[1],Xn=function(){return!gn||Number.isNaN(gn)?void 0:Number(gn)},gr=typeof un=="function"?un:function(zn){return"".concat(zn," ").concat(rn.items_per_page)},br=function(Kn){Nn(Kn.target.value)},Yn=function(Kn){qt||gn===""||(Nn(""),!(Kn.relatedTarget&&(Kn.relatedTarget.className.indexOf("".concat(Dt,"-item-link"))>=0||Kn.relatedTarget.className.indexOf("".concat(Dt,"-item"))>=0))&&(Wt==null||Wt(Xn())))},hr=function(Kn){gn!==""&&(Kn.keyCode===Ae.Z.ENTER||Kn.type==="click")&&(Nn(""),Wt==null||Wt(Xn()))},Wn=function(){return Ft.some(function(Kn){return Kn.toString()===Lt.toString()})?Ft:Ft.concat([Lt]).sort(function(Kn,er){var wr=Number.isNaN(Number(Kn))?0:Number(Kn),Sr=Number.isNaN(Number(er))?0:Number(er);return wr-Sr})},xn="".concat(Dt,"-options");if(!mn&&!Wt)return null;var Pn=null,Tn=null,An=null;return mn&&Et&&(Pn=Et({disabled:zt,size:Lt,onSizeChange:function(Kn){nn==null||nn(Number(Kn))},"aria-label":rn.page_size,className:"".concat(xn,"-size-changer"),options:Wn().map(function(zn){return{label:gr(zn),value:zn}})})),Wt&&(qt&&(An=typeof qt=="boolean"?b.createElement("button",{type:"button",onClick:hr,onKeyUp:hr,disabled:zt,className:"".concat(xn,"-quick-jumper-button")},rn.jump_to_confirm):b.createElement("span",{onClick:hr,onKeyUp:hr},qt)),Tn=b.createElement("div",{className:"".concat(xn,"-quick-jumper")},rn.jump_to,b.createElement("input",{disabled:zt,type:"text",value:gn,onChange:br,onKeyUp:hr,onBlur:Yn,"aria-label":rn.page}),rn.page,An)),b.createElement("li",{className:xn},Pn,Tn)},_e=Fe,Te=function(at){var Rt=at.rootPrefixCls,Ft=at.page,rn=at.active,nn=at.className,Lt=at.showTitle,qt=at.onClick,Wt=at.onKeyPress,Dt=at.itemRender,zt="".concat(Rt,"-item"),un=ge()(zt,"".concat(zt,"-").concat(Ft),(0,we.Z)((0,we.Z)({},"".concat(zt,"-active"),rn),"".concat(zt,"-disabled"),!Ft),nn),mn=function(){qt(Ft)},Et=function(gn){Wt(gn,qt,Ft)},Ht=Dt(Ft,"page",b.createElement("a",{rel:"nofollow"},Ft));return Ht?b.createElement("li",{title:Lt?String(Ft):null,className:un,onClick:mn,onKeyDown:Et,tabIndex:0},Ht):null},Ke=Te,We=function(at,Rt,Ft){return Ft};function Ne(){}function Ye(ot){var at=Number(ot);return typeof at=="number"&&!Number.isNaN(at)&&isFinite(at)&&Math.floor(at)===at}function Je(ot,at,Rt){var Ft=typeof ot=="undefined"?at:ot;return Math.floor((Rt-1)/Ft)+1}var He=function(at){var Rt=at.prefixCls,Ft=Rt===void 0?"rc-pagination":Rt,rn=at.selectPrefixCls,nn=rn===void 0?"rc-select":rn,Lt=at.className,qt=at.current,Wt=at.defaultCurrent,Dt=Wt===void 0?1:Wt,zt=at.total,un=zt===void 0?0:zt,mn=at.pageSize,Et=at.defaultPageSize,Ht=Et===void 0?10:Et,Jt=at.onChange,gn=Jt===void 0?Ne:Jt,Nn=at.hideOnSinglePage,Xn=at.align,gr=at.showPrevNextJumpers,br=gr===void 0?!0:gr,Yn=at.showQuickJumper,hr=at.showLessItems,Wn=at.showTitle,xn=Wn===void 0?!0:Wn,Pn=at.onShowSizeChange,Tn=Pn===void 0?Ne:Pn,An=at.locale,zn=An===void 0?be.Z:An,Kn=at.style,er=at.totalBoundaryShowSizeChanger,wr=er===void 0?50:er,Sr=at.disabled,Er=at.simple,Nr=at.showTotal,Br=at.showSizeChanger,jr=Br===void 0?un>wr:Br,Rr=at.sizeChangerRender,Ln=at.pageSizeOptions,tr=at.itemRender,Ar=tr===void 0?We:tr,yr=at.jumpPrevIcon,Zt=at.jumpNextIcon,St=at.prevIcon,Ot=at.nextIcon,Gt=b.useRef(null),kt=(0,Oe.Z)(10,{value:mn,defaultValue:Ht}),Pt=(0,Ee.Z)(kt,2),xt=Pt[0],en=Pt[1],on=(0,Oe.Z)(1,{value:qt,defaultValue:Dt,postState:function(ci){return Math.max(1,Math.min(ci,Je(void 0,xt,un)))}}),cn=(0,Ee.Z)(on,2),Yt=cn[0],$t=cn[1],Xt=b.useState(Yt),fn=(0,Ee.Z)(Xt,2),lr=fn[0],Ut=fn[1];(0,b.useEffect)(function(){Ut(Yt)},[Yt]);var Qt=gn!==Ne,Cn="current"in at,Vt=Math.max(1,Yt-(hr?3:5)),jt=Math.min(Je(void 0,xt,un),Yt+(hr?3:5));function hn(li,ci){var qi=li||b.createElement("button",{type:"button","aria-label":ci,className:"".concat(Ft,"-item-link")});return typeof li=="function"&&(qi=b.createElement(li,(0,ue.Z)({},at))),qi}function wn(li){var ci=li.target.value,qi=Je(void 0,xt,un),po;return ci===""?po=ci:Number.isNaN(Number(ci))?po=lr:ci>=qi?po=qi:po=Number(ci),po}function bn(li){return Ye(li)&&li!==Yt&&Ye(un)&&un>0}var In=un>xt?Yn:!1;function Fn(li){(li.keyCode===Ae.Z.UP||li.keyCode===Ae.Z.DOWN)&&li.preventDefault()}function Zn(li){var ci=wn(li);switch(ci!==lr&&Ut(ci),li.keyCode){case Ae.Z.ENTER:sr(ci);break;case Ae.Z.UP:sr(ci-1);break;case Ae.Z.DOWN:sr(ci+1);break;default:break}}function Mn(li){sr(wn(li))}function Gn(li){var ci=Je(li,xt,un),qi=Yt>ci&&ci!==0?ci:Yt;en(li),Ut(qi),Tn==null||Tn(Yt,li),$t(qi),gn==null||gn(qi,li)}function sr(li){if(bn(li)&&!Sr){var ci=Je(void 0,xt,un),qi=li;return li>ci?qi=ci:li<1&&(qi=1),qi!==lr&&Ut(qi),$t(qi),gn==null||gn(qi,xt),qi}return Yt}var jn=Yt>1,ir=Yt<Je(void 0,xt,un);function Dr(){jn&&sr(Yt-1)}function Tr(){ir&&sr(Yt+1)}function Wr(){sr(Vt)}function vr(){sr(jt)}function Ir(li,ci){if(li.key==="Enter"||li.charCode===Ae.Z.ENTER||li.keyCode===Ae.Z.ENTER){for(var qi=arguments.length,po=new Array(qi>2?qi-2:0),Ri=2;Ri<qi;Ri++)po[Ri-2]=arguments[Ri];ci.apply(void 0,po)}}function _r(li){Ir(li,Dr)}function mr(li){Ir(li,Tr)}function Gr(li){Ir(li,Wr)}function Fr(li){Ir(li,vr)}function gi(li){var ci=Ar(li,"prev",hn(St,"prev page"));return b.isValidElement(ci)?b.cloneElement(ci,{disabled:!jn}):ci}function Xr(li){var ci=Ar(li,"next",hn(Ot,"next page"));return b.isValidElement(ci)?b.cloneElement(ci,{disabled:!ir}):ci}function $r(li){(li.type==="click"||li.keyCode===Ae.Z.ENTER)&&sr(lr)}var ti=null,oi=(0,Re.Z)(at,{aria:!0,data:!0}),kr=Nr&&b.createElement("li",{className:"".concat(Ft,"-total-text")},Nr(un,[un===0?0:(Yt-1)*xt+1,Yt*xt>un?un:Yt*xt])),Vr=null,Cr=Je(void 0,xt,un);if(Nn&&un<=xt)return null;var _n=[],ur={rootPrefixCls:Ft,onClick:sr,onKeyPress:Ir,showTitle:xn,itemRender:Ar,page:-1},fr=Yt-1>0?Yt-1:0,Qn=Yt+1<Cr?Yt+1:Cr,Pr=Yn&&Yn.goButton,Mr=(0,xe.Z)(Er)==="object"?Er.readOnly:!Er,Kt=Pr,On=null;Er&&(Pr&&(typeof Pr=="boolean"?Kt=b.createElement("button",{type:"button",onClick:$r,onKeyUp:$r},zn.jump_to_confirm):Kt=b.createElement("span",{onClick:$r,onKeyUp:$r},Pr),Kt=b.createElement("li",{title:xn?"".concat(zn.jump_to).concat(Yt,"/").concat(Cr):null,className:"".concat(Ft,"-simple-pager")},Kt)),On=b.createElement("li",{title:xn?"".concat(Yt,"/").concat(Cr):null,className:"".concat(Ft,"-simple-pager")},Mr?lr:b.createElement("input",{type:"text","aria-label":zn.jump_to,value:lr,disabled:Sr,onKeyDown:Fn,onKeyUp:Zn,onChange:Zn,onBlur:Mn,size:3}),b.createElement("span",{className:"".concat(Ft,"-slash")},"/"),Cr));var $n=hr?1:2;if(Cr<=3+$n*2){Cr||_n.push(b.createElement(Ke,(0,oe.Z)({},ur,{key:"noPager",page:1,className:"".concat(Ft,"-item-disabled")})));for(var pr=1;pr<=Cr;pr+=1)_n.push(b.createElement(Ke,(0,oe.Z)({},ur,{key:pr,page:pr,active:Yt===pr})))}else{var zr=hr?zn.prev_3:zn.prev_5,Qr=hr?zn.next_3:zn.next_5,Yr=Ar(Vt,"jump-prev",hn(yr,"prev page")),ki=Ar(jt,"jump-next",hn(Zt,"next page"));br&&(ti=Yr?b.createElement("li",{title:xn?zr:null,key:"prev",onClick:Wr,tabIndex:0,onKeyDown:Gr,className:ge()("".concat(Ft,"-jump-prev"),(0,we.Z)({},"".concat(Ft,"-jump-prev-custom-icon"),!!yr))},Yr):null,Vr=ki?b.createElement("li",{title:xn?Qr:null,key:"next",onClick:vr,tabIndex:0,onKeyDown:Fr,className:ge()("".concat(Ft,"-jump-next"),(0,we.Z)({},"".concat(Ft,"-jump-next-custom-icon"),!!Zt))},ki):null);var or=Math.max(1,Yt-$n),Di=Math.min(Yt+$n,Cr);Yt-1<=$n&&(Di=1+$n*2),Cr-Yt<=$n&&(or=Cr-$n*2);for(var mi=or;mi<=Di;mi+=1)_n.push(b.createElement(Ke,(0,oe.Z)({},ur,{key:mi,page:mi,active:Yt===mi})));if(Yt-1>=$n*2&&Yt!==3&&(_n[0]=b.cloneElement(_n[0],{className:ge()("".concat(Ft,"-item-after-jump-prev"),_n[0].props.className)}),_n.unshift(ti)),Cr-Yt>=$n*2&&Yt!==Cr-2){var Ii=_n[_n.length-1];_n[_n.length-1]=b.cloneElement(Ii,{className:ge()("".concat(Ft,"-item-before-jump-next"),Ii.props.className)}),_n.push(Vr)}or!==1&&_n.unshift(b.createElement(Ke,(0,oe.Z)({},ur,{key:1,page:1}))),Di!==Cr&&_n.push(b.createElement(Ke,(0,oe.Z)({},ur,{key:Cr,page:Cr})))}var Bi=gi(fr);if(Bi){var Si=!jn||!Cr;Bi=b.createElement("li",{title:xn?zn.prev_page:null,onClick:Dr,tabIndex:Si?null:0,onKeyDown:_r,className:ge()("".concat(Ft,"-prev"),(0,we.Z)({},"".concat(Ft,"-disabled"),Si)),"aria-disabled":Si},Bi)}var so=Xr(Qn);if(so){var Co,$i;Er?(Co=!ir,$i=jn?0:null):(Co=!ir||!Cr,$i=Co?null:0),so=b.createElement("li",{title:xn?zn.next_page:null,onClick:Tr,tabIndex:$i,onKeyDown:mr,className:ge()("".concat(Ft,"-next"),(0,we.Z)({},"".concat(Ft,"-disabled"),Co)),"aria-disabled":Co},so)}var Ji=ge()(Ft,Lt,(0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)({},"".concat(Ft,"-start"),Xn==="start"),"".concat(Ft,"-center"),Xn==="center"),"".concat(Ft,"-end"),Xn==="end"),"".concat(Ft,"-simple"),Er),"".concat(Ft,"-disabled"),Sr));return b.createElement("ul",(0,oe.Z)({className:Ji,style:Kn,ref:Gt},oi),kr,Bi,Er?On:_n,so,b.createElement(_e,{locale:zn,rootPrefixCls:Ft,disabled:Sr,selectPrefixCls:nn,changeSize:Gn,pageSize:xt,pageSizeOptions:Ln,quickGo:In?sr:null,goButton:Kt,showSizeChanger:jr,sizeChangerRender:Rr}))},lt=He,ct=ae(61852),tt=ae(48755),Bt=ae(31756),nt=ae(13783),Ue=ae(9017),Xe=ae(82326),$e=ae(57700),qe=ae(36237),Ve=ae(53075),ht=ae(64910),st=ae(39082),Nt=ae(63356),dt=ae(51636),Tt=ae(16931);const bt=ot=>{const{componentCls:at}=ot;return{[`${at}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${at}-item-link`]:{color:ot.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${at}-item-link`]:{color:ot.colorTextDisabled,cursor:"not-allowed"}}},[`&${at}-disabled`]:{cursor:"not-allowed",[`${at}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ot.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ot.colorBorder,backgroundColor:ot.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ot.itemActiveBgDisabled},a:{color:ot.itemActiveColorDisabled}}},[`${at}-item-link`]:{color:ot.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${at}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${at}-simple-pager`]:{color:ot.colorTextDisabled},[`${at}-jump-prev, ${at}-jump-next`]:{[`${at}-item-link-icon`]:{opacity:0},[`${at}-item-ellipsis`]:{opacity:1}}},[`&${at}-simple`]:{[`${at}-prev, ${at}-next`]:{[`&${at}-disabled ${at}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ct=ot=>{const{componentCls:at}=ot;return{[`&${at}-mini ${at}-total-text, &${at}-mini ${at}-simple-pager`]:{height:ot.itemSizeSM,lineHeight:(0,qe.unit)(ot.itemSizeSM)},[`&${at}-mini ${at}-item`]:{minWidth:ot.itemSizeSM,height:ot.itemSizeSM,margin:0,lineHeight:(0,qe.unit)(ot.calc(ot.itemSizeSM).sub(2).equal())},[`&${at}-mini ${at}-prev, &${at}-mini ${at}-next`]:{minWidth:ot.itemSizeSM,height:ot.itemSizeSM,margin:0,lineHeight:(0,qe.unit)(ot.itemSizeSM)},[`&${at}-mini:not(${at}-disabled)`]:{[`${at}-prev, ${at}-next`]:{[`&:hover ${at}-item-link`]:{backgroundColor:ot.colorBgTextHover},[`&:active ${at}-item-link`]:{backgroundColor:ot.colorBgTextActive},[`&${at}-disabled:hover ${at}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${at}-mini ${at}-prev ${at}-item-link,
|
|
|
&${at}-mini ${at}-next ${at}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ot.itemSizeSM,lineHeight:(0,qe.unit)(ot.itemSizeSM)}},[`&${at}-mini ${at}-jump-prev, &${at}-mini ${at}-jump-next`]:{height:ot.itemSizeSM,marginInlineEnd:0,lineHeight:(0,qe.unit)(ot.itemSizeSM)},[`&${at}-mini ${at}-options`]:{marginInlineStart:ot.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:ot.miniOptionsSizeChangerTop},"&-quick-jumper":{height:ot.itemSizeSM,lineHeight:(0,qe.unit)(ot.itemSizeSM),input:Object.assign(Object.assign({},(0,Ve.x0)(ot)),{width:ot.paginationMiniQuickJumperInputWidth,height:ot.controlHeightSM})}}}},gt=ot=>{const{componentCls:at}=ot;return{[`
|
|
|
&${at}-simple ${at}-prev,
|
|
|
&${at}-simple ${at}-next
|
|
|
`]:{height:ot.itemSizeSM,lineHeight:(0,qe.unit)(ot.itemSizeSM),verticalAlign:"top",[`${at}-item-link`]:{height:ot.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ot.colorBgTextHover},"&:active":{backgroundColor:ot.colorBgTextActive},"&::after":{height:ot.itemSizeSM,lineHeight:(0,qe.unit)(ot.itemSizeSM)}}},[`&${at}-simple ${at}-simple-pager`]:{display:"inline-block",height:ot.itemSizeSM,marginInlineEnd:ot.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,qe.unit)(ot.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:ot.itemInputBg,border:`${(0,qe.unit)(ot.lineWidth)} ${ot.lineType} ${ot.colorBorder}`,borderRadius:ot.borderRadius,outline:"none",transition:`border-color ${ot.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ot.colorPrimary},"&:focus":{borderColor:ot.colorPrimaryHover,boxShadow:`${(0,qe.unit)(ot.inputOutlineOffset)} 0 ${(0,qe.unit)(ot.controlOutlineWidth)} ${ot.controlOutline}`},"&[disabled]":{color:ot.colorTextDisabled,backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,cursor:"not-allowed"}}}}},je=ot=>{const{componentCls:at}=ot;return{[`${at}-jump-prev, ${at}-jump-next`]:{outline:0,[`${at}-item-container`]:{position:"relative",[`${at}-item-link-icon`]:{color:ot.colorPrimary,fontSize:ot.fontSizeSM,opacity:0,transition:`all ${ot.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${at}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ot.colorTextDisabled,letterSpacing:ot.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ot.paginationEllipsisTextIndent,opacity:1,transition:`all ${ot.motionDurationMid}`}},"&:hover":{[`${at}-item-link-icon`]:{opacity:1},[`${at}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${at}-prev,
|
|
|
${at}-jump-prev,
|
|
|
${at}-jump-next
|
|
|
`]:{marginInlineEnd:ot.marginXS},[`
|
|
|
${at}-prev,
|
|
|
${at}-next,
|
|
|
${at}-jump-prev,
|
|
|
${at}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:ot.itemSize,height:ot.itemSize,color:ot.colorText,fontFamily:ot.fontFamily,lineHeight:(0,qe.unit)(ot.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ot.borderRadius,cursor:"pointer",transition:`all ${ot.motionDurationMid}`},[`${at}-prev, ${at}-next`]:{outline:0,button:{color:ot.colorText,cursor:"pointer",userSelect:"none"},[`${at}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ot.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,qe.unit)(ot.lineWidth)} ${ot.lineType} transparent`,borderRadius:ot.borderRadius,outline:"none",transition:`all ${ot.motionDurationMid}`},[`&:hover ${at}-item-link`]:{backgroundColor:ot.colorBgTextHover},[`&:active ${at}-item-link`]:{backgroundColor:ot.colorBgTextActive},[`&${at}-disabled:hover`]:{[`${at}-item-link`]:{backgroundColor:"transparent"}}},[`${at}-slash`]:{marginInlineEnd:ot.paginationSlashMarginInlineEnd,marginInlineStart:ot.paginationSlashMarginInlineStart},[`${at}-options`]:{display:"inline-block",marginInlineStart:ot.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ot.controlHeight,marginInlineStart:ot.marginXS,lineHeight:(0,qe.unit)(ot.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Ve.ik)(ot)),(0,st.$U)(ot,{borderColor:ot.colorBorder,hoverBorderColor:ot.colorPrimaryHover,activeBorderColor:ot.colorPrimary,activeShadow:ot.activeShadow})),{"&[disabled]":Object.assign({},(0,st.Xy)(ot)),width:ot.calc(ot.controlHeightLG).mul(1.25).equal(),height:ot.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ot.marginXS,marginInlineEnd:ot.marginXS})}}}},le=ot=>{const{componentCls:at}=ot;return{[`${at}-item`]:{display:"inline-block",minWidth:ot.itemSize,height:ot.itemSize,marginInlineEnd:ot.marginXS,fontFamily:ot.fontFamily,lineHeight:(0,qe.unit)(ot.calc(ot.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:ot.itemBg,border:`${(0,qe.unit)(ot.lineWidth)} ${ot.lineType} transparent`,borderRadius:ot.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,qe.unit)(ot.paginationItemPaddingInline)}`,color:ot.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${at}-item-active)`]:{"&:hover":{transition:`all ${ot.motionDurationMid}`,backgroundColor:ot.colorBgTextHover},"&:active":{backgroundColor:ot.colorBgTextActive}},"&-active":{fontWeight:ot.fontWeightStrong,backgroundColor:ot.itemActiveBg,borderColor:ot.colorPrimary,a:{color:ot.colorPrimary},"&:hover":{borderColor:ot.colorPrimaryHover},"&:hover a":{color:ot.colorPrimaryHover}}}}},ie=ot=>{const{componentCls:at}=ot;return{[at]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Nt.Wf)(ot)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${at}-total-text`]:{display:"inline-block",height:ot.itemSize,marginInlineEnd:ot.marginXS,lineHeight:(0,qe.unit)(ot.calc(ot.itemSize).sub(2).equal()),verticalAlign:"middle"}}),le(ot)),je(ot)),gt(ot)),Ct(ot)),bt(ot)),{[`@media only screen and (max-width: ${ot.screenLG}px)`]:{[`${at}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ot.screenSM}px)`]:{[`${at}-options`]:{display:"none"}}}),[`&${ot.componentCls}-rtl`]:{direction:"rtl"}}},ke=ot=>{const{componentCls:at}=ot;return{[`${at}:not(${at}-disabled)`]:{[`${at}-item`]:Object.assign({},(0,Nt.Qy)(ot)),[`${at}-jump-prev, ${at}-jump-next`]:{"&:focus-visible":Object.assign({[`${at}-item-link-icon`]:{opacity:1},[`${at}-item-ellipsis`]:{opacity:0}},(0,Nt.oN)(ot))},[`${at}-prev, ${at}-next`]:{[`&:focus-visible ${at}-item-link`]:Object.assign({},(0,Nt.oN)(ot))}}}},Ge=ot=>Object.assign({itemBg:ot.colorBgContainer,itemSize:ot.controlHeight,itemSizeSM:ot.controlHeightSM,itemActiveBg:ot.colorBgContainer,itemLinkBg:ot.colorBgContainer,itemActiveColorDisabled:ot.colorTextDisabled,itemActiveBgDisabled:ot.controlItemBgActiveDisabled,itemInputBg:ot.colorBgContainer,miniOptionsSizeChangerTop:0},(0,ht.T)(ot)),Ie=ot=>(0,dt.mergeToken)(ot,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ot.calc(ot.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:ot.calc(ot.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:ot.calc(ot.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:ot.calc(ot.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:ot.marginSM,paginationSlashMarginInlineEnd:ot.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ht.e)(ot));var pe=(0,Tt.I$)("Pagination",ot=>{const at=Ie(ot);return[ie(at),ke(at)]},Ge);const x=ot=>{const{componentCls:at}=ot;return{[`${at}${at}-bordered${at}-disabled:not(${at}-mini)`]:{"&, &:hover":{[`${at}-item-link`]:{borderColor:ot.colorBorder}},"&:focus-visible":{[`${at}-item-link`]:{borderColor:ot.colorBorder}},[`${at}-item, ${at}-item-link`]:{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,[`&:hover:not(${at}-item-active)`]:{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,a:{color:ot.colorTextDisabled}},[`&${at}-item-active`]:{backgroundColor:ot.itemActiveBgDisabled}},[`${at}-prev, ${at}-next`]:{"&:hover button":{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder,color:ot.colorTextDisabled},[`${at}-item-link`]:{backgroundColor:ot.colorBgContainerDisabled,borderColor:ot.colorBorder}}},[`${at}${at}-bordered:not(${at}-mini)`]:{[`${at}-prev, ${at}-next`]:{"&:hover button":{borderColor:ot.colorPrimaryHover,backgroundColor:ot.itemBg},[`${at}-item-link`]:{backgroundColor:ot.itemLinkBg,borderColor:ot.colorBorder},[`&:hover ${at}-item-link`]:{borderColor:ot.colorPrimary,backgroundColor:ot.itemBg,color:ot.colorPrimary},[`&${at}-disabled`]:{[`${at}-item-link`]:{borderColor:ot.colorBorder,color:ot.colorTextDisabled}}},[`${at}-item`]:{backgroundColor:ot.itemBg,border:`${(0,qe.unit)(ot.lineWidth)} ${ot.lineType} ${ot.colorBorder}`,[`&:hover:not(${at}-item-active)`]:{borderColor:ot.colorPrimary,backgroundColor:ot.itemBg,a:{color:ot.colorPrimary}},"&-active":{borderColor:ot.colorPrimary}}}}};var me=(0,Tt.bk)(["Pagination","bordered"],ot=>{const at=Ie(ot);return[x(at)]},Ge);function Le(ot){return(0,b.useMemo)(()=>typeof ot=="boolean"?[ot,{}]:ot&&typeof ot=="object"?[!0,ot]:[void 0,void 0],[ot])}var Se=function(ot,at){var Rt={};for(var Ft in ot)Object.prototype.hasOwnProperty.call(ot,Ft)&&at.indexOf(Ft)<0&&(Rt[Ft]=ot[Ft]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rn=0,Ft=Object.getOwnPropertySymbols(ot);rn<Ft.length;rn++)at.indexOf(Ft[rn])<0&&Object.prototype.propertyIsEnumerable.call(ot,Ft[rn])&&(Rt[Ft[rn]]=ot[Ft[rn]]);return Rt},Qe=ot=>{const{align:at,prefixCls:Rt,selectPrefixCls:Ft,className:rn,rootClassName:nn,style:Lt,size:qt,locale:Wt,responsive:Dt,showSizeChanger:zt,selectComponentClass:un,pageSizeOptions:mn}=ot,Et=Se(ot,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Ht}=(0,nt.Z)(Dt),[,Jt]=(0,$e.ZP)(),{getPrefixCls:gn,direction:Nn,showSizeChanger:Xn,className:gr,style:br}=(0,tt.dj)("pagination"),Yn=gn("pagination",Rt),[hr,Wn,xn]=pe(Yn),Pn=(0,Bt.Z)(qt),Tn=Pn==="small"||!!(Ht&&!Pn&&Dt),[An]=(0,Ue.Z)("Pagination",ct.Z),zn=Object.assign(Object.assign({},An),Wt),[Kn,er]=Le(zt),[wr,Sr]=Le(Xn),Er=Kn!=null?Kn:wr,Nr=er!=null?er:Sr,Br=un||Xe.default,jr=b.useMemo(()=>mn?mn.map(Zt=>Number(Zt)):void 0,[mn]),Rr=Zt=>{var St;const{disabled:Ot,size:Gt,onSizeChange:kt,"aria-label":Pt,className:xt,options:en}=Zt,{className:on,onChange:cn}=Nr||{},Yt=(St=en.find($t=>String($t.value)===String(Gt)))===null||St===void 0?void 0:St.value;return b.createElement(Br,Object.assign({disabled:Ot,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:$t=>$t.parentNode,"aria-label":Pt,options:en},Nr,{value:Yt,onChange:($t,Xt)=>{kt==null||kt($t),cn==null||cn($t,Xt)},size:Tn?"small":"middle",className:ge()(xt,on)}))},Ln=b.useMemo(()=>{const Zt=b.createElement("span",{className:`${Yn}-item-ellipsis`},"\u2022\u2022\u2022"),St=b.createElement("button",{className:`${Yn}-item-link`,type:"button",tabIndex:-1},Nn==="rtl"?b.createElement(te.Z,null):b.createElement(E.Z,null)),Ot=b.createElement("button",{className:`${Yn}-item-link`,type:"button",tabIndex:-1},Nn==="rtl"?b.createElement(E.Z,null):b.createElement(te.Z,null)),Gt=b.createElement("a",{className:`${Yn}-item-link`},b.createElement("div",{className:`${Yn}-item-container`},Nn==="rtl"?b.createElement(fe.Z,{className:`${Yn}-item-link-icon`}):b.createElement(se,{className:`${Yn}-item-link-icon`}),Zt)),kt=b.createElement("a",{className:`${Yn}-item-link`},b.createElement("div",{className:`${Yn}-item-container`},Nn==="rtl"?b.createElement(se,{className:`${Yn}-item-link-icon`}):b.createElement(fe.Z,{className:`${Yn}-item-link-icon`}),Zt));return{prevIcon:St,nextIcon:Ot,jumpPrevIcon:Gt,jumpNextIcon:kt}},[Nn,Yn]),tr=gn("select",Ft),Ar=ge()({[`${Yn}-${at}`]:!!at,[`${Yn}-mini`]:Tn,[`${Yn}-rtl`]:Nn==="rtl",[`${Yn}-bordered`]:Jt.wireframe},gr,rn,nn,Wn,xn),yr=Object.assign(Object.assign({},br),Lt);return hr(b.createElement(b.Fragment,null,Jt.wireframe&&b.createElement(me,{prefixCls:Yn}),b.createElement(lt,Object.assign({},Ln,Et,{style:yr,prefixCls:Yn,selectPrefixCls:tr,className:Ar,locale:zn,pageSizeOptions:jr,showSizeChanger:Er,sizeChangerRender:Rr}))))},it=Qe},89787:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Wt}});var b=ae(59301),oe=ae(17835),ye=ae(29679),De=ae(40001),de=ae(19248),ve=ae(99267),re=ae(92310),se=ae.n(re),fe=ae(2738),E=ae(48755),te=ae(54476),ne=ae(33885),ge=ae(75931),we={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},xe=function(){var zt=(0,b.useRef)([]),un=(0,b.useRef)(null);return(0,b.useEffect)(function(){var mn=Date.now(),Et=!1;zt.current.forEach(function(Ht){if(Ht){Et=!0;var Jt=Ht.style;Jt.transitionDuration=".3s, .3s, .3s, .06s",un.current&&mn-un.current<100&&(Jt.transitionDuration="0s, 0s")}}),Et&&(un.current=Date.now())}),zt.current},ue=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ee=function(zt){var un=(0,ne.Z)((0,ne.Z)({},we),zt),mn=un.className,Et=un.percent,Ht=un.prefixCls,Jt=un.strokeColor,gn=un.strokeLinecap,Nn=un.strokeWidth,Xn=un.style,gr=un.trailColor,br=un.trailWidth,Yn=un.transition,hr=(0,ge.Z)(un,ue);delete hr.gapPosition;var Wn=Array.isArray(Et)?Et:[Et],xn=Array.isArray(Jt)?Jt:[Jt],Pn=xe(),Tn=Nn/2,An=100-Nn/2,zn="M ".concat(gn==="round"?Tn:0,",").concat(Tn,`
|
|
|
L `).concat(gn==="round"?An:100,",").concat(Tn),Kn="0 0 100 ".concat(Nn),er=0;return b.createElement("svg",(0,te.Z)({className:se()("".concat(Ht,"-line"),mn),viewBox:Kn,preserveAspectRatio:"none",style:Xn},hr),b.createElement("path",{className:"".concat(Ht,"-line-trail"),d:zn,strokeLinecap:gn,stroke:gr,strokeWidth:br||Nn,fillOpacity:"0"}),Wn.map(function(wr,Sr){var Er=1;switch(gn){case"round":Er=1-Nn/100;break;case"square":Er=1-Nn/2/100;break;default:Er=1;break}var Nr={strokeDasharray:"".concat(wr*Er,"px, 100px"),strokeDashoffset:"-".concat(er,"px"),transition:Yn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Br=xn[Sr]||xn[xn.length-1];return er+=wr,b.createElement("path",{key:Sr,className:"".concat(Ht,"-line-path"),d:zn,strokeLinecap:gn,stroke:Br,strokeWidth:Nn,fillOpacity:"0",ref:function(Rr){Pn[Sr]=Rr},style:Nr})}))},Oe=Ee,Ae=ae(76190),Re=ae(42978),Me=ae(47273),be=0,Pe=(0,Me.Z)();function Fe(){var Dt;return Pe?(Dt=be,be+=1):Dt="TEST_OR_SSR",Dt}var _e=function(Dt){var zt=b.useState(),un=(0,Re.Z)(zt,2),mn=un[0],Et=un[1];return b.useEffect(function(){Et("rc_progress_".concat(Fe()))},[]),Dt||mn},Te=function(zt){var un=zt.bg,mn=zt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:un}},mn)};function Ke(Dt,zt){return Object.keys(Dt).map(function(un){var mn=parseFloat(un),Et="".concat(Math.floor(mn*zt),"%");return"".concat(Dt[un]," ").concat(Et)})}var We=b.forwardRef(function(Dt,zt){var un=Dt.prefixCls,mn=Dt.color,Et=Dt.gradientId,Ht=Dt.radius,Jt=Dt.style,gn=Dt.ptg,Nn=Dt.strokeLinecap,Xn=Dt.strokeWidth,gr=Dt.size,br=Dt.gapDegree,Yn=mn&&(0,Ae.Z)(mn)==="object",hr=Yn?"#FFF":void 0,Wn=gr/2,xn=b.createElement("circle",{className:"".concat(un,"-circle-path"),r:Ht,cx:Wn,cy:Wn,stroke:hr,strokeLinecap:Nn,strokeWidth:Xn,opacity:gn===0?0:1,style:Jt,ref:zt});if(!Yn)return xn;var Pn="".concat(Et,"-conic"),Tn=br?"".concat(180+br/2,"deg"):"0deg",An=Ke(mn,(360-br)/360),zn=Ke(mn,1),Kn="conic-gradient(from ".concat(Tn,", ").concat(An.join(", "),")"),er="linear-gradient(to ".concat(br?"bottom":"top",", ").concat(zn.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:Pn},xn),b.createElement("foreignObject",{x:0,y:0,width:gr,height:gr,mask:"url(#".concat(Pn,")")},b.createElement(Te,{bg:er},b.createElement(Te,{bg:Kn}))))}),Ne=We,Ye=100,Je=function(zt,un,mn,Et,Ht,Jt,gn,Nn,Xn,gr){var br=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Yn=mn/100*360*((360-Jt)/360),hr=Jt===0?0:{bottom:0,top:180,left:90,right:-90}[gn],Wn=(100-Et)/100*un;Xn==="round"&&Et!==100&&(Wn+=gr/2,Wn>=un&&(Wn=un-.01));var xn=Ye/2;return{stroke:typeof Nn=="string"?Nn:void 0,strokeDasharray:"".concat(un,"px ").concat(zt),strokeDashoffset:Wn+br,transform:"rotate(".concat(Ht+Yn+hr,"deg)"),transformOrigin:"".concat(xn,"px ").concat(xn,"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}},He=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function lt(Dt){var zt=Dt!=null?Dt:[];return Array.isArray(zt)?zt:[zt]}var ct=function(zt){var un=(0,ne.Z)((0,ne.Z)({},we),zt),mn=un.id,Et=un.prefixCls,Ht=un.steps,Jt=un.strokeWidth,gn=un.trailWidth,Nn=un.gapDegree,Xn=Nn===void 0?0:Nn,gr=un.gapPosition,br=un.trailColor,Yn=un.strokeLinecap,hr=un.style,Wn=un.className,xn=un.strokeColor,Pn=un.percent,Tn=(0,ge.Z)(un,He),An=Ye/2,zn=_e(mn),Kn="".concat(zn,"-gradient"),er=An-Jt/2,wr=Math.PI*2*er,Sr=Xn>0?90+Xn/2:-90,Er=wr*((360-Xn)/360),Nr=(0,Ae.Z)(Ht)==="object"?Ht:{count:Ht,gap:2},Br=Nr.count,jr=Nr.gap,Rr=lt(Pn),Ln=lt(xn),tr=Ln.find(function(kt){return kt&&(0,Ae.Z)(kt)==="object"}),Ar=tr&&(0,Ae.Z)(tr)==="object",yr=Ar?"butt":Yn,Zt=Je(wr,Er,0,100,Sr,Xn,gr,br,yr,Jt),St=xe(),Ot=function(){var Pt=0;return Rr.map(function(xt,en){var on=Ln[en]||Ln[Ln.length-1],cn=Je(wr,Er,Pt,xt,Sr,Xn,gr,on,yr,Jt);return Pt+=xt,b.createElement(Ne,{key:en,color:on,ptg:xt,radius:er,prefixCls:Et,gradientId:Kn,style:cn,strokeLinecap:yr,strokeWidth:Jt,gapDegree:Xn,ref:function($t){St[en]=$t},size:Ye})}).reverse()},Gt=function(){var Pt=Math.round(Br*(Rr[0]/100)),xt=100/Br,en=0;return new Array(Br).fill(null).map(function(on,cn){var Yt=cn<=Pt-1?Ln[0]:br,$t=Yt&&(0,Ae.Z)(Yt)==="object"?"url(#".concat(Kn,")"):void 0,Xt=Je(wr,Er,en,xt,Sr,Xn,gr,Yt,"butt",Jt,jr);return en+=(Er-Xt.strokeDashoffset+jr)*100/Er,b.createElement("circle",{key:cn,className:"".concat(Et,"-circle-path"),r:er,cx:An,cy:An,stroke:$t,strokeWidth:Jt,opacity:1,style:Xt,ref:function(lr){St[cn]=lr}})})};return b.createElement("svg",(0,te.Z)({className:se()("".concat(Et,"-circle"),Wn),viewBox:"0 0 ".concat(Ye," ").concat(Ye),style:hr,id:mn,role:"presentation"},Tn),!Br&&b.createElement("circle",{className:"".concat(Et,"-circle-trail"),r:er,cx:An,cy:An,stroke:br,strokeLinecap:yr,strokeWidth:gn||Jt,style:Zt}),Br?Gt():Ot())},tt=ct,Bt={Line:Oe,Circle:tt},nt=ae(25399),Ue=ae(68361);function Xe(Dt){return!Dt||Dt<0?0:Dt>100?100:Dt}function $e(Dt){let{success:zt,successPercent:un}=Dt,mn=un;return zt&&"progress"in zt&&(mn=zt.progress),zt&&"percent"in zt&&(mn=zt.percent),mn}const qe=Dt=>{let{percent:zt,success:un,successPercent:mn}=Dt;const Et=Xe($e({success:un,successPercent:mn}));return[Et,Xe(Xe(zt)-Et)]},Ve=Dt=>{let{success:zt={},strokeColor:un}=Dt;const{strokeColor:mn}=zt;return[mn||Ue.presetPrimaryColors.green,un||null]},ht=(Dt,zt,un)=>{var mn,Et,Ht,Jt;let gn=-1,Nn=-1;if(zt==="step"){const Xn=un.steps,gr=un.strokeWidth;typeof Dt=="string"||typeof Dt=="undefined"?(gn=Dt==="small"?2:14,Nn=gr!=null?gr:8):typeof Dt=="number"?[gn,Nn]=[Dt,Dt]:[gn=14,Nn=8]=Array.isArray(Dt)?Dt:[Dt.width,Dt.height],gn*=Xn}else if(zt==="line"){const Xn=un==null?void 0:un.strokeWidth;typeof Dt=="string"||typeof Dt=="undefined"?Nn=Xn||(Dt==="small"?6:8):typeof Dt=="number"?[gn,Nn]=[Dt,Dt]:[gn=-1,Nn=8]=Array.isArray(Dt)?Dt:[Dt.width,Dt.height]}else(zt==="circle"||zt==="dashboard")&&(typeof Dt=="string"||typeof Dt=="undefined"?[gn,Nn]=Dt==="small"?[60,60]:[120,120]:typeof Dt=="number"?[gn,Nn]=[Dt,Dt]:Array.isArray(Dt)&&(gn=(Et=(mn=Dt[0])!==null&&mn!==void 0?mn:Dt[1])!==null&&Et!==void 0?Et:120,Nn=(Jt=(Ht=Dt[0])!==null&&Ht!==void 0?Ht:Dt[1])!==null&&Jt!==void 0?Jt:120));return[gn,Nn]},st=3,Nt=Dt=>st/Dt*100;var Tt=Dt=>{const{prefixCls:zt,trailColor:un=null,strokeLinecap:mn="round",gapPosition:Et,gapDegree:Ht,width:Jt=120,type:gn,children:Nn,success:Xn,size:gr=Jt,steps:br}=Dt,[Yn,hr]=ht(gr,"circle");let{strokeWidth:Wn}=Dt;Wn===void 0&&(Wn=Math.max(Nt(Yn),6));const xn={width:Yn,height:hr,fontSize:Yn*.15+6},Pn=b.useMemo(()=>{if(Ht||Ht===0)return Ht;if(gn==="dashboard")return 75},[Ht,gn]),Tn=qe(Dt),An=Et||gn==="dashboard"&&"bottom"||void 0,zn=Object.prototype.toString.call(Dt.strokeColor)==="[object Object]",Kn=Ve({success:Xn,strokeColor:Dt.strokeColor}),er=se()(`${zt}-inner`,{[`${zt}-circle-gradient`]:zn}),wr=b.createElement(tt,{steps:br,percent:br?Tn[1]:Tn,strokeWidth:Wn,trailWidth:Wn,strokeColor:br?Kn[1]:Kn,strokeLinecap:mn,trailColor:un,prefixCls:zt,gapDegree:Pn,gapPosition:An}),Sr=Yn<=20,Er=b.createElement("div",{className:er,style:xn},wr,!Sr&&Nn);return Sr?b.createElement(nt.Z,{title:Nn},Er):Er},bt=ae(36237),Ct=ae(63356),gt=ae(16931),je=ae(51636);const le="--progress-line-stroke-color",ie="--progress-percent",ke=Dt=>{const zt=Dt?"100%":"-100%";return new bt.Keyframes(`antProgress${Dt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${zt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${zt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ge=Dt=>{const{componentCls:zt,iconCls:un}=Dt;return{[zt]:Object.assign(Object.assign({},(0,Ct.Wf)(Dt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Dt.fontSize},[`${zt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${zt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Dt.remainingColor,borderRadius:Dt.lineBorderRadius},[`${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:Dt.defaultColor}},[`${zt}-success-bg, ${zt}-bg`]:{position:"relative",background:Dt.defaultColor,borderRadius:Dt.lineBorderRadius,transition:`all ${Dt.motionDurationSlow} ${Dt.motionEaseInOutCirc}`},[`${zt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${zt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Dt.marginXXS}},[`${zt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${le})`]},height:"100%",width:`calc(1 / var(${ie}) * 100%)`,display:"block"},[`&${zt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${zt}-text-inner`]:{color:Dt.colorWhite,[`&${zt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${zt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Dt.colorSuccess},[`${zt}-text`]:{display:"inline-block",marginInlineStart:Dt.marginXS,color:Dt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[un]:{fontSize:Dt.fontSize},[`&${zt}-text-outer`]:{width:"max-content"},[`&${zt}-text-outer${zt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Dt.marginXS}},[`${zt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,bt.unit)(Dt.paddingXXS)}`,[`&${zt}-text-start`]:{justifyContent:"start"},[`&${zt}-text-end`]:{justifyContent:"end"}},[`&${zt}-status-active`]:{[`${zt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Dt.colorBgContainer,borderRadius:Dt.lineBorderRadius,opacity:0,animationName:ke(),animationDuration:Dt.progressActiveMotionDuration,animationTimingFunction:Dt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${zt}-rtl${zt}-status-active`]:{[`${zt}-bg::before`]:{animationName:ke(!0)}},[`&${zt}-status-exception`]:{[`${zt}-bg`]:{backgroundColor:Dt.colorError},[`${zt}-text`]:{color:Dt.colorError}},[`&${zt}-status-exception ${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:Dt.colorError}},[`&${zt}-status-success`]:{[`${zt}-bg`]:{backgroundColor:Dt.colorSuccess},[`${zt}-text`]:{color:Dt.colorSuccess}},[`&${zt}-status-success ${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:Dt.colorSuccess}}})}},Ie=Dt=>{const{componentCls:zt,iconCls:un}=Dt;return{[zt]:{[`${zt}-circle-trail`]:{stroke:Dt.remainingColor},[`&${zt}-circle ${zt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${zt}-circle ${zt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Dt.circleTextColor,fontSize:Dt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[un]:{fontSize:Dt.circleIconFontSize}},[`${zt}-circle&-status-exception`]:{[`${zt}-text`]:{color:Dt.colorError}},[`${zt}-circle&-status-success`]:{[`${zt}-text`]:{color:Dt.colorSuccess}}},[`${zt}-inline-circle`]:{lineHeight:1,[`${zt}-inner`]:{verticalAlign:"bottom"}}}},pe=Dt=>{const{componentCls:zt}=Dt;return{[zt]:{[`${zt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Dt.progressStepMinWidth,marginInlineEnd:Dt.progressStepMarginInlineEnd,backgroundColor:Dt.remainingColor,transition:`all ${Dt.motionDurationSlow}`,"&-active":{backgroundColor:Dt.defaultColor}}}}}},x=Dt=>{const{componentCls:zt,iconCls:un}=Dt;return{[zt]:{[`${zt}-small&-line, ${zt}-small&-line ${zt}-text ${un}`]:{fontSize:Dt.fontSizeSM}}}},me=Dt=>({circleTextColor:Dt.colorText,defaultColor:Dt.colorInfo,remainingColor:Dt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Dt.fontSize/Dt.fontSizeSM}em`});var Le=(0,gt.I$)("Progress",Dt=>{const zt=Dt.calc(Dt.marginXXS).div(2).equal(),un=(0,je.mergeToken)(Dt,{progressStepMarginInlineEnd:zt,progressStepMinWidth:zt,progressActiveMotionDuration:"2.4s"});return[Ge(un),Ie(un),pe(un),x(un)]},me),Se=function(Dt,zt){var un={};for(var mn in Dt)Object.prototype.hasOwnProperty.call(Dt,mn)&&zt.indexOf(mn)<0&&(un[mn]=Dt[mn]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,mn=Object.getOwnPropertySymbols(Dt);Et<mn.length;Et++)zt.indexOf(mn[Et])<0&&Object.prototype.propertyIsEnumerable.call(Dt,mn[Et])&&(un[mn[Et]]=Dt[mn[Et]]);return un};const Be=Dt=>{let zt=[];return Object.keys(Dt).forEach(un=>{const mn=parseFloat(un.replace(/%/g,""));Number.isNaN(mn)||zt.push({key:mn,value:Dt[un]})}),zt=zt.sort((un,mn)=>un.key-mn.key),zt.map(un=>{let{key:mn,value:Et}=un;return`${Et} ${mn}%`}).join(", ")},Qe=(Dt,zt)=>{const{from:un=Ue.presetPrimaryColors.blue,to:mn=Ue.presetPrimaryColors.blue,direction:Et=zt==="rtl"?"to left":"to right"}=Dt,Ht=Se(Dt,["from","to","direction"]);if(Object.keys(Ht).length!==0){const gn=Be(Ht),Nn=`linear-gradient(${Et}, ${gn})`;return{background:Nn,[le]:Nn}}const Jt=`linear-gradient(${Et}, ${un}, ${mn})`;return{background:Jt,[le]:Jt}};var ot=Dt=>{const{prefixCls:zt,direction:un,percent:mn,size:Et,strokeWidth:Ht,strokeColor:Jt,strokeLinecap:gn="round",children:Nn,trailColor:Xn=null,percentPosition:gr,success:br}=Dt,{align:Yn,type:hr}=gr,Wn=Jt&&typeof Jt!="string"?Qe(Jt,un):{[le]:Jt,background:Jt},xn=gn==="square"||gn==="butt"?0:void 0,Pn=Et!=null?Et:[-1,Ht||(Et==="small"?6:8)],[Tn,An]=ht(Pn,"line",{strokeWidth:Ht}),zn={backgroundColor:Xn||void 0,borderRadius:xn},Kn=Object.assign(Object.assign({width:`${Xe(mn)}%`,height:An,borderRadius:xn},Wn),{[ie]:Xe(mn)/100}),er=$e(Dt),wr={width:`${Xe(er)}%`,height:An,borderRadius:xn,backgroundColor:br==null?void 0:br.strokeColor},Sr={width:Tn<0?"100%":Tn},Er=b.createElement("div",{className:`${zt}-inner`,style:zn},b.createElement("div",{className:se()(`${zt}-bg`,`${zt}-bg-${hr}`),style:Kn},hr==="inner"&&Nn),er!==void 0&&b.createElement("div",{className:`${zt}-success-bg`,style:wr})),Nr=hr==="outer"&&Yn==="start",Br=hr==="outer"&&Yn==="end";return hr==="outer"&&Yn==="center"?b.createElement("div",{className:`${zt}-layout-bottom`},Er,Nn):b.createElement("div",{className:`${zt}-outer`,style:Sr},Nr&&Nn,Er,Br&&Nn)},Rt=Dt=>{const{size:zt,steps:un,rounding:mn=Math.round,percent:Et=0,strokeWidth:Ht=8,strokeColor:Jt,trailColor:gn=null,prefixCls:Nn,children:Xn}=Dt,gr=mn(un*(Et/100)),br=zt==="small"?2:14,Yn=zt!=null?zt:[br,Ht],[hr,Wn]=ht(Yn,"step",{steps:un,strokeWidth:Ht}),xn=hr/un,Pn=Array.from({length:un});for(let Tn=0;Tn<un;Tn++){const An=Array.isArray(Jt)?Jt[Tn]:Jt;Pn[Tn]=b.createElement("div",{key:Tn,className:se()(`${Nn}-steps-item`,{[`${Nn}-steps-item-active`]:Tn<=gr-1}),style:{backgroundColor:Tn<=gr-1?An:gn,width:xn,height:Wn}})}return b.createElement("div",{className:`${Nn}-steps-outer`},Pn,Xn)},Ft=function(Dt,zt){var un={};for(var mn in Dt)Object.prototype.hasOwnProperty.call(Dt,mn)&&zt.indexOf(mn)<0&&(un[mn]=Dt[mn]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,mn=Object.getOwnPropertySymbols(Dt);Et<mn.length;Et++)zt.indexOf(mn[Et])<0&&Object.prototype.propertyIsEnumerable.call(Dt,mn[Et])&&(un[mn[Et]]=Dt[mn[Et]]);return un};const rn=null,nn=["normal","exception","active","success"];var qt=b.forwardRef((Dt,zt)=>{const{prefixCls:un,className:mn,rootClassName:Et,steps:Ht,strokeColor:Jt,percent:gn=0,size:Nn="default",showInfo:Xn=!0,type:gr="line",status:br,format:Yn,style:hr,percentPosition:Wn={}}=Dt,xn=Ft(Dt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Pn="end",type:Tn="outer"}=Wn,An=Array.isArray(Jt)?Jt[0]:Jt,zn=typeof Jt=="string"||Array.isArray(Jt)?Jt:void 0,Kn=b.useMemo(()=>{if(An){const Ot=typeof An=="string"?An:Object.values(An)[0];return new oe.FastColor(Ot).isLight()}return!1},[Jt]),er=b.useMemo(()=>{var Ot,Gt;const kt=$e(Dt);return parseInt(kt!==void 0?(Ot=kt!=null?kt:0)===null||Ot===void 0?void 0:Ot.toString():(Gt=gn!=null?gn:0)===null||Gt===void 0?void 0:Gt.toString(),10)},[gn,Dt.success,Dt.successPercent]),wr=b.useMemo(()=>!nn.includes(br)&&er>=100?"success":br||"normal",[br,er]),{getPrefixCls:Sr,direction:Er,progress:Nr}=b.useContext(E.E_),Br=Sr("progress",un),[jr,Rr,Ln]=Le(Br),tr=gr==="line",Ar=tr&&!Ht,yr=b.useMemo(()=>{if(!Xn)return null;const Ot=$e(Dt);let Gt;const kt=Yn||(xt=>`${xt}%`),Pt=tr&&Kn&&Tn==="inner";return Tn==="inner"||Yn||wr!=="exception"&&wr!=="success"?Gt=kt(Xe(gn),Xe(Ot)):wr==="exception"?Gt=tr?b.createElement(de.Z,null):b.createElement(ve.Z,null):wr==="success"&&(Gt=tr?b.createElement(ye.Z,null):b.createElement(De.Z,null)),b.createElement("span",{className:se()(`${Br}-text`,{[`${Br}-text-bright`]:Pt,[`${Br}-text-${Pn}`]:Ar,[`${Br}-text-${Tn}`]:Ar}),title:typeof Gt=="string"?Gt:void 0},Gt)},[Xn,gn,er,wr,gr,Br,Yn]);let Zt;gr==="line"?Zt=Ht?b.createElement(Rt,Object.assign({},Dt,{strokeColor:zn,prefixCls:Br,steps:typeof Ht=="object"?Ht.count:Ht}),yr):b.createElement(ot,Object.assign({},Dt,{strokeColor:An,prefixCls:Br,direction:Er,percentPosition:{align:Pn,type:Tn}}),yr):(gr==="circle"||gr==="dashboard")&&(Zt=b.createElement(Tt,Object.assign({},Dt,{strokeColor:An,prefixCls:Br,progressStatus:wr}),yr));const St=se()(Br,`${Br}-status-${wr}`,{[`${Br}-${gr==="dashboard"&&"circle"||gr}`]:gr!=="line",[`${Br}-inline-circle`]:gr==="circle"&&ht(Nn,"circle")[0]<=20,[`${Br}-line`]:Ar,[`${Br}-line-align-${Pn}`]:Ar,[`${Br}-line-position-${Tn}`]:Ar,[`${Br}-steps`]:Ht,[`${Br}-show-info`]:Xn,[`${Br}-${Nn}`]:typeof Nn=="string",[`${Br}-rtl`]:Er==="rtl"},Nr==null?void 0:Nr.className,mn,Et,Rr,Ln);return jr(b.createElement("div",Object.assign({ref:zt,style:Object.assign(Object.assign({},Nr==null?void 0:Nr.style),hr),className:St,role:"progressbar","aria-valuenow":er,"aria-valuemin":0,"aria-valuemax":100},(0,fe.Z)(xn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Zt))}),Wt=qt},63139:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return qe}});var b=ae(59301),oe=ae(54476),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},De=ye,de=ae(7657),ve=function(ht,st){return b.createElement(de.Z,(0,oe.Z)({},ht,{ref:st,icon:De}))},re=b.forwardRef(ve),se=re,fe=ae(92310),E=ae.n(fe),te=ae(20068),ne=ae(42978),ge=ae(75931),we=ae(18929),xe=ae(10228),ue=ae(26112);function Ee(Ve,ht){var st=Ve.disabled,Nt=Ve.prefixCls,dt=Ve.character,Tt=Ve.characterRender,bt=Ve.index,Ct=Ve.count,gt=Ve.value,je=Ve.allowHalf,le=Ve.focused,ie=Ve.onHover,ke=Ve.onClick,Ge=function(Qe){ie(Qe,bt)},Ie=function(Qe){ke(Qe,bt)},pe=function(Qe){Qe.keyCode===xe.Z.ENTER&&ke(Qe,bt)},x=bt+1,me=new Set([Nt]);gt===0&&bt===0&&le?me.add("".concat(Nt,"-focused")):je&>+.5>=x&><x?(me.add("".concat(Nt,"-half")),me.add("".concat(Nt,"-active")),le&&me.add("".concat(Nt,"-focused"))):(x<=gt?me.add("".concat(Nt,"-full")):me.add("".concat(Nt,"-zero")),x===gt&&le&&me.add("".concat(Nt,"-focused")));var Le=typeof dt=="function"?dt(Ve):dt,Se=b.createElement("li",{className:E()(Array.from(me)),ref:ht},b.createElement("div",{onClick:st?null:Ie,onKeyDown:st?null:pe,onMouseMove:st?null:Ge,role:"radio","aria-checked":gt>bt?"true":"false","aria-posinset":bt+1,"aria-setsize":Ct,tabIndex:st?-1:0},b.createElement("div",{className:"".concat(Nt,"-first")},Le),b.createElement("div",{className:"".concat(Nt,"-second")},Le)));return Tt&&(Se=Tt(Se,Ve)),Se}var Oe=b.forwardRef(Ee);function Ae(){var Ve=b.useRef({});function ht(Nt){return Ve.current[Nt]}function st(Nt){return function(dt){Ve.current[Nt]=dt}}return[ht,st]}function Re(Ve){var ht=Ve.pageXOffset,st="scrollLeft";if(typeof ht!="number"){var Nt=Ve.document;ht=Nt.documentElement[st],typeof ht!="number"&&(ht=Nt.body[st])}return ht}function Me(Ve){var ht,st,Nt=Ve.ownerDocument,dt=Nt.body,Tt=Nt&&Nt.documentElement,bt=Ve.getBoundingClientRect();return ht=bt.left,st=bt.top,ht-=Tt.clientLeft||dt.clientLeft||0,st-=Tt.clientTop||dt.clientTop||0,{left:ht,top:st}}function be(Ve){var ht=Me(Ve),st=Ve.ownerDocument,Nt=st.defaultView||st.parentWindow;return ht.left+=Re(Nt),ht.left}var Pe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Fe(Ve,ht){var st=Ve.prefixCls,Nt=st===void 0?"rc-rate":st,dt=Ve.className,Tt=Ve.defaultValue,bt=Ve.value,Ct=Ve.count,gt=Ct===void 0?5:Ct,je=Ve.allowHalf,le=je===void 0?!1:je,ie=Ve.allowClear,ke=ie===void 0?!0:ie,Ge=Ve.keyboard,Ie=Ge===void 0?!0:Ge,pe=Ve.character,x=pe===void 0?"\u2605":pe,me=Ve.characterRender,Le=Ve.disabled,Se=Ve.direction,Be=Se===void 0?"ltr":Se,Qe=Ve.tabIndex,it=Qe===void 0?0:Qe,ot=Ve.autoFocus,at=Ve.onHoverChange,Rt=Ve.onChange,Ft=Ve.onFocus,rn=Ve.onBlur,nn=Ve.onKeyDown,Lt=Ve.onMouseLeave,qt=(0,ge.Z)(Ve,Pe),Wt=Ae(),Dt=(0,ne.Z)(Wt,2),zt=Dt[0],un=Dt[1],mn=b.useRef(null),Et=function(){if(!Le){var yr;(yr=mn.current)===null||yr===void 0||yr.focus()}};b.useImperativeHandle(ht,function(){return{focus:Et,blur:function(){if(!Le){var yr;(yr=mn.current)===null||yr===void 0||yr.blur()}}}});var Ht=(0,we.Z)(Tt||0,{value:bt}),Jt=(0,ne.Z)(Ht,2),gn=Jt[0],Nn=Jt[1],Xn=(0,we.Z)(null),gr=(0,ne.Z)(Xn,2),br=gr[0],Yn=gr[1],hr=function(yr,Zt){var St=Be==="rtl",Ot=yr+1;if(le){var Gt=zt(yr),kt=be(Gt),Pt=Gt.clientWidth;(St&&Zt-kt>Pt/2||!St&&Zt-kt<Pt/2)&&(Ot-=.5)}return Ot},Wn=function(yr){Nn(yr),Rt==null||Rt(yr)},xn=b.useState(!1),Pn=(0,ne.Z)(xn,2),Tn=Pn[0],An=Pn[1],zn=function(){An(!0),Ft==null||Ft()},Kn=function(){An(!1),rn==null||rn()},er=b.useState(null),wr=(0,ne.Z)(er,2),Sr=wr[0],Er=wr[1],Nr=function(yr,Zt){var St=hr(Zt,yr.pageX);St!==br&&(Er(St),Yn(null)),at==null||at(St)},Br=function(yr){Le||(Er(null),Yn(null),at==null||at(void 0)),yr&&(Lt==null||Lt(yr))},jr=function(yr,Zt){var St=hr(Zt,yr.pageX),Ot=!1;ke&&(Ot=St===gn),Br(),Wn(Ot?0:St),Yn(Ot?St:null)},Rr=function(yr){var Zt=yr.keyCode,St=Be==="rtl",Ot=le?.5:1;Ie&&(Zt===xe.Z.RIGHT&&gn<gt&&!St?(Wn(gn+Ot),yr.preventDefault()):Zt===xe.Z.LEFT&&gn>0&&!St||Zt===xe.Z.RIGHT&&gn>0&&St?(Wn(gn-Ot),yr.preventDefault()):Zt===xe.Z.LEFT&&gn<gt&&St&&(Wn(gn+Ot),yr.preventDefault())),nn==null||nn(yr)};b.useEffect(function(){ot&&!Le&&Et()},[]);var Ln=new Array(gt).fill(0).map(function(Ar,yr){return b.createElement(Oe,{ref:un(yr),index:yr,count:gt,disabled:Le,prefixCls:"".concat(Nt,"-star"),allowHalf:le,value:Sr===null?gn:Sr,onClick:jr,onHover:Nr,key:Ar||yr,character:x,characterRender:me,focused:Tn})}),tr=E()(Nt,dt,(0,te.Z)((0,te.Z)({},"".concat(Nt,"-disabled"),Le),"".concat(Nt,"-rtl"),Be==="rtl"));return b.createElement("ul",(0,oe.Z)({className:tr,onMouseLeave:Br,tabIndex:Le?-1:it,onFocus:Le?null:zn,onBlur:Le?null:Kn,onKeyDown:Le?null:Rr,ref:mn},(0,ue.Z)(qt,{aria:!0,data:!0,attr:!0})),Ln)}var _e=b.forwardRef(Fe),Te=_e,Ke=ae(48755),We=ae(25399),Ne=ae(36237),Ye=ae(63356),Je=ae(16931),He=ae(51636);const lt=Ve=>{const{componentCls:ht}=Ve;return{[`${ht}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ve.marginXS},"> div":{transition:`all ${Ve.motionDurationMid}, outline 0s`,"&:hover":{transform:Ve.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,Ne.unit)(Ve.lineWidth)} dashed ${Ve.starColor}`,transform:Ve.starHoverScale}},"&-first, &-second":{color:Ve.starBg,transition:`all ${Ve.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${ht}-star-first, &-half ${ht}-star-second`]:{opacity:1},[`&-half ${ht}-star-first, &-full ${ht}-star-second`]:{color:"inherit"}}}},ct=Ve=>({[`&-rtl${Ve.componentCls}`]:{direction:"rtl"}}),tt=Ve=>{const{componentCls:ht}=Ve;return{[ht]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(Ve)),{display:"inline-block",margin:0,padding:0,color:Ve.starColor,fontSize:Ve.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${ht} ${ht}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),lt(Ve)),ct(Ve))}},Bt=Ve=>({starColor:Ve.yellow6,starSize:Ve.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ve.colorFillContent});var nt=(0,Je.I$)("Rate",Ve=>{const ht=(0,He.mergeToken)(Ve,{});return[tt(ht)]},Bt),Ue=ae(2171),Xe=function(Ve,ht){var st={};for(var Nt in Ve)Object.prototype.hasOwnProperty.call(Ve,Nt)&&ht.indexOf(Nt)<0&&(st[Nt]=Ve[Nt]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,Nt=Object.getOwnPropertySymbols(Ve);dt<Nt.length;dt++)ht.indexOf(Nt[dt])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Nt[dt])&&(st[Nt[dt]]=Ve[Nt[dt]]);return st},qe=b.forwardRef((Ve,ht)=>{const{prefixCls:st,className:Nt,rootClassName:dt,style:Tt,tooltips:bt,character:Ct=b.createElement(se,null),disabled:gt}=Ve,je=Xe(Ve,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),le=(Qe,it)=>{let{index:ot}=it;return bt?b.createElement(We.Z,{title:bt[ot]},Qe):Qe},{getPrefixCls:ie,direction:ke,rate:Ge}=b.useContext(Ke.E_),Ie=ie("rate",st),[pe,x,me]=nt(Ie),Le=Object.assign(Object.assign({},Ge==null?void 0:Ge.style),Tt),Se=b.useContext(Ue.Z),Be=gt!=null?gt:Se;return pe(b.createElement(Te,Object.assign({ref:ht,character:Ct,characterRender:le,disabled:Be},je,{className:E()(Nt,dt,x,me,Ge==null?void 0:Ge.className),style:Le,prefixCls:Ie,direction:ke})))})},82326:function(Un,pn,ae){"use strict";var b=ae(59301),oe=ae(92310),ye=ae.n(oe),De=ae(37463),de=ae(2738),ve=ae(75030),re=ae(86641),se=ae(45915),fe=ae(82855),E=ae(48755),te=ae(38406),ne=ae(2171),ge=ae(83397),we=ae(31756),xe=ae(56553),ue=ae(24971),Ee=ae(70045),Oe=ae(57700),Ae=ae(1722),Re=ae(90376),Me=ae(68525),be=ae(90005),Pe=function(We,Ne){var Ye={};for(var Je in We)Object.prototype.hasOwnProperty.call(We,Je)&&Ne.indexOf(Je)<0&&(Ye[Je]=We[Je]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Je=Object.getOwnPropertySymbols(We);He<Je.length;He++)Ne.indexOf(Je[He])<0&&Object.prototype.propertyIsEnumerable.call(We,Je[He])&&(Ye[Je[He]]=We[Je[He]]);return Ye};const Fe="SECRET_COMBOBOX_MODE_DO_NOT_USE",_e=(We,Ne)=>{var Ye;const{prefixCls:Je,bordered:He,className:lt,rootClassName:ct,getPopupContainer:tt,popupClassName:Bt,dropdownClassName:nt,listHeight:Ue=256,placement:Xe,listItemHeight:$e,size:qe,disabled:Ve,notFoundContent:ht,status:st,builtinPlacements:Nt,dropdownMatchSelectWidth:dt,popupMatchSelectWidth:Tt,direction:bt,style:Ct,allowClear:gt,variant:je,dropdownStyle:le,transitionName:ie,tagRender:ke,maxCount:Ge,prefix:Ie}=We,pe=Pe(We,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:x,getPrefixCls:me,renderEmpty:Le,direction:Se,virtual:Be,popupMatchSelectWidth:Qe,popupOverflow:it}=b.useContext(E.E_),ot=(0,E.dj)("select"),[,at]=(0,Oe.ZP)(),Rt=$e!=null?$e:at==null?void 0:at.controlHeight,Ft=me("select",Je),rn=me(),nn=bt!=null?bt:Se,{compactSize:Lt,compactItemClassnames:qt}=(0,Ee.ri)(Ft,nn),[Wt,Dt]=(0,ue.Z)("select",je,He),zt=(0,ge.Z)(Ft),[un,mn,Et]=(0,Re.Z)(Ft,zt),Ht=b.useMemo(()=>{const{mode:Rr}=We;if(Rr!=="combobox")return Rr===Fe?"combobox":Rr},[We.mode]),Jt=Ht==="multiple"||Ht==="tags",gn=(0,be.Z)(We.suffixIcon,We.showArrow),Nn=(Ye=Tt!=null?Tt:dt)!==null&&Ye!==void 0?Ye:Qe,{status:Xn,hasFeedback:gr,isFormItemInput:br,feedbackIcon:Yn}=b.useContext(xe.aM),hr=(0,fe.F)(Xn,st);let Wn;ht!==void 0?Wn=ht:Ht==="combobox"?Wn=null:Wn=(Le==null?void 0:Le("Select"))||b.createElement(te.Z,{componentName:"Select"});const{suffixIcon:xn,itemIcon:Pn,removeIcon:Tn,clearIcon:An}=(0,Me.Z)(Object.assign(Object.assign({},pe),{multiple:Jt,hasFeedback:gr,feedbackIcon:Yn,showSuffixIcon:gn,prefixCls:Ft,componentName:"Select"})),zn=gt===!0?{clearIcon:An}:gt,Kn=(0,de.Z)(pe,["suffixIcon","itemIcon"]),er=ye()(Bt||nt,{[`${Ft}-dropdown-${nn}`]:nn==="rtl"},ct,Et,zt,mn),wr=(0,we.Z)(Rr=>{var Ln;return(Ln=qe!=null?qe:Lt)!==null&&Ln!==void 0?Ln:Rr}),Sr=b.useContext(ne.Z),Er=Ve!=null?Ve:Sr,Nr=ye()({[`${Ft}-lg`]:wr==="large",[`${Ft}-sm`]:wr==="small",[`${Ft}-rtl`]:nn==="rtl",[`${Ft}-${Wt}`]:Dt,[`${Ft}-in-form-item`]:br},(0,fe.Z)(Ft,hr,gr),qt,ot.className,lt,ct,Et,zt,mn),Br=b.useMemo(()=>Xe!==void 0?Xe:nn==="rtl"?"bottomRight":"bottomLeft",[Xe,nn]),[jr]=(0,ve.Cn)("SelectLike",le==null?void 0:le.zIndex);return un(b.createElement(De.ZP,Object.assign({ref:Ne,virtual:Be,showSearch:ot.showSearch},Kn,{style:Object.assign(Object.assign({},ot.style),Ct),dropdownMatchSelectWidth:Nn,transitionName:(0,re.m)(rn,"slide-up",ie),builtinPlacements:(0,Ae.Z)(Nt,it),listHeight:Ue,listItemHeight:Rt,mode:Ht,prefixCls:Ft,placement:Br,direction:nn,prefix:Ie,suffixIcon:xn,menuItemSelectedIcon:Pn,removeIcon:Tn,allowClear:zn,notFoundContent:Wn,className:Nr,getPopupContainer:tt||x,dropdownClassName:er,disabled:Er,dropdownStyle:Object.assign(Object.assign({},le),{zIndex:jr}),maxCount:Jt?Ge:void 0,tagRender:Jt?ke:void 0})))},Te=b.forwardRef(_e),Ke=(0,se.Z)(Te,"dropdownAlign");Te.SECRET_COMBOBOX_MODE_DO_NOT_USE=Fe,Te.Option=De.Wx,Te.OptGroup=De.Xo,Te._InternalPanelDoNotUseOrYouWillBeFired=Ke,pn.default=Te},1722:function(Un,pn){"use strict";const ae=oe=>{const De={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:oe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},De),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},De),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},De),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},De),{points:["br","tr"],offset:[0,-4]})}};function b(oe,ye){return oe||ae(ye)}pn.Z=b},90376:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Je}});var b=ae(63356),oe=ae(56119),ye=ae(16931),De=ae(51636),de=ae(46e3),ve=ae(93873);const re=He=>{const{optionHeight:lt,optionFontSize:ct,optionLineHeight:tt,optionPadding:Bt}=He;return{position:"relative",display:"block",minHeight:lt,padding:Bt,color:He.colorText,fontWeight:"normal",fontSize:ct,lineHeight:tt,boxSizing:"border-box"}};var fe=He=>{const{antCls:lt,componentCls:ct}=He,tt=`${ct}-item`,Bt=`&${lt}-slide-up-enter${lt}-slide-up-enter-active`,nt=`&${lt}-slide-up-appear${lt}-slide-up-appear-active`,Ue=`&${lt}-slide-up-leave${lt}-slide-up-leave-active`,Xe=`${ct}-dropdown-placement-`,$e=`${tt}-option-selected`;return[{[`${ct}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(He)),{position:"absolute",top:-9999,zIndex:He.zIndexPopup,boxSizing:"border-box",padding:He.paddingXXS,overflow:"hidden",fontSize:He.fontSize,fontVariant:"initial",backgroundColor:He.colorBgElevated,borderRadius:He.borderRadiusLG,outline:"none",boxShadow:He.boxShadowSecondary,[`
|
|
|
${Bt}${Xe}bottomLeft,
|
|
|
${nt}${Xe}bottomLeft
|
|
|
`]:{animationName:de.fJ},[`
|
|
|
${Bt}${Xe}topLeft,
|
|
|
${nt}${Xe}topLeft,
|
|
|
${Bt}${Xe}topRight,
|
|
|
${nt}${Xe}topRight
|
|
|
`]:{animationName:de.Qt},[`${Ue}${Xe}bottomLeft`]:{animationName:de.Uw},[`
|
|
|
${Ue}${Xe}topLeft,
|
|
|
${Ue}${Xe}topRight
|
|
|
`]:{animationName:de.ly},"&-hidden":{display:"none"},[tt]:Object.assign(Object.assign({},re(He)),{cursor:"pointer",transition:`background ${He.motionDurationSlow} ease`,borderRadius:He.borderRadiusSM,"&-group":{color:He.colorTextDescription,fontSize:He.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${tt}-option-disabled)`]:{backgroundColor:He.optionActiveBg},[`&-selected:not(${tt}-option-disabled)`]:{color:He.optionSelectedColor,fontWeight:He.optionSelectedFontWeight,backgroundColor:He.optionSelectedBg,[`${tt}-option-state`]:{color:He.colorPrimary}},"&-disabled":{[`&${tt}-option-selected`]:{backgroundColor:He.colorBgContainerDisabled},color:He.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:He.calc(He.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},re(He)),{color:He.colorTextDisabled})}),[`${$e}:has(+ ${$e})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${$e}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,de.oN)(He,"slide-up"),(0,de.oN)(He,"slide-down"),(0,ve.Fm)(He,"move-up"),(0,ve.Fm)(He,"move-down")]},E=ae(26743),te=ae(36237);function ne(He,lt){const{componentCls:ct,inputPaddingHorizontalBase:tt,borderRadius:Bt}=He,nt=He.calc(He.controlHeight).sub(He.calc(He.lineWidth).mul(2)).equal(),Ue=lt?`${ct}-${lt}`:"";return{[`${ct}-single${Ue}`]:{fontSize:He.fontSize,height:He.controlHeight,[`${ct}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(He,!0)),{display:"flex",borderRadius:Bt,flex:"1 1 auto",[`${ct}-selection-wrap:after`]:{lineHeight:(0,te.unit)(nt)},[`${ct}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${ct}-selection-item,
|
|
|
${ct}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,te.unit)(nt),transition:`all ${He.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${ct}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ct}-selection-item:empty:after`,`${ct}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${ct}-show-arrow ${ct}-selection-item,
|
|
|
&${ct}-show-arrow ${ct}-selection-search,
|
|
|
&${ct}-show-arrow ${ct}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:He.showArrowPaddingInlineEnd},[`&${ct}-open ${ct}-selection-item`]:{color:He.colorTextPlaceholder},[`&:not(${ct}-customize-input)`]:{[`${ct}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,te.unit)(tt)}`,[`${ct}-selection-search-input`]:{height:nt,fontSize:He.fontSize},"&:after":{lineHeight:(0,te.unit)(nt)}}},[`&${ct}-customize-input`]:{[`${ct}-selector`]:{"&:after":{display:"none"},[`${ct}-selection-search`]:{position:"static",width:"100%"},[`${ct}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,te.unit)(tt)}`,"&:after":{display:"none"}}}}}}}function ge(He){const{componentCls:lt}=He,ct=He.calc(He.controlPaddingHorizontalSM).sub(He.lineWidth).equal();return[ne(He),ne((0,De.mergeToken)(He,{controlHeight:He.controlHeightSM,borderRadius:He.borderRadiusSM}),"sm"),{[`${lt}-single${lt}-sm`]:{[`&:not(${lt}-customize-input)`]:{[`${lt}-selector`]:{padding:`0 ${(0,te.unit)(ct)}`},[`&${lt}-show-arrow ${lt}-selection-search`]:{insetInlineEnd:He.calc(ct).add(He.calc(He.fontSize).mul(1.5)).equal()},[`
|
|
|
&${lt}-show-arrow ${lt}-selection-item,
|
|
|
&${lt}-show-arrow ${lt}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:He.calc(He.fontSize).mul(1.5).equal()}}}},ne((0,De.mergeToken)(He,{controlHeight:He.singleItemHeightLG,fontSize:He.fontSizeLG,borderRadius:He.borderRadiusLG}),"lg")]}const we=He=>{const{fontSize:lt,lineHeight:ct,lineWidth:tt,controlHeight:Bt,controlHeightSM:nt,controlHeightLG:Ue,paddingXXS:Xe,controlPaddingHorizontal:$e,zIndexPopupBase:qe,colorText:Ve,fontWeightStrong:ht,controlItemBgActive:st,controlItemBgHover:Nt,colorBgContainer:dt,colorFillSecondary:Tt,colorBgContainerDisabled:bt,colorTextDisabled:Ct,colorPrimaryHover:gt,colorPrimary:je,controlOutline:le}=He,ie=Xe*2,ke=tt*2,Ge=Math.min(Bt-ie,Bt-ke),Ie=Math.min(nt-ie,nt-ke),pe=Math.min(Ue-ie,Ue-ke);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Xe/2),zIndexPopup:qe+50,optionSelectedColor:Ve,optionSelectedFontWeight:ht,optionSelectedBg:st,optionActiveBg:Nt,optionPadding:`${(Bt-lt*ct)/2}px ${$e}px`,optionFontSize:lt,optionLineHeight:ct,optionHeight:Bt,selectorBg:dt,clearBg:dt,singleItemHeightLG:Ue,multipleItemBg:Tt,multipleItemBorderColor:"transparent",multipleItemHeight:Ge,multipleItemHeightSM:Ie,multipleItemHeightLG:pe,multipleSelectorBgDisabled:bt,multipleItemColorDisabled:Ct,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(He.fontSize*1.25),hoverBorderColor:gt,activeBorderColor:je,activeOutlineColor:le,selectAffixPadding:Xe}},xe=(He,lt)=>{const{componentCls:ct,antCls:tt,controlOutlineWidth:Bt}=He;return{[`&:not(${ct}-customize-input) ${ct}-selector`]:{border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} ${lt.borderColor}`,background:He.selectorBg},[`&:not(${ct}-disabled):not(${ct}-customize-input):not(${tt}-pagination-size-changer)`]:{[`&:hover ${ct}-selector`]:{borderColor:lt.hoverBorderHover},[`${ct}-focused& ${ct}-selector`]:{borderColor:lt.activeBorderColor,boxShadow:`0 0 0 ${(0,te.unit)(Bt)} ${lt.activeOutlineColor}`,outline:0},[`${ct}-prefix`]:{color:lt.color}}}},ue=(He,lt)=>({[`&${He.componentCls}-status-${lt.status}`]:Object.assign({},xe(He,lt))}),Ee=He=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},xe(He,{borderColor:He.colorBorder,hoverBorderHover:He.hoverBorderColor,activeBorderColor:He.activeBorderColor,activeOutlineColor:He.activeOutlineColor,color:He.colorText})),ue(He,{status:"error",borderColor:He.colorError,hoverBorderHover:He.colorErrorHover,activeBorderColor:He.colorError,activeOutlineColor:He.colorErrorOutline,color:He.colorError})),ue(He,{status:"warning",borderColor:He.colorWarning,hoverBorderHover:He.colorWarningHover,activeBorderColor:He.colorWarning,activeOutlineColor:He.colorWarningOutline,color:He.colorWarning})),{[`&${He.componentCls}-disabled`]:{[`&:not(${He.componentCls}-customize-input) ${He.componentCls}-selector`]:{background:He.colorBgContainerDisabled,color:He.colorTextDisabled}},[`&${He.componentCls}-multiple ${He.componentCls}-selection-item`]:{background:He.multipleItemBg,border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} ${He.multipleItemBorderColor}`}})}),Oe=(He,lt)=>{const{componentCls:ct,antCls:tt}=He;return{[`&:not(${ct}-customize-input) ${ct}-selector`]:{background:lt.bg,border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} transparent`,color:lt.color},[`&:not(${ct}-disabled):not(${ct}-customize-input):not(${tt}-pagination-size-changer)`]:{[`&:hover ${ct}-selector`]:{background:lt.hoverBg},[`${ct}-focused& ${ct}-selector`]:{background:He.selectorBg,borderColor:lt.activeBorderColor,outline:0}}}},Ae=(He,lt)=>({[`&${He.componentCls}-status-${lt.status}`]:Object.assign({},Oe(He,lt))}),Re=He=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Oe(He,{bg:He.colorFillTertiary,hoverBg:He.colorFillSecondary,activeBorderColor:He.activeBorderColor,color:He.colorText})),Ae(He,{status:"error",bg:He.colorErrorBg,hoverBg:He.colorErrorBgHover,activeBorderColor:He.colorError,color:He.colorError})),Ae(He,{status:"warning",bg:He.colorWarningBg,hoverBg:He.colorWarningBgHover,activeBorderColor:He.colorWarning,color:He.colorWarning})),{[`&${He.componentCls}-disabled`]:{[`&:not(${He.componentCls}-customize-input) ${He.componentCls}-selector`]:{borderColor:He.colorBorder,background:He.colorBgContainerDisabled,color:He.colorTextDisabled}},[`&${He.componentCls}-multiple ${He.componentCls}-selection-item`]:{background:He.colorBgContainer,border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} ${He.colorSplit}`}})}),Me=He=>({"&-borderless":{[`${He.componentCls}-selector`]:{background:"transparent",border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} transparent`},[`&${He.componentCls}-disabled`]:{[`&:not(${He.componentCls}-customize-input) ${He.componentCls}-selector`]:{color:He.colorTextDisabled}},[`&${He.componentCls}-multiple ${He.componentCls}-selection-item`]:{background:He.multipleItemBg,border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} ${He.multipleItemBorderColor}`},[`&${He.componentCls}-status-error`]:{[`${He.componentCls}-prefix, ${He.componentCls}-selection-item`]:{color:He.colorError}},[`&${He.componentCls}-status-warning`]:{[`${He.componentCls}-prefix, ${He.componentCls}-selection-item`]:{color:He.colorWarning}}}}),be=(He,lt)=>{const{componentCls:ct,antCls:tt}=He;return{[`&:not(${ct}-customize-input) ${ct}-selector`]:{borderWidth:`0 0 ${(0,te.unit)(He.lineWidth)} 0`,borderStyle:`none none ${He.lineType} none`,borderColor:lt.borderColor,background:He.selectorBg,borderRadius:0},[`&:not(${ct}-disabled):not(${ct}-customize-input):not(${tt}-pagination-size-changer)`]:{[`&:hover ${ct}-selector`]:{borderColor:lt.hoverBorderHover},[`${ct}-focused& ${ct}-selector`]:{borderColor:lt.activeBorderColor,outline:0},[`${ct}-prefix`]:{color:lt.color}}}},Pe=(He,lt)=>({[`&${He.componentCls}-status-${lt.status}`]:Object.assign({},be(He,lt))}),Fe=He=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},be(He,{borderColor:He.colorBorder,hoverBorderHover:He.hoverBorderColor,activeBorderColor:He.activeBorderColor,activeOutlineColor:He.activeOutlineColor,color:He.colorText})),Pe(He,{status:"error",borderColor:He.colorError,hoverBorderHover:He.colorErrorHover,activeBorderColor:He.colorError,activeOutlineColor:He.colorErrorOutline,color:He.colorError})),Pe(He,{status:"warning",borderColor:He.colorWarning,hoverBorderHover:He.colorWarningHover,activeBorderColor:He.colorWarning,activeOutlineColor:He.colorWarningOutline,color:He.colorWarning})),{[`&${He.componentCls}-disabled`]:{[`&:not(${He.componentCls}-customize-input) ${He.componentCls}-selector`]:{color:He.colorTextDisabled}},[`&${He.componentCls}-multiple ${He.componentCls}-selection-item`]:{background:He.multipleItemBg,border:`${(0,te.unit)(He.lineWidth)} ${He.lineType} ${He.multipleItemBorderColor}`}})});var Te=He=>({[He.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Ee(He)),Re(He)),Me(He)),Fe(He))});const Ke=He=>{const{componentCls:lt}=He;return{position:"relative",transition:`all ${He.motionDurationMid} ${He.motionEaseInOut}`,input:{cursor:"pointer"},[`${lt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${lt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},We=He=>{const{componentCls:lt}=He;return{[`${lt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Ne=He=>{const{antCls:lt,componentCls:ct,inputPaddingHorizontalBase:tt,iconCls:Bt}=He;return{[ct]:Object.assign(Object.assign({},(0,b.Wf)(He)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ct}-customize-input) ${ct}-selector`]:Object.assign(Object.assign({},Ke(He)),We(He)),[`${ct}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${lt}-typography`]:{display:"inline"}}),[`${ct}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:He.colorTextPlaceholder,pointerEvents:"none"}),[`${ct}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:tt,height:He.fontSizeIcon,marginTop:He.calc(He.fontSizeIcon).mul(-1).div(2).equal(),color:He.colorTextQuaternary,fontSize:He.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${He.motionDurationSlow} ease`,[Bt]:{verticalAlign:"top",transition:`transform ${He.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${ct}-suffix)`]:{pointerEvents:"auto"}},[`${ct}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${ct}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${ct}-prefix`]:{flex:"none",marginInlineEnd:He.selectAffixPadding},[`${ct}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:tt,zIndex:1,display:"inline-block",width:He.fontSizeIcon,height:He.fontSizeIcon,marginTop:He.calc(He.fontSizeIcon).mul(-1).div(2).equal(),color:He.colorTextQuaternary,fontSize:He.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${He.motionDurationMid} ease, opacity ${He.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:He.colorTextTertiary}},[`&:hover ${ct}-clear`]:{opacity:1,background:He.colorBgBase,borderRadius:"50%"}}),[`${ct}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ct}-has-feedback`]:{[`${ct}-clear`]:{insetInlineEnd:He.calc(tt).add(He.fontSize).add(He.paddingXS).equal()}}}}}},Ye=He=>{const{componentCls:lt}=He;return[{[lt]:{[`&${lt}-in-form-item`]:{width:"100%"}}},Ne(He),ge(He),(0,E.ZP)(He),fe(He),{[`${lt}-rtl`]:{direction:"rtl"}},(0,oe.c)(He,{borderElCls:`${lt}-selector`,focusElCls:`${lt}-focused`})]};var Je=(0,ye.I$)("Select",(He,lt)=>{let{rootPrefixCls:ct}=lt;const tt=(0,De.mergeToken)(He,{rootPrefixCls:ct,inputPaddingHorizontalBase:He.calc(He.paddingSM).sub(1).equal(),multipleSelectItemHeight:He.multipleItemHeight,selectHeight:He.controlHeight});return[Ye(tt),Te(tt)]},we,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Un,pn,ae){"use strict";ae.d(pn,{_z:function(){return ve},gp:function(){return De}});var b=ae(36237),oe=ae(63356),ye=ae(51636);const De=E=>{const{multipleSelectItemHeight:te,paddingXXS:ne,lineWidth:ge,INTERNAL_FIXED_ITEM_MARGIN:we}=E,xe=E.max(E.calc(ne).sub(ge).equal(),0),ue=E.max(E.calc(xe).sub(we).equal(),0);return{basePadding:xe,containerPadding:ue,itemHeight:(0,b.unit)(te),itemLineHeight:(0,b.unit)(E.calc(te).sub(E.calc(E.lineWidth).mul(2)).equal())}},de=E=>{const{multipleSelectItemHeight:te,selectHeight:ne,lineWidth:ge}=E;return E.calc(ne).sub(te).div(2).sub(ge).equal()},ve=E=>{const{componentCls:te,iconCls:ne,borderRadiusSM:ge,motionDurationSlow:we,paddingXS:xe,multipleItemColorDisabled:ue,multipleItemBorderColorDisabled:Ee,colorIcon:Oe,colorIconHover:Ae,INTERNAL_FIXED_ITEM_MARGIN:Re}=E;return{[`${te}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${te}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Re,borderRadius:ge,cursor:"default",transition:`font-size ${we}, line-height ${we}, height ${we}`,marginInlineEnd:E.calc(Re).mul(2).equal(),paddingInlineStart:xe,paddingInlineEnd:E.calc(xe).div(2).equal(),[`${te}-disabled&`]:{color:ue,borderColor:Ee,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:E.calc(xe).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,oe.Ro)()),{display:"inline-flex",alignItems:"center",color:Oe,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ne}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ae}})}}}},re=(E,te)=>{const{componentCls:ne,INTERNAL_FIXED_ITEM_MARGIN:ge}=E,we=`${ne}-selection-overflow`,xe=E.multipleSelectItemHeight,ue=de(E),Ee=te?`${ne}-${te}`:"",Oe=De(E);return{[`${ne}-multiple${Ee}`]:Object.assign(Object.assign({},ve(E)),{[`${ne}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Oe.basePadding,paddingBlock:Oe.containerPadding,borderRadius:E.borderRadius,[`${ne}-disabled&`]:{background:E.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(ge)} 0`,lineHeight:(0,b.unit)(xe),visibility:"hidden",content:'"\\a0"'}},[`${ne}-selection-item`]:{height:Oe.itemHeight,lineHeight:(0,b.unit)(Oe.itemLineHeight)},[`${ne}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)(xe),marginBlock:ge}},[`${ne}-prefix`]:{marginInlineStart:E.calc(E.inputPaddingHorizontalBase).sub(Oe.basePadding).equal()},[`${we}-item + ${we}-item,
|
|
|
${ne}-prefix + ${ne}-selection-wrap
|
|
|
`]:{[`${ne}-selection-search`]:{marginInlineStart:0},[`${ne}-selection-placeholder`]:{insetInlineStart:0}},[`${we}-item-suffix`]:{minHeight:Oe.itemHeight,marginBlock:ge},[`${ne}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:E.calc(E.inputPaddingHorizontalBase).sub(ue).equal(),"\n &-input,\n &-mirror\n ":{height:xe,fontFamily:E.fontFamily,lineHeight:(0,b.unit)(xe),transition:`all ${E.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${ne}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:E.calc(E.inputPaddingHorizontalBase).sub(Oe.basePadding).equal(),insetInlineEnd:E.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${E.motionDurationSlow}`}})}};function se(E,te){const{componentCls:ne}=E,ge=te?`${ne}-${te}`:"",we={[`${ne}-multiple${ge}`]:{fontSize:E.fontSize,[`${ne}-selector`]:{[`${ne}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${ne}-show-arrow ${ne}-selector,
|
|
|
&${ne}-allow-clear ${ne}-selector
|
|
|
`]:{paddingInlineEnd:E.calc(E.fontSizeIcon).add(E.controlPaddingHorizontal).equal()}}};return[re(E,te),we]}const fe=E=>{const{componentCls:te}=E,ne=(0,ye.mergeToken)(E,{selectHeight:E.controlHeightSM,multipleSelectItemHeight:E.multipleItemHeightSM,borderRadius:E.borderRadiusSM,borderRadiusSM:E.borderRadiusXS}),ge=(0,ye.mergeToken)(E,{fontSize:E.fontSizeLG,selectHeight:E.controlHeightLG,multipleSelectItemHeight:E.multipleItemHeightLG,borderRadius:E.borderRadiusLG,borderRadiusSM:E.borderRadius});return[se(E),se(ne,"sm"),{[`${te}-multiple${te}-sm`]:{[`${te}-selection-placeholder`]:{insetInline:E.calc(E.controlPaddingHorizontalSM).sub(E.lineWidth).equal()},[`${te}-selection-search`]:{marginInlineStart:2}}},se(ge,"lg")]};pn.ZP=fe},68525:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});var b=ae(59301),oe=ae(40001),ye=ae(19248),De=ae(99267),de=ae(84105),ve=ae(58617),re=ae(47472);function se(fe){let{suffixIcon:E,clearIcon:te,menuItemSelectedIcon:ne,removeIcon:ge,loading:we,multiple:xe,hasFeedback:ue,prefixCls:Ee,showSuffixIcon:Oe,feedbackIcon:Ae,showArrow:Re,componentName:Me}=fe;const be=te!=null?te:b.createElement(ye.Z,null),Pe=Ke=>E===null&&!ue&&!Re?null:b.createElement(b.Fragment,null,Oe!==!1&&Ke,ue&&Ae);let Fe=null;if(E!==void 0)Fe=Pe(E);else if(we)Fe=Pe(b.createElement(ve.Z,{spin:!0}));else{const Ke=`${Ee}-suffix`;Fe=We=>{let{open:Ne,showSearch:Ye}=We;return Pe(Ne&&Ye?b.createElement(re.Z,{className:Ke}):b.createElement(de.Z,{className:Ke}))}}let _e=null;ne!==void 0?_e=ne:xe?_e=b.createElement(oe.Z,null):_e=null;let Te=null;return ge!==void 0?Te=ge:Te=b.createElement(De.Z,null),{clearIcon:be,suffixIcon:Fe,itemIcon:_e,removeIcon:Te}}},90005:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return b}});function b(oe,ye){return ye!==void 0?ye:oe!==null}},11938:function(Un,pn,ae){"use strict";ae.d(pn,{default:function(){return We}});var b=ae(59301),oe=ae(40192),ye=ae(22703),De=ae(92310),de=ae.n(De),ve=ae(26112),re=ae(48755),se=ae(458),E=Ne=>{const{value:Ye,formatter:Je,precision:He,decimalSeparator:lt,groupSeparator:ct="",prefixCls:tt}=Ne;let Bt;if(typeof Je=="function")Bt=Je(Ye);else{const nt=String(Ye),Ue=nt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ue||nt==="-")Bt=nt;else{const Xe=Ue[1];let $e=Ue[2]||"0",qe=Ue[4]||"";$e=$e.replace(/\B(?=(\d{3})+(?!\d))/g,ct),typeof He=="number"&&(qe=qe.padEnd(He,"0").slice(0,He>0?He:0)),qe&&(qe=`${lt}${qe}`),Bt=[b.createElement("span",{key:"int",className:`${tt}-content-value-int`},Xe,$e),qe&&b.createElement("span",{key:"decimal",className:`${tt}-content-value-decimal`},qe)]}}return b.createElement("span",{className:`${tt}-content-value`},Bt)},te=ae(63356),ne=ae(16931),ge=ae(51636);const we=Ne=>{const{componentCls:Ye,marginXXS:Je,padding:He,colorTextDescription:lt,titleFontSize:ct,colorTextHeading:tt,contentFontSize:Bt,fontFamily:nt}=Ne;return{[Ye]:Object.assign(Object.assign({},(0,te.Wf)(Ne)),{[`${Ye}-title`]:{marginBottom:Je,color:lt,fontSize:ct},[`${Ye}-skeleton`]:{paddingTop:He},[`${Ye}-content`]:{color:tt,fontSize:Bt,fontFamily:nt,[`${Ye}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ye}-content-prefix, ${Ye}-content-suffix`]:{display:"inline-block"},[`${Ye}-content-prefix`]:{marginInlineEnd:Je},[`${Ye}-content-suffix`]:{marginInlineStart:Je}}})}},xe=Ne=>{const{fontSizeHeading3:Ye,fontSize:Je}=Ne;return{titleFontSize:Je,contentFontSize:Ye}};var ue=(0,ne.I$)("Statistic",Ne=>{const Ye=(0,ge.mergeToken)(Ne,{});return[we(Ye)]},xe),Ee=function(Ne,Ye){var Je={};for(var He in Ne)Object.prototype.hasOwnProperty.call(Ne,He)&&Ye.indexOf(He)<0&&(Je[He]=Ne[He]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,He=Object.getOwnPropertySymbols(Ne);lt<He.length;lt++)Ye.indexOf(He[lt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,He[lt])&&(Je[He[lt]]=Ne[He[lt]]);return Je},Ae=Ne=>{const{prefixCls:Ye,className:Je,rootClassName:He,style:lt,valueStyle:ct,value:tt=0,title:Bt,valueRender:nt,prefix:Ue,suffix:Xe,loading:$e=!1,formatter:qe,precision:Ve,decimalSeparator:ht=".",groupSeparator:st=",",onMouseEnter:Nt,onMouseLeave:dt}=Ne,Tt=Ee(Ne,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:bt,direction:Ct,className:gt,style:je}=(0,re.dj)("statistic"),le=bt("statistic",Ye),[ie,ke,Ge]=ue(le),Ie=b.createElement(E,{decimalSeparator:ht,groupSeparator:st,prefixCls:le,formatter:qe,precision:Ve,value:tt}),pe=de()(le,{[`${le}-rtl`]:Ct==="rtl"},gt,Je,He,ke,Ge),x=(0,ve.Z)(Tt,{aria:!0,data:!0});return ie(b.createElement("div",Object.assign({},x,{className:pe,style:Object.assign(Object.assign({},je),lt),onMouseEnter:Nt,onMouseLeave:dt}),Bt&&b.createElement("div",{className:`${le}-title`},Bt),b.createElement(se.Z,{paragraph:!1,loading:$e,className:`${le}-skeleton`},b.createElement("div",{style:ct,className:`${le}-content`},Ue&&b.createElement("span",{className:`${le}-content-prefix`},Ue),nt?nt(Ie):Ie,Xe&&b.createElement("span",{className:`${le}-content-suffix`},Xe)))))};const Re=[["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 Me(Ne,Ye){let Je=Ne;const He=/\[[^\]]*]/g,lt=(Ye.match(He)||[]).map(nt=>nt.slice(1,-1)),ct=Ye.replace(He,"[]"),tt=Re.reduce((nt,Ue)=>{let[Xe,$e]=Ue;if(nt.includes(Xe)){const qe=Math.floor(Je/$e);return Je-=qe*$e,nt.replace(new RegExp(`${Xe}+`,"g"),Ve=>{const ht=Ve.length;return qe.toString().padStart(ht,"0")})}return nt},ct);let Bt=0;return tt.replace(He,()=>{const nt=lt[Bt];return Bt+=1,nt})}function be(Ne,Ye){const{format:Je=""}=Ye,He=new Date(Ne).getTime(),lt=Date.now(),ct=Math.max(He-lt,0);return Me(ct,Je)}var Pe=function(Ne,Ye){var Je={};for(var He in Ne)Object.prototype.hasOwnProperty.call(Ne,He)&&Ye.indexOf(He)<0&&(Je[He]=Ne[He]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,He=Object.getOwnPropertySymbols(Ne);lt<He.length;lt++)Ye.indexOf(He[lt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,He[lt])&&(Je[He[lt]]=Ne[He[lt]]);return Je};const Fe=1e3/30;function _e(Ne){return new Date(Ne).getTime()}const Te=Ne=>{const{value:Ye,format:Je="HH:mm:ss",onChange:He,onFinish:lt}=Ne,ct=Pe(Ne,["value","format","onChange","onFinish"]),tt=(0,oe.Z)(),Bt=b.useRef(null),nt=()=>{lt==null||lt(),Bt.current&&(clearInterval(Bt.current),Bt.current=null)},Ue=()=>{const qe=_e(Ye);qe>=Date.now()&&(Bt.current=setInterval(()=>{tt(),He==null||He(qe-Date.now()),qe<Date.now()&&nt()},Fe))};b.useEffect(()=>(Ue(),()=>{Bt.current&&(clearInterval(Bt.current),Bt.current=null)}),[Ye]);const Xe=(qe,Ve)=>be(qe,Object.assign(Object.assign({},Ve),{format:Je})),$e=qe=>(0,ye.Tm)(qe,{title:void 0});return b.createElement(Ae,Object.assign({},ct,{value:Ye,valueRender:$e,formatter:Xe}))};var Ke=b.memo(Te);Ae.Countdown=Ke;var We=Ae},58755:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return lt}});var b=ae(59301),oe=ae(58617),ye=ae(92310),De=ae.n(ye),de=ae(54476),ve=ae(20068),re=ae(42978),se=ae(75931),fe=ae(18929),E=ae(10228),te=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ne=b.forwardRef(function(ct,tt){var Bt,nt=ct.prefixCls,Ue=nt===void 0?"rc-switch":nt,Xe=ct.className,$e=ct.checked,qe=ct.defaultChecked,Ve=ct.disabled,ht=ct.loadingIcon,st=ct.checkedChildren,Nt=ct.unCheckedChildren,dt=ct.onClick,Tt=ct.onChange,bt=ct.onKeyDown,Ct=(0,se.Z)(ct,te),gt=(0,fe.Z)(!1,{value:$e,defaultValue:qe}),je=(0,re.Z)(gt,2),le=je[0],ie=je[1];function ke(x,me){var Le=le;return Ve||(Le=x,ie(Le),Tt==null||Tt(Le,me)),Le}function Ge(x){x.which===E.Z.LEFT?ke(!1,x):x.which===E.Z.RIGHT&&ke(!0,x),bt==null||bt(x)}function Ie(x){var me=ke(!le,x);dt==null||dt(me,x)}var pe=De()(Ue,Xe,(Bt={},(0,ve.Z)(Bt,"".concat(Ue,"-checked"),le),(0,ve.Z)(Bt,"".concat(Ue,"-disabled"),Ve),Bt));return b.createElement("button",(0,de.Z)({},Ct,{type:"button",role:"switch","aria-checked":le,disabled:Ve,className:pe,ref:tt,onKeyDown:Ge,onClick:Ie}),ht,b.createElement("span",{className:"".concat(Ue,"-inner")},b.createElement("span",{className:"".concat(Ue,"-inner-checked")},st),b.createElement("span",{className:"".concat(Ue,"-inner-unchecked")},Nt)))});ne.displayName="Switch";var ge=ne,we=ae(12919),xe=ae(48755),ue=ae(2171),Ee=ae(31756),Oe=ae(36237),Ae=ae(17835),Re=ae(63356),Me=ae(16931),be=ae(51636);const Pe=ct=>{const{componentCls:tt,trackHeightSM:Bt,trackPadding:nt,trackMinWidthSM:Ue,innerMinMarginSM:Xe,innerMaxMarginSM:$e,handleSizeSM:qe,calc:Ve}=ct,ht=`${tt}-inner`,st=(0,Oe.unit)(Ve(qe).add(Ve(nt).mul(2)).equal()),Nt=(0,Oe.unit)(Ve($e).mul(2).equal());return{[tt]:{[`&${tt}-small`]:{minWidth:Ue,height:Bt,lineHeight:(0,Oe.unit)(Bt),[`${tt}-inner`]:{paddingInlineStart:$e,paddingInlineEnd:Xe,[`${ht}-checked, ${ht}-unchecked`]:{minHeight:Bt},[`${ht}-checked`]:{marginInlineStart:`calc(-100% + ${st} - ${Nt})`,marginInlineEnd:`calc(100% - ${st} + ${Nt})`},[`${ht}-unchecked`]:{marginTop:Ve(Bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${tt}-handle`]:{width:qe,height:qe},[`${tt}-loading-icon`]:{top:Ve(Ve(qe).sub(ct.switchLoadingIconSize)).div(2).equal(),fontSize:ct.switchLoadingIconSize},[`&${tt}-checked`]:{[`${tt}-inner`]:{paddingInlineStart:Xe,paddingInlineEnd:$e,[`${ht}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ht}-unchecked`]:{marginInlineStart:`calc(100% - ${st} + ${Nt})`,marginInlineEnd:`calc(-100% + ${st} - ${Nt})`}},[`${tt}-handle`]:{insetInlineStart:`calc(100% - ${(0,Oe.unit)(Ve(qe).add(nt).equal())})`}},[`&:not(${tt}-disabled):active`]:{[`&:not(${tt}-checked) ${ht}`]:{[`${ht}-unchecked`]:{marginInlineStart:Ve(ct.marginXXS).div(2).equal(),marginInlineEnd:Ve(ct.marginXXS).mul(-1).div(2).equal()}},[`&${tt}-checked ${ht}`]:{[`${ht}-checked`]:{marginInlineStart:Ve(ct.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:Ve(ct.marginXXS).div(2).equal()}}}}}}},Fe=ct=>{const{componentCls:tt,handleSize:Bt,calc:nt}=ct;return{[tt]:{[`${tt}-loading-icon${ct.iconCls}`]:{position:"relative",top:nt(nt(Bt).sub(ct.fontSize)).div(2).equal(),color:ct.switchLoadingIconColor,verticalAlign:"top"},[`&${tt}-checked ${tt}-loading-icon`]:{color:ct.switchColor}}}},_e=ct=>{const{componentCls:tt,trackPadding:Bt,handleBg:nt,handleShadow:Ue,handleSize:Xe,calc:$e}=ct,qe=`${tt}-handle`;return{[tt]:{[qe]:{position:"absolute",top:Bt,insetInlineStart:Bt,width:Xe,height:Xe,transition:`all ${ct.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:nt,borderRadius:$e(Xe).div(2).equal(),boxShadow:Ue,transition:`all ${ct.switchDuration} ease-in-out`,content:'""'}},[`&${tt}-checked ${qe}`]:{insetInlineStart:`calc(100% - ${(0,Oe.unit)($e(Xe).add(Bt).equal())})`},[`&:not(${tt}-disabled):active`]:{[`${qe}::before`]:{insetInlineEnd:ct.switchHandleActiveInset,insetInlineStart:0},[`&${tt}-checked ${qe}::before`]:{insetInlineEnd:0,insetInlineStart:ct.switchHandleActiveInset}}}}},Te=ct=>{const{componentCls:tt,trackHeight:Bt,trackPadding:nt,innerMinMargin:Ue,innerMaxMargin:Xe,handleSize:$e,calc:qe}=ct,Ve=`${tt}-inner`,ht=(0,Oe.unit)(qe($e).add(qe(nt).mul(2)).equal()),st=(0,Oe.unit)(qe(Xe).mul(2).equal());return{[tt]:{[Ve]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Xe,paddingInlineEnd:Ue,transition:`padding-inline-start ${ct.switchDuration} ease-in-out, padding-inline-end ${ct.switchDuration} ease-in-out`,[`${Ve}-checked, ${Ve}-unchecked`]:{display:"block",color:ct.colorTextLightSolid,fontSize:ct.fontSizeSM,transition:`margin-inline-start ${ct.switchDuration} ease-in-out, margin-inline-end ${ct.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Bt},[`${Ve}-checked`]:{marginInlineStart:`calc(-100% + ${ht} - ${st})`,marginInlineEnd:`calc(100% - ${ht} + ${st})`},[`${Ve}-unchecked`]:{marginTop:qe(Bt).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${tt}-checked ${Ve}`]:{paddingInlineStart:Ue,paddingInlineEnd:Xe,[`${Ve}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ve}-unchecked`]:{marginInlineStart:`calc(100% - ${ht} + ${st})`,marginInlineEnd:`calc(-100% + ${ht} - ${st})`}},[`&:not(${tt}-disabled):active`]:{[`&:not(${tt}-checked) ${Ve}`]:{[`${Ve}-unchecked`]:{marginInlineStart:qe(nt).mul(2).equal(),marginInlineEnd:qe(nt).mul(-1).mul(2).equal()}},[`&${tt}-checked ${Ve}`]:{[`${Ve}-checked`]:{marginInlineStart:qe(nt).mul(-1).mul(2).equal(),marginInlineEnd:qe(nt).mul(2).equal()}}}}}},Ke=ct=>{const{componentCls:tt,trackHeight:Bt,trackMinWidth:nt}=ct;return{[tt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(ct)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:nt,height:Bt,lineHeight:(0,Oe.unit)(Bt),verticalAlign:"middle",background:ct.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${ct.motionDurationMid}`,userSelect:"none",[`&:hover:not(${tt}-disabled)`]:{background:ct.colorTextTertiary}}),(0,Re.Qy)(ct)),{[`&${tt}-checked`]:{background:ct.switchColor,[`&:hover:not(${tt}-disabled)`]:{background:ct.colorPrimaryHover}},[`&${tt}-loading, &${tt}-disabled`]:{cursor:"not-allowed",opacity:ct.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${tt}-rtl`]:{direction:"rtl"}})}},We=ct=>{const{fontSize:tt,lineHeight:Bt,controlHeight:nt,colorWhite:Ue}=ct,Xe=tt*Bt,$e=nt/2,qe=2,Ve=Xe-qe*2,ht=$e-qe*2;return{trackHeight:Xe,trackHeightSM:$e,trackMinWidth:Ve*2+qe*4,trackMinWidthSM:ht*2+qe*2,trackPadding:qe,handleBg:Ue,handleSize:Ve,handleSizeSM:ht,handleShadow:`0 2px 4px 0 ${new Ae.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:Ve/2,innerMaxMargin:Ve+qe+qe*2,innerMinMarginSM:ht/2,innerMaxMarginSM:ht+qe+qe*2}};var Ne=(0,Me.I$)("Switch",ct=>{const tt=(0,be.mergeToken)(ct,{switchDuration:ct.motionDurationMid,switchColor:ct.colorPrimary,switchDisabledOpacity:ct.opacityLoading,switchLoadingIconSize:ct.calc(ct.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${ct.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Ke(tt),Te(tt),_e(tt),Fe(tt),Pe(tt)]},We),Ye=function(ct,tt){var Bt={};for(var nt in ct)Object.prototype.hasOwnProperty.call(ct,nt)&&tt.indexOf(nt)<0&&(Bt[nt]=ct[nt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,nt=Object.getOwnPropertySymbols(ct);Ue<nt.length;Ue++)tt.indexOf(nt[Ue])<0&&Object.prototype.propertyIsEnumerable.call(ct,nt[Ue])&&(Bt[nt[Ue]]=ct[nt[Ue]]);return Bt};const He=b.forwardRef((ct,tt)=>{const{prefixCls:Bt,size:nt,disabled:Ue,loading:Xe,className:$e,rootClassName:qe,style:Ve,checked:ht,value:st,defaultChecked:Nt,defaultValue:dt,onChange:Tt}=ct,bt=Ye(ct,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[Ct,gt]=(0,fe.Z)(!1,{value:ht!=null?ht:st,defaultValue:Nt!=null?Nt:dt}),{getPrefixCls:je,direction:le,switch:ie}=b.useContext(xe.E_),ke=b.useContext(ue.Z),Ge=(Ue!=null?Ue:ke)||Xe,Ie=je("switch",Bt),pe=b.createElement("div",{className:`${Ie}-handle`},Xe&&b.createElement(oe.Z,{className:`${Ie}-loading-icon`})),[x,me,Le]=Ne(Ie),Se=(0,Ee.Z)(nt),Be=De()(ie==null?void 0:ie.className,{[`${Ie}-small`]:Se==="small",[`${Ie}-loading`]:Xe,[`${Ie}-rtl`]:le==="rtl"},$e,qe,me,Le),Qe=Object.assign(Object.assign({},ie==null?void 0:ie.style),Ve),it=function(){gt(arguments.length<=0?void 0:arguments[0]),Tt==null||Tt.apply(void 0,arguments)};return x(b.createElement(we.Z,{component:"Switch"},b.createElement(ge,Object.assign({},bt,{checked:Ct,onChange:it,prefixCls:Ie,className:Be,style:Qe,disabled:Ge,ref:tt,loadingIcon:pe}))))});He.__ANT_SWITCH=!0;var lt=He},70858:function(Un,pn,ae){"use strict";ae.d(pn,{default:function(){return ic}});var b=ae(59301),oe={},ye="rc-table-internal-hook",De=ae(42978),de=ae(6089),ve=ae(34280),re=ae(13697),se=ae(4676);function fe(pt){var ft=b.createContext(void 0),Mt=function(sn){var vn=sn.value,kn=sn.children,Dn=b.useRef(vn);Dn.current=vn;var Hn=b.useState(function(){return{getValue:function(){return Dn.current},listeners:new Set}}),Rn=(0,De.Z)(Hn,1),xr=Rn[0];return(0,ve.Z)(function(){(0,se.unstable_batchedUpdates)(function(){xr.listeners.forEach(function(cr){cr(vn)})})},[vn]),b.createElement(ft.Provider,{value:xr},kn)};return{Context:ft,Provider:Mt,defaultValue:pt}}function E(pt,ft){var Mt=(0,de.Z)(typeof ft=="function"?ft:function(cr){if(ft===void 0)return cr;if(!Array.isArray(ft))return cr[ft];var ar={};return ft.forEach(function(nr){ar[nr]=cr[nr]}),ar}),_t=b.useContext(pt==null?void 0:pt.Context),sn=_t||{},vn=sn.listeners,kn=sn.getValue,Dn=b.useRef();Dn.current=Mt(_t?kn():pt==null?void 0:pt.defaultValue);var Hn=b.useState({}),Rn=(0,De.Z)(Hn,2),xr=Rn[1];return(0,ve.Z)(function(){if(!_t)return;function cr(ar){var nr=Mt(ar);(0,re.Z)(Dn.current,nr,!0)||xr({})}return vn.add(cr),function(){vn.delete(cr)}},[_t]),Dn.current}var te=ae(54476),ne=ae(8654);function ge(){var pt=b.createContext(null);function ft(){return b.useContext(pt)}function Mt(sn,vn){var kn=(0,ne.Yr)(sn),Dn=function(Rn,xr){var cr=kn?{ref:xr}:{},ar=b.useRef(0),nr=b.useRef(Rn),qn=ft();return qn!==null?b.createElement(sn,(0,te.Z)({},Rn,cr)):((!vn||vn(nr.current,Rn))&&(ar.current+=1),nr.current=Rn,b.createElement(pt.Provider,{value:ar.current},b.createElement(sn,(0,te.Z)({},Rn,cr))))};return kn?b.forwardRef(Dn):Dn}function _t(sn,vn){var kn=(0,ne.Yr)(sn),Dn=function(Rn,xr){var cr=kn?{ref:xr}:{};return ft(),b.createElement(sn,(0,te.Z)({},Rn,cr))};return kn?b.memo(b.forwardRef(Dn),vn):b.memo(Dn,vn)}return{makeImmutable:Mt,responseImmutable:_t,useImmutableMark:ft}}var we=ge(),xe=we.makeImmutable,ue=we.responseImmutable,Ee=we.useImmutableMark,Oe=ge(),Ae=Oe.makeImmutable,Re=Oe.responseImmutable,Me=Oe.useImmutableMark,be=fe(),Pe=be;function Fe(pt,ft){var Mt=React.useRef(0);Mt.current+=1;var _t=React.useRef(pt),sn=[];Object.keys(pt||{}).map(function(kn){var Dn;(pt==null?void 0:pt[kn])!==((Dn=_t.current)===null||Dn===void 0?void 0:Dn[kn])&&sn.push(kn)}),_t.current=pt;var vn=React.useRef([]);return sn.length&&(vn.current=sn),React.useDebugValue(Mt.current),React.useDebugValue(vn.current.join(", ")),ft&&console.log("".concat(ft,":"),Mt.current,vn.current),Mt.current}var _e=null,Te=null,Ke=ae(76190),We=ae(33885),Ne=ae(20068),Ye=ae(92310),Je=ae.n(Ye),He=ae(80547),lt=ae(97938),ct=ae(48736),tt=b.createContext({renderWithProps:!1}),Bt=tt,nt="RC_TABLE_KEY";function Ue(pt){return pt==null?[]:Array.isArray(pt)?pt:[pt]}function Xe(pt){var ft=[],Mt={};return pt.forEach(function(_t){for(var sn=_t||{},vn=sn.key,kn=sn.dataIndex,Dn=vn||Ue(kn).join("-")||nt;Mt[Dn];)Dn="".concat(Dn,"_next");Mt[Dn]=!0,ft.push(Dn)}),ft}function $e(pt){return pt!=null}function qe(pt){return typeof pt=="number"&&!Number.isNaN(pt)}function Ve(pt){return pt&&(0,Ke.Z)(pt)==="object"&&!Array.isArray(pt)&&!b.isValidElement(pt)}function ht(pt,ft,Mt,_t,sn,vn){var kn=b.useContext(Bt),Dn=Me(),Hn=(0,He.Z)(function(){if($e(_t))return[_t];var Rn=ft==null||ft===""?[]:Array.isArray(ft)?ft:[ft],xr=(0,lt.Z)(pt,Rn),cr=xr,ar=void 0;if(sn){var nr=sn(xr,pt,Mt);Ve(nr)?(cr=nr.children,ar=nr.props,kn.renderWithProps=!0):cr=nr}return[cr,ar]},[Dn,pt,_t,ft,sn,Mt],function(Rn,xr){if(vn){var cr=(0,De.Z)(Rn,2),ar=cr[1],nr=(0,De.Z)(xr,2),qn=nr[1];return vn(qn,ar)}return kn.renderWithProps?!0:!(0,re.Z)(Rn,xr,!0)});return Hn}function st(pt,ft,Mt,_t){var sn=pt+ft-1;return pt<=_t&&sn>=Mt}function Nt(pt,ft){return E(Pe,function(Mt){var _t=st(pt,ft||1,Mt.hoverStartRow,Mt.hoverEndRow);return[_t,Mt.onHover]})}var dt=ae(70425),Tt=function(ft){var Mt=ft.ellipsis,_t=ft.rowType,sn=ft.children,vn,kn=Mt===!0?{showTitle:!0}:Mt;return kn&&(kn.showTitle||_t==="header")&&(typeof sn=="string"||typeof sn=="number"?vn=sn.toString():b.isValidElement(sn)&&typeof sn.props.children=="string"&&(vn=sn.props.children)),vn};function bt(pt){var ft,Mt,_t,sn,vn,kn,Dn,Hn,Rn=pt.component,xr=pt.children,cr=pt.ellipsis,ar=pt.scope,nr=pt.prefixCls,qn=pt.className,Kr=pt.align,Or=pt.record,Jr=pt.render,ni=pt.dataIndex,Zr=pt.renderIndex,ai=pt.shouldCellUpdate,pi=pt.index,xi=pt.rowType,yi=pt.colSpan,eo=pt.rowSpan,Fi=pt.fixLeft,Ni=pt.fixRight,Ki=pt.firstFixLeft,wi=pt.lastFixLeft,Ei=pt.firstFixRight,di=pt.lastFixRight,ri=pt.appendNode,Ci=pt.additionalProps,Ai=Ci===void 0?{}:Ci,ji=pt.isSticky,ui="".concat(nr,"-cell"),uo=E(Pe,["supportSticky","allColumnsFixedLeft","rowHoverable"]),co=uo.supportSticky,ia=uo.allColumnsFixedLeft,ea=uo.rowHoverable,_o=ht(Or,ni,Zr,xr,Jr,ai),$o=(0,De.Z)(_o,2),ca=$o[0],vo=$o[1],xo={},Jo=typeof Fi=="number"&&co,ta=typeof Ni=="number"&&co;Jo&&(xo.position="sticky",xo.left=Fi),ta&&(xo.position="sticky",xo.right=Ni);var Li=(ft=(Mt=(_t=vo==null?void 0:vo.colSpan)!==null&&_t!==void 0?_t:Ai.colSpan)!==null&&Mt!==void 0?Mt:yi)!==null&&ft!==void 0?ft:1,Qi=(sn=(vn=(kn=vo==null?void 0:vo.rowSpan)!==null&&kn!==void 0?kn:Ai.rowSpan)!==null&&vn!==void 0?vn:eo)!==null&&sn!==void 0?sn:1,Oi=Nt(pi,Qi),bi=(0,De.Z)(Oi,2),go=bi[0],Lo=bi[1],Qo=(0,dt.zX)(function(jo){var Ro;Or&&Lo(pi,pi+Qi-1),Ai==null||(Ro=Ai.onMouseEnter)===null||Ro===void 0||Ro.call(Ai,jo)}),So=(0,dt.zX)(function(jo){var Ro;Or&&Lo(-1,-1),Ai==null||(Ro=Ai.onMouseLeave)===null||Ro===void 0||Ro.call(Ai,jo)});if(Li===0||Qi===0)return null;var oa=(Dn=Ai.title)!==null&&Dn!==void 0?Dn:Tt({rowType:xi,ellipsis:cr,children:ca}),ma=Je()(ui,qn,(Hn={},(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)(Hn,"".concat(ui,"-fix-left"),Jo&&co),"".concat(ui,"-fix-left-first"),Ki&&co),"".concat(ui,"-fix-left-last"),wi&&co),"".concat(ui,"-fix-left-all"),wi&&ia&&co),"".concat(ui,"-fix-right"),ta&&co),"".concat(ui,"-fix-right-first"),Ei&&co),"".concat(ui,"-fix-right-last"),di&&co),"".concat(ui,"-ellipsis"),cr),"".concat(ui,"-with-append"),ri),"".concat(ui,"-fix-sticky"),(Jo||ta)&&ji&&co),(0,Ne.Z)(Hn,"".concat(ui,"-row-hover"),!vo&&go)),Ai.className,vo==null?void 0:vo.className),zi={};Kr&&(zi.textAlign=Kr);var _i=(0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)({},vo==null?void 0:vo.style),xo),zi),Ai.style),Do=ca;return(0,Ke.Z)(Do)==="object"&&!Array.isArray(Do)&&!b.isValidElement(Do)&&(Do=null),cr&&(wi||Ei)&&(Do=b.createElement("span",{className:"".concat(ui,"-content")},Do)),b.createElement(Rn,(0,te.Z)({},vo,Ai,{className:ma,style:_i,title:oa,scope:ar,onMouseEnter:ea?Qo:void 0,onMouseLeave:ea?So:void 0,colSpan:Li!==1?Li:null,rowSpan:Qi!==1?Qi:null}),ri,Do)}var Ct=b.memo(bt);function gt(pt,ft,Mt,_t,sn){var vn=Mt[pt]||{},kn=Mt[ft]||{},Dn,Hn;vn.fixed==="left"?Dn=_t.left[sn==="rtl"?ft:pt]:kn.fixed==="right"&&(Hn=_t.right[sn==="rtl"?pt:ft]);var Rn=!1,xr=!1,cr=!1,ar=!1,nr=Mt[ft+1],qn=Mt[pt-1],Kr=nr&&!nr.fixed||qn&&!qn.fixed||Mt.every(function(ai){return ai.fixed==="left"});if(sn==="rtl"){if(Dn!==void 0){var Or=qn&&qn.fixed==="left";ar=!Or&&Kr}else if(Hn!==void 0){var Jr=nr&&nr.fixed==="right";cr=!Jr&&Kr}}else if(Dn!==void 0){var ni=nr&&nr.fixed==="left";Rn=!ni&&Kr}else if(Hn!==void 0){var Zr=qn&&qn.fixed==="right";xr=!Zr&&Kr}return{fixLeft:Dn,fixRight:Hn,lastFixLeft:Rn,firstFixRight:xr,lastFixRight:cr,firstFixLeft:ar,isSticky:_t.isSticky}}var je=b.createContext({}),le=je;function ie(pt){var ft=pt.className,Mt=pt.index,_t=pt.children,sn=pt.colSpan,vn=sn===void 0?1:sn,kn=pt.rowSpan,Dn=pt.align,Hn=E(Pe,["prefixCls","direction"]),Rn=Hn.prefixCls,xr=Hn.direction,cr=b.useContext(le),ar=cr.scrollColumnIndex,nr=cr.stickyOffsets,qn=cr.flattenColumns,Kr=Mt+vn-1,Or=Kr+1===ar?vn+1:vn,Jr=gt(Mt,Mt+Or-1,qn,nr,xr);return b.createElement(Ct,(0,te.Z)({className:ft,index:Mt,component:"td",prefixCls:Rn,record:null,dataIndex:null,align:Dn,colSpan:Or,rowSpan:kn,render:function(){return _t}},Jr))}var ke=ae(75931),Ge=["children"];function Ie(pt){var ft=pt.children,Mt=(0,ke.Z)(pt,Ge);return b.createElement("tr",Mt,ft)}function pe(pt){var ft=pt.children;return ft}pe.Row=Ie,pe.Cell=ie;var x=pe;function me(pt){var ft=pt.children,Mt=pt.stickyOffsets,_t=pt.flattenColumns,sn=E(Pe,"prefixCls"),vn=_t.length-1,kn=_t[vn],Dn=b.useMemo(function(){return{stickyOffsets:Mt,flattenColumns:_t,scrollColumnIndex:kn!=null&&kn.scrollbar?vn:null}},[kn,_t,vn,Mt]);return b.createElement(le.Provider,{value:Dn},b.createElement("tfoot",{className:"".concat(sn,"-summary")},ft))}var Le=Re(me),Se=x,Be=ae(29301),Qe=ae(24514),it=ae(75152),ot=ae(26112);function at(pt,ft,Mt,_t,sn,vn,kn){pt.push({record:ft,indent:Mt,index:kn});var Dn=vn(ft),Hn=sn==null?void 0:sn.has(Dn);if(ft&&Array.isArray(ft[_t])&&Hn)for(var Rn=0;Rn<ft[_t].length;Rn+=1)at(pt,ft[_t][Rn],Mt+1,_t,sn,vn,Rn)}function Rt(pt,ft,Mt,_t){var sn=b.useMemo(function(){if(Mt!=null&&Mt.size){for(var vn=[],kn=0;kn<(pt==null?void 0:pt.length);kn+=1){var Dn=pt[kn];at(vn,Dn,0,ft,Mt,_t,kn)}return vn}return pt==null?void 0:pt.map(function(Hn,Rn){return{record:Hn,indent:0,index:Rn}})},[pt,ft,Mt,_t]);return sn}function Ft(pt,ft,Mt,_t){var sn=E(Pe,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),vn=sn.flattenColumns,kn=sn.expandableType,Dn=sn.expandedKeys,Hn=sn.childrenColumnName,Rn=sn.onTriggerExpand,xr=sn.rowExpandable,cr=sn.onRow,ar=sn.expandRowByClick,nr=sn.rowClassName,qn=kn==="nest",Kr=kn==="row"&&(!xr||xr(pt)),Or=Kr||qn,Jr=Dn&&Dn.has(ft),ni=Hn&&pt&&pt[Hn],Zr=(0,dt.zX)(Rn),ai=cr==null?void 0:cr(pt,Mt),pi=ai==null?void 0:ai.onClick,xi=function(Ni){ar&&Or&&Rn(pt,Ni);for(var Ki=arguments.length,wi=new Array(Ki>1?Ki-1:0),Ei=1;Ei<Ki;Ei++)wi[Ei-1]=arguments[Ei];pi==null||pi.apply(void 0,[Ni].concat(wi))},yi;typeof nr=="string"?yi=nr:typeof nr=="function"&&(yi=nr(pt,Mt,_t));var eo=Xe(vn);return(0,We.Z)((0,We.Z)({},sn),{},{columnsKey:eo,nestExpandable:qn,expanded:Jr,hasNestChildren:ni,record:pt,onTriggerExpand:Zr,rowSupportExpand:Kr,expandable:Or,rowProps:(0,We.Z)((0,We.Z)({},ai),{},{className:Je()(yi,ai==null?void 0:ai.className),onClick:xi})})}function rn(pt){var ft=pt.prefixCls,Mt=pt.children,_t=pt.component,sn=pt.cellComponent,vn=pt.className,kn=pt.expanded,Dn=pt.colSpan,Hn=pt.isEmpty,Rn=E(Pe,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),xr=Rn.scrollbarSize,cr=Rn.fixHeader,ar=Rn.fixColumn,nr=Rn.componentWidth,qn=Rn.horizonScroll,Kr=Mt;return(Hn?qn&&nr:ar)&&(Kr=b.createElement("div",{style:{width:nr-(cr&&!Hn?xr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ft,"-expanded-row-fixed")},Kr)),b.createElement(_t,{className:vn,style:{display:kn?null:"none"}},b.createElement(Ct,{component:sn,prefixCls:ft,colSpan:Dn},Kr))}var nn=rn;function Lt(pt){var ft=pt.prefixCls,Mt=pt.record,_t=pt.onExpand,sn=pt.expanded,vn=pt.expandable,kn="".concat(ft,"-row-expand-icon");if(!vn)return b.createElement("span",{className:Je()(kn,"".concat(ft,"-row-spaced"))});var Dn=function(Rn){_t(Mt,Rn),Rn.stopPropagation()};return b.createElement("span",{className:Je()(kn,(0,Ne.Z)((0,Ne.Z)({},"".concat(ft,"-row-expanded"),sn),"".concat(ft,"-row-collapsed"),!sn)),onClick:Dn})}function qt(pt,ft,Mt){var _t=[];function sn(vn){(vn||[]).forEach(function(kn,Dn){_t.push(ft(kn,Dn)),sn(kn[Mt])})}return sn(pt),_t}function Wt(pt,ft,Mt,_t){return typeof pt=="string"?pt:typeof pt=="function"?pt(ft,Mt,_t):""}function Dt(pt,ft,Mt,_t,sn){var vn=pt.record,kn=pt.prefixCls,Dn=pt.columnsKey,Hn=pt.fixedInfoList,Rn=pt.expandIconColumnIndex,xr=pt.nestExpandable,cr=pt.indentSize,ar=pt.expandIcon,nr=pt.expanded,qn=pt.hasNestChildren,Kr=pt.onTriggerExpand,Or=Dn[Mt],Jr=Hn[Mt],ni;Mt===(Rn||0)&&xr&&(ni=b.createElement(b.Fragment,null,b.createElement("span",{style:{paddingLeft:"".concat(cr*_t,"px")},className:"".concat(kn,"-row-indent indent-level-").concat(_t)}),ar({prefixCls:kn,expanded:nr,expandable:qn,record:vn,onExpand:Kr})));var Zr;return ft.onCell&&(Zr=ft.onCell(vn,sn)),{key:Or,fixedInfo:Jr,appendCellNode:ni,additionalCellProps:Zr||{}}}function zt(pt){var ft=pt.className,Mt=pt.style,_t=pt.record,sn=pt.index,vn=pt.renderIndex,kn=pt.rowKey,Dn=pt.indent,Hn=Dn===void 0?0:Dn,Rn=pt.rowComponent,xr=pt.cellComponent,cr=pt.scopeCellComponent,ar=Ft(_t,kn,sn,Hn),nr=ar.prefixCls,qn=ar.flattenColumns,Kr=ar.expandedRowClassName,Or=ar.expandedRowRender,Jr=ar.rowProps,ni=ar.expanded,Zr=ar.rowSupportExpand,ai=b.useRef(!1);ai.current||(ai.current=ni);var pi=Wt(Kr,_t,sn,Hn),xi=b.createElement(Rn,(0,te.Z)({},Jr,{"data-row-key":kn,className:Je()(ft,"".concat(nr,"-row"),"".concat(nr,"-row-level-").concat(Hn),Jr==null?void 0:Jr.className,(0,Ne.Z)({},pi,Hn>=1)),style:(0,We.Z)((0,We.Z)({},Mt),Jr==null?void 0:Jr.style)}),qn.map(function(Fi,Ni){var Ki=Fi.render,wi=Fi.dataIndex,Ei=Fi.className,di=Dt(ar,Fi,Ni,Hn,sn),ri=di.key,Ci=di.fixedInfo,Ai=di.appendCellNode,ji=di.additionalCellProps;return b.createElement(Ct,(0,te.Z)({className:Ei,ellipsis:Fi.ellipsis,align:Fi.align,scope:Fi.rowScope,component:Fi.rowScope?cr:xr,prefixCls:nr,key:ri,record:_t,index:sn,renderIndex:vn,dataIndex:wi,render:Ki,shouldCellUpdate:Fi.shouldCellUpdate},Ci,{appendNode:Ai,additionalProps:ji}))})),yi;if(Zr&&(ai.current||ni)){var eo=Or(_t,sn,Hn+1,ni);yi=b.createElement(nn,{expanded:ni,className:Je()("".concat(nr,"-expanded-row"),"".concat(nr,"-expanded-row-level-").concat(Hn+1),pi),prefixCls:nr,component:Rn,cellComponent:xr,colSpan:qn.length,isEmpty:!1},eo)}return b.createElement(b.Fragment,null,xi,yi)}var un=Re(zt);function mn(pt){var ft=pt.columnKey,Mt=pt.onColumnResize,_t=b.useRef();return(0,ve.Z)(function(){_t.current&&Mt(ft,_t.current.offsetWidth)},[]),b.createElement(Be.Z,{data:ft},b.createElement("td",{ref:_t,style:{padding:0,border:0,height:0}},b.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Et=ae(29194);function Ht(pt){var ft=pt.prefixCls,Mt=pt.columnsKey,_t=pt.onColumnResize,sn=b.useRef(null);return b.createElement("tr",{"aria-hidden":"true",className:"".concat(ft,"-measure-row"),style:{height:0,fontSize:0},ref:sn},b.createElement(Be.Z.Collection,{onBatchResize:function(kn){(0,Et.Z)(sn.current)&&kn.forEach(function(Dn){var Hn=Dn.data,Rn=Dn.size;_t(Hn,Rn.offsetWidth)})}},Mt.map(function(vn){return b.createElement(mn,{key:vn,columnKey:vn,onColumnResize:_t})})))}function Jt(pt){var ft=pt.data,Mt=pt.measureColumnWidth,_t=E(Pe,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),sn=_t.prefixCls,vn=_t.getComponent,kn=_t.onColumnResize,Dn=_t.flattenColumns,Hn=_t.getRowKey,Rn=_t.expandedKeys,xr=_t.childrenColumnName,cr=_t.emptyNode,ar=Rt(ft,xr,Rn,Hn),nr=b.useRef({renderWithProps:!1}),qn=vn(["body","wrapper"],"tbody"),Kr=vn(["body","row"],"tr"),Or=vn(["body","cell"],"td"),Jr=vn(["body","cell"],"th"),ni;ft.length?ni=ar.map(function(ai,pi){var xi=ai.record,yi=ai.indent,eo=ai.index,Fi=Hn(xi,pi);return b.createElement(un,{key:Fi,rowKey:Fi,record:xi,index:pi,renderIndex:eo,rowComponent:Kr,cellComponent:Or,scopeCellComponent:Jr,indent:yi})}):ni=b.createElement(nn,{expanded:!0,className:"".concat(sn,"-placeholder"),prefixCls:sn,component:Kr,cellComponent:Or,colSpan:Dn.length,isEmpty:!0},cr);var Zr=Xe(Dn);return b.createElement(Bt.Provider,{value:nr.current},b.createElement(qn,{className:"".concat(sn,"-tbody")},Mt&&b.createElement(Ht,{prefixCls:sn,columnsKey:Zr,onColumnResize:kn}),ni))}var gn=Re(Jt),Nn=["expandable"],Xn="RC_TABLE_INTERNAL_COL_DEFINE";function gr(pt){var ft=pt.expandable,Mt=(0,ke.Z)(pt,Nn),_t;return"expandable"in pt?_t=(0,We.Z)((0,We.Z)({},Mt),ft):_t=Mt,_t.showExpandColumn===!1&&(_t.expandIconColumnIndex=-1),_t}var br=["columnType"];function Yn(pt){for(var ft=pt.colWidths,Mt=pt.columns,_t=pt.columCount,sn=E(Pe,["tableLayout"]),vn=sn.tableLayout,kn=[],Dn=_t||Mt.length,Hn=!1,Rn=Dn-1;Rn>=0;Rn-=1){var xr=ft[Rn],cr=Mt&&Mt[Rn],ar=void 0,nr=void 0;if(cr&&(ar=cr[Xn],vn==="auto"&&(nr=cr.minWidth)),xr||nr||ar||Hn){var qn=ar||{},Kr=qn.columnType,Or=(0,ke.Z)(qn,br);kn.unshift(b.createElement("col",(0,te.Z)({key:Rn,style:{width:xr,minWidth:nr}},Or))),Hn=!0}}return b.createElement("colgroup",null,kn)}var hr=Yn,Wn=ae(94480),xn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Pn(pt,ft){return(0,b.useMemo)(function(){for(var Mt=[],_t=0;_t<ft;_t+=1){var sn=pt[_t];if(sn!==void 0)Mt[_t]=sn;else return null}return Mt},[pt.join("_"),ft])}var Tn=b.forwardRef(function(pt,ft){var Mt=pt.className,_t=pt.noData,sn=pt.columns,vn=pt.flattenColumns,kn=pt.colWidths,Dn=pt.columCount,Hn=pt.stickyOffsets,Rn=pt.direction,xr=pt.fixHeader,cr=pt.stickyTopOffset,ar=pt.stickyBottomOffset,nr=pt.stickyClassName,qn=pt.onScroll,Kr=pt.maxContentScroll,Or=pt.children,Jr=(0,ke.Z)(pt,xn),ni=E(Pe,["prefixCls","scrollbarSize","isSticky","getComponent"]),Zr=ni.prefixCls,ai=ni.scrollbarSize,pi=ni.isSticky,xi=ni.getComponent,yi=xi(["header","table"],"table"),eo=pi&&!xr?0:ai,Fi=b.useRef(null),Ni=b.useCallback(function(ji){(0,ne.mH)(ft,ji),(0,ne.mH)(Fi,ji)},[]);b.useEffect(function(){var ji;function ui(uo){var co=uo,ia=co.currentTarget,ea=co.deltaX;ea&&(qn({currentTarget:ia,scrollLeft:ia.scrollLeft+ea}),uo.preventDefault())}return(ji=Fi.current)===null||ji===void 0||ji.addEventListener("wheel",ui,{passive:!1}),function(){var uo;(uo=Fi.current)===null||uo===void 0||uo.removeEventListener("wheel",ui)}},[]);var Ki=b.useMemo(function(){return vn.every(function(ji){return ji.width})},[vn]),wi=vn[vn.length-1],Ei={fixed:wi?wi.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Zr,"-cell-scrollbar")}}},di=(0,b.useMemo)(function(){return eo?[].concat((0,Wn.Z)(sn),[Ei]):sn},[eo,sn]),ri=(0,b.useMemo)(function(){return eo?[].concat((0,Wn.Z)(vn),[Ei]):vn},[eo,vn]),Ci=(0,b.useMemo)(function(){var ji=Hn.right,ui=Hn.left;return(0,We.Z)((0,We.Z)({},Hn),{},{left:Rn==="rtl"?[].concat((0,Wn.Z)(ui.map(function(uo){return uo+eo})),[0]):ui,right:Rn==="rtl"?ji:[].concat((0,Wn.Z)(ji.map(function(uo){return uo+eo})),[0]),isSticky:pi})},[eo,Hn,pi]),Ai=Pn(kn,Dn);return b.createElement("div",{style:(0,We.Z)({overflow:"hidden"},pi?{top:cr,bottom:ar}:{}),ref:Ni,className:Je()(Mt,(0,Ne.Z)({},nr,!!nr))},b.createElement(yi,{style:{tableLayout:"fixed",visibility:_t||Ai?null:"hidden"}},(!_t||!Kr||Ki)&&b.createElement(hr,{colWidths:Ai?[].concat((0,Wn.Z)(Ai),[eo]):[],columCount:Dn+1,columns:ri}),Or((0,We.Z)((0,We.Z)({},Jr),{},{stickyOffsets:Ci,columns:di,flattenColumns:ri}))))}),An=b.memo(Tn),zn=function(ft){var Mt=ft.cells,_t=ft.stickyOffsets,sn=ft.flattenColumns,vn=ft.rowComponent,kn=ft.cellComponent,Dn=ft.onHeaderRow,Hn=ft.index,Rn=E(Pe,["prefixCls","direction"]),xr=Rn.prefixCls,cr=Rn.direction,ar;Dn&&(ar=Dn(Mt.map(function(qn){return qn.column}),Hn));var nr=Xe(Mt.map(function(qn){return qn.column}));return b.createElement(vn,ar,Mt.map(function(qn,Kr){var Or=qn.column,Jr=gt(qn.colStart,qn.colEnd,sn,_t,cr),ni;return Or&&Or.onHeaderCell&&(ni=qn.column.onHeaderCell(Or)),b.createElement(Ct,(0,te.Z)({},qn,{scope:Or.title?qn.colSpan>1?"colgroup":"col":null,ellipsis:Or.ellipsis,align:Or.align,component:kn,prefixCls:xr,key:nr[Kr]},Jr,{additionalProps:ni,rowType:"header"}))}))},Kn=zn;function er(pt){var ft=[];function Mt(kn,Dn){var Hn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ft[Hn]=ft[Hn]||[];var Rn=Dn,xr=kn.filter(Boolean).map(function(cr){var ar={key:cr.key,className:cr.className||"",children:cr.title,column:cr,colStart:Rn},nr=1,qn=cr.children;return qn&&qn.length>0&&(nr=Mt(qn,Rn,Hn+1).reduce(function(Kr,Or){return Kr+Or},0),ar.hasSubColumns=!0),"colSpan"in cr&&(nr=cr.colSpan),"rowSpan"in cr&&(ar.rowSpan=cr.rowSpan),ar.colSpan=nr,ar.colEnd=ar.colStart+nr-1,ft[Hn].push(ar),Rn+=nr,nr});return xr}Mt(pt,0);for(var _t=ft.length,sn=function(Dn){ft[Dn].forEach(function(Hn){!("rowSpan"in Hn)&&!Hn.hasSubColumns&&(Hn.rowSpan=_t-Dn)})},vn=0;vn<_t;vn+=1)sn(vn);return ft}var wr=function(ft){var Mt=ft.stickyOffsets,_t=ft.columns,sn=ft.flattenColumns,vn=ft.onHeaderRow,kn=E(Pe,["prefixCls","getComponent"]),Dn=kn.prefixCls,Hn=kn.getComponent,Rn=b.useMemo(function(){return er(_t)},[_t]),xr=Hn(["header","wrapper"],"thead"),cr=Hn(["header","row"],"tr"),ar=Hn(["header","cell"],"th");return b.createElement(xr,{className:"".concat(Dn,"-thead")},Rn.map(function(nr,qn){var Kr=b.createElement(Kn,{key:qn,flattenColumns:sn,cells:nr,stickyOffsets:Mt,rowComponent:cr,cellComponent:ar,onHeaderRow:vn,index:qn});return Kr}))},Sr=Re(wr),Er=ae(11592);function Nr(pt){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ft=="number"?ft:ft.endsWith("%")?pt*parseFloat(ft)/100:null}function Br(pt,ft,Mt){return b.useMemo(function(){if(ft&&ft>0){var _t=0,sn=0;pt.forEach(function(ar){var nr=Nr(ft,ar.width);nr?_t+=nr:sn+=1});var vn=Math.max(ft,Mt),kn=Math.max(vn-_t,sn),Dn=sn,Hn=kn/sn,Rn=0,xr=pt.map(function(ar){var nr=(0,We.Z)({},ar),qn=Nr(ft,nr.width);if(qn)nr.width=qn;else{var Kr=Math.floor(Hn);nr.width=Dn===1?kn:Kr,kn-=Kr,Dn-=1}return Rn+=nr.width,nr});if(Rn<vn){var cr=vn/Rn;kn=vn,xr.forEach(function(ar,nr){var qn=Math.floor(ar.width*cr);ar.width=nr===xr.length-1?kn:qn,kn-=qn})}return[xr,Math.max(Rn,vn)]}return[pt,ft]},[pt,ft,Mt])}var jr=["children"],Rr=["fixed"];function Ln(pt){return(0,Er.Z)(pt).filter(function(ft){return b.isValidElement(ft)}).map(function(ft){var Mt=ft.key,_t=ft.props,sn=_t.children,vn=(0,ke.Z)(_t,jr),kn=(0,We.Z)({key:Mt},vn);return sn&&(kn.children=Ln(sn)),kn})}function tr(pt){return pt.filter(function(ft){return ft&&(0,Ke.Z)(ft)==="object"&&!ft.hidden}).map(function(ft){var Mt=ft.children;return Mt&&Mt.length>0?(0,We.Z)((0,We.Z)({},ft),{},{children:tr(Mt)}):ft})}function Ar(pt){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return pt.filter(function(Mt){return Mt&&(0,Ke.Z)(Mt)==="object"}).reduce(function(Mt,_t,sn){var vn=_t.fixed,kn=vn===!0?"left":vn,Dn="".concat(ft,"-").concat(sn),Hn=_t.children;return Hn&&Hn.length>0?[].concat((0,Wn.Z)(Mt),(0,Wn.Z)(Ar(Hn,Dn).map(function(Rn){return(0,We.Z)({fixed:kn},Rn)}))):[].concat((0,Wn.Z)(Mt),[(0,We.Z)((0,We.Z)({key:Dn},_t),{},{fixed:kn})])},[])}function yr(pt){return pt.map(function(ft){var Mt=ft.fixed,_t=(0,ke.Z)(ft,Rr),sn=Mt;return Mt==="left"?sn="right":Mt==="right"&&(sn="left"),(0,We.Z)({fixed:sn},_t)})}function Zt(pt,ft){var Mt=pt.prefixCls,_t=pt.columns,sn=pt.children,vn=pt.expandable,kn=pt.expandedKeys,Dn=pt.columnTitle,Hn=pt.getRowKey,Rn=pt.onTriggerExpand,xr=pt.expandIcon,cr=pt.rowExpandable,ar=pt.expandIconColumnIndex,nr=pt.direction,qn=pt.expandRowByClick,Kr=pt.columnWidth,Or=pt.fixed,Jr=pt.scrollWidth,ni=pt.clientWidth,Zr=b.useMemo(function(){var wi=_t||Ln(sn)||[];return tr(wi.slice())},[_t,sn]),ai=b.useMemo(function(){if(vn){var wi=Zr.slice();if(!wi.includes(oe)){var Ei=ar||0;Ei>=0&&(Ei||Or==="left"||!Or)&&wi.splice(Ei,0,oe),Or==="right"&&wi.splice(Zr.length,0,oe)}var di=wi.indexOf(oe);wi=wi.filter(function(ji,ui){return ji!==oe||ui===di});var ri=Zr[di],Ci;Or?Ci=Or:Ci=ri?ri.fixed:null;var Ai=(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},Xn,{className:"".concat(Mt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Dn),"fixed",Ci),"className","".concat(Mt,"-row-expand-icon-cell")),"width",Kr),"render",function(ui,uo,co){var ia=Hn(uo,co),ea=kn.has(ia),_o=cr?cr(uo):!0,$o=xr({prefixCls:Mt,expanded:ea,expandable:_o,record:uo,onExpand:Rn});return qn?b.createElement("span",{onClick:function(vo){return vo.stopPropagation()}},$o):$o});return wi.map(function(ji){return ji===oe?Ai:ji})}return Zr.filter(function(ji){return ji!==oe})},[vn,Zr,Hn,kn,xr,nr]),pi=b.useMemo(function(){var wi=ai;return ft&&(wi=ft(wi)),wi.length||(wi=[{render:function(){return null}}]),wi},[ft,ai,nr]),xi=b.useMemo(function(){return nr==="rtl"?yr(Ar(pi)):Ar(pi)},[pi,nr,Jr]),yi=b.useMemo(function(){for(var wi=-1,Ei=xi.length-1;Ei>=0;Ei-=1){var di=xi[Ei].fixed;if(di==="left"||di===!0){wi=Ei;break}}if(wi>=0)for(var ri=0;ri<=wi;ri+=1){var Ci=xi[ri].fixed;if(Ci!=="left"&&Ci!==!0)return!0}var Ai=xi.findIndex(function(uo){var co=uo.fixed;return co==="right"});if(Ai>=0)for(var ji=Ai;ji<xi.length;ji+=1){var ui=xi[ji].fixed;if(ui!=="right")return!0}return!1},[xi]),eo=Br(xi,Jr,ni),Fi=(0,De.Z)(eo,2),Ni=Fi[0],Ki=Fi[1];return[pi,Ni,Ki,yi]}var St=Zt;function Ot(pt,ft,Mt){var _t=gr(pt),sn=_t.expandIcon,vn=_t.expandedRowKeys,kn=_t.defaultExpandedRowKeys,Dn=_t.defaultExpandAllRows,Hn=_t.expandedRowRender,Rn=_t.onExpand,xr=_t.onExpandedRowsChange,cr=_t.childrenColumnName,ar=sn||Lt,nr=cr||"children",qn=b.useMemo(function(){return Hn?"row":pt.expandable&&pt.internalHooks===ye&&pt.expandable.__PARENT_RENDER_ICON__||ft.some(function(pi){return pi&&(0,Ke.Z)(pi)==="object"&&pi[nr]})?"nest":!1},[!!Hn,ft]),Kr=b.useState(function(){return kn||(Dn?qt(ft,Mt,nr):[])}),Or=(0,De.Z)(Kr,2),Jr=Or[0],ni=Or[1],Zr=b.useMemo(function(){return new Set(vn||Jr||[])},[vn,Jr]),ai=b.useCallback(function(pi){var xi=Mt(pi,ft.indexOf(pi)),yi,eo=Zr.has(xi);eo?(Zr.delete(xi),yi=(0,Wn.Z)(Zr)):yi=[].concat((0,Wn.Z)(Zr),[xi]),ni(yi),Rn&&Rn(!eo,pi),xr&&xr(yi)},[Mt,Zr,ft,Rn,xr]);return[_t,qn,Zr,ar,nr,ai]}function Gt(pt,ft,Mt){var _t=pt.map(function(sn,vn){return gt(vn,vn,pt,ft,Mt)});return(0,He.Z)(function(){return _t},[_t],function(sn,vn){return!(0,re.Z)(sn,vn)})}function kt(pt){var ft=(0,b.useRef)(pt),Mt=(0,b.useState)({}),_t=(0,De.Z)(Mt,2),sn=_t[1],vn=(0,b.useRef)(null),kn=(0,b.useRef)([]);function Dn(Hn){kn.current.push(Hn);var Rn=Promise.resolve();vn.current=Rn,Rn.then(function(){if(vn.current===Rn){var xr=kn.current,cr=ft.current;kn.current=[],xr.forEach(function(ar){ft.current=ar(ft.current)}),vn.current=null,cr!==ft.current&&sn({})}})}return(0,b.useEffect)(function(){return function(){vn.current=null}},[]),[ft.current,Dn]}function Pt(pt){var ft=(0,b.useRef)(pt||null),Mt=(0,b.useRef)();function _t(){window.clearTimeout(Mt.current)}function sn(kn){ft.current=kn,_t(),Mt.current=window.setTimeout(function(){ft.current=null,Mt.current=void 0},100)}function vn(){return ft.current}return(0,b.useEffect)(function(){return _t},[]),[sn,vn]}function xt(){var pt=b.useState(-1),ft=(0,De.Z)(pt,2),Mt=ft[0],_t=ft[1],sn=b.useState(-1),vn=(0,De.Z)(sn,2),kn=vn[0],Dn=vn[1],Hn=b.useCallback(function(Rn,xr){_t(Rn),Dn(xr)},[]);return[Mt,kn,Hn]}var en=ae(47273),on=(0,en.Z)()?window:null;function cn(pt,ft){var Mt=(0,Ke.Z)(pt)==="object"?pt:{},_t=Mt.offsetHeader,sn=_t===void 0?0:_t,vn=Mt.offsetSummary,kn=vn===void 0?0:vn,Dn=Mt.offsetScroll,Hn=Dn===void 0?0:Dn,Rn=Mt.getContainer,xr=Rn===void 0?function(){return on}:Rn,cr=xr()||on,ar=!!pt;return b.useMemo(function(){return{isSticky:ar,stickyClassName:ar?"".concat(ft,"-sticky-holder"):"",offsetHeader:sn,offsetSummary:kn,offsetScroll:Hn,container:cr}},[ar,Hn,sn,kn,ft,cr])}function Yt(pt,ft,Mt){var _t=(0,b.useMemo)(function(){var sn=ft.length,vn=function(Rn,xr,cr){for(var ar=[],nr=0,qn=Rn;qn!==xr;qn+=cr)ar.push(nr),ft[qn].fixed&&(nr+=pt[qn]||0);return ar},kn=vn(0,sn,1),Dn=vn(sn-1,-1,-1).reverse();return Mt==="rtl"?{left:Dn,right:kn}:{left:kn,right:Dn}},[pt,ft,Mt]);return _t}var $t=Yt;function Xt(pt){var ft=pt.className,Mt=pt.children;return b.createElement("div",{className:ft},Mt)}var fn=Xt,lr=ae(8224),Ut=ae(16089),Qt=ae(76846);function Cn(pt){var ft=(0,Qt.bn)(pt),Mt=ft.getBoundingClientRect(),_t=document.documentElement;return{left:Mt.left+(window.pageXOffset||_t.scrollLeft)-(_t.clientLeft||document.body.clientLeft||0),top:Mt.top+(window.pageYOffset||_t.scrollTop)-(_t.clientTop||document.body.clientTop||0)}}var Vt=function(ft,Mt){var _t,sn,vn=ft.scrollBodyRef,kn=ft.onScroll,Dn=ft.offsetScroll,Hn=ft.container,Rn=ft.direction,xr=E(Pe,"prefixCls"),cr=((_t=vn.current)===null||_t===void 0?void 0:_t.scrollWidth)||0,ar=((sn=vn.current)===null||sn===void 0?void 0:sn.clientWidth)||0,nr=cr&&ar*(ar/cr),qn=b.useRef(),Kr=kt({scrollLeft:0,isHiddenScrollBar:!0}),Or=(0,De.Z)(Kr,2),Jr=Or[0],ni=Or[1],Zr=b.useRef({delta:0,x:0}),ai=b.useState(!1),pi=(0,De.Z)(ai,2),xi=pi[0],yi=pi[1],eo=b.useRef(null);b.useEffect(function(){return function(){Ut.Z.cancel(eo.current)}},[]);var Fi=function(){yi(!1)},Ni=function(ri){ri.persist(),Zr.current.delta=ri.pageX-Jr.scrollLeft,Zr.current.x=0,yi(!0),ri.preventDefault()},Ki=function(ri){var Ci,Ai=ri||((Ci=window)===null||Ci===void 0?void 0:Ci.event),ji=Ai.buttons;if(!xi||ji===0){xi&&yi(!1);return}var ui=Zr.current.x+ri.pageX-Zr.current.x-Zr.current.delta,uo=Rn==="rtl";ui=Math.max(uo?nr-ar:0,Math.min(uo?0:ar-nr,ui));var co=!uo||Math.abs(ui)+Math.abs(nr)<ar;co&&(kn({scrollLeft:ui/ar*(cr+2)}),Zr.current.x=ri.pageX)},wi=function(){Ut.Z.cancel(eo.current),eo.current=(0,Ut.Z)(function(){if(vn.current){var ri=Cn(vn.current).top,Ci=ri+vn.current.offsetHeight,Ai=Hn===window?document.documentElement.scrollTop+window.innerHeight:Cn(Hn).top+Hn.clientHeight;Ci-(0,it.Z)()<=Ai||ri>=Ai-Dn?ni(function(ji){return(0,We.Z)((0,We.Z)({},ji),{},{isHiddenScrollBar:!0})}):ni(function(ji){return(0,We.Z)((0,We.Z)({},ji),{},{isHiddenScrollBar:!1})})}})},Ei=function(ri){ni(function(Ci){return(0,We.Z)((0,We.Z)({},Ci),{},{scrollLeft:ri/cr*ar||0})})};return b.useImperativeHandle(Mt,function(){return{setScrollLeft:Ei,checkScrollBarVisible:wi}}),b.useEffect(function(){var di=(0,lr.Z)(document.body,"mouseup",Fi,!1),ri=(0,lr.Z)(document.body,"mousemove",Ki,!1);return wi(),function(){di.remove(),ri.remove()}},[nr,xi]),b.useEffect(function(){if(vn.current){for(var di=[],ri=(0,Qt.bn)(vn.current);ri;)di.push(ri),ri=ri.parentElement;return di.forEach(function(Ci){return Ci.addEventListener("scroll",wi,!1)}),window.addEventListener("resize",wi,!1),window.addEventListener("scroll",wi,!1),Hn.addEventListener("scroll",wi,!1),function(){di.forEach(function(Ci){return Ci.removeEventListener("scroll",wi)}),window.removeEventListener("resize",wi),window.removeEventListener("scroll",wi),Hn.removeEventListener("scroll",wi)}}},[Hn]),b.useEffect(function(){Jr.isHiddenScrollBar||ni(function(di){var ri=vn.current;return ri?(0,We.Z)((0,We.Z)({},di),{},{scrollLeft:ri.scrollLeft/ri.scrollWidth*ri.clientWidth}):di})},[Jr.isHiddenScrollBar]),cr<=ar||!nr||Jr.isHiddenScrollBar?null:b.createElement("div",{style:{height:(0,it.Z)(),width:ar,bottom:Dn},className:"".concat(xr,"-sticky-scroll")},b.createElement("div",{onMouseDown:Ni,ref:qn,className:Je()("".concat(xr,"-sticky-scroll-bar"),(0,Ne.Z)({},"".concat(xr,"-sticky-scroll-bar-active"),xi)),style:{width:"".concat(nr,"px"),transform:"translate3d(".concat(Jr.scrollLeft,"px, 0, 0)")}}))},jt=b.forwardRef(Vt);function hn(pt){return null}var wn=hn;function bn(pt){return null}var In=bn,Fn="rc-table",Zn=[],Mn={};function Gn(){return"No Data"}function sr(pt,ft){var Mt=(0,We.Z)({rowKey:"key",prefixCls:Fn,emptyText:Gn},pt),_t=Mt.prefixCls,sn=Mt.className,vn=Mt.rowClassName,kn=Mt.style,Dn=Mt.data,Hn=Mt.rowKey,Rn=Mt.scroll,xr=Mt.tableLayout,cr=Mt.direction,ar=Mt.title,nr=Mt.footer,qn=Mt.summary,Kr=Mt.caption,Or=Mt.id,Jr=Mt.showHeader,ni=Mt.components,Zr=Mt.emptyText,ai=Mt.onRow,pi=Mt.onHeaderRow,xi=Mt.onScroll,yi=Mt.internalHooks,eo=Mt.transformColumns,Fi=Mt.internalRefs,Ni=Mt.tailor,Ki=Mt.getContainerWidth,wi=Mt.sticky,Ei=Mt.rowHoverable,di=Ei===void 0?!0:Ei,ri=Dn||Zn,Ci=!!ri.length,Ai=yi===ye,ji=b.useCallback(function(Po,No){return(0,lt.Z)(ni,Po)||No},[ni]),ui=b.useMemo(function(){return typeof Hn=="function"?Hn:function(Po){var No=Po&&Po[Hn];return No}},[Hn]),uo=ji(["body"]),co=xt(),ia=(0,De.Z)(co,3),ea=ia[0],_o=ia[1],$o=ia[2],ca=Ot(Mt,ri,ui),vo=(0,De.Z)(ca,6),xo=vo[0],Jo=vo[1],ta=vo[2],Li=vo[3],Qi=vo[4],Oi=vo[5],bi=Rn==null?void 0:Rn.x,go=b.useState(0),Lo=(0,De.Z)(go,2),Qo=Lo[0],So=Lo[1],oa=St((0,We.Z)((0,We.Z)((0,We.Z)({},Mt),xo),{},{expandable:!!xo.expandedRowRender,columnTitle:xo.columnTitle,expandedKeys:ta,getRowKey:ui,onTriggerExpand:Oi,expandIcon:Li,expandIconColumnIndex:xo.expandIconColumnIndex,direction:cr,scrollWidth:Ai&&Ni&&typeof bi=="number"?bi:null,clientWidth:Qo}),Ai?eo:null),ma=(0,De.Z)(oa,4),zi=ma[0],_i=ma[1],Do=ma[2],jo=ma[3],Ro=Do!=null?Do:bi,wa=b.useMemo(function(){return{columns:zi,flattenColumns:_i}},[zi,_i]),da=b.useRef(),Ua=b.useRef(),Wo=b.useRef(),To=b.useRef();b.useImperativeHandle(ft,function(){return{nativeElement:da.current,scrollTo:function(No){var _a;if(Wo.current instanceof HTMLElement){var ss=No.index,Va=No.top,Ls=No.key;if(qe(Va)){var $s;($s=Wo.current)===null||$s===void 0||$s.scrollTo({top:Va})}else{var Ns,wl=Ls!=null?Ls:ui(ri[ss]);(Ns=Wo.current.querySelector('[data-row-key="'.concat(wl,'"]')))===null||Ns===void 0||Ns.scrollIntoView()}}else(_a=Wo.current)!==null&&_a!==void 0&&_a.scrollTo&&Wo.current.scrollTo(No)}}});var Uo=b.useRef(),Vo=b.useState(!1),va=(0,De.Z)(Vo,2),aa=va[0],Oo=va[1],Ko=b.useState(!1),ko=(0,De.Z)(Ko,2),ja=ko[0],sa=ko[1],Ja=b.useState(new Map),ts=(0,De.Z)(Ja,2),Cs=ts[0],Go=ts[1],Rl=Xe(_i),ns=Rl.map(function(Po){return Cs.get(Po)}),ms=b.useMemo(function(){return ns},[ns.join("_")]),vs=$t(ms,_i,cr),Oa=Rn&&$e(Rn.y),Xo=Rn&&$e(Ro)||!!xo.fixed,rs=Xo&&_i.some(function(Po){var No=Po.fixed;return No}),Xs=b.useRef(),Os=cn(wi,_t),Bs=Os.isSticky,bl=Os.offsetHeader,Fl=Os.offsetSummary,Xl=Os.offsetScroll,Yl=Os.stickyClassName,vu=Os.container,oo=b.useMemo(function(){return qn==null?void 0:qn(ri)},[qn,ri]),Ao=(Oa||Bs)&&b.isValidElement(oo)&&oo.type===x&&oo.props.fixed,na,fa,Ba;Oa&&(fa={overflowY:Ci?"scroll":"auto",maxHeight:Rn.y}),Xo&&(na={overflowX:"auto"},Oa||(fa={overflowY:"hidden"}),Ba={width:Ro===!0?"auto":Ro,minWidth:"100%"});var pa=b.useCallback(function(Po,No){Go(function(_a){if(_a.get(Po)!==No){var ss=new Map(_a);return ss.set(Po,No),ss}return _a})},[]),ws=Pt(null),za=(0,De.Z)(ws,2),Ms=za[0],$l=za[1];function xl(Po,No){No&&(typeof No=="function"?No(Po):No.scrollLeft!==Po&&(No.scrollLeft=Po,No.scrollLeft!==Po&&setTimeout(function(){No.scrollLeft=Po},0)))}var il=(0,de.Z)(function(Po){var No=Po.currentTarget,_a=Po.scrollLeft,ss=cr==="rtl",Va=typeof _a=="number"?_a:No.scrollLeft,Ls=No||Mn;if(!$l()||$l()===Ls){var $s;Ms(Ls),xl(Va,Ua.current),xl(Va,Wo.current),xl(Va,Uo.current),xl(Va,($s=Xs.current)===null||$s===void 0?void 0:$s.setScrollLeft)}var Ns=No||Ua.current;if(Ns){var wl=Ai&&Ni&&typeof Ro=="number"?Ro:Ns.scrollWidth,Du=Ns.clientWidth;if(wl===Du){Oo(!1),sa(!1);return}ss?(Oo(-Va<wl-Du),sa(-Va>0)):(Oo(Va>0),sa(Va<wl-Du))}}),jl=(0,de.Z)(function(Po){il(Po),xi==null||xi(Po)}),ol=function(){if(Xo&&Wo.current){var No;il({currentTarget:(0,Qt.bn)(Wo.current),scrollLeft:(No=Wo.current)===null||No===void 0?void 0:No.scrollLeft})}else Oo(!1),sa(!1)},gu=function(No){var _a,ss=No.width;(_a=Xs.current)===null||_a===void 0||_a.checkScrollBarVisible();var Va=da.current?da.current.offsetWidth:ss;Ai&&Ki&&da.current&&(Va=Ki(da.current,Va)||Va),Va!==Qo&&(ol(),So(Va))},Rs=b.useRef(!1);b.useEffect(function(){Rs.current&&ol()},[Xo,Dn,zi.length]),b.useEffect(function(){Rs.current=!0},[]);var yu=b.useState(0),Wu=(0,De.Z)(yu,2),Ys=Wu[0],bu=Wu[1],xu=b.useState(!0),Cu=(0,De.Z)(xu,2),zl=Cu[0],oc=Cu[1];(0,ve.Z)(function(){(!Ni||!Ai)&&(Wo.current instanceof Element?bu((0,it.o)(Wo.current).width):bu((0,it.o)(To.current).width)),oc((0,Qe.G)("position","sticky"))},[]),b.useEffect(function(){Ai&&Fi&&(Fi.body.current=Wo.current)});var ac=b.useCallback(function(Po){return b.createElement(b.Fragment,null,b.createElement(Sr,Po),Ao==="top"&&b.createElement(Le,Po,oo))},[Ao,oo]),Wl=b.useCallback(function(Po){return b.createElement(Le,Po,oo)},[oo]),wu=ji(["table"],"table"),Hl=b.useMemo(function(){return xr||(rs?Ro==="max-content"?"auto":"fixed":Oa||Bs||_i.some(function(Po){var No=Po.ellipsis;return No})?"fixed":"auto")},[Oa,rs,_i,xr,Bs]),Jl,Zl={colWidths:ms,columCount:_i.length,stickyOffsets:vs,onHeaderRow:pi,fixHeader:Oa,scroll:Rn},Su=b.useMemo(function(){return Ci?null:typeof Zr=="function"?Zr():Zr},[Ci,Zr]),Hu=b.createElement(gn,{data:ri,measureColumnWidth:Oa||Xo||Bs}),Eu=b.createElement(hr,{colWidths:_i.map(function(Po){var No=Po.width;return No}),columns:_i}),Ql=Kr!=null?b.createElement("caption",{className:"".concat(_t,"-caption")},Kr):void 0,sc=(0,ot.Z)(Mt,{data:!0}),ql=(0,ot.Z)(Mt,{aria:!0});if(Oa||Bs){var al;typeof uo=="function"?(al=uo(ri,{scrollbarSize:Ys,ref:Wo,onScroll:il}),Zl.colWidths=_i.map(function(Po,No){var _a=Po.width,ss=No===_i.length-1?_a-Ys:_a;return typeof ss=="number"&&!Number.isNaN(ss)?ss:0})):al=b.createElement("div",{style:(0,We.Z)((0,We.Z)({},na),fa),onScroll:jl,ref:Wo,className:Je()("".concat(_t,"-body"))},b.createElement(wu,(0,te.Z)({style:(0,We.Z)((0,We.Z)({},Ba),{},{tableLayout:Hl})},ql),Ql,Eu,Hu,!Ao&&oo&&b.createElement(Le,{stickyOffsets:vs,flattenColumns:_i},oo)));var Cl=(0,We.Z)((0,We.Z)((0,We.Z)({noData:!ri.length,maxContentScroll:Xo&&Ro==="max-content"},Zl),wa),{},{direction:cr,stickyClassName:Yl,onScroll:il});Jl=b.createElement(b.Fragment,null,Jr!==!1&&b.createElement(An,(0,te.Z)({},Cl,{stickyTopOffset:bl,className:"".concat(_t,"-header"),ref:Ua}),ac),al,Ao&&Ao!=="top"&&b.createElement(An,(0,te.Z)({},Cl,{stickyBottomOffset:Fl,className:"".concat(_t,"-summary"),ref:Uo}),Wl),Bs&&Wo.current&&Wo.current instanceof Element&&b.createElement(jt,{ref:Xs,offsetScroll:Xl,scrollBodyRef:Wo,onScroll:il,container:vu,direction:cr}))}else Jl=b.createElement("div",{style:(0,We.Z)((0,We.Z)({},na),fa),className:Je()("".concat(_t,"-content")),onScroll:il,ref:Wo},b.createElement(wu,(0,te.Z)({style:(0,We.Z)((0,We.Z)({},Ba),{},{tableLayout:Hl})},ql),Ql,Eu,Jr!==!1&&b.createElement(Sr,(0,te.Z)({},Zl,wa)),Hu,oo&&b.createElement(Le,{stickyOffsets:vs,flattenColumns:_i},oo)));var Au=b.createElement("div",(0,te.Z)({className:Je()(_t,sn,(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},"".concat(_t,"-rtl"),cr==="rtl"),"".concat(_t,"-ping-left"),aa),"".concat(_t,"-ping-right"),ja),"".concat(_t,"-layout-fixed"),xr==="fixed"),"".concat(_t,"-fixed-header"),Oa),"".concat(_t,"-fixed-column"),rs),"".concat(_t,"-fixed-column-gapped"),rs&&jo),"".concat(_t,"-scroll-horizontal"),Xo),"".concat(_t,"-has-fix-left"),_i[0]&&_i[0].fixed),"".concat(_t,"-has-fix-right"),_i[_i.length-1]&&_i[_i.length-1].fixed==="right")),style:kn,id:Or,ref:da},sc),ar&&b.createElement(fn,{className:"".concat(_t,"-title")},ar(ri)),b.createElement("div",{ref:To,className:"".concat(_t,"-container")},Jl),nr&&b.createElement(fn,{className:"".concat(_t,"-footer")},nr(ri)));Xo&&(Au=b.createElement(Be.Z,{onResize:gu},Au));var Iu=Gt(_i,vs,cr),eu=b.useMemo(function(){return{scrollX:Ro,prefixCls:_t,getComponent:ji,scrollbarSize:Ys,direction:cr,fixedInfoList:Iu,isSticky:Bs,supportSticky:zl,componentWidth:Qo,fixHeader:Oa,fixColumn:rs,horizonScroll:Xo,tableLayout:Hl,rowClassName:vn,expandedRowClassName:xo.expandedRowClassName,expandIcon:Li,expandableType:Jo,expandRowByClick:xo.expandRowByClick,expandedRowRender:xo.expandedRowRender,onTriggerExpand:Oi,expandIconColumnIndex:xo.expandIconColumnIndex,indentSize:xo.indentSize,allColumnsFixedLeft:_i.every(function(Po){return Po.fixed==="left"}),emptyNode:Su,columns:zi,flattenColumns:_i,onColumnResize:pa,hoverStartRow:ea,hoverEndRow:_o,onHover:$o,rowExpandable:xo.rowExpandable,onRow:ai,getRowKey:ui,expandedKeys:ta,childrenColumnName:Qi,rowHoverable:di}},[Ro,_t,ji,Ys,cr,Iu,Bs,zl,Qo,Oa,rs,Xo,Hl,vn,xo.expandedRowClassName,Li,Jo,xo.expandRowByClick,xo.expandedRowRender,Oi,xo.expandIconColumnIndex,xo.indentSize,Su,zi,_i,pa,ea,_o,$o,xo.rowExpandable,ai,ui,ta,Qi,di]);return b.createElement(Pe.Provider,{value:eu},Au)}var jn=b.forwardRef(sr);function ir(pt){return Ae(jn,pt)}var Dr=ir();Dr.EXPAND_COLUMN=oe,Dr.INTERNAL_HOOKS=ye,Dr.Column=wn,Dr.ColumnGroup=In,Dr.Summary=Se;var Tr=Dr,Wr=ae(48911),vr=fe(null),Ir=fe(null);function _r(pt,ft,Mt){var _t=ft||1;return Mt[pt+_t]-(Mt[pt]||0)}function mr(pt){var ft=pt.rowInfo,Mt=pt.column,_t=pt.colIndex,sn=pt.indent,vn=pt.index,kn=pt.component,Dn=pt.renderIndex,Hn=pt.record,Rn=pt.style,xr=pt.className,cr=pt.inverse,ar=pt.getHeight,nr=Mt.render,qn=Mt.dataIndex,Kr=Mt.className,Or=Mt.width,Jr=E(Ir,["columnsOffset"]),ni=Jr.columnsOffset,Zr=Dt(ft,Mt,_t,sn,vn),ai=Zr.key,pi=Zr.fixedInfo,xi=Zr.appendCellNode,yi=Zr.additionalCellProps,eo=yi.style,Fi=yi.colSpan,Ni=Fi===void 0?1:Fi,Ki=yi.rowSpan,wi=Ki===void 0?1:Ki,Ei=_t-1,di=_r(Ei,Ni,ni),ri=Ni>1?Or-di:0,Ci=(0,We.Z)((0,We.Z)((0,We.Z)({},eo),Rn),{},{flex:"0 0 ".concat(di,"px"),width:"".concat(di,"px"),marginRight:ri,pointerEvents:"auto"}),Ai=b.useMemo(function(){return cr?wi<=1:Ni===0||wi===0||wi>1},[wi,Ni,cr]);Ai?Ci.visibility="hidden":cr&&(Ci.height=ar==null?void 0:ar(wi));var ji=Ai?function(){return null}:nr,ui={};return(wi===0||Ni===0)&&(ui.rowSpan=1,ui.colSpan=1),b.createElement(Ct,(0,te.Z)({className:Je()(Kr,xr),ellipsis:Mt.ellipsis,align:Mt.align,scope:Mt.rowScope,component:kn,prefixCls:ft.prefixCls,key:ai,record:Hn,index:vn,renderIndex:Dn,dataIndex:qn,render:ji,shouldCellUpdate:Mt.shouldCellUpdate},pi,{appendNode:xi,additionalProps:(0,We.Z)((0,We.Z)({},yi),{},{style:Ci},ui)}))}var Gr=mr,Fr=["data","index","className","rowKey","style","extra","getHeight"],gi=b.forwardRef(function(pt,ft){var Mt=pt.data,_t=pt.index,sn=pt.className,vn=pt.rowKey,kn=pt.style,Dn=pt.extra,Hn=pt.getHeight,Rn=(0,ke.Z)(pt,Fr),xr=Mt.record,cr=Mt.indent,ar=Mt.index,nr=E(Pe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),qn=nr.scrollX,Kr=nr.flattenColumns,Or=nr.prefixCls,Jr=nr.fixColumn,ni=nr.componentWidth,Zr=E(vr,["getComponent"]),ai=Zr.getComponent,pi=Ft(xr,vn,_t,cr),xi=ai(["body","row"],"div"),yi=ai(["body","cell"],"div"),eo=pi.rowSupportExpand,Fi=pi.expanded,Ni=pi.rowProps,Ki=pi.expandedRowRender,wi=pi.expandedRowClassName,Ei;if(eo&&Fi){var di=Ki(xr,_t,cr+1,Fi),ri=Wt(wi,xr,_t,cr),Ci={};Jr&&(Ci={style:(0,Ne.Z)({},"--virtual-width","".concat(ni,"px"))});var Ai="".concat(Or,"-expanded-row-cell");Ei=b.createElement(xi,{className:Je()("".concat(Or,"-expanded-row"),"".concat(Or,"-expanded-row-level-").concat(cr+1),ri)},b.createElement(Ct,{component:yi,prefixCls:Or,className:Je()(Ai,(0,Ne.Z)({},"".concat(Ai,"-fixed"),Jr)),additionalProps:Ci},di))}var ji=(0,We.Z)((0,We.Z)({},kn),{},{width:qn});Dn&&(ji.position="absolute",ji.pointerEvents="none");var ui=b.createElement(xi,(0,te.Z)({},Ni,Rn,{"data-row-key":vn,ref:eo?null:ft,className:Je()(sn,"".concat(Or,"-row"),Ni==null?void 0:Ni.className,(0,Ne.Z)({},"".concat(Or,"-row-extra"),Dn)),style:(0,We.Z)((0,We.Z)({},ji),Ni==null?void 0:Ni.style)}),Kr.map(function(uo,co){return b.createElement(Gr,{key:co,component:yi,rowInfo:pi,column:uo,colIndex:co,indent:cr,index:_t,renderIndex:ar,record:xr,inverse:Dn,getHeight:Hn})}));return eo?b.createElement("div",{ref:ft},ui,Ei):ui}),Xr=Re(gi),$r=Xr,ti=b.forwardRef(function(pt,ft){var Mt=pt.data,_t=pt.onScroll,sn=E(Pe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),vn=sn.flattenColumns,kn=sn.onColumnResize,Dn=sn.getRowKey,Hn=sn.expandedKeys,Rn=sn.prefixCls,xr=sn.childrenColumnName,cr=sn.scrollX,ar=sn.direction,nr=E(vr),qn=nr.sticky,Kr=nr.scrollY,Or=nr.listItemHeight,Jr=nr.getComponent,ni=nr.onScroll,Zr=b.useRef(),ai=Rt(Mt,xr,Hn,Dn),pi=b.useMemo(function(){var Ei=0;return vn.map(function(di){var ri=di.width,Ci=di.key;return Ei+=ri,[Ci,ri,Ei]})},[vn]),xi=b.useMemo(function(){return pi.map(function(Ei){return Ei[2]})},[pi]);b.useEffect(function(){pi.forEach(function(Ei){var di=(0,De.Z)(Ei,2),ri=di[0],Ci=di[1];kn(ri,Ci)})},[pi]),b.useImperativeHandle(ft,function(){var Ei,di={scrollTo:function(Ci){var Ai;(Ai=Zr.current)===null||Ai===void 0||Ai.scrollTo(Ci)},nativeElement:(Ei=Zr.current)===null||Ei===void 0?void 0:Ei.nativeElement};return Object.defineProperty(di,"scrollLeft",{get:function(){var Ci;return((Ci=Zr.current)===null||Ci===void 0?void 0:Ci.getScrollInfo().x)||0},set:function(Ci){var Ai;(Ai=Zr.current)===null||Ai===void 0||Ai.scrollTo({left:Ci})}}),di});var yi=function(di,ri){var Ci,Ai=(Ci=ai[ri])===null||Ci===void 0?void 0:Ci.record,ji=di.onCell;if(ji){var ui,uo=ji(Ai,ri);return(ui=uo==null?void 0:uo.rowSpan)!==null&&ui!==void 0?ui:1}return 1},eo=function(di){var ri=di.start,Ci=di.end,Ai=di.getSize,ji=di.offsetY;if(Ci<0)return null;for(var ui=vn.filter(function(Li){return yi(Li,ri)===0}),uo=ri,co=function(Qi){if(ui=ui.filter(function(Oi){return yi(Oi,Qi)===0}),!ui.length)return uo=Qi,1},ia=ri;ia>=0&&!co(ia);ia-=1);for(var ea=vn.filter(function(Li){return yi(Li,Ci)!==1}),_o=Ci,$o=function(Qi){if(ea=ea.filter(function(Oi){return yi(Oi,Qi)!==1}),!ea.length)return _o=Math.max(Qi-1,Ci),1},ca=Ci;ca<ai.length&&!$o(ca);ca+=1);for(var vo=[],xo=function(Qi){var Oi=ai[Qi];if(!Oi)return 1;vn.some(function(bi){return yi(bi,Qi)>1})&&vo.push(Qi)},Jo=uo;Jo<=_o;Jo+=1)xo(Jo);var ta=vo.map(function(Li){var Qi=ai[Li],Oi=Dn(Qi.record,Li),bi=function(Qo){var So=Li+Qo-1,oa=Dn(ai[So].record,So),ma=Ai(Oi,oa);return ma.bottom-ma.top},go=Ai(Oi);return b.createElement($r,{key:Li,data:Qi,rowKey:Oi,index:Li,style:{top:-ji+go.top},extra:!0,getHeight:bi})});return ta},Fi=b.useMemo(function(){return{columnsOffset:xi}},[xi]),Ni="".concat(Rn,"-tbody"),Ki=Jr(["body","wrapper"]),wi={};return qn&&(wi.position="sticky",wi.bottom=0,(0,Ke.Z)(qn)==="object"&&qn.offsetScroll&&(wi.bottom=qn.offsetScroll)),b.createElement(Ir.Provider,{value:Fi},b.createElement(Wr.Z,{fullHeight:!1,ref:Zr,prefixCls:"".concat(Ni,"-virtual"),styles:{horizontalScrollBar:wi},className:Ni,height:Kr,itemHeight:Or||24,data:ai,itemKey:function(di){return Dn(di.record)},component:Ki,scrollWidth:cr,direction:ar,onVirtualScroll:function(di){var ri,Ci=di.x;_t({currentTarget:(ri=Zr.current)===null||ri===void 0?void 0:ri.nativeElement,scrollLeft:Ci})},onScroll:ni,extraRender:eo},function(Ei,di,ri){var Ci=Dn(Ei.record,di);return b.createElement($r,{data:Ei,rowKey:Ci,index:di,style:ri.style})}))}),oi=Re(ti),kr=oi,Vr=function(ft,Mt){var _t=Mt.ref,sn=Mt.onScroll;return b.createElement(kr,{ref:_t,data:ft,onScroll:sn})};function Cr(pt,ft){var Mt=pt.data,_t=pt.columns,sn=pt.scroll,vn=pt.sticky,kn=pt.prefixCls,Dn=kn===void 0?Fn:kn,Hn=pt.className,Rn=pt.listItemHeight,xr=pt.components,cr=pt.onScroll,ar=sn||{},nr=ar.x,qn=ar.y;typeof nr!="number"&&(nr=1),typeof qn!="number"&&(qn=500);var Kr=(0,dt.zX)(function(ni,Zr){return(0,lt.Z)(xr,ni)||Zr}),Or=(0,dt.zX)(cr),Jr=b.useMemo(function(){return{sticky:vn,scrollY:qn,listItemHeight:Rn,getComponent:Kr,onScroll:Or}},[vn,qn,Rn,Kr,Or]);return b.createElement(vr.Provider,{value:Jr},b.createElement(Tr,(0,te.Z)({},pt,{className:Je()(Hn,"".concat(Dn,"-virtual")),scroll:(0,We.Z)((0,We.Z)({},sn),{},{x:nr}),components:(0,We.Z)((0,We.Z)({},xr),{},{body:Mt!=null&&Mt.length?Vr:void 0}),columns:_t,internalHooks:ye,tailor:!0,ref:ft})))}var _n=b.forwardRef(Cr);function ur(pt){return Ae(_n,pt)}var fr=ur(),Qn=null,Mr=pt=>null,On=pt=>null,$n=ae(84105),pr=ae(82661),zr=ae(34643),Qr=ae(34061),Yr=ae(18929);function ki(pt){const[ft,Mt]=(0,b.useState)(null);return[(0,b.useCallback)((vn,kn,Dn)=>{const Hn=ft!=null?ft:vn,Rn=Math.min(Hn||0,vn),xr=Math.max(Hn||0,vn),cr=kn.slice(Rn,xr+1).map(qn=>pt(qn)),ar=cr.some(qn=>!Dn.has(qn)),nr=[];return cr.forEach(qn=>{ar?(Dn.has(qn)||nr.push(qn),Dn.add(qn)):(Dn.delete(qn),nr.push(qn))}),Mt(ar?xr:null),nr},[ft]),vn=>{Mt(vn)}]}var or=ae(32383),Di=ae(62673),mi=ae(75727),Ii=ae(47889);const Bi={},Si="SELECT_ALL",so="SELECT_INVERT",Co="SELECT_NONE",$i=[],Ji=(pt,ft)=>{let Mt=[];return(ft||[]).forEach(_t=>{Mt.push(_t),_t&&typeof _t=="object"&&pt in _t&&(Mt=[].concat((0,Wn.Z)(Mt),(0,Wn.Z)(Ji(pt,_t[pt]))))}),Mt};var ci=(pt,ft)=>{const{preserveSelectedRowKeys:Mt,selectedRowKeys:_t,defaultSelectedRowKeys:sn,getCheckboxProps:vn,onChange:kn,onSelect:Dn,onSelectAll:Hn,onSelectInvert:Rn,onSelectNone:xr,onSelectMultiple:cr,columnWidth:ar,type:nr,selections:qn,fixed:Kr,renderCell:Or,hideSelectAll:Jr,checkStrictly:ni=!0}=ft||{},{prefixCls:Zr,data:ai,pageData:pi,getRecordByKey:xi,getRowKey:yi,expandType:eo,childrenColumnName:Fi,locale:Ni,getPopupContainer:Ki}=pt,wi=(0,or.ln)("Table"),[Ei,di]=ki(Li=>Li),[ri,Ci]=(0,Yr.Z)(_t||sn||$i,{value:_t}),Ai=b.useRef(new Map),ji=(0,b.useCallback)(Li=>{if(Mt){const Qi=new Map;Li.forEach(Oi=>{let bi=xi(Oi);!bi&&Ai.current.has(Oi)&&(bi=Ai.current.get(Oi)),Qi.set(Oi,bi)}),Ai.current=Qi}},[xi,Mt]);b.useEffect(()=>{ji(ri)},[ri]);const ui=(0,b.useMemo)(()=>Ji(Fi,pi),[Fi,pi]),{keyEntities:uo}=(0,b.useMemo)(()=>{if(ni)return{keyEntities:null};let Li=ai;if(Mt){const Qi=new Set(ui.map((bi,go)=>yi(bi,go))),Oi=Array.from(Ai.current).reduce((bi,go)=>{let[Lo,Qo]=go;return Qi.has(Lo)?bi:bi.concat(Qo)},[]);Li=[].concat((0,Wn.Z)(Li),(0,Wn.Z)(Oi))}return(0,Qr.I8)(Li,{externalGetKey:yi,childrenPropName:Fi})},[ai,yi,ni,Fi,Mt,ui]),co=(0,b.useMemo)(()=>{const Li=new Map;return ui.forEach((Qi,Oi)=>{const bi=yi(Qi,Oi),go=(vn?vn(Qi):null)||{};Li.set(bi,go)}),Li},[ui,yi,vn]),ia=(0,b.useCallback)(Li=>{const Qi=yi(Li);let Oi;return co.has(Qi)?Oi=co.get(yi(Li)):Oi=vn?vn(Li):void 0,!!(Oi!=null&&Oi.disabled)},[co,yi]),[ea,_o]=(0,b.useMemo)(()=>{if(ni)return[ri||[],[]];const{checkedKeys:Li,halfCheckedKeys:Qi}=(0,zr.S)(ri,!0,uo,ia);return[Li||[],Qi]},[ri,ni,uo,ia]),$o=(0,b.useMemo)(()=>{const Li=nr==="radio"?ea.slice(0,1):ea;return new Set(Li)},[ea,nr]),ca=(0,b.useMemo)(()=>nr==="radio"?new Set:new Set(_o),[_o,nr]);b.useEffect(()=>{ft||Ci($i)},[!!ft]);const vo=(0,b.useCallback)((Li,Qi)=>{let Oi,bi;ji(Li),Mt?(Oi=Li,bi=Li.map(go=>Ai.current.get(go))):(Oi=[],bi=[],Li.forEach(go=>{const Lo=xi(go);Lo!==void 0&&(Oi.push(go),bi.push(Lo))})),Ci(Oi),kn==null||kn(Oi,bi,{type:Qi})},[Ci,xi,kn,Mt]),xo=(0,b.useCallback)((Li,Qi,Oi,bi)=>{if(Dn){const go=Oi.map(Lo=>xi(Lo));Dn(xi(Li),Qi,go,bi)}vo(Oi,"single")},[Dn,xi,vo]),Jo=(0,b.useMemo)(()=>!qn||Jr?null:(qn===!0?[Si,so,Co]:qn).map(Qi=>Qi===Si?{key:"all",text:Ni.selectionAll,onSelect(){vo(ai.map((Oi,bi)=>yi(Oi,bi)).filter(Oi=>{const bi=co.get(Oi);return!(bi!=null&&bi.disabled)||$o.has(Oi)}),"all")}}:Qi===so?{key:"invert",text:Ni.selectInvert,onSelect(){const Oi=new Set($o);pi.forEach((go,Lo)=>{const Qo=yi(go,Lo),So=co.get(Qo);So!=null&&So.disabled||(Oi.has(Qo)?Oi.delete(Qo):Oi.add(Qo))});const bi=Array.from(Oi);Rn&&(wi.deprecated(!1,"onSelectInvert","onChange"),Rn(bi)),vo(bi,"invert")}}:Qi===Co?{key:"none",text:Ni.selectNone,onSelect(){xr==null||xr(),vo(Array.from($o).filter(Oi=>{const bi=co.get(Oi);return bi==null?void 0:bi.disabled}),"none")}}:Qi).map(Qi=>Object.assign(Object.assign({},Qi),{onSelect:function(){for(var Oi,bi,go=arguments.length,Lo=new Array(go),Qo=0;Qo<go;Qo++)Lo[Qo]=arguments[Qo];(bi=Qi.onSelect)===null||bi===void 0||(Oi=bi).call.apply(Oi,[Qi].concat(Lo)),di(null)}})),[qn,$o,pi,yi,Rn,vo]);return[(0,b.useCallback)(Li=>{var Qi;if(!ft)return Li.filter(To=>To!==Bi);let Oi=(0,Wn.Z)(Li);const bi=new Set($o),go=ui.map(yi).filter(To=>!co.get(To).disabled),Lo=go.every(To=>bi.has(To)),Qo=go.some(To=>bi.has(To)),So=()=>{const To=[];Lo?go.forEach(Vo=>{bi.delete(Vo),To.push(Vo)}):go.forEach(Vo=>{bi.has(Vo)||(bi.add(Vo),To.push(Vo))});const Uo=Array.from(bi);Hn==null||Hn(!Lo,Uo.map(Vo=>xi(Vo)),To.map(Vo=>xi(Vo))),vo(Uo,"all"),di(null)};let oa,ma;if(nr!=="radio"){let To;if(Jo){const Oo={getPopupContainer:Ki,items:Jo.map((Ko,ko)=>{const{key:ja,text:sa,onSelect:Ja}=Ko;return{key:ja!=null?ja:ko,onClick:()=>{Ja==null||Ja(go)},label:sa}})};To=b.createElement("div",{className:`${Zr}-selection-extra`},b.createElement(mi.Z,{menu:Oo,getPopupContainer:Ki},b.createElement("span",null,b.createElement($n.Z,null))))}const Uo=ui.map((Oo,Ko)=>{const ko=yi(Oo,Ko),ja=co.get(ko)||{};return Object.assign({checked:bi.has(ko)},ja)}).filter(Oo=>{let{disabled:Ko}=Oo;return Ko}),Vo=!!Uo.length&&Uo.length===ui.length,va=Vo&&Uo.every(Oo=>{let{checked:Ko}=Oo;return Ko}),aa=Vo&&Uo.some(Oo=>{let{checked:Ko}=Oo;return Ko});ma=b.createElement(Di.default,{checked:Vo?va:!!ui.length&&Lo,indeterminate:Vo?!va&&aa:!Lo&&Qo,onChange:So,disabled:ui.length===0||Vo,"aria-label":To?"Custom selection":"Select all",skipGroup:!0}),oa=!Jr&&b.createElement("div",{className:`${Zr}-selection`},ma,To)}let zi;nr==="radio"?zi=(To,Uo,Vo)=>{const va=yi(Uo,Vo),aa=bi.has(va),Oo=co.get(va);return{node:b.createElement(Ii.ZP,Object.assign({},Oo,{checked:aa,onClick:Ko=>{var ko;Ko.stopPropagation(),(ko=Oo==null?void 0:Oo.onClick)===null||ko===void 0||ko.call(Oo,Ko)},onChange:Ko=>{var ko;bi.has(va)||xo(va,!0,[va],Ko.nativeEvent),(ko=Oo==null?void 0:Oo.onChange)===null||ko===void 0||ko.call(Oo,Ko)}})),checked:aa}}:zi=(To,Uo,Vo)=>{var va;const aa=yi(Uo,Vo),Oo=bi.has(aa),Ko=ca.has(aa),ko=co.get(aa);let ja;return eo==="nest"?ja=Ko:ja=(va=ko==null?void 0:ko.indeterminate)!==null&&va!==void 0?va:Ko,{node:b.createElement(Di.default,Object.assign({},ko,{indeterminate:ja,checked:Oo,skipGroup:!0,onClick:sa=>{var Ja;sa.stopPropagation(),(Ja=ko==null?void 0:ko.onClick)===null||Ja===void 0||Ja.call(ko,sa)},onChange:sa=>{var Ja;const{nativeEvent:ts}=sa,{shiftKey:Cs}=ts,Go=go.findIndex(ns=>ns===aa),Rl=ea.some(ns=>go.includes(ns));if(Cs&&ni&&Rl){const ns=Ei(Go,go,bi),ms=Array.from(bi);cr==null||cr(!Oo,ms.map(vs=>xi(vs)),ns.map(vs=>xi(vs))),vo(ms,"multiple")}else{const ns=ea;if(ni){const ms=Oo?(0,pr._5)(ns,aa):(0,pr.L0)(ns,aa);xo(aa,!Oo,ms,ts)}else{const ms=(0,zr.S)([].concat((0,Wn.Z)(ns),[aa]),!0,uo,ia),{checkedKeys:vs,halfCheckedKeys:Oa}=ms;let Xo=vs;if(Oo){const rs=new Set(vs);rs.delete(aa),Xo=(0,zr.S)(Array.from(rs),{checked:!1,halfCheckedKeys:Oa},uo,ia).checkedKeys}xo(aa,!Oo,Xo,ts)}}di(Oo?null:Go),(Ja=ko==null?void 0:ko.onChange)===null||Ja===void 0||Ja.call(ko,sa)}})),checked:Oo}};const _i=(To,Uo,Vo)=>{const{node:va,checked:aa}=zi(To,Uo,Vo);return Or?Or(aa,Uo,Vo,va):va};if(!Oi.includes(Bi))if(Oi.findIndex(To=>{var Uo;return((Uo=To[Xn])===null||Uo===void 0?void 0:Uo.columnType)==="EXPAND_COLUMN"})===0){const[To,...Uo]=Oi;Oi=[To,Bi].concat((0,Wn.Z)(Uo))}else Oi=[Bi].concat((0,Wn.Z)(Oi));const Do=Oi.indexOf(Bi);Oi=Oi.filter((To,Uo)=>To!==Bi||Uo===Do);const jo=Oi[Do-1],Ro=Oi[Do+1];let wa=Kr;wa===void 0&&((Ro==null?void 0:Ro.fixed)!==void 0?wa=Ro.fixed:(jo==null?void 0:jo.fixed)!==void 0&&(wa=jo.fixed)),wa&&jo&&((Qi=jo[Xn])===null||Qi===void 0?void 0:Qi.columnType)==="EXPAND_COLUMN"&&jo.fixed===void 0&&(jo.fixed=wa);const da=Je()(`${Zr}-selection-col`,{[`${Zr}-selection-col-with-dropdown`]:qn&&nr==="checkbox"}),Ua=()=>ft!=null&&ft.columnTitle?typeof ft.columnTitle=="function"?ft.columnTitle(ma):ft.columnTitle:oa,Wo={fixed:wa,width:ar,className:`${Zr}-selection-column`,title:Ua(),render:_i,onCell:ft.onCell,[Xn]:{className:da}};return Oi.map(To=>To===Bi?Wo:To)},[yi,ui,ft,ea,$o,ca,ar,Jo,eo,co,cr,xo,ia]),$o]},qi=ae(2738);function po(pt,ft){return pt._antProxy=pt._antProxy||{},Object.keys(ft).forEach(Mt=>{if(!(Mt in pt._antProxy)){const _t=pt[Mt];pt._antProxy[Mt]=_t,pt[Mt]=ft[Mt]}}),pt}function Ri(pt,ft){return(0,b.useImperativeHandle)(pt,()=>{const Mt=ft(),{nativeElement:_t}=Mt;return typeof Proxy!="undefined"?new Proxy(_t,{get(sn,vn){return Mt[vn]?Mt[vn]:Reflect.get(sn,vn)}}):po(_t,Mt)})}var no=ae(83010),lo=ae(48755),Gi=ae(38406),fo=ae(83397),ao=ae(31756),Fo=ae(13783),qo=ae(85981),Zo=ae(31709),Yo=ae(29787),Wa=ae(57700);function os(pt){return ft=>{const{prefixCls:Mt,onExpand:_t,record:sn,expanded:vn,expandable:kn}=ft,Dn=`${Mt}-row-expand-icon`;return b.createElement("button",{type:"button",onClick:Hn=>{_t(sn,Hn),Hn.stopPropagation()},className:Je()(Dn,{[`${Dn}-spaced`]:!kn,[`${Dn}-expanded`]:kn&&vn,[`${Dn}-collapsed`]:kn&&!vn}),"aria-label":vn?pt.collapse:pt.expand,"aria-expanded":vn})}}var Hi=os;function ro(pt){return(Mt,_t)=>{const sn=Mt.querySelector(`.${pt}-container`);let vn=_t;if(sn){const kn=getComputedStyle(sn),Dn=parseInt(kn.borderLeftWidth,10),Hn=parseInt(kn.borderRightWidth,10);vn=_t-Dn-Hn}return vn}}const Zi=(pt,ft)=>"key"in pt&&pt.key!==void 0&&pt.key!==null?pt.key:pt.dataIndex?Array.isArray(pt.dataIndex)?pt.dataIndex.join("."):pt.dataIndex:ft;function Vi(pt,ft){return ft?`${ft}-${pt}`:`${pt}`}const ho=(pt,ft)=>typeof pt=="function"?pt(ft):pt,Jn=(pt,ft)=>{const Mt=ho(pt,ft);return Object.prototype.toString.call(Mt)==="[object Object]"?"":Mt};var Hr={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"},qr=Hr,mo=ae(7657),bo=function(ft,Mt){return b.createElement(mo.Z,(0,te.Z)({},ft,{ref:Mt,icon:qr}))},xa=b.forwardRef(bo),ka=xa,wo=ae(9981),ya=ae(40192);function Ga(pt){const ft=b.useRef(pt),Mt=(0,ya.Z)();return[()=>ft.current,_t=>{ft.current=_t,Mt()}]}var Da=ae(7939),Xa=ae(584),Ss=ae(93041),js=ae(78857),la=ae(18287),zs=ae(47472),ps=ae(49397),ll=pt=>{const{value:ft,filterSearch:Mt,tablePrefixCls:_t,locale:sn,onChange:vn}=pt;return Mt?b.createElement("div",{className:`${_t}-filter-dropdown-search`},b.createElement(ps.Z,{prefix:b.createElement(zs.Z,null),placeholder:sn.filterSearchPlaceholder,onChange:vn,value:ft,htmlSize:1,className:`${_t}-filter-dropdown-search-input`})):null},_l=ae(10228);const Vl=pt=>{const{keyCode:ft}=pt;ft===_l.Z.ENTER&&pt.stopPropagation()};var ul=b.forwardRef((pt,ft)=>b.createElement("div",{className:pt.className,onClick:Mt=>Mt.stopPropagation(),onKeyDown:Vl,ref:ft},pt.children));function Es(pt){let ft=[];return(pt||[]).forEach(Mt=>{let{value:_t,children:sn}=Mt;ft.push(_t),sn&&(ft=[].concat((0,Wn.Z)(ft),(0,Wn.Z)(Es(sn))))}),ft}function Ws(pt){return pt.some(ft=>{let{children:Mt}=ft;return Mt})}function cl(pt,ft){return typeof ft=="string"||typeof ft=="number"?ft==null?void 0:ft.toString().toLowerCase().includes(pt.trim().toLowerCase()):!1}function Tl(pt){let{filters:ft,prefixCls:Mt,filteredKeys:_t,filterMultiple:sn,searchValue:vn,filterSearch:kn}=pt;return ft.map((Dn,Hn)=>{const Rn=String(Dn.value);if(Dn.children)return{key:Rn||Hn,label:Dn.text,popupClassName:`${Mt}-dropdown-submenu`,children:Tl({filters:Dn.children,prefixCls:Mt,filteredKeys:_t,filterMultiple:sn,searchValue:vn,filterSearch:kn})};const xr=sn?Di.default:Ii.ZP,cr={key:Dn.value!==void 0?Rn:Hn,label:b.createElement(b.Fragment,null,b.createElement(xr,{checked:_t.includes(Rn)}),b.createElement("span",null,Dn.text))};return vn.trim()?typeof kn=="function"?kn(vn,Dn)?cr:null:cl(vn,Dn.text)?cr:null:cr})}function Qs(pt){return pt||[]}var Bl=pt=>{var ft,Mt,_t,sn;const{tablePrefixCls:vn,prefixCls:kn,column:Dn,dropdownPrefixCls:Hn,columnKey:Rn,filterOnClose:xr,filterMultiple:cr,filterMode:ar="menu",filterSearch:nr=!1,filterState:qn,triggerFilter:Kr,locale:Or,children:Jr,getPopupContainer:ni,rootClassName:Zr}=pt,{filterResetToDefaultFilteredValue:ai,defaultFilteredValue:pi,filterDropdownProps:xi={},filterDropdownOpen:yi,filterDropdownVisible:eo,onFilterDropdownVisibleChange:Fi,onFilterDropdownOpenChange:Ni}=Dn,[Ki,wi]=b.useState(!1),Ei=!!(qn&&(!((ft=qn.filteredKeys)===null||ft===void 0)&&ft.length||qn.forceFiltered)),di=zi=>{var _i;wi(zi),(_i=xi.onOpenChange)===null||_i===void 0||_i.call(xi,zi),Ni==null||Ni(zi),Fi==null||Fi(zi)},ri=(sn=(_t=(Mt=xi.open)!==null&&Mt!==void 0?Mt:yi)!==null&&_t!==void 0?_t:eo)!==null&&sn!==void 0?sn:Ki,Ci=qn==null?void 0:qn.filteredKeys,[Ai,ji]=Ga(Qs(Ci)),ui=zi=>{let{selectedKeys:_i}=zi;ji(_i)},uo=(zi,_i)=>{let{node:Do,checked:jo}=_i;ui(cr?{selectedKeys:zi}:{selectedKeys:jo&&Do.key?[Do.key]:[]})};b.useEffect(()=>{Ki&&ui({selectedKeys:Qs(Ci)})},[Ci]);const[co,ia]=b.useState([]),ea=zi=>{ia(zi)},[_o,$o]=b.useState(""),ca=zi=>{const{value:_i}=zi.target;$o(_i)};b.useEffect(()=>{Ki||$o("")},[Ki]);const vo=zi=>{const _i=zi!=null&&zi.length?zi:null;if(_i===null&&(!qn||!qn.filteredKeys)||(0,re.Z)(_i,qn==null?void 0:qn.filteredKeys,!0))return null;Kr({column:Dn,key:Rn,filteredKeys:_i})},xo=()=>{di(!1),vo(Ai())},Jo=function(){let{confirm:zi,closeDropdown:_i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};zi&&vo([]),_i&&di(!1),$o(""),ji(ai?(pi||[]).map(Do=>String(Do)):[])},ta=function(){let{closeDropdown:zi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};zi&&di(!1),vo(Ai())},Li=(zi,_i)=>{_i.source==="trigger"&&(zi&&Ci!==void 0&&ji(Qs(Ci)),di(zi),!zi&&!Dn.filterDropdown&&xr&&xo())},Qi=Je()({[`${Hn}-menu-without-submenu`]:!Ws(Dn.filters||[])}),Oi=zi=>{if(zi.target.checked){const _i=Es(Dn==null?void 0:Dn.filters).map(Do=>String(Do));ji(_i)}else ji([])},bi=zi=>{let{filters:_i}=zi;return(_i||[]).map((Do,jo)=>{const Ro=String(Do.value),wa={title:Do.text,key:Do.value!==void 0?Ro:String(jo)};return Do.children&&(wa.children=bi({filters:Do.children})),wa})},go=zi=>{var _i;return Object.assign(Object.assign({},zi),{text:zi.title,value:zi.key,children:((_i=zi.children)===null||_i===void 0?void 0:_i.map(Do=>go(Do)))||[]})};let Lo;const{direction:Qo,renderEmpty:So}=b.useContext(lo.E_);if(typeof Dn.filterDropdown=="function")Lo=Dn.filterDropdown({prefixCls:`${Hn}-custom`,setSelectedKeys:zi=>ui({selectedKeys:zi}),selectedKeys:Ai(),confirm:ta,clearFilters:Jo,filters:Dn.filters,visible:ri,close:()=>{di(!1)}});else if(Dn.filterDropdown)Lo=Dn.filterDropdown;else{const zi=Ai()||[],_i=()=>{var jo,Ro;const wa=(jo=So==null?void 0:So("Table.filter"))!==null&&jo!==void 0?jo:b.createElement(Xa.Z,{image:Xa.Z.PRESENTED_IMAGE_SIMPLE,description:Or.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Dn.filters||[]).length===0)return wa;if(ar==="tree")return b.createElement(b.Fragment,null,b.createElement(ll,{filterSearch:nr,value:_o,onChange:ca,tablePrefixCls:vn,locale:Or}),b.createElement("div",{className:`${vn}-filter-dropdown-tree`},cr?b.createElement(Di.default,{checked:zi.length===Es(Dn.filters).length,indeterminate:zi.length>0&&zi.length<Es(Dn.filters).length,className:`${vn}-filter-dropdown-checkall`,onChange:Oi},(Ro=Or==null?void 0:Or.filterCheckall)!==null&&Ro!==void 0?Ro:Or==null?void 0:Or.filterCheckAll):null,b.createElement(la.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:cr,checkStrictly:!cr,className:`${Hn}-menu`,onCheck:uo,checkedKeys:zi,selectedKeys:zi,showIcon:!1,treeData:bi({filters:Dn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:_o.trim()?Wo=>typeof nr=="function"?nr(_o,go(Wo)):cl(_o,Wo.title):void 0})));const da=Tl({filters:Dn.filters||[],filterSearch:nr,prefixCls:kn,filteredKeys:Ai(),filterMultiple:cr,searchValue:_o}),Ua=da.every(Wo=>Wo===null);return b.createElement(b.Fragment,null,b.createElement(ll,{filterSearch:nr,value:_o,onChange:ca,tablePrefixCls:vn,locale:Or}),Ua?wa:b.createElement(Ss.default,{selectable:!0,multiple:cr,prefixCls:`${Hn}-menu`,className:Qi,onSelect:ui,onDeselect:ui,selectedKeys:zi,getPopupContainer:ni,openKeys:co,onOpenChange:ea,items:da}))},Do=()=>ai?(0,re.Z)((pi||[]).map(jo=>String(jo)),zi,!0):zi.length===0;Lo=b.createElement(b.Fragment,null,_i(),b.createElement("div",{className:`${kn}-dropdown-btns`},b.createElement(Da.ZP,{type:"link",size:"small",disabled:Do(),onClick:()=>Jo()},Or.filterReset),b.createElement(Da.ZP,{type:"primary",size:"small",onClick:xo},Or.filterConfirm)))}Dn.filterDropdown&&(Lo=b.createElement(js.J,{selectable:void 0},Lo)),Lo=b.createElement(ul,{className:`${kn}-dropdown`},Lo);const oa=()=>{let zi;return typeof Dn.filterIcon=="function"?zi=Dn.filterIcon(Ei):Dn.filterIcon?zi=Dn.filterIcon:zi=b.createElement(ka,null),b.createElement("span",{role:"button",tabIndex:-1,className:Je()(`${kn}-trigger`,{active:Ei}),onClick:_i=>{_i.stopPropagation()}},zi)},ma=(0,wo.Z)({trigger:["click"],placement:Qo==="rtl"?"bottomLeft":"bottomRight",children:oa(),getPopupContainer:ni},Object.assign(Object.assign({},xi),{rootClassName:Je()(Zr,xi.rootClassName),open:ri,onOpenChange:Li,dropdownRender:()=>typeof(xi==null?void 0:xi.dropdownRender)=="function"?xi.dropdownRender(Lo):Lo}));return b.createElement("div",{className:`${kn}-column`},b.createElement("span",{className:`${vn}-column-title`},Jr),b.createElement(mi.Z,Object.assign({},ma)))};const As=(pt,ft,Mt)=>{let _t=[];return(pt||[]).forEach((sn,vn)=>{var kn;const Dn=Vi(vn,Mt);if(sn.filters||"filterDropdown"in sn||"onFilter"in sn)if("filteredValue"in sn){let Hn=sn.filteredValue;"filterDropdown"in sn||(Hn=(kn=Hn==null?void 0:Hn.map(String))!==null&&kn!==void 0?kn:Hn),_t.push({column:sn,key:Zi(sn,Dn),filteredKeys:Hn,forceFiltered:sn.filtered})}else _t.push({column:sn,key:Zi(sn,Dn),filteredKeys:ft&&sn.defaultFilteredValue?sn.defaultFilteredValue:void 0,forceFiltered:sn.filtered});"children"in sn&&(_t=[].concat((0,Wn.Z)(_t),(0,Wn.Z)(As(sn.children,ft,Dn))))}),_t};function Ya(pt,ft,Mt,_t,sn,vn,kn,Dn,Hn){return Mt.map((Rn,xr)=>{const cr=Vi(xr,Dn),{filterOnClose:ar=!0,filterMultiple:nr=!0,filterMode:qn,filterSearch:Kr}=Rn;let Or=Rn;if(Or.filters||Or.filterDropdown){const Jr=Zi(Or,cr),ni=_t.find(Zr=>{let{key:ai}=Zr;return Jr===ai});Or=Object.assign(Object.assign({},Or),{title:Zr=>b.createElement(Bl,{tablePrefixCls:pt,prefixCls:`${pt}-filter`,dropdownPrefixCls:ft,column:Or,columnKey:Jr,filterState:ni,filterOnClose:ar,filterMultiple:nr,filterMode:qn,filterSearch:Kr,triggerFilter:vn,locale:sn,getPopupContainer:kn,rootClassName:Hn},ho(Rn.title,Zr))})}return"children"in Or&&(Or=Object.assign(Object.assign({},Or),{children:Ya(pt,ft,Or.children,_t,sn,vn,kn,cr,Hn)})),Or})}const Bo=pt=>{const ft={};return pt.forEach(Mt=>{let{key:_t,filteredKeys:sn,column:vn}=Mt;const kn=_t,{filters:Dn,filterDropdown:Hn}=vn;if(Hn)ft[kn]=sn||null;else if(Array.isArray(sn)){const Rn=Es(Dn);ft[kn]=Rn.filter(xr=>sn.includes(String(xr)))}else ft[kn]=null}),ft},io=(pt,ft,Mt)=>ft.reduce((sn,vn)=>{const{column:{onFilter:kn,filters:Dn},filteredKeys:Hn}=vn;return kn&&Hn&&Hn.length?sn.map(Rn=>Object.assign({},Rn)).filter(Rn=>Hn.some(xr=>{const cr=Es(Dn),ar=cr.findIndex(qn=>String(qn)===String(xr)),nr=ar!==-1?cr[ar]:xr;return Rn[Mt]&&(Rn[Mt]=io(Rn[Mt],ft,Mt)),kn(nr,Rn)})):sn},pt),Pa=pt=>pt.flatMap(ft=>"children"in ft?[ft].concat((0,Wn.Z)(Pa(ft.children||[]))):[ft]);var ua=pt=>{const{prefixCls:ft,dropdownPrefixCls:Mt,mergedColumns:_t,onFilterChange:sn,getPopupContainer:vn,locale:kn,rootClassName:Dn}=pt,Hn=(0,or.ln)("Table"),Rn=b.useMemo(()=>Pa(_t||[]),[_t]),[xr,cr]=b.useState(()=>As(Rn,!0)),ar=b.useMemo(()=>{const Or=As(Rn,!1);if(Or.length===0)return Or;let Jr=!0,ni=!0;if(Or.forEach(Zr=>{let{filteredKeys:ai}=Zr;ai!==void 0?Jr=!1:ni=!1}),Jr){const Zr=(Rn||[]).map((ai,pi)=>Zi(ai,Vi(pi)));return xr.filter(ai=>{let{key:pi}=ai;return Zr.includes(pi)}).map(ai=>{const pi=Rn[Zr.findIndex(xi=>xi===ai.key)];return Object.assign(Object.assign({},ai),{column:Object.assign(Object.assign({},ai.column),pi),forceFiltered:pi.filtered})})}return Or},[Rn,xr]),nr=b.useMemo(()=>Bo(ar),[ar]),qn=Or=>{const Jr=ar.filter(ni=>{let{key:Zr}=ni;return Zr!==Or.key});Jr.push(Or),cr(Jr),sn(Bo(Jr),Jr)};return[Or=>Ya(ft,Mt,Or,ar,kn,qn,vn,void 0,Dn),ar,nr]},ys=(pt,ft,Mt)=>{const _t=b.useRef({});function sn(vn){var kn;if(!_t.current||_t.current.data!==pt||_t.current.childrenColumnName!==ft||_t.current.getRowKey!==Mt){let Hn=function(Rn){Rn.forEach((xr,cr)=>{const ar=Mt(xr,cr);Dn.set(ar,xr),xr&&typeof xr=="object"&&ft in xr&&Hn(xr[ft]||[])})};const Dn=new Map;Hn(pt),_t.current={data:pt,childrenColumnName:ft,kvMap:Dn,getRowKey:Mt}}return(kn=_t.current.kvMap)===null||kn===void 0?void 0:kn.get(vn)}return[sn]},as=function(pt,ft){var Mt={};for(var _t in pt)Object.prototype.hasOwnProperty.call(pt,_t)&&ft.indexOf(_t)<0&&(Mt[_t]=pt[_t]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var sn=0,_t=Object.getOwnPropertySymbols(pt);sn<_t.length;sn++)ft.indexOf(_t[sn])<0&&Object.prototype.propertyIsEnumerable.call(pt,_t[sn])&&(Mt[_t[sn]]=pt[_t[sn]]);return Mt};const Is=10;function Ma(pt,ft){const Mt={current:pt.current,pageSize:pt.pageSize};return Object.keys(ft&&typeof ft=="object"?ft:{}).forEach(sn=>{const vn=pt[sn];typeof vn!="function"&&(Mt[sn]=vn)}),Mt}function Ra(pt,ft,Mt){const _t=Mt&&typeof Mt=="object"?Mt:{},{total:sn=0}=_t,vn=as(_t,["total"]),[kn,Dn]=(0,b.useState)(()=>({current:"defaultCurrent"in vn?vn.defaultCurrent:1,pageSize:"defaultPageSize"in vn?vn.defaultPageSize:Is})),Hn=(0,wo.Z)(kn,vn,{total:sn>0?sn:pt}),Rn=Math.ceil((sn||pt)/Hn.pageSize);Hn.current>Rn&&(Hn.current=Rn||1);const xr=(ar,nr)=>{Dn({current:ar!=null?ar:1,pageSize:nr||Hn.pageSize})},cr=(ar,nr)=>{var qn;Mt&&((qn=Mt.onChange)===null||qn===void 0||qn.call(Mt,ar,nr)),xr(ar,nr),ft(ar,nr||(Hn==null?void 0:Hn.pageSize))};return Mt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Hn),{onChange:cr}),xr]}var bs=Ra,Hs=ae(89489),lu=ae(59477),uu=ae(25399);const Zs="ascend",xs="descend",hs=pt=>typeof pt.sorter=="object"&&typeof pt.sorter.multiple=="number"?pt.sorter.multiple:!1,Za=pt=>typeof pt=="function"?pt:pt&&typeof pt=="object"&&pt.compare?pt.compare:!1,Us=(pt,ft)=>ft?pt[pt.indexOf(ft)+1]:pt[0],Ds=(pt,ft,Mt)=>{let _t=[];const sn=(vn,kn)=>{_t.push({column:vn,key:Zi(vn,kn),multiplePriority:hs(vn),sortOrder:vn.sortOrder})};return(pt||[]).forEach((vn,kn)=>{const Dn=Vi(kn,Mt);vn.children?("sortOrder"in vn&&sn(vn,Dn),_t=[].concat((0,Wn.Z)(_t),(0,Wn.Z)(Ds(vn.children,ft,Dn)))):vn.sorter&&("sortOrder"in vn?sn(vn,Dn):ft&&vn.defaultSortOrder&&_t.push({column:vn,key:Zi(vn,Dn),multiplePriority:hs(vn),sortOrder:vn.defaultSortOrder}))}),_t},Ll=(pt,ft,Mt,_t,sn,vn,kn,Dn)=>(ft||[]).map((Rn,xr)=>{const cr=Vi(xr,Dn);let ar=Rn;if(ar.sorter){const nr=ar.sortDirections||sn,qn=ar.showSorterTooltip===void 0?kn:ar.showSorterTooltip,Kr=Zi(ar,cr),Or=Mt.find(Fi=>{let{key:Ni}=Fi;return Ni===Kr}),Jr=Or?Or.sortOrder:null,ni=Us(nr,Jr);let Zr;if(Rn.sortIcon)Zr=Rn.sortIcon({sortOrder:Jr});else{const Fi=nr.includes(Zs)&&b.createElement(lu.Z,{className:Je()(`${pt}-column-sorter-up`,{active:Jr===Zs})}),Ni=nr.includes(xs)&&b.createElement(Hs.Z,{className:Je()(`${pt}-column-sorter-down`,{active:Jr===xs})});Zr=b.createElement("span",{className:Je()(`${pt}-column-sorter`,{[`${pt}-column-sorter-full`]:!!(Fi&&Ni)})},b.createElement("span",{className:`${pt}-column-sorter-inner`,"aria-hidden":"true"},Fi,Ni))}const{cancelSort:ai,triggerAsc:pi,triggerDesc:xi}=vn||{};let yi=ai;ni===xs?yi=xi:ni===Zs&&(yi=pi);const eo=typeof qn=="object"?Object.assign({title:yi},qn):{title:yi};ar=Object.assign(Object.assign({},ar),{className:Je()(ar.className,{[`${pt}-column-sort`]:Jr}),title:Fi=>{const Ni=`${pt}-column-sorters`,Ki=b.createElement("span",{className:`${pt}-column-title`},ho(Rn.title,Fi)),wi=b.createElement("div",{className:Ni},Ki,Zr);return qn?typeof qn!="boolean"&&(qn==null?void 0:qn.target)==="sorter-icon"?b.createElement("div",{className:`${Ni} ${pt}-column-sorters-tooltip-target-sorter`},Ki,b.createElement(uu.Z,Object.assign({},eo),Zr)):b.createElement(uu.Z,Object.assign({},eo),wi):wi},onHeaderCell:Fi=>{var Ni;const Ki=((Ni=Rn.onHeaderCell)===null||Ni===void 0?void 0:Ni.call(Rn,Fi))||{},wi=Ki.onClick,Ei=Ki.onKeyDown;Ki.onClick=Ci=>{_t({column:Rn,key:Kr,sortOrder:ni,multiplePriority:hs(Rn)}),wi==null||wi(Ci)},Ki.onKeyDown=Ci=>{Ci.keyCode===_l.Z.ENTER&&(_t({column:Rn,key:Kr,sortOrder:ni,multiplePriority:hs(Rn)}),Ei==null||Ei(Ci))};const di=Jn(Rn.title,{}),ri=di==null?void 0:di.toString();return Jr&&(Ki["aria-sort"]=Jr==="ascend"?"ascending":"descending"),Ki["aria-label"]=ri||"",Ki.className=Je()(Ki.className,`${pt}-column-has-sorters`),Ki.tabIndex=0,Rn.ellipsis&&(Ki.title=(di!=null?di:"").toString()),Ki}})}return"children"in ar&&(ar=Object.assign(Object.assign({},ar),{children:Ll(pt,ar.children,Mt,_t,sn,vn,kn,cr)})),ar}),Lu=pt=>{const{column:ft,sortOrder:Mt}=pt;return{column:ft,order:Mt,field:ft.dataIndex,columnKey:ft.key}},cu=pt=>{const ft=pt.filter(Mt=>{let{sortOrder:_t}=Mt;return _t}).map(Lu);if(ft.length===0&&pt.length){const Mt=pt.length-1;return Object.assign(Object.assign({},Lu(pt[Mt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ft.length<=1?ft[0]||{}:ft},el=(pt,ft,Mt)=>{const _t=ft.slice().sort((kn,Dn)=>Dn.multiplePriority-kn.multiplePriority),sn=pt.slice(),vn=_t.filter(kn=>{let{column:{sorter:Dn},sortOrder:Hn}=kn;return Za(Dn)&&Hn});return vn.length?sn.sort((kn,Dn)=>{for(let Hn=0;Hn<vn.length;Hn+=1){const Rn=vn[Hn],{column:{sorter:xr},sortOrder:cr}=Rn,ar=Za(xr);if(ar&&cr){const nr=ar(kn,Dn,cr);if(nr!==0)return cr===Zs?nr:-nr}}return 0}).map(kn=>{const Dn=kn[Mt];return Dn?Object.assign(Object.assign({},kn),{[Mt]:el(Dn,ft,Mt)}):kn}):sn};var Nu=pt=>{const{prefixCls:ft,mergedColumns:Mt,sortDirections:_t,tableLocale:sn,showSorterTooltip:vn,onSorterChange:kn}=pt,[Dn,Hn]=b.useState(Ds(Mt,!0)),Rn=(Kr,Or)=>{const Jr=[];return Kr.forEach((ni,Zr)=>{const ai=Vi(Zr,Or);if(Jr.push(Zi(ni,ai)),Array.isArray(ni.children)){const pi=Rn(ni.children,ai);Jr.push.apply(Jr,(0,Wn.Z)(pi))}}),Jr},xr=b.useMemo(()=>{let Kr=!0;const Or=Ds(Mt,!1);if(!Or.length){const ai=Rn(Mt);return Dn.filter(pi=>{let{key:xi}=pi;return ai.includes(xi)})}const Jr=[];function ni(ai){Kr?Jr.push(ai):Jr.push(Object.assign(Object.assign({},ai),{sortOrder:null}))}let Zr=null;return Or.forEach(ai=>{Zr===null?(ni(ai),ai.sortOrder&&(ai.multiplePriority===!1?Kr=!1:Zr=!0)):(Zr&&ai.multiplePriority!==!1||(Kr=!1),ni(ai))}),Jr},[Mt,Dn]),cr=b.useMemo(()=>{var Kr,Or;const Jr=xr.map(ni=>{let{column:Zr,sortOrder:ai}=ni;return{column:Zr,order:ai}});return{sortColumns:Jr,sortColumn:(Kr=Jr[0])===null||Kr===void 0?void 0:Kr.column,sortOrder:(Or=Jr[0])===null||Or===void 0?void 0:Or.order}},[xr]),ar=Kr=>{let Or;Kr.multiplePriority===!1||!xr.length||xr[0].multiplePriority===!1?Or=[Kr]:Or=[].concat((0,Wn.Z)(xr.filter(Jr=>{let{key:ni}=Jr;return ni!==Kr.key})),[Kr]),Hn(Or),kn(cu(Or),Or)};return[Kr=>Ll(ft,Kr,xr,ar,_t,sn,vn),xr,cr,()=>cu(xr)]};const Nl=(pt,ft)=>pt.map(_t=>{const sn=Object.assign({},_t);return sn.title=ho(_t.title,ft),"children"in sn&&(sn.children=Nl(sn.children,ft)),sn});var du=pt=>[b.useCallback(Mt=>Nl(Mt,pt),[pt])],ku=ir((pt,ft)=>{const{_renderTimes:Mt}=pt,{_renderTimes:_t}=ft;return Mt!==_t}),dl=ur((pt,ft)=>{const{_renderTimes:Mt}=pt,{_renderTimes:_t}=ft;return Mt!==_t}),Xi=ae(36237),_s=ae(17835),Vs=ae(63356),fu=ae(16931),Ru=ae(51636),Kl=pt=>{const{componentCls:ft,lineWidth:Mt,lineType:_t,tableBorderColor:sn,tableHeaderBg:vn,tablePaddingVertical:kn,tablePaddingHorizontal:Dn,calc:Hn}=pt,Rn=`${(0,Xi.unit)(Mt)} ${_t} ${sn}`,xr=(cr,ar,nr)=>({[`&${ft}-${cr}`]:{[`> ${ft}-container`]:{[`> ${ft}-content, > ${ft}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ft}-expanded-row-fixed`]:{margin:`${(0,Xi.unit)(Hn(ar).mul(-1).equal())}
|
|
|
${(0,Xi.unit)(Hn(Hn(nr).add(Mt)).mul(-1).equal())}`}}}}}});return{[`${ft}-wrapper`]:{[`${ft}${ft}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ft}-title`]:{border:Rn,borderBottom:0},[`> ${ft}-container`]:{borderInlineStart:Rn,borderTop:Rn,[`
|
|
|
> ${ft}-content,
|
|
|
> ${ft}-header,
|
|
|
> ${ft}-body,
|
|
|
> ${ft}-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:Rn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Rn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ft}-cell-fix-right-first::after`]:{borderInlineEnd:Rn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ft}-expanded-row-fixed`]:{margin:`${(0,Xi.unit)(Hn(kn).mul(-1).equal())} ${(0,Xi.unit)(Hn(Hn(Dn).add(Mt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Mt,bottom:0,borderInlineEnd:Rn,content:'""'}}}}}},[`&${ft}-scroll-horizontal`]:{[`> ${ft}-container > ${ft}-body`]:{"> table > tbody":{[`
|
|
|
> tr${ft}-expanded-row,
|
|
|
> tr${ft}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},xr("middle",pt.tablePaddingVerticalMiddle,pt.tablePaddingHorizontalMiddle)),xr("small",pt.tablePaddingVerticalSmall,pt.tablePaddingHorizontalSmall)),{[`> ${ft}-footer`]:{border:Rn,borderTop:0}}),[`${ft}-cell`]:{[`${ft}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Xi.unit)(Mt)} 0 ${(0,Xi.unit)(Mt)} ${vn}`}},[`${ft}-bordered ${ft}-cell-scrollbar`]:{borderInlineEnd:Rn}}}},fl=pt=>{const{componentCls:ft}=pt;return{[`${ft}-wrapper`]:{[`${ft}-cell-ellipsis`]:Object.assign(Object.assign({},Vs.vS),{wordBreak:"keep-all",[`
|
|
|
&${ft}-cell-fix-left-last,
|
|
|
&${ft}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${ft}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ft}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Ju=pt=>{const{componentCls:ft}=pt;return{[`${ft}-wrapper`]:{[`${ft}-tbody > tr${ft}-placeholder`]:{textAlign:"center",color:pt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:pt.colorBgContainer}}}}},pl=pt=>{const{componentCls:ft,antCls:Mt,motionDurationSlow:_t,lineWidth:sn,paddingXS:vn,lineType:kn,tableBorderColor:Dn,tableExpandIconBg:Hn,tableExpandColumnWidth:Rn,borderRadius:xr,tablePaddingVertical:cr,tablePaddingHorizontal:ar,tableExpandedRowBg:nr,paddingXXS:qn,expandIconMarginTop:Kr,expandIconSize:Or,expandIconHalfInner:Jr,expandIconScale:ni,calc:Zr}=pt,ai=`${(0,Xi.unit)(sn)} ${kn} ${Dn}`,pi=Zr(qn).sub(sn).equal();return{[`${ft}-wrapper`]:{[`${ft}-expand-icon-col`]:{width:Rn},[`${ft}-row-expand-icon-cell`]:{textAlign:"center",[`${ft}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ft}-row-indent`]:{height:1,float:"left"},[`${ft}-row-expand-icon`]:Object.assign(Object.assign({},(0,Vs.Nd)(pt)),{position:"relative",float:"left",width:Or,height:Or,color:"inherit",lineHeight:(0,Xi.unit)(Or),background:Hn,border:ai,borderRadius:xr,transform:`scale(${ni})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${_t} ease-out`,content:'""'},"&::before":{top:Jr,insetInlineEnd:pi,insetInlineStart:pi,height:sn},"&::after":{top:pi,bottom:pi,insetInlineStart:Jr,width:sn,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ft}-row-indent + ${ft}-row-expand-icon`]:{marginTop:Kr,marginInlineEnd:vn},[`tr${ft}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:nr}},[`${Mt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ft}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Xi.unit)(Zr(cr).mul(-1).equal())} ${(0,Xi.unit)(Zr(ar).mul(-1).equal())}`,padding:`${(0,Xi.unit)(cr)} ${(0,Xi.unit)(ar)}`}}}},Ks=pt=>{const{componentCls:ft,antCls:Mt,iconCls:_t,tableFilterDropdownWidth:sn,tableFilterDropdownSearchWidth:vn,paddingXXS:kn,paddingXS:Dn,colorText:Hn,lineWidth:Rn,lineType:xr,tableBorderColor:cr,headerIconColor:ar,fontSizeSM:nr,tablePaddingHorizontal:qn,borderRadius:Kr,motionDurationSlow:Or,colorTextDescription:Jr,colorPrimary:ni,tableHeaderFilterActiveBg:Zr,colorTextDisabled:ai,tableFilterDropdownBg:pi,tableFilterDropdownHeight:xi,controlItemBgHover:yi,controlItemBgActive:eo,boxShadowSecondary:Fi,filterDropdownMenuBg:Ni,calc:Ki}=pt,wi=`${Mt}-dropdown`,Ei=`${ft}-filter-dropdown`,di=`${Mt}-tree`,ri=`${(0,Xi.unit)(Rn)} ${xr} ${cr}`;return[{[`${ft}-wrapper`]:{[`${ft}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ft}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Ki(kn).mul(-1).equal(),marginInline:`${(0,Xi.unit)(kn)} ${(0,Xi.unit)(Ki(qn).div(2).mul(-1).equal())}`,padding:`0 ${(0,Xi.unit)(kn)}`,color:ar,fontSize:nr,borderRadius:Kr,cursor:"pointer",transition:`all ${Or}`,"&:hover":{color:Jr,background:Zr},"&.active":{color:ni}}}},{[`${Mt}-dropdown`]:{[Ei]:Object.assign(Object.assign({},(0,Vs.Wf)(pt)),{minWidth:sn,backgroundColor:pi,borderRadius:Kr,boxShadow:Fi,overflow:"hidden",[`${wi}-menu`]:{maxHeight:xi,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ni,"&:empty::after":{display:"block",padding:`${(0,Xi.unit)(Dn)} 0`,color:ai,fontSize:nr,textAlign:"center",content:'"Not Found"'}},[`${Ei}-tree`]:{paddingBlock:`${(0,Xi.unit)(Dn)} 0`,paddingInline:Dn,[di]:{padding:0},[`${di}-treenode ${di}-node-content-wrapper:hover`]:{backgroundColor:yi},[`${di}-treenode-checkbox-checked ${di}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:eo}}},[`${Ei}-search`]:{padding:Dn,borderBottom:ri,"&-input":{input:{minWidth:vn},[_t]:{color:ai}}},[`${Ei}-checkall`]:{width:"100%",marginBottom:kn,marginInlineStart:kn},[`${Ei}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Xi.unit)(Ki(Dn).sub(Rn).equal())} ${(0,Xi.unit)(Dn)}`,overflow:"hidden",borderTop:ri}})}},{[`${Mt}-dropdown ${Ei}, ${Ei}-submenu`]:{[`${Mt}-checkbox-wrapper + span`]:{paddingInlineStart:Dn,color:Hn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},ml=pt=>{const{componentCls:ft,lineWidth:Mt,colorSplit:_t,motionDurationSlow:sn,zIndexTableFixed:vn,tableBg:kn,zIndexTableSticky:Dn,calc:Hn}=pt,Rn=_t;return{[`${ft}-wrapper`]:{[`
|
|
|
${ft}-cell-fix-left,
|
|
|
${ft}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:vn,background:kn},[`
|
|
|
${ft}-cell-fix-left-first::after,
|
|
|
${ft}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:Hn(Mt).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${sn}`,content:'""',pointerEvents:"none"},[`${ft}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${ft}-cell-fix-right-first::after,
|
|
|
${ft}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:Hn(Mt).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${sn}`,content:'""',pointerEvents:"none"},[`${ft}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Hn(Dn).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${sn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ft}-ping-left`]:{[`&:not(${ft}-has-fix-left) ${ft}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Rn}`},[`
|
|
|
${ft}-cell-fix-left-first::after,
|
|
|
${ft}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Rn}`},[`${ft}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ft}-ping-right`]:{[`&:not(${ft}-has-fix-right) ${ft}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Rn}`},[`
|
|
|
${ft}-cell-fix-right-first::after,
|
|
|
${ft}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Rn}`}},[`${ft}-fixed-column-gapped`]:{[`
|
|
|
${ft}-cell-fix-left-first::after,
|
|
|
${ft}-cell-fix-left-last::after,
|
|
|
${ft}-cell-fix-right-first::after,
|
|
|
${ft}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:"none"}}}}},tl=pt=>{const{componentCls:ft,antCls:Mt,margin:_t}=pt;return{[`${ft}-wrapper`]:{[`${ft}-pagination${Mt}-pagination`]:{margin:`${(0,Xi.unit)(_t)} 0`},[`${ft}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:pt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Fu=pt=>{const{componentCls:ft,tableRadius:Mt}=pt;return{[`${ft}-wrapper`]:{[ft]:{[`${ft}-title, ${ft}-header`]:{borderRadius:`${(0,Xi.unit)(Mt)} ${(0,Xi.unit)(Mt)} 0 0`},[`${ft}-title + ${ft}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ft}-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:Mt,borderStartEndRadius:Mt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Mt},"> *:last-child":{borderStartEndRadius:Mt}}},"&-footer":{borderRadius:`0 0 ${(0,Xi.unit)(Mt)} ${(0,Xi.unit)(Mt)}`}}}}},zu=pt=>{const{componentCls:ft}=pt;return{[`${ft}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ft}-pagination-left`]:{justifyContent:"flex-end"},[`${ft}-pagination-right`]:{justifyContent:"flex-start"},[`${ft}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ft}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ft}-row-indent`]:{float:"right"}}}}},nl=pt=>{const{componentCls:ft,antCls:Mt,iconCls:_t,fontSizeIcon:sn,padding:vn,paddingXS:kn,headerIconColor:Dn,headerIconHoverColor:Hn,tableSelectionColumnWidth:Rn,tableSelectedRowBg:xr,tableSelectedRowHoverBg:cr,tableRowHoverBg:ar,tablePaddingHorizontal:nr,calc:qn}=pt;return{[`${ft}-wrapper`]:{[`${ft}-selection-col`]:{width:Rn,[`&${ft}-selection-col-with-dropdown`]:{width:qn(Rn).add(sn).add(qn(vn).div(4)).equal()}},[`${ft}-bordered ${ft}-selection-col`]:{width:qn(Rn).add(qn(kn).mul(2)).equal(),[`&${ft}-selection-col-with-dropdown`]:{width:qn(Rn).add(sn).add(qn(vn).div(4)).add(qn(kn).mul(2)).equal()}},[`
|
|
|
table tr th${ft}-selection-column,
|
|
|
table tr td${ft}-selection-column,
|
|
|
${ft}-selection-column
|
|
|
`]:{paddingInlineEnd:pt.paddingXS,paddingInlineStart:pt.paddingXS,textAlign:"center",[`${Mt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ft}-selection-column${ft}-cell-fix-left`]:{zIndex:qn(pt.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${ft}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ft}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ft}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${pt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Xi.unit)(qn(nr).div(4).equal()),[_t]:{color:Dn,fontSize:sn,verticalAlign:"baseline","&:hover":{color:Hn}}},[`${ft}-tbody`]:{[`${ft}-row`]:{[`&${ft}-row-selected`]:{[`> ${ft}-cell`]:{background:xr,"&-row-hover":{background:cr}}},[`> ${ft}-cell-row-hover`]:{background:ar}}}}}},Qu=pt=>{const{componentCls:ft,tableExpandColumnWidth:Mt,calc:_t}=pt,sn=(vn,kn,Dn,Hn)=>({[`${ft}${ft}-${vn}`]:{fontSize:Hn,[`
|
|
|
${ft}-title,
|
|
|
${ft}-footer,
|
|
|
${ft}-cell,
|
|
|
${ft}-thead > tr > th,
|
|
|
${ft}-tbody > tr > th,
|
|
|
${ft}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${(0,Xi.unit)(kn)} ${(0,Xi.unit)(Dn)}`},[`${ft}-filter-trigger`]:{marginInlineEnd:(0,Xi.unit)(_t(Dn).div(2).mul(-1).equal())},[`${ft}-expanded-row-fixed`]:{margin:`${(0,Xi.unit)(_t(kn).mul(-1).equal())} ${(0,Xi.unit)(_t(Dn).mul(-1).equal())}`},[`${ft}-tbody`]:{[`${ft}-wrapper:only-child ${ft}`]:{marginBlock:(0,Xi.unit)(_t(kn).mul(-1).equal()),marginInline:`${(0,Xi.unit)(_t(Mt).sub(Dn).equal())} ${(0,Xi.unit)(_t(Dn).mul(-1).equal())}`}},[`${ft}-selection-extra`]:{paddingInlineStart:(0,Xi.unit)(_t(Dn).div(4).equal())}}});return{[`${ft}-wrapper`]:Object.assign(Object.assign({},sn("middle",pt.tablePaddingVerticalMiddle,pt.tablePaddingHorizontalMiddle,pt.tableFontSizeMiddle)),sn("small",pt.tablePaddingVerticalSmall,pt.tablePaddingHorizontalSmall,pt.tableFontSizeSmall))}},ec=pt=>{const{componentCls:ft,marginXXS:Mt,fontSizeIcon:_t,headerIconColor:sn,headerIconHoverColor:vn}=pt;return{[`${ft}-wrapper`]:{[`${ft}-thead th${ft}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${pt.motionDurationSlow}, left 0s`,"&:hover":{background:pt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:pt.colorPrimary},[`
|
|
|
&${ft}-cell-fix-left:hover,
|
|
|
&${ft}-cell-fix-right:hover
|
|
|
`]:{background:pt.tableFixedHeaderSortActiveBg}},[`${ft}-thead th${ft}-column-sort`]:{background:pt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ft}-column-sort`]:{background:pt.tableBodySortBg},[`${ft}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${ft}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ft}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${ft}-column-sorter`]:{marginInlineStart:Mt,color:sn,fontSize:0,transition:`color ${pt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:_t,"&.active":{color:pt.colorPrimary}},[`${ft}-column-sorter-up + ${ft}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ft}-column-sorters:hover ${ft}-column-sorter`]:{color:vn}}}},tc=pt=>{const{componentCls:ft,opacityLoading:Mt,tableScrollThumbBg:_t,tableScrollThumbBgHover:sn,tableScrollThumbSize:vn,tableScrollBg:kn,zIndexTableSticky:Dn,stickyScrollBarBorderRadius:Hn,lineWidth:Rn,lineType:xr,tableBorderColor:cr}=pt,ar=`${(0,Xi.unit)(Rn)} ${xr} ${cr}`;return{[`${ft}-wrapper`]:{[`${ft}-sticky`]:{"&-holder":{position:"sticky",zIndex:Dn,background:pt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Xi.unit)(vn)} !important`,zIndex:Dn,display:"flex",alignItems:"center",background:kn,borderTop:ar,opacity:Mt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:vn,backgroundColor:_t,borderRadius:Hn,transition:`all ${pt.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:sn}}}}}}},es=pt=>{const{componentCls:ft,lineWidth:Mt,tableBorderColor:_t,calc:sn}=pt,vn=`${(0,Xi.unit)(Mt)} ${pt.lineType} ${_t}`;return{[`${ft}-wrapper`]:{[`${ft}-summary`]:{position:"relative",zIndex:pt.zIndexTableFixed,background:pt.tableBg,"> tr":{"> th, > td":{borderBottom:vn}}},[`div${ft}-summary`]:{boxShadow:`0 ${(0,Xi.unit)(sn(Mt).mul(-1).equal())} 0 ${_t}`}}}},$a=pt=>{const{componentCls:ft,motionDurationMid:Mt,lineWidth:_t,lineType:sn,tableBorderColor:vn,calc:kn}=pt,Dn=`${(0,Xi.unit)(_t)} ${sn} ${vn}`,Hn=`${ft}-expanded-row-cell`;return{[`${ft}-wrapper`]:{[`${ft}-tbody-virtual`]:{[`${ft}-tbody-virtual-holder-inner`]:{[`
|
|
|
& > ${ft}-row,
|
|
|
& > div:not(${ft}-row) > ${ft}-row
|
|
|
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${ft}-cell`]:{borderBottom:Dn,transition:`background ${Mt}`},[`${ft}-expanded-row`]:{[`${Hn}${Hn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Xi.unit)(_t)})`,borderInlineEnd:"none"}}},[`${ft}-bordered`]:{[`${ft}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Dn,position:"absolute"},[`${ft}-cell`]:{borderInlineEnd:Dn,[`&${ft}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:kn(_t).mul(-1).equal(),borderInlineStart:Dn}}},[`&${ft}-virtual`]:{[`${ft}-placeholder ${ft}-cell`]:{borderInlineEnd:Dn,borderBottom:Dn}}}}}};const Ta=pt=>{const{componentCls:ft,fontWeightStrong:Mt,tablePaddingVertical:_t,tablePaddingHorizontal:sn,tableExpandColumnWidth:vn,lineWidth:kn,lineType:Dn,tableBorderColor:Hn,tableFontSize:Rn,tableBg:xr,tableRadius:cr,tableHeaderTextColor:ar,motionDurationMid:nr,tableHeaderBg:qn,tableHeaderCellSplitColor:Kr,tableFooterTextColor:Or,tableFooterBg:Jr,calc:ni}=pt,Zr=`${(0,Xi.unit)(kn)} ${Dn} ${Hn}`;return{[`${ft}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Vs.dF)()),{[ft]:Object.assign(Object.assign({},(0,Vs.Wf)(pt)),{fontSize:Rn,background:xr,borderRadius:`${(0,Xi.unit)(cr)} ${(0,Xi.unit)(cr)} 0 0`,scrollbarColor:`${pt.tableScrollThumbBg} ${pt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Xi.unit)(cr)} ${(0,Xi.unit)(cr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${ft}-cell,
|
|
|
${ft}-thead > tr > th,
|
|
|
${ft}-tbody > tr > th,
|
|
|
${ft}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${(0,Xi.unit)(_t)} ${(0,Xi.unit)(sn)}`,overflowWrap:"break-word"},[`${ft}-title`]:{padding:`${(0,Xi.unit)(_t)} ${(0,Xi.unit)(sn)}`},[`${ft}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:ar,fontWeight:Mt,textAlign:"start",background:qn,borderBottom:Zr,transition:`background ${nr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ft}-selection-column):not(${ft}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Kr,transform:"translateY(-50%)",transition:`background-color ${nr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ft}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${nr}, border-color ${nr}`,borderBottom:Zr,[`
|
|
|
> ${ft}-wrapper:only-child,
|
|
|
> ${ft}-expanded-row-fixed > ${ft}-wrapper:only-child
|
|
|
`]:{[ft]:{marginBlock:(0,Xi.unit)(ni(_t).mul(-1).equal()),marginInline:`${(0,Xi.unit)(ni(vn).sub(sn).equal())}
|
|
|
${(0,Xi.unit)(ni(sn).mul(-1).equal())}`,[`${ft}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:ar,fontWeight:Mt,textAlign:"start",background:qn,borderBottom:Zr,transition:`background ${nr} ease`}}},[`${ft}-footer`]:{padding:`${(0,Xi.unit)(_t)} ${(0,Xi.unit)(sn)}`,color:Or,background:Jr}})}},Ml=pt=>{const{colorFillAlter:ft,colorBgContainer:Mt,colorTextHeading:_t,colorFillSecondary:sn,colorFillContent:vn,controlItemBgActive:kn,controlItemBgActiveHover:Dn,padding:Hn,paddingSM:Rn,paddingXS:xr,colorBorderSecondary:cr,borderRadiusLG:ar,controlHeight:nr,colorTextPlaceholder:qn,fontSize:Kr,fontSizeSM:Or,lineHeight:Jr,lineWidth:ni,colorIcon:Zr,colorIconHover:ai,opacityLoading:pi,controlInteractiveSize:xi}=pt,yi=new _s.FastColor(sn).onBackground(Mt).toHexString(),eo=new _s.FastColor(vn).onBackground(Mt).toHexString(),Fi=new _s.FastColor(ft).onBackground(Mt).toHexString(),Ni=new _s.FastColor(Zr),Ki=new _s.FastColor(ai),wi=xi/2-ni,Ei=wi*2+ni*3;return{headerBg:Fi,headerColor:_t,headerSortActiveBg:yi,headerSortHoverBg:eo,bodySortBg:Fi,rowHoverBg:Fi,rowSelectedBg:kn,rowSelectedHoverBg:Dn,rowExpandedBg:ft,cellPaddingBlock:Hn,cellPaddingInline:Hn,cellPaddingBlockMD:Rn,cellPaddingInlineMD:xr,cellPaddingBlockSM:xr,cellPaddingInlineSM:xr,borderColor:cr,headerBorderRadius:ar,footerBg:Fi,footerColor:_t,cellFontSize:Kr,cellFontSizeMD:Kr,cellFontSizeSM:Kr,headerSplitColor:cr,fixedHeaderSortActiveBg:yi,headerFilterHoverBg:vn,filterDropdownMenuBg:Mt,filterDropdownBg:Mt,expandIconBg:Mt,selectionColumnWidth:nr,stickyScrollBarBg:qn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Kr*Jr-ni*3)/2-Math.ceil((Or*1.4-ni*3)/2),headerIconColor:Ni.clone().setA(Ni.a*pi).toRgbString(),headerIconHoverColor:Ki.clone().setA(Ki.a*pi).toRgbString(),expandIconHalfInner:wi,expandIconSize:Ei,expandIconScale:xi/Ei}},yl=2;var rl=(0,fu.I$)("Table",pt=>{const{colorTextHeading:ft,colorSplit:Mt,colorBgContainer:_t,controlInteractiveSize:sn,headerBg:vn,headerColor:kn,headerSortActiveBg:Dn,headerSortHoverBg:Hn,bodySortBg:Rn,rowHoverBg:xr,rowSelectedBg:cr,rowSelectedHoverBg:ar,rowExpandedBg:nr,cellPaddingBlock:qn,cellPaddingInline:Kr,cellPaddingBlockMD:Or,cellPaddingInlineMD:Jr,cellPaddingBlockSM:ni,cellPaddingInlineSM:Zr,borderColor:ai,footerBg:pi,footerColor:xi,headerBorderRadius:yi,cellFontSize:eo,cellFontSizeMD:Fi,cellFontSizeSM:Ni,headerSplitColor:Ki,fixedHeaderSortActiveBg:wi,headerFilterHoverBg:Ei,filterDropdownBg:di,expandIconBg:ri,selectionColumnWidth:Ci,stickyScrollBarBg:Ai,calc:ji}=pt,ui=(0,Ru.mergeToken)(pt,{tableFontSize:eo,tableBg:_t,tableRadius:yi,tablePaddingVertical:qn,tablePaddingHorizontal:Kr,tablePaddingVerticalMiddle:Or,tablePaddingHorizontalMiddle:Jr,tablePaddingVerticalSmall:ni,tablePaddingHorizontalSmall:Zr,tableBorderColor:ai,tableHeaderTextColor:kn,tableHeaderBg:vn,tableFooterTextColor:xi,tableFooterBg:pi,tableHeaderCellSplitColor:Ki,tableHeaderSortBg:Dn,tableHeaderSortHoverBg:Hn,tableBodySortBg:Rn,tableFixedHeaderSortActiveBg:wi,tableHeaderFilterActiveBg:Ei,tableFilterDropdownBg:di,tableRowHoverBg:xr,tableSelectedRowBg:cr,tableSelectedRowHoverBg:ar,zIndexTableFixed:yl,zIndexTableSticky:ji(yl).add(1).equal({unit:!1}),tableFontSizeMiddle:Fi,tableFontSizeSmall:Ni,tableSelectionColumnWidth:Ci,tableExpandIconBg:ri,tableExpandColumnWidth:ji(sn).add(ji(pt.padding).mul(2)).equal(),tableExpandedRowBg:nr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ai,tableScrollThumbBgHover:ft,tableScrollBg:Mt});return[Ta(ui),tl(ui),es(ui),ec(ui),Ks(ui),Kl(ui),Fu(ui),pl(ui),es(ui),Ju(ui),nl(ui),ml(ui),tc(ui),fl(ui),Qu(ui),zu(ui),$a(ui)]},Ml,{unitless:{expandIconScale:!0}});const pu=[],nc=(pt,ft)=>{var Mt,_t;const{prefixCls:sn,className:vn,rootClassName:kn,style:Dn,size:Hn,bordered:Rn,dropdownPrefixCls:xr,dataSource:cr,pagination:ar,rowSelection:nr,rowKey:qn="key",rowClassName:Kr,columns:Or,children:Jr,childrenColumnName:ni,onChange:Zr,getPopupContainer:ai,loading:pi,expandIcon:xi,expandable:yi,expandedRowRender:eo,expandIconColumnIndex:Fi,indentSize:Ni,scroll:Ki,sortDirections:wi,locale:Ei,showSorterTooltip:di={target:"full-header"},virtual:ri}=pt,Ci=(0,or.ln)("Table"),Ai=b.useMemo(()=>Or||Ln(Jr),[Or,Jr]),ji=b.useMemo(()=>Ai.some(oo=>oo.responsive),[Ai]),ui=(0,Fo.Z)(ji),uo=b.useMemo(()=>{const oo=new Set(Object.keys(ui).filter(Ao=>ui[Ao]));return Ai.filter(Ao=>!Ao.responsive||Ao.responsive.some(na=>oo.has(na)))},[Ai,ui]),co=(0,qi.Z)(pt,["className","style","columns"]),{locale:ia=qo.Z,direction:ea,table:_o,renderEmpty:$o,getPrefixCls:ca,getPopupContainer:vo}=b.useContext(lo.E_),xo=(0,ao.Z)(Hn),Jo=Object.assign(Object.assign({},ia.Table),Ei),ta=cr||pu,Li=ca("table",sn),Qi=ca("dropdown",xr),[,Oi]=(0,Wa.ZP)(),bi=(0,fo.Z)(Li),[go,Lo,Qo]=rl(Li,bi),So=Object.assign(Object.assign({childrenColumnName:ni,expandIconColumnIndex:Fi},yi),{expandIcon:(Mt=yi==null?void 0:yi.expandIcon)!==null&&Mt!==void 0?Mt:(_t=_o==null?void 0:_o.expandable)===null||_t===void 0?void 0:_t.expandIcon}),{childrenColumnName:oa="children"}=So,ma=b.useMemo(()=>ta.some(oo=>oo==null?void 0:oo[oa])?"nest":eo||yi!=null&&yi.expandedRowRender?"row":null,[ta]),zi={body:b.useRef(null)},_i=ro(Li),Do=b.useRef(null),jo=b.useRef(null);Ri(ft,()=>Object.assign(Object.assign({},jo.current),{nativeElement:Do.current}));const Ro=b.useMemo(()=>typeof qn=="function"?qn:oo=>oo==null?void 0:oo[qn],[qn]),[wa]=ys(ta,oa,Ro),da={},Ua=function(oo,Ao){let na=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var fa,Ba,pa,ws;const za=Object.assign(Object.assign({},da),oo);na&&((fa=da.resetPagination)===null||fa===void 0||fa.call(da),!((Ba=za.pagination)===null||Ba===void 0)&&Ba.current&&(za.pagination.current=1),ar&&((pa=ar.onChange)===null||pa===void 0||pa.call(ar,1,(ws=za.pagination)===null||ws===void 0?void 0:ws.pageSize))),Ki&&Ki.scrollToFirstRowOnChange!==!1&&zi.body.current&&(0,no.Z)(0,{getContainer:()=>zi.body.current}),Zr==null||Zr(za.pagination,za.filters,za.sorter,{currentDataSource:io(el(ta,za.sorterStates,oa),za.filterStates,oa),action:Ao})},Wo=(oo,Ao)=>{Ua({sorter:oo,sorterStates:Ao},"sort",!1)},[To,Uo,Vo,va]=Nu({prefixCls:Li,mergedColumns:uo,onSorterChange:Wo,sortDirections:wi||["ascend","descend"],tableLocale:Jo,showSorterTooltip:di}),aa=b.useMemo(()=>el(ta,Uo,oa),[ta,Uo]);da.sorter=va(),da.sorterStates=Uo;const Oo=(oo,Ao)=>{Ua({filters:oo,filterStates:Ao},"filter",!0)},[Ko,ko,ja]=ua({prefixCls:Li,locale:Jo,dropdownPrefixCls:Qi,mergedColumns:uo,onFilterChange:Oo,getPopupContainer:ai||vo,rootClassName:Je()(kn,bi)}),sa=io(aa,ko,oa);da.filters=ja,da.filterStates=ko;const Ja=b.useMemo(()=>{const oo={};return Object.keys(ja).forEach(Ao=>{ja[Ao]!==null&&(oo[Ao]=ja[Ao])}),Object.assign(Object.assign({},Vo),{filters:oo})},[Vo,ja]),[ts]=du(Ja),Cs=(oo,Ao)=>{Ua({pagination:Object.assign(Object.assign({},da.pagination),{current:oo,pageSize:Ao})},"paginate")},[Go,Rl]=bs(sa.length,Cs,ar);da.pagination=ar===!1?{}:Ma(Go,ar),da.resetPagination=Rl;const ns=b.useMemo(()=>{if(ar===!1||!Go.pageSize)return sa;const{current:oo=1,total:Ao,pageSize:na=Is}=Go;return sa.length<Ao?sa.length>na?sa.slice((oo-1)*na,oo*na):sa:sa.slice((oo-1)*na,oo*na)},[!!ar,sa,Go==null?void 0:Go.current,Go==null?void 0:Go.pageSize,Go==null?void 0:Go.total]),[ms,vs]=ci({prefixCls:Li,data:sa,pageData:ns,getRowKey:Ro,getRecordByKey:wa,expandType:ma,childrenColumnName:oa,locale:Jo,getPopupContainer:ai||vo},nr),Oa=(oo,Ao,na)=>{let fa;return typeof Kr=="function"?fa=Je()(Kr(oo,Ao,na)):fa=Je()(Kr),Je()({[`${Li}-row-selected`]:vs.has(Ro(oo,Ao))},fa)};So.__PARENT_RENDER_ICON__=So.expandIcon,So.expandIcon=So.expandIcon||xi||Hi(Jo),ma==="nest"&&So.expandIconColumnIndex===void 0?So.expandIconColumnIndex=nr?1:0:So.expandIconColumnIndex>0&&nr&&(So.expandIconColumnIndex-=1),typeof So.indentSize!="number"&&(So.indentSize=typeof Ni=="number"?Ni:15);const Xo=b.useCallback(oo=>ts(ms(Ko(To(oo)))),[To,Ko,ms]);let rs,Xs;if(ar!==!1&&(Go!=null&&Go.total)){let oo;Go.size?oo=Go.size:oo=xo==="small"||xo==="middle"?"small":void 0;const Ao=Ba=>b.createElement(Zo.Z,Object.assign({},Go,{className:Je()(`${Li}-pagination ${Li}-pagination-${Ba}`,Go.className),size:oo})),na=ea==="rtl"?"left":"right",{position:fa}=Go;if(fa!==null&&Array.isArray(fa)){const Ba=fa.find(za=>za.includes("top")),pa=fa.find(za=>za.includes("bottom")),ws=fa.every(za=>`${za}`=="none");!Ba&&!pa&&!ws&&(Xs=Ao(na)),Ba&&(rs=Ao(Ba.toLowerCase().replace("top",""))),pa&&(Xs=Ao(pa.toLowerCase().replace("bottom","")))}else Xs=Ao(na)}let Os;typeof pi=="boolean"?Os={spinning:pi}:typeof pi=="object"&&(Os=Object.assign({spinning:!0},pi));const Bs=Je()(Qo,bi,`${Li}-wrapper`,_o==null?void 0:_o.className,{[`${Li}-wrapper-rtl`]:ea==="rtl"},vn,kn,Lo),bl=Object.assign(Object.assign({},_o==null?void 0:_o.style),Dn),Fl=typeof(Ei==null?void 0:Ei.emptyText)!="undefined"?Ei.emptyText:($o==null?void 0:$o("Table"))||b.createElement(Gi.Z,{componentName:"Table"}),Xl=ri?dl:ku,Yl={},vu=b.useMemo(()=>{const{fontSize:oo,lineHeight:Ao,lineWidth:na,padding:fa,paddingXS:Ba,paddingSM:pa}=Oi,ws=Math.floor(oo*Ao);switch(xo){case"middle":return pa*2+ws+na;case"small":return Ba*2+ws+na;default:return fa*2+ws+na}},[Oi,xo]);return ri&&(Yl.listItemHeight=vu),go(b.createElement("div",{ref:Do,className:Bs,style:bl},b.createElement(Yo.Z,Object.assign({spinning:!1},Os),rs,b.createElement(Xl,Object.assign({},Yl,co,{ref:jo,columns:uo,direction:ea,expandable:So,prefixCls:Li,className:Je()({[`${Li}-middle`]:xo==="middle",[`${Li}-small`]:xo==="small",[`${Li}-bordered`]:Rn,[`${Li}-empty`]:ta.length===0},Qo,bi,Lo),data:ns,rowKey:Ro,rowClassName:Oa,emptyText:Fl,internalHooks:ye,internalRefs:zi,transformColumns:Xo,getContainerWidth:_i})),Xs)))};var rc=b.forwardRef(nc);const hu=(pt,ft)=>{const Mt=b.useRef(0);return Mt.current+=1,b.createElement(rc,Object.assign({},pt,{ref:ft,_renderTimes:Mt.current}))},Ts=b.forwardRef(hu);Ts.SELECTION_COLUMN=Bi,Ts.EXPAND_COLUMN=oe,Ts.SELECTION_ALL=Si,Ts.SELECTION_INVERT=so,Ts.SELECTION_NONE=Co,Ts.Column=Mr,Ts.ColumnGroup=On,Ts.Summary=Se;var mu=Ts,ic=mu},96599:function(Un,pn,ae){"use strict";ae.d(pn,{default:function(){return Je}});var b=ae(59301),oe=ae(92310),ye=ae.n(oe),De=ae(2738),de=ae(29509),ve=ae(78776),re=ae(22703),se=ae(12919),fe=ae(48755),E=ae(36237),te=ae(17835),ne=ae(63356),ge=ae(51636),we=ae(16931);const xe=He=>{const{paddingXXS:lt,lineWidth:ct,tagPaddingHorizontal:tt,componentCls:Bt,calc:nt}=He,Ue=nt(tt).sub(ct).equal(),Xe=nt(lt).sub(ct).equal();return{[Bt]:Object.assign(Object.assign({},(0,ne.Wf)(He)),{display:"inline-block",height:"auto",marginInlineEnd:He.marginXS,paddingInline:Ue,fontSize:He.tagFontSize,lineHeight:He.tagLineHeight,whiteSpace:"nowrap",background:He.defaultBg,border:`${(0,E.unit)(He.lineWidth)} ${He.lineType} ${He.colorBorder}`,borderRadius:He.borderRadiusSM,opacity:1,transition:`all ${He.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Bt}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:He.defaultColor},[`${Bt}-close-icon`]:{marginInlineStart:Xe,fontSize:He.tagIconSize,color:He.colorTextDescription,cursor:"pointer",transition:`all ${He.motionDurationMid}`,"&:hover":{color:He.colorTextHeading}},[`&${Bt}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${He.iconCls}-close, ${He.iconCls}-close:hover`]:{color:He.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Bt}-checkable-checked):hover`]:{color:He.colorPrimary,backgroundColor:He.colorFillSecondary},"&:active, &-checked":{color:He.colorTextLightSolid},"&-checked":{backgroundColor:He.colorPrimary,"&:hover":{backgroundColor:He.colorPrimaryHover}},"&:active":{backgroundColor:He.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${He.iconCls} + span, > span + ${He.iconCls}`]:{marginInlineStart:Ue}}),[`${Bt}-borderless`]:{borderColor:"transparent",background:He.tagBorderlessBg}}},ue=He=>{const{lineWidth:lt,fontSizeIcon:ct,calc:tt}=He,Bt=He.fontSizeSM;return(0,ge.mergeToken)(He,{tagFontSize:Bt,tagLineHeight:(0,E.unit)(tt(He.lineHeightSM).mul(Bt).equal()),tagIconSize:tt(ct).sub(tt(lt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:He.defaultBg})},Ee=He=>({defaultBg:new te.FastColor(He.colorFillQuaternary).onBackground(He.colorBgContainer).toHexString(),defaultColor:He.colorText});var Oe=(0,we.I$)("Tag",He=>{const lt=ue(He);return xe(lt)},Ee),Ae=function(He,lt){var ct={};for(var tt in He)Object.prototype.hasOwnProperty.call(He,tt)&<.indexOf(tt)<0&&(ct[tt]=He[tt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,tt=Object.getOwnPropertySymbols(He);Bt<tt.length;Bt++)lt.indexOf(tt[Bt])<0&&Object.prototype.propertyIsEnumerable.call(He,tt[Bt])&&(ct[tt[Bt]]=He[tt[Bt]]);return ct},Me=b.forwardRef((He,lt)=>{const{prefixCls:ct,style:tt,className:Bt,checked:nt,onChange:Ue,onClick:Xe}=He,$e=Ae(He,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:qe,tag:Ve}=b.useContext(fe.E_),ht=Ct=>{Ue==null||Ue(!nt),Xe==null||Xe(Ct)},st=qe("tag",ct),[Nt,dt,Tt]=Oe(st),bt=ye()(st,`${st}-checkable`,{[`${st}-checkable-checked`]:nt},Ve==null?void 0:Ve.className,Bt,dt,Tt);return Nt(b.createElement("span",Object.assign({},$e,{ref:lt,style:Object.assign(Object.assign({},tt),Ve==null?void 0:Ve.style),className:bt,onClick:ht})))}),be=ae(93427);const Pe=He=>(0,be.Z)(He,(lt,ct)=>{let{textColor:tt,lightBorderColor:Bt,lightColor:nt,darkColor:Ue}=ct;return{[`${He.componentCls}${He.componentCls}-${lt}`]:{color:tt,background:nt,borderColor:Bt,"&-inverse":{color:He.colorTextLightSolid,background:Ue,borderColor:Ue},[`&${He.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Fe=(0,we.bk)(["Tag","preset"],He=>{const lt=ue(He);return Pe(lt)},Ee);function _e(He){return typeof He!="string"?He:He.charAt(0).toUpperCase()+He.slice(1)}const Te=(He,lt,ct)=>{const tt=_e(ct);return{[`${He.componentCls}${He.componentCls}-${lt}`]:{color:He[`color${ct}`],background:He[`color${tt}Bg`],borderColor:He[`color${tt}Border`],[`&${He.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Ke=(0,we.bk)(["Tag","status"],He=>{const lt=ue(He);return[Te(lt,"success","Success"),Te(lt,"processing","Info"),Te(lt,"error","Error"),Te(lt,"warning","Warning")]},Ee),We=function(He,lt){var ct={};for(var tt in He)Object.prototype.hasOwnProperty.call(He,tt)&<.indexOf(tt)<0&&(ct[tt]=He[tt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,tt=Object.getOwnPropertySymbols(He);Bt<tt.length;Bt++)lt.indexOf(tt[Bt])<0&&Object.prototype.propertyIsEnumerable.call(He,tt[Bt])&&(ct[tt[Bt]]=He[tt[Bt]]);return ct};const Ye=b.forwardRef((He,lt)=>{const{prefixCls:ct,className:tt,rootClassName:Bt,style:nt,children:Ue,icon:Xe,color:$e,onClose:qe,bordered:Ve=!0,visible:ht}=He,st=We(He,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Nt,direction:dt,tag:Tt}=b.useContext(fe.E_),[bt,Ct]=b.useState(!0),gt=(0,De.Z)(st,["closeIcon","closable"]);b.useEffect(()=>{ht!==void 0&&Ct(ht)},[ht]);const je=(0,de.o2)($e),le=(0,de.yT)($e),ie=je||le,ke=Object.assign(Object.assign({backgroundColor:$e&&!ie?$e:void 0},Tt==null?void 0:Tt.style),nt),Ge=Nt("tag",ct),[Ie,pe,x]=Oe(Ge),me=ye()(Ge,Tt==null?void 0:Tt.className,{[`${Ge}-${$e}`]:ie,[`${Ge}-has-color`]:$e&&!ie,[`${Ge}-hidden`]:!bt,[`${Ge}-rtl`]:dt==="rtl",[`${Ge}-borderless`]:!Ve},tt,Bt,pe,x),Le=at=>{at.stopPropagation(),qe==null||qe(at),!at.defaultPrevented&&Ct(!1)},[,Se]=(0,ve.Z)((0,ve.w)(He),(0,ve.w)(Tt),{closable:!1,closeIconRender:at=>{const Rt=b.createElement("span",{className:`${Ge}-close-icon`,onClick:Le},at);return(0,re.wm)(at,Rt,Ft=>({onClick:rn=>{var nn;(nn=Ft==null?void 0:Ft.onClick)===null||nn===void 0||nn.call(Ft,rn),Le(rn)},className:ye()(Ft==null?void 0:Ft.className,`${Ge}-close-icon`)}))}}),Be=typeof st.onClick=="function"||Ue&&Ue.type==="a",Qe=Xe||null,it=Qe?b.createElement(b.Fragment,null,Qe,Ue&&b.createElement("span",null,Ue)):Ue,ot=b.createElement("span",Object.assign({},gt,{ref:lt,className:me,style:ke}),it,Se,je&&b.createElement(Fe,{key:"preset",prefixCls:Ge}),le&&b.createElement(Ke,{key:"status",prefixCls:Ge}));return Ie(Be?b.createElement(se.Z,{component:"Tag"},ot):ot)});Ye.CheckableTag=Me;var Je=Ye},18287:function(Un,pn,ae){"use strict";ae.d(pn,{default:function(){return qe}});var b=ae(3741),oe=ae(94480),ye=ae(59301),De=ae(52671),de=ae(8657),ve=ae(54476),re={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"},se=re,fe=ae(7657),E=function(ht,st){return ye.createElement(fe.Z,(0,ve.Z)({},ht,{ref:st,icon:se}))},te=ye.forwardRef(E),ne=te,ge=ae(92310),we=ae.n(ge),xe=ae(82661),ue=ae(34061),Ee=ae(48755),Oe=ae(56082),Ae=ae(86641),Re=ae(57700),Me=ae(12425);const be=4;function Pe(Ve){const{dropPosition:ht,dropLevelOffset:st,prefixCls:Nt,indent:dt,direction:Tt="ltr"}=Ve,bt=Tt==="ltr"?"left":"right",Ct=Tt==="ltr"?"right":"left",gt={[bt]:-st*dt+be,[Ct]:0};switch(ht){case-1:gt.top=-3;break;case 1:gt.bottom=-3;break;default:gt.bottom=-3,gt[bt]=dt+be;break}return ye.createElement("div",{style:gt,className:`${Nt}-drop-indicator`})}var Fe=Pe,_e=ae(85278),Ke=ye.forwardRef((Ve,ht)=>{var st;const{getPrefixCls:Nt,direction:dt,virtual:Tt,tree:bt}=ye.useContext(Ee.E_),{prefixCls:Ct,className:gt,showIcon:je=!1,showLine:le,switcherIcon:ie,switcherLoadingIcon:ke,blockNode:Ge=!1,children:Ie,checkable:pe=!1,selectable:x=!0,draggable:me,motion:Le,style:Se}=Ve,Be=Nt("tree",Ct),Qe=Nt(),it=Le!=null?Le:Object.assign(Object.assign({},(0,Ae.Z)(Qe)),{motionAppear:!1}),ot=Object.assign(Object.assign({},Ve),{checkable:pe,selectable:x,showIcon:je,motion:it,blockNode:Ge,showLine:!!le,dropIndicatorRender:Fe}),[at,Rt,Ft]=(0,Me.ZP)(Be),[,rn]=(0,Re.ZP)(),nn=rn.paddingXS/2+(((st=rn.Tree)===null||st===void 0?void 0:st.titleHeight)||rn.controlHeightSM),Lt=ye.useMemo(()=>{if(!me)return!1;let Wt={};switch(typeof me){case"function":Wt.nodeDraggable=me;break;case"object":Wt=Object.assign({},me);break;default:break}return Wt.icon!==!1&&(Wt.icon=Wt.icon||ye.createElement(Oe.Z,null)),Wt},[me]),qt=Wt=>ye.createElement(_e.Z,{prefixCls:Be,switcherIcon:ie,switcherLoadingIcon:ke,treeNodeProps:Wt,showLine:le});return at(ye.createElement(b.ZP,Object.assign({itemHeight:nn,ref:ht,virtual:Tt},ot,{style:Object.assign(Object.assign({},bt==null?void 0:bt.style),Se),prefixCls:Be,className:we()({[`${Be}-icon-hide`]:!je,[`${Be}-block-node`]:Ge,[`${Be}-unselectable`]:!x,[`${Be}-rtl`]:dt==="rtl"},bt==null?void 0:bt.className,gt,Rt,Ft),direction:dt,checkable:pe&&ye.createElement("span",{className:`${Be}-checkbox-inner`}),selectable:x,switcherIcon:qt,draggable:Lt}),Ie))});const We=0,Ne=1,Ye=2;function Je(Ve,ht,st){const{key:Nt,children:dt}=st;function Tt(bt){const Ct=bt[Nt],gt=bt[dt];ht(Ct,bt)!==!1&&Je(gt||[],ht,st)}Ve.forEach(Tt)}function He(Ve){let{treeData:ht,expandedKeys:st,startKey:Nt,endKey:dt,fieldNames:Tt}=Ve;const bt=[];let Ct=We;if(Nt&&Nt===dt)return[Nt];if(!Nt||!dt)return[];function gt(je){return je===Nt||je===dt}return Je(ht,je=>{if(Ct===Ye)return!1;if(gt(je)){if(bt.push(je),Ct===We)Ct=Ne;else if(Ct===Ne)return Ct=Ye,!1}else Ct===Ne&&bt.push(je);return st.includes(je)},(0,ue.w$)(Tt)),bt}function lt(Ve,ht,st){const Nt=(0,oe.Z)(ht),dt=[];return Je(Ve,(Tt,bt)=>{const Ct=Nt.indexOf(Tt);return Ct!==-1&&(dt.push(bt),Nt.splice(Ct,1)),!!Nt.length},(0,ue.w$)(st)),dt}var ct=function(Ve,ht){var st={};for(var Nt in Ve)Object.prototype.hasOwnProperty.call(Ve,Nt)&&ht.indexOf(Nt)<0&&(st[Nt]=Ve[Nt]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,Nt=Object.getOwnPropertySymbols(Ve);dt<Nt.length;dt++)ht.indexOf(Nt[dt])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Nt[dt])&&(st[Nt[dt]]=Ve[Nt[dt]]);return st};function tt(Ve){const{isLeaf:ht,expanded:st}=Ve;return ht?ye.createElement(De.Z,null):st?ye.createElement(de.Z,null):ye.createElement(ne,null)}function Bt(Ve){let{treeData:ht,children:st}=Ve;return ht||(0,ue.zn)(st)}const nt=(Ve,ht)=>{var{defaultExpandAll:st,defaultExpandParent:Nt,defaultExpandedKeys:dt}=Ve,Tt=ct(Ve,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const bt=ye.useRef(null),Ct=ye.useRef(null),gt=()=>{const{keyEntities:at}=(0,ue.I8)(Bt(Tt));let Rt;return st?Rt=Object.keys(at):Nt?Rt=(0,xe.r7)(Tt.expandedKeys||dt||[],at):Rt=Tt.expandedKeys||dt||[],Rt},[je,le]=ye.useState(Tt.selectedKeys||Tt.defaultSelectedKeys||[]),[ie,ke]=ye.useState(()=>gt());ye.useEffect(()=>{"selectedKeys"in Tt&&le(Tt.selectedKeys)},[Tt.selectedKeys]),ye.useEffect(()=>{"expandedKeys"in Tt&&ke(Tt.expandedKeys)},[Tt.expandedKeys]);const Ge=(at,Rt)=>{var Ft;return"expandedKeys"in Tt||ke(at),(Ft=Tt.onExpand)===null||Ft===void 0?void 0:Ft.call(Tt,at,Rt)},Ie=(at,Rt)=>{var Ft;const{multiple:rn,fieldNames:nn}=Tt,{node:Lt,nativeEvent:qt}=Rt,{key:Wt=""}=Lt,Dt=Bt(Tt),zt=Object.assign(Object.assign({},Rt),{selected:!0}),un=(qt==null?void 0:qt.ctrlKey)||(qt==null?void 0:qt.metaKey),mn=qt==null?void 0:qt.shiftKey;let Et;rn&&un?(Et=at,bt.current=Wt,Ct.current=Et,zt.selectedNodes=lt(Dt,Et,nn)):rn&&mn?(Et=Array.from(new Set([].concat((0,oe.Z)(Ct.current||[]),(0,oe.Z)(He({treeData:Dt,expandedKeys:ie,startKey:Wt,endKey:bt.current,fieldNames:nn}))))),zt.selectedNodes=lt(Dt,Et,nn)):(Et=[Wt],bt.current=Wt,Ct.current=Et,zt.selectedNodes=lt(Dt,Et,nn)),(Ft=Tt.onSelect)===null||Ft===void 0||Ft.call(Tt,Et,zt),"selectedKeys"in Tt||le(Et)},{getPrefixCls:pe,direction:x}=ye.useContext(Ee.E_),{prefixCls:me,className:Le,showIcon:Se=!0,expandAction:Be="click"}=Tt,Qe=ct(Tt,["prefixCls","className","showIcon","expandAction"]),it=pe("tree",me),ot=we()(`${it}-directory`,{[`${it}-directory-rtl`]:x==="rtl"},Le);return ye.createElement(Ke,Object.assign({icon:tt,ref:ht,blockNode:!0},Qe,{showIcon:Se,expandAction:Be,prefixCls:it,className:ot,expandedKeys:ie,selectedKeys:je,onSelect:Ie,onExpand:Ge}))};var Xe=ye.forwardRef(nt);const $e=Ke;$e.DirectoryTree=Xe,$e.TreeNode=b.OF;var qe=$e},12425:function(Un,pn,ae){"use strict";ae.d(pn,{ZP:function(){return xe},Yk:function(){return ne},TM:function(){return ge}});var b=ae(36237),oe=ae(36170),ye=ae(63356),De=ae(34961),de=ae(51636),ve=ae(16931);const re=ue=>{let{treeCls:Ee,treeNodeCls:Oe,directoryNodeSelectedBg:Ae,directoryNodeSelectedColor:Re,motionDurationMid:Me,borderRadius:be,controlItemBgHover:Pe}=ue;return{[`${Ee}${Ee}-directory ${Oe}`]:{[`${Ee}-node-content-wrapper`]:{position:"static",[`> *:not(${Ee}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${Me}`,content:'""',borderRadius:be},"&:hover:before":{background:Pe}},[`${Ee}-switcher, ${Ee}-checkbox, ${Ee}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Ee}-switcher, ${Ee}-draggable-icon`]:{color:Re},[`${Ee}-node-content-wrapper`]:{color:Re,background:"transparent","&:before, &:hover:before":{background:Ae}}}}}},se=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),fe=(ue,Ee)=>({[`.${ue}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Ee.motionDurationSlow}`}}}),E=(ue,Ee)=>({[`.${ue}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Ee.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(Ee.lineWidthBold)} solid ${Ee.colorPrimary}`,borderRadius:"50%",content:'""'}}}),te=(ue,Ee)=>{const{treeCls:Oe,treeNodeCls:Ae,treeNodePadding:Re,titleHeight:Me,indentSize:be,nodeSelectedBg:Pe,nodeHoverBg:Fe,colorTextQuaternary:_e,controlItemBgActiveDisabled:Te}=Ee;return{[Oe]:Object.assign(Object.assign({},(0,ye.Wf)(Ee)),{background:Ee.colorBgContainer,borderRadius:Ee.borderRadius,transition:`background-color ${Ee.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Oe}-rtl ${Oe}-switcher_close ${Oe}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Oe}-active-focused)`]:Object.assign({},(0,ye.oN)(Ee)),[`${Oe}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Oe}-block-node`]:{[`${Oe}-list-holder-inner`]:{alignItems:"stretch",[`${Oe}-node-content-wrapper`]:{flex:"auto"},[`${Ae}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Ee.colorPrimary}`,opacity:0,animationName:se,animationDuration:Ee.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Ee.borderRadius}}},[Ae]:{display:"flex",alignItems:"flex-start",marginBottom:Re,lineHeight:(0,b.unit)(Me),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Re},[`&-disabled ${Oe}-node-content-wrapper`]:{color:Ee.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Oe}-checkbox-disabled + ${Oe}-node-selected,&${Ae}-disabled${Ae}-selected ${Oe}-node-content-wrapper`]:{backgroundColor:Te},[`${Oe}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Ae}-disabled)`]:{[`${Oe}-node-content-wrapper`]:{"&:hover":{color:Ee.nodeHoverColor}}},[`&-active ${Oe}-node-content-wrapper`]:{background:Ee.controlItemBgHover},[`&:not(${Ae}-disabled).filter-node ${Oe}-title`]:{color:Ee.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Oe}-draggable-icon`]:{flexShrink:0,width:Me,textAlign:"center",visibility:"visible",color:_e},[`&${Ae}-disabled ${Oe}-draggable-icon`]:{visibility:"hidden"}}},[`${Oe}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:be}},[`${Oe}-draggable-icon`]:{visibility:"hidden"},[`${Oe}-switcher, ${Oe}-checkbox`]:{marginInlineEnd:Ee.calc(Ee.calc(Me).sub(Ee.controlInteractiveSize)).div(2).equal()},[`${Oe}-switcher`]:Object.assign(Object.assign({},fe(ue,Ee)),{position:"relative",flex:"none",alignSelf:"stretch",width:Me,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Ee.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:Me,height:Me,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Ee.borderRadius,transition:`all ${Ee.motionDurationSlow}`},[`&:not(${Oe}-switcher-noop):hover:before`]:{backgroundColor:Ee.colorBgTextHover},[`&_close ${Oe}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Ee.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ee.calc(Me).div(2).equal(),bottom:Ee.calc(Re).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Ee.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Ee.calc(Ee.calc(Me).div(2).equal()).mul(.8).equal(),height:Ee.calc(Me).div(2).equal(),borderBottom:`1px solid ${Ee.colorBorder}`,content:'""'}}}),[`${Oe}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:Me,paddingBlock:0,paddingInline:Ee.paddingXS,background:"transparent",borderRadius:Ee.borderRadius,cursor:"pointer",transition:`all ${Ee.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},E(ue,Ee)),{"&:hover":{backgroundColor:Fe},[`&${Oe}-node-selected`]:{color:Ee.nodeSelectedColor,backgroundColor:Pe},[`${Oe}-iconEle`]:{display:"inline-block",width:Me,height:Me,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Oe}-unselectable ${Oe}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ae}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Ee.colorPrimary}`},"&-show-line":{[`${Oe}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ee.calc(Me).div(2).equal(),bottom:Ee.calc(Re).mul(-1).equal(),borderInlineEnd:`1px solid ${Ee.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Oe}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ae}-leaf-last ${Oe}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(Ee.calc(Me).div(2).equal())} !important`}})}},ne=function(ue,Ee){let Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Ae=`.${ue}`,Re=`${Ae}-treenode`,Me=Ee.calc(Ee.paddingXS).div(2).equal(),be=(0,de.mergeToken)(Ee,{treeCls:Ae,treeNodeCls:Re,treeNodePadding:Me});return[te(ue,be),Oe&&re(be)].filter(Boolean)},ge=ue=>{const{controlHeightSM:Ee,controlItemBgHover:Oe,controlItemBgActive:Ae}=ue,Re=Ee;return{titleHeight:Re,indentSize:Re,nodeHoverBg:Oe,nodeHoverColor:ue.colorText,nodeSelectedBg:Ae,nodeSelectedColor:ue.colorText}},we=ue=>{const{colorTextLightSolid:Ee,colorPrimary:Oe}=ue;return Object.assign(Object.assign({},ge(ue)),{directoryNodeSelectedColor:Ee,directoryNodeSelectedBg:Oe})};var xe=(0,ve.I$)("Tree",(ue,Ee)=>{let{prefixCls:Oe}=Ee;return[{[ue.componentCls]:(0,oe.C2)(`${Oe}-checkbox`,ue)},ne(Oe,ue),(0,De.Z)(ue)]},we)},85278:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Ee}});var b=ae(59301),oe=ae(54476),ye={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},De=ye,de=ae(7657),ve=function(Ae,Re){return b.createElement(de.Z,(0,oe.Z)({},Ae,{ref:Re,icon:De}))},re=b.forwardRef(ve),se=re,fe=ae(52671),E=ae(58617),te=ae(15075),ne=ae(43531),ge=ae(92310),we=ae.n(ge),xe=ae(22703),Ee=Oe=>{const{prefixCls:Ae,switcherIcon:Re,treeNodeProps:Me,showLine:be,switcherLoadingIcon:Pe}=Oe,{isLeaf:Fe,expanded:_e,loading:Te}=Me;if(Te)return b.isValidElement(Pe)?Pe:b.createElement(E.Z,{className:`${Ae}-switcher-loading-icon`});let Ke;if(be&&typeof be=="object"&&(Ke=be.showLeafIcon),Fe){if(!be)return null;if(typeof Ke!="boolean"&&Ke){const Ye=typeof Ke=="function"?Ke(Me):Ke,Je=`${Ae}-switcher-line-custom-icon`;return b.isValidElement(Ye)?(0,xe.Tm)(Ye,{className:we()(Ye.props.className||"",Je)}):Ye}return Ke?b.createElement(fe.Z,{className:`${Ae}-switcher-line-icon`}):b.createElement("span",{className:`${Ae}-switcher-leaf-line`})}const We=`${Ae}-switcher-icon`,Ne=typeof Re=="function"?Re(Me):Re;return b.isValidElement(Ne)?(0,xe.Tm)(Ne,{className:we()(Ne.props.className||"",We)}):Ne!==void 0?Ne:be?_e?b.createElement(te.Z,{className:`${Ae}-switcher-line-icon`}):b.createElement(ne.Z,{className:`${Ae}-switcher-line-icon`}):b.createElement(se,{className:We})}},94968:function(Un,pn,ae){"use strict";ae.d(pn,{default:function(){return Pt}});var b=ae(59301),oe=ae(94480),ye=ae(4676),De=ae(92310),de=ae.n(De),ve=ae(54476),re=ae(67732),se=ae(83652),fe=ae(31226),E=ae(42403),te=ae(158),ne=ae(20068),ge=ae(33885),we=ae(75931),xe=ae(76190),ue=ae(75044),Ee=ae(3202),Oe=ae(26112),Ae=ae(48736),Re=function(xt,en){if(xt&&en){var on=Array.isArray(en)?en:en.split(","),cn=xt.name||"",Yt=xt.type||"",$t=Yt.replace(/\/.*$/,"");return on.some(function(Xt){var fn=Xt.trim();if(/^\*(\/\*)?$/.test(Xt))return!0;if(fn.charAt(0)==="."){var lr=cn.toLowerCase(),Ut=fn.toLowerCase(),Qt=[Ut];return(Ut===".jpg"||Ut===".jpeg")&&(Qt=[".jpg",".jpeg"]),Qt.some(function(Cn){return lr.endsWith(Cn)})}return/\/\*$/.test(fn)?$t===fn.replace(/\/.*$/,""):Yt===fn?!0:/^\w+$/.test(fn)?((0,Ae.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(fn,"'.Skip for check.")),!0):!1})}return!0};function Me(xt,en){var on="cannot ".concat(xt.method," ").concat(xt.action," ").concat(en.status,"'"),cn=new Error(on);return cn.status=en.status,cn.method=xt.method,cn.url=xt.action,cn}function be(xt){var en=xt.responseText||xt.response;if(!en)return en;try{return JSON.parse(en)}catch(on){return en}}function Pe(xt){var en=new XMLHttpRequest;xt.onProgress&&en.upload&&(en.upload.onprogress=function($t){$t.total>0&&($t.percent=$t.loaded/$t.total*100),xt.onProgress($t)});var on=new FormData;xt.data&&Object.keys(xt.data).forEach(function(Yt){var $t=xt.data[Yt];if(Array.isArray($t)){$t.forEach(function(Xt){on.append("".concat(Yt,"[]"),Xt)});return}on.append(Yt,$t)}),xt.file instanceof Blob?on.append(xt.filename,xt.file,xt.file.name):on.append(xt.filename,xt.file),en.onerror=function($t){xt.onError($t)},en.onload=function(){return en.status<200||en.status>=300?xt.onError(Me(xt,en),be(en)):xt.onSuccess(be(en),en)},en.open(xt.method,xt.action,!0),xt.withCredentials&&"withCredentials"in en&&(en.withCredentials=!0);var cn=xt.headers||{};return cn["X-Requested-With"]!==null&&en.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(cn).forEach(function(Yt){cn[Yt]!==null&&en.setRequestHeader(Yt,cn[Yt])}),en.send(on),{abort:function(){en.abort()}}}var Fe=function(){var xt=(0,Ee.Z)((0,ue.Z)().mark(function en(on,cn){var Yt,$t,Xt,fn,lr,Ut,Qt,Cn;return(0,ue.Z)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:Ut=function(){return Ut=(0,Ee.Z)((0,ue.Z)().mark(function wn(bn){return(0,ue.Z)().wrap(function(Fn){for(;;)switch(Fn.prev=Fn.next){case 0:return Fn.abrupt("return",new Promise(function(Zn){bn.file(function(Mn){cn(Mn)?(bn.fullPath&&!Mn.webkitRelativePath&&(Object.defineProperties(Mn,{webkitRelativePath:{writable:!0}}),Mn.webkitRelativePath=bn.fullPath.replace(/^\//,""),Object.defineProperties(Mn,{webkitRelativePath:{writable:!1}})),Zn(Mn)):Zn(null)})}));case 1:case"end":return Fn.stop()}},wn)})),Ut.apply(this,arguments)},lr=function(wn){return Ut.apply(this,arguments)},fn=function(){return fn=(0,Ee.Z)((0,ue.Z)().mark(function wn(bn){var In,Fn,Zn,Mn,Gn;return(0,ue.Z)().wrap(function(jn){for(;;)switch(jn.prev=jn.next){case 0:In=bn.createReader(),Fn=[];case 2:return jn.next=5,new Promise(function(ir){In.readEntries(ir,function(){return ir([])})});case 5:if(Zn=jn.sent,Mn=Zn.length,Mn){jn.next=9;break}return jn.abrupt("break",12);case 9:for(Gn=0;Gn<Mn;Gn++)Fn.push(Zn[Gn]);jn.next=2;break;case 12:return jn.abrupt("return",Fn);case 13:case"end":return jn.stop()}},wn)})),fn.apply(this,arguments)},Xt=function(wn){return fn.apply(this,arguments)},Yt=[],$t=[],on.forEach(function(hn){return $t.push(hn.webkitGetAsEntry())}),Qt=function(){var hn=(0,Ee.Z)((0,ue.Z)().mark(function wn(bn,In){var Fn,Zn;return(0,ue.Z)().wrap(function(Gn){for(;;)switch(Gn.prev=Gn.next){case 0:if(bn){Gn.next=2;break}return Gn.abrupt("return");case 2:if(bn.path=In||"",!bn.isFile){Gn.next=10;break}return Gn.next=6,lr(bn);case 6:Fn=Gn.sent,Fn&&Yt.push(Fn),Gn.next=15;break;case 10:if(!bn.isDirectory){Gn.next=15;break}return Gn.next=13,Xt(bn);case 13:Zn=Gn.sent,$t.push.apply($t,(0,oe.Z)(Zn));case 15:case"end":return Gn.stop()}},wn)}));return function(bn,In){return hn.apply(this,arguments)}}(),Cn=0;case 9:if(!(Cn<$t.length)){jt.next=15;break}return jt.next=12,Qt($t[Cn]);case 12:Cn++,jt.next=9;break;case 15:return jt.abrupt("return",Yt);case 16:case"end":return jt.stop()}},en)}));return function(on,cn){return xt.apply(this,arguments)}}(),_e=Fe,Te=+new Date,Ke=0;function We(){return"rc-upload-".concat(Te,"-").concat(++Ke)}var Ne=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],Ye=function(xt){(0,E.Z)(on,xt);var en=(0,te.Z)(on);function on(){var cn;(0,re.Z)(this,on);for(var Yt=arguments.length,$t=new Array(Yt),Xt=0;Xt<Yt;Xt++)$t[Xt]=arguments[Xt];return cn=en.call.apply(en,[this].concat($t)),(0,ne.Z)((0,fe.Z)(cn),"state",{uid:We()}),(0,ne.Z)((0,fe.Z)(cn),"reqs",{}),(0,ne.Z)((0,fe.Z)(cn),"fileInput",void 0),(0,ne.Z)((0,fe.Z)(cn),"_isMounted",void 0),(0,ne.Z)((0,fe.Z)(cn),"onChange",function(fn){var lr=cn.props,Ut=lr.accept,Qt=lr.directory,Cn=fn.target.files,Vt=(0,oe.Z)(Cn).filter(function(jt){return!Qt||Re(jt,Ut)});cn.uploadFiles(Vt),cn.reset()}),(0,ne.Z)((0,fe.Z)(cn),"onClick",function(fn){var lr=cn.fileInput;if(lr){var Ut=fn.target,Qt=cn.props.onClick;if(Ut&&Ut.tagName==="BUTTON"){var Cn=lr.parentNode;Cn.focus(),Ut.blur()}lr.click(),Qt&&Qt(fn)}}),(0,ne.Z)((0,fe.Z)(cn),"onKeyDown",function(fn){fn.key==="Enter"&&cn.onClick(fn)}),(0,ne.Z)((0,fe.Z)(cn),"onFileDrop",function(){var fn=(0,Ee.Z)((0,ue.Z)().mark(function lr(Ut){var Qt,Cn,Vt;return(0,ue.Z)().wrap(function(hn){for(;;)switch(hn.prev=hn.next){case 0:if(Qt=cn.props.multiple,Ut.preventDefault(),Ut.type!=="dragover"){hn.next=4;break}return hn.abrupt("return");case 4:if(!cn.props.directory){hn.next=11;break}return hn.next=7,_e(Array.prototype.slice.call(Ut.dataTransfer.items),function(wn){return Re(wn,cn.props.accept)});case 7:Cn=hn.sent,cn.uploadFiles(Cn),hn.next=14;break;case 11:Vt=(0,oe.Z)(Ut.dataTransfer.files).filter(function(wn){return Re(wn,cn.props.accept)}),Qt===!1&&(Vt=Vt.slice(0,1)),cn.uploadFiles(Vt);case 14:case"end":return hn.stop()}},lr)}));return function(lr){return fn.apply(this,arguments)}}()),(0,ne.Z)((0,fe.Z)(cn),"uploadFiles",function(fn){var lr=(0,oe.Z)(fn),Ut=lr.map(function(Qt){return Qt.uid=We(),cn.processFile(Qt,lr)});Promise.all(Ut).then(function(Qt){var Cn=cn.props.onBatchStart;Cn==null||Cn(Qt.map(function(Vt){var jt=Vt.origin,hn=Vt.parsedFile;return{file:jt,parsedFile:hn}})),Qt.filter(function(Vt){return Vt.parsedFile!==null}).forEach(function(Vt){cn.post(Vt)})})}),(0,ne.Z)((0,fe.Z)(cn),"processFile",function(){var fn=(0,Ee.Z)((0,ue.Z)().mark(function lr(Ut,Qt){var Cn,Vt,jt,hn,wn,bn,In,Fn,Zn;return(0,ue.Z)().wrap(function(Gn){for(;;)switch(Gn.prev=Gn.next){case 0:if(Cn=cn.props.beforeUpload,Vt=Ut,!Cn){Gn.next=14;break}return Gn.prev=3,Gn.next=6,Cn(Ut,Qt);case 6:Vt=Gn.sent,Gn.next=12;break;case 9:Gn.prev=9,Gn.t0=Gn.catch(3),Vt=!1;case 12:if(Vt!==!1){Gn.next=14;break}return Gn.abrupt("return",{origin:Ut,parsedFile:null,action:null,data:null});case 14:if(jt=cn.props.action,typeof jt!="function"){Gn.next=21;break}return Gn.next=18,jt(Ut);case 18:hn=Gn.sent,Gn.next=22;break;case 21:hn=jt;case 22:if(wn=cn.props.data,typeof wn!="function"){Gn.next=29;break}return Gn.next=26,wn(Ut);case 26:bn=Gn.sent,Gn.next=30;break;case 29:bn=wn;case 30:return In=((0,xe.Z)(Vt)==="object"||typeof Vt=="string")&&Vt?Vt:Ut,In instanceof File?Fn=In:Fn=new File([In],Ut.name,{type:Ut.type}),Zn=Fn,Zn.uid=Ut.uid,Gn.abrupt("return",{origin:Ut,data:bn,parsedFile:Zn,action:hn});case 35:case"end":return Gn.stop()}},lr,null,[[3,9]])}));return function(lr,Ut){return fn.apply(this,arguments)}}()),(0,ne.Z)((0,fe.Z)(cn),"saveFileInput",function(fn){cn.fileInput=fn}),cn}return(0,se.Z)(on,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Yt){var $t=this,Xt=Yt.data,fn=Yt.origin,lr=Yt.action,Ut=Yt.parsedFile;if(this._isMounted){var Qt=this.props,Cn=Qt.onStart,Vt=Qt.customRequest,jt=Qt.name,hn=Qt.headers,wn=Qt.withCredentials,bn=Qt.method,In=fn.uid,Fn=Vt||Pe,Zn={action:lr,filename:jt,data:Xt,file:Ut,headers:hn,withCredentials:wn,method:bn||"post",onProgress:function(Gn){var sr=$t.props.onProgress;sr==null||sr(Gn,Ut)},onSuccess:function(Gn,sr){var jn=$t.props.onSuccess;jn==null||jn(Gn,Ut,sr),delete $t.reqs[In]},onError:function(Gn,sr){var jn=$t.props.onError;jn==null||jn(Gn,sr,Ut),delete $t.reqs[In]}};Cn(fn),this.reqs[In]=Fn(Zn)}}},{key:"reset",value:function(){this.setState({uid:We()})}},{key:"abort",value:function(Yt){var $t=this.reqs;if(Yt){var Xt=Yt.uid?Yt.uid:Yt;$t[Xt]&&$t[Xt].abort&&$t[Xt].abort(),delete $t[Xt]}else Object.keys($t).forEach(function(fn){$t[fn]&&$t[fn].abort&&$t[fn].abort(),delete $t[fn]})}},{key:"render",value:function(){var Yt=this.props,$t=Yt.component,Xt=Yt.prefixCls,fn=Yt.className,lr=Yt.classNames,Ut=lr===void 0?{}:lr,Qt=Yt.disabled,Cn=Yt.id,Vt=Yt.name,jt=Yt.style,hn=Yt.styles,wn=hn===void 0?{}:hn,bn=Yt.multiple,In=Yt.accept,Fn=Yt.capture,Zn=Yt.children,Mn=Yt.directory,Gn=Yt.openFileDialogOnClick,sr=Yt.onMouseEnter,jn=Yt.onMouseLeave,ir=Yt.hasControlInside,Dr=(0,we.Z)(Yt,Ne),Tr=de()((0,ne.Z)((0,ne.Z)((0,ne.Z)({},Xt,!0),"".concat(Xt,"-disabled"),Qt),fn,fn)),Wr=Mn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},vr=Qt?{}:{onClick:Gn?this.onClick:function(){},onKeyDown:Gn?this.onKeyDown:function(){},onMouseEnter:sr,onMouseLeave:jn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:ir?void 0:"0"};return b.createElement($t,(0,ve.Z)({},vr,{className:Tr,role:ir?void 0:"button",style:jt}),b.createElement("input",(0,ve.Z)({},(0,Oe.Z)(Dr,{aria:!0,data:!0}),{id:Cn,name:Vt,disabled:Qt,type:"file",ref:this.saveFileInput,onClick:function(_r){return _r.stopPropagation()},key:this.state.uid,style:(0,ge.Z)({display:"none"},wn.input),className:Ut.input,accept:In},Wr,{multiple:bn,onChange:this.onChange},Fn!=null?{capture:Fn}:{})),Zn)}}]),on}(b.Component),Je=Ye;function He(){}var lt=function(xt){(0,E.Z)(on,xt);var en=(0,te.Z)(on);function on(){var cn;(0,re.Z)(this,on);for(var Yt=arguments.length,$t=new Array(Yt),Xt=0;Xt<Yt;Xt++)$t[Xt]=arguments[Xt];return cn=en.call.apply(en,[this].concat($t)),(0,ne.Z)((0,fe.Z)(cn),"uploader",void 0),(0,ne.Z)((0,fe.Z)(cn),"saveUploader",function(fn){cn.uploader=fn}),cn}return(0,se.Z)(on,[{key:"abort",value:function(Yt){this.uploader.abort(Yt)}},{key:"render",value:function(){return b.createElement(Je,(0,ve.Z)({},this.props,{ref:this.saveUploader}))}}]),on}(b.Component);(0,ne.Z)(lt,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:He,onError:He,onSuccess:He,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var ct=lt,tt=ct,Bt=ae(18929),nt=ae(48755),Ue=ae(2171),Xe=ae(9017),$e=ae(85981),qe=ae(63356),Ve=ae(34961),ht=ae(16931),st=ae(51636),Nt=ae(36237),Tt=xt=>{const{componentCls:en,iconCls:on}=xt;return{[`${en}-wrapper`]:{[`${en}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:xt.colorFillAlter,border:`${(0,Nt.unit)(xt.lineWidth)} dashed ${xt.colorBorder}`,borderRadius:xt.borderRadiusLG,cursor:"pointer",transition:`border-color ${xt.motionDurationSlow}`,[en]:{padding:xt.padding},[`${en}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:xt.borderRadiusLG,"&:focus-visible":{outline:`${(0,Nt.unit)(xt.lineWidthFocus)} solid ${xt.colorPrimaryBorder}`}},[`${en}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${en}-disabled):hover,
|
|
|
&-hover:not(${en}-disabled)
|
|
|
`]:{borderColor:xt.colorPrimaryHover},[`p${en}-drag-icon`]:{marginBottom:xt.margin,[on]:{color:xt.colorPrimary,fontSize:xt.uploadThumbnailSize}},[`p${en}-text`]:{margin:`0 0 ${(0,Nt.unit)(xt.marginXXS)}`,color:xt.colorTextHeading,fontSize:xt.fontSizeLG},[`p${en}-hint`]:{color:xt.colorTextDescription,fontSize:xt.fontSize},[`&${en}-disabled`]:{[`p${en}-drag-icon ${on},
|
|
|
p${en}-text,
|
|
|
p${en}-hint
|
|
|
`]:{color:xt.colorTextDisabled}}}}}},Ct=xt=>{const{componentCls:en,iconCls:on,fontSize:cn,lineHeight:Yt,calc:$t}=xt,Xt=`${en}-list-item`,fn=`${Xt}-actions`,lr=`${Xt}-action`;return{[`${en}-wrapper`]:{[`${en}-list`]:Object.assign(Object.assign({},(0,qe.dF)()),{lineHeight:xt.lineHeight,[Xt]:{position:"relative",height:$t(xt.lineHeight).mul(cn).equal(),marginTop:xt.marginXS,fontSize:cn,display:"flex",alignItems:"center",transition:`background-color ${xt.motionDurationSlow}`,borderRadius:xt.borderRadiusSM,"&:hover":{backgroundColor:xt.controlItemBgHover},[`${Xt}-name`]:Object.assign(Object.assign({},qe.vS),{padding:`0 ${(0,Nt.unit)(xt.paddingXS)}`,lineHeight:Yt,flex:"auto",transition:`all ${xt.motionDurationSlow}`}),[fn]:{whiteSpace:"nowrap",[lr]:{opacity:0},[on]:{color:xt.actionsColor,transition:`all ${xt.motionDurationSlow}`},[`
|
|
|
${lr}:focus-visible,
|
|
|
&.picture ${lr}
|
|
|
`]:{opacity:1}},[`${en}-icon ${on}`]:{color:xt.colorTextDescription,fontSize:cn},[`${Xt}-progress`]:{position:"absolute",bottom:xt.calc(xt.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:$t(cn).add(xt.paddingXS).equal(),fontSize:cn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Xt}:hover ${lr}`]:{opacity:1},[`${Xt}-error`]:{color:xt.colorError,[`${Xt}-name, ${en}-icon ${on}`]:{color:xt.colorError},[fn]:{[`${on}, ${on}:hover`]:{color:xt.colorError},[lr]:{opacity:1}}},[`${en}-list-item-container`]:{transition:`opacity ${xt.motionDurationSlow}, height ${xt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},gt=ae(99495),le=xt=>{const{componentCls:en}=xt,on=new Nt.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:xt.calc(xt.marginXS).div(-2).equal()}}),cn=new Nt.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:xt.calc(xt.marginXS).div(-2).equal()}}),Yt=`${en}-animate-inline`;return[{[`${en}-wrapper`]:{[`${Yt}-appear, ${Yt}-enter, ${Yt}-leave`]:{animationDuration:xt.motionDurationSlow,animationTimingFunction:xt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Yt}-appear, ${Yt}-enter`]:{animationName:on},[`${Yt}-leave`]:{animationName:cn}}},{[`${en}-wrapper`]:(0,gt.J$)(xt)},on,cn]},ie=ae(68361);const ke=xt=>{const{componentCls:en,iconCls:on,uploadThumbnailSize:cn,uploadProgressOffset:Yt,calc:$t}=xt,Xt=`${en}-list`,fn=`${Xt}-item`;return{[`${en}-wrapper`]:{[`
|
|
|
${Xt}${Xt}-picture,
|
|
|
${Xt}${Xt}-picture-card,
|
|
|
${Xt}${Xt}-picture-circle
|
|
|
`]:{[fn]:{position:"relative",height:$t(cn).add($t(xt.lineWidth).mul(2)).add($t(xt.paddingXS).mul(2)).equal(),padding:xt.paddingXS,border:`${(0,Nt.unit)(xt.lineWidth)} ${xt.lineType} ${xt.colorBorder}`,borderRadius:xt.borderRadiusLG,"&:hover":{background:"transparent"},[`${fn}-thumbnail`]:Object.assign(Object.assign({},qe.vS),{width:cn,height:cn,lineHeight:(0,Nt.unit)($t(cn).add(xt.paddingSM).equal()),textAlign:"center",flex:"none",[on]:{fontSize:xt.fontSizeHeading2,color:xt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${fn}-progress`]:{bottom:Yt,width:`calc(100% - ${(0,Nt.unit)($t(xt.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:$t(cn).add(xt.paddingXS).equal()}},[`${fn}-error`]:{borderColor:xt.colorError,[`${fn}-thumbnail ${on}`]:{[`svg path[fill='${ie.blue[0]}']`]:{fill:xt.colorErrorBg},[`svg path[fill='${ie.blue.primary}']`]:{fill:xt.colorError}}},[`${fn}-uploading`]:{borderStyle:"dashed",[`${fn}-name`]:{marginBottom:Yt}}},[`${Xt}${Xt}-picture-circle ${fn}`]:{[`&, &::before, ${fn}-thumbnail`]:{borderRadius:"50%"}}}}},Ge=xt=>{const{componentCls:en,iconCls:on,fontSizeLG:cn,colorTextLightSolid:Yt,calc:$t}=xt,Xt=`${en}-list`,fn=`${Xt}-item`,lr=xt.uploadPicCardSize;return{[`
|
|
|
${en}-wrapper${en}-picture-card-wrapper,
|
|
|
${en}-wrapper${en}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,qe.dF)()),{display:"block",[`${en}${en}-select`]:{width:lr,height:lr,textAlign:"center",verticalAlign:"top",backgroundColor:xt.colorFillAlter,border:`${(0,Nt.unit)(xt.lineWidth)} 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}},[`${Xt}${Xt}-picture-card, ${Xt}${Xt}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:xt.marginXS,marginInlineEnd:xt.marginXS}},"@supports (gap: 1px)":{gap:xt.marginXS},[`${Xt}-item-container`]:{display:"inline-block",width:lr,height:lr,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[fn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,Nt.unit)($t(xt.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,Nt.unit)($t(xt.paddingXS).mul(2).equal())})`,backgroundColor:xt.colorBgMask,opacity:0,transition:`all ${xt.motionDurationSlow}`,content:'" "'}},[`${fn}:hover`]:{[`&::before, ${fn}-actions`]:{opacity:1}},[`${fn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${xt.motionDurationSlow}`,[`
|
|
|
${on}-eye,
|
|
|
${on}-download,
|
|
|
${on}-delete
|
|
|
`]:{zIndex:10,width:cn,margin:`0 ${(0,Nt.unit)(xt.marginXXS)}`,fontSize:cn,cursor:"pointer",transition:`all ${xt.motionDurationSlow}`,color:Yt,"&:hover":{color:Yt},svg:{verticalAlign:"baseline"}}},[`${fn}-thumbnail, ${fn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${fn}-name`]:{display:"none",textAlign:"center"},[`${fn}-file + ${fn}-name`]:{position:"absolute",bottom:xt.margin,display:"block",width:`calc(100% - ${(0,Nt.unit)($t(xt.paddingXS).mul(2).equal())})`},[`${fn}-uploading`]:{[`&${fn}`]:{backgroundColor:xt.colorFillAlter},[`&::before, ${on}-eye, ${on}-download, ${on}-delete`]:{display:"none"}},[`${fn}-progress`]:{bottom:xt.marginXL,width:`calc(100% - ${(0,Nt.unit)($t(xt.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${en}-wrapper${en}-picture-circle-wrapper`]:{[`${en}${en}-select`]:{borderRadius:"50%"}}}};var pe=xt=>{const{componentCls:en}=xt;return{[`${en}-rtl`]:{direction:"rtl"}}};const x=xt=>{const{componentCls:en,colorTextDisabled:on}=xt;return{[`${en}-wrapper`]:Object.assign(Object.assign({},(0,qe.Wf)(xt)),{[en]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${en}-select`]:{display:"inline-block"},[`${en}-hidden`]:{display:"none"},[`${en}-disabled`]:{color:on,cursor:"not-allowed"}})}},me=xt=>({actionsColor:xt.colorTextDescription});var Le=(0,ht.I$)("Upload",xt=>{const{fontSizeHeading3:en,fontHeight:on,lineWidth:cn,controlHeightLG:Yt,calc:$t}=xt,Xt=(0,st.mergeToken)(xt,{uploadThumbnailSize:$t(en).mul(2).equal(),uploadProgressOffset:$t($t(on).div(2)).add(cn).equal(),uploadPicCardSize:$t(Yt).mul(2.55).equal()});return[x(Xt),Tt(Xt),ke(Xt),Ge(Xt),Ct(Xt),le(Xt),pe(Xt),(0,Ve.Z)(Xt)]},me),Se={icon:function(en,on){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:on}},{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"},Be=Se,Qe=ae(7657),it=function(en,on){return b.createElement(Qe.Z,(0,ve.Z)({},en,{ref:on,icon:Be}))},ot=b.forwardRef(it),at=ot,Rt=ae(58617),Ft={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"},rn=Ft,nn=function(en,on){return b.createElement(Qe.Z,(0,ve.Z)({},en,{ref:on,icon:rn}))},Lt=b.forwardRef(nn),qt=Lt,Wt={icon:function(en,on){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:on}},{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:on}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:on}},{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"},Dt=Wt,zt=function(en,on){return b.createElement(Qe.Z,(0,ve.Z)({},en,{ref:on,icon:Dt}))},un=b.forwardRef(zt),mn=un,Et=ae(77900),Ht=ae(2738),Jt=ae(40192),gn=ae(86641),Nn=ae(22703),Xn=ae(7939);function gr(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 br(xt,en){const on=(0,oe.Z)(en),cn=on.findIndex(Yt=>{let{uid:$t}=Yt;return $t===xt.uid});return cn===-1?on.push(xt):on[cn]=xt,on}function Yn(xt,en){const on=xt.uid!==void 0?"uid":"name";return en.filter(cn=>cn[on]===xt[on])[0]}function hr(xt,en){const on=xt.uid!==void 0?"uid":"name",cn=en.filter(Yt=>Yt[on]!==xt[on]);return cn.length===en.length?null:cn}const Wn=function(){const en=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),cn=en[en.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(cn)||[""])[0]},xn=xt=>xt.indexOf("image/")===0,Pn=xt=>{if(xt.type&&!xt.thumbUrl)return xn(xt.type);const en=xt.thumbUrl||xt.url||"",on=Wn(en);return/^data:image\//.test(en)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(on)?!0:!(/^data:/.test(en)||on)},Tn=200;function An(xt){return new Promise(en=>{if(!xt.type||!xn(xt.type)){en("");return}const on=document.createElement("canvas");on.width=Tn,on.height=Tn,on.style.cssText=`position: fixed; left: 0; top: 0; width: ${Tn}px; height: ${Tn}px; z-index: 9999; display: none;`,document.body.appendChild(on);const cn=on.getContext("2d"),Yt=new Image;if(Yt.onload=()=>{const{width:$t,height:Xt}=Yt;let fn=Tn,lr=Tn,Ut=0,Qt=0;$t>Xt?(lr=Xt*(Tn/$t),Qt=-(lr-fn)/2):(fn=$t*(Tn/Xt),Ut=-(fn-lr)/2),cn.drawImage(Yt,Ut,Qt,fn,lr);const Cn=on.toDataURL();document.body.removeChild(on),window.URL.revokeObjectURL(Yt.src),en(Cn)},Yt.crossOrigin="anonymous",xt.type.startsWith("image/svg+xml")){const $t=new FileReader;$t.onload=()=>{$t.result&&typeof $t.result=="string"&&(Yt.src=$t.result)},$t.readAsDataURL(xt)}else if(xt.type.startsWith("image/gif")){const $t=new FileReader;$t.onload=()=>{$t.result&&en($t.result)},$t.readAsDataURL(xt)}else Yt.src=window.URL.createObjectURL(xt)})}var zn=ae(26227),Kn=ae(41464),er=ae(15277),wr=ae(89787),Sr=ae(25399),Nr=b.forwardRef((xt,en)=>{let{prefixCls:on,className:cn,style:Yt,locale:$t,listType:Xt,file:fn,items:lr,progress:Ut,iconRender:Qt,actionIconRender:Cn,itemRender:Vt,isImgUrl:jt,showPreviewIcon:hn,showRemoveIcon:wn,showDownloadIcon:bn,previewIcon:In,removeIcon:Fn,downloadIcon:Zn,extra:Mn,onPreview:Gn,onDownload:sr,onClose:jn}=xt;var ir,Dr;const{status:Tr}=fn,[Wr,vr]=b.useState(Tr);b.useEffect(()=>{Tr!=="removed"&&vr(Tr)},[Tr]);const[Ir,_r]=b.useState(!1);b.useEffect(()=>{const On=setTimeout(()=>{_r(!0)},300);return()=>{clearTimeout(On)}},[]);const mr=Qt(fn);let Gr=b.createElement("div",{className:`${on}-icon`},mr);if(Xt==="picture"||Xt==="picture-card"||Xt==="picture-circle")if(Wr==="uploading"||!fn.thumbUrl&&!fn.url){const On=de()(`${on}-list-item-thumbnail`,{[`${on}-list-item-file`]:Wr!=="uploading"});Gr=b.createElement("div",{className:On},mr)}else{const On=jt!=null&&jt(fn)?b.createElement("img",{src:fn.thumbUrl||fn.url,alt:fn.name,className:`${on}-list-item-image`,crossOrigin:fn.crossOrigin}):mr,$n=de()(`${on}-list-item-thumbnail`,{[`${on}-list-item-file`]:jt&&!jt(fn)});Gr=b.createElement("a",{className:$n,onClick:pr=>Gn(fn,pr),href:fn.url||fn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},On)}const Fr=de()(`${on}-list-item`,`${on}-list-item-${Wr}`),gi=typeof fn.linkProps=="string"?JSON.parse(fn.linkProps):fn.linkProps,Xr=(typeof wn=="function"?wn(fn):wn)?Cn((typeof Fn=="function"?Fn(fn):Fn)||b.createElement(zn.Z,null),()=>jn(fn),on,$t.removeFile,!0):null,$r=(typeof bn=="function"?bn(fn):bn)&&Wr==="done"?Cn((typeof Zn=="function"?Zn(fn):Zn)||b.createElement(Kn.Z,null),()=>sr(fn),on,$t.downloadFile):null,ti=Xt!=="picture-card"&&Xt!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:de()(`${on}-list-item-actions`,{picture:Xt==="picture"})},$r,Xr),oi=typeof Mn=="function"?Mn(fn):Mn,kr=oi&&b.createElement("span",{className:`${on}-list-item-extra`},oi),Vr=de()(`${on}-list-item-name`),Cr=fn.url?b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Vr,title:fn.name},gi,{href:fn.url,onClick:On=>Gn(fn,On)}),fn.name,kr):b.createElement("span",{key:"view",className:Vr,onClick:On=>Gn(fn,On),title:fn.name},fn.name,kr),_n=(typeof hn=="function"?hn(fn):hn)&&(fn.url||fn.thumbUrl)?b.createElement("a",{href:fn.url||fn.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:On=>Gn(fn,On),title:$t.previewFile},typeof In=="function"?In(fn):In||b.createElement(er.Z,null)):null,ur=(Xt==="picture-card"||Xt==="picture-circle")&&Wr!=="uploading"&&b.createElement("span",{className:`${on}-list-item-actions`},_n,Wr==="done"&&$r,Xr),{getPrefixCls:fr}=b.useContext(nt.E_),Qn=fr(),Pr=b.createElement("div",{className:Fr},Gr,Cr,ti,ur,Ir&&b.createElement(Et.default,{motionName:`${Qn}-fade`,visible:Wr==="uploading",motionDeadline:2e3},On=>{let{className:$n}=On;const pr="percent"in fn?b.createElement(wr.Z,Object.assign({},Ut,{type:"line",percent:fn.percent,"aria-label":fn["aria-label"],"aria-labelledby":fn["aria-labelledby"]})):null;return b.createElement("div",{className:de()(`${on}-list-item-progress`,$n)},pr)})),Mr=fn.response&&typeof fn.response=="string"?fn.response:((ir=fn.error)===null||ir===void 0?void 0:ir.statusText)||((Dr=fn.error)===null||Dr===void 0?void 0:Dr.message)||$t.uploadError,Kt=Wr==="error"?b.createElement(Sr.Z,{title:Mr,getPopupContainer:On=>On.parentNode},Pr):Pr;return b.createElement("div",{className:de()(`${on}-list-item-container`,cn),style:Yt,ref:en},Vt?Vt(Kt,fn,lr,{download:sr.bind(null,fn),preview:Gn.bind(null,fn),remove:jn.bind(null,fn)}):Kt)});const Br=(xt,en)=>{const{listType:on="text",previewFile:cn=An,onPreview:Yt,onDownload:$t,onRemove:Xt,locale:fn,iconRender:lr,isImageUrl:Ut=Pn,prefixCls:Qt,items:Cn=[],showPreviewIcon:Vt=!0,showRemoveIcon:jt=!0,showDownloadIcon:hn=!1,removeIcon:wn,previewIcon:bn,downloadIcon:In,extra:Fn,progress:Zn={size:[-1,2],showInfo:!1},appendAction:Mn,appendActionVisible:Gn=!0,itemRender:sr,disabled:jn}=xt,ir=(0,Jt.Z)(),[Dr,Tr]=b.useState(!1),Wr=["picture-card","picture-circle"].includes(on);b.useEffect(()=>{on.startsWith("picture")&&(Cn||[]).forEach(kr=>{!(kr.originFileObj instanceof File||kr.originFileObj instanceof Blob)||kr.thumbUrl!==void 0||(kr.thumbUrl="",cn==null||cn(kr.originFileObj).then(Vr=>{kr.thumbUrl=Vr||"",ir()}))})},[on,Cn,cn]),b.useEffect(()=>{Tr(!0)},[]);const vr=(kr,Vr)=>{if(Yt)return Vr==null||Vr.preventDefault(),Yt(kr)},Ir=kr=>{typeof $t=="function"?$t(kr):kr.url&&window.open(kr.url)},_r=kr=>{Xt==null||Xt(kr)},mr=kr=>{if(lr)return lr(kr,on);const Vr=kr.status==="uploading";if(on.startsWith("picture")){const Cr=on==="picture"?b.createElement(Rt.Z,null):fn.uploading,_n=Ut!=null&&Ut(kr)?b.createElement(mn,null):b.createElement(at,null);return Vr?Cr:_n}return Vr?b.createElement(Rt.Z,null):b.createElement(qt,null)},Gr=(kr,Vr,Cr,_n,ur)=>{const fr={type:"text",size:"small",title:_n,onClick:Qn=>{var Pr,Mr;Vr(),b.isValidElement(kr)&&((Mr=(Pr=kr.props).onClick)===null||Mr===void 0||Mr.call(Pr,Qn))},className:`${Cr}-list-item-action`};return ur&&(fr.disabled=jn),b.isValidElement(kr)?b.createElement(Xn.ZP,Object.assign({},fr,{icon:(0,Nn.Tm)(kr,Object.assign(Object.assign({},kr.props),{onClick:()=>{}}))})):b.createElement(Xn.ZP,Object.assign({},fr),b.createElement("span",null,kr))};b.useImperativeHandle(en,()=>({handlePreview:vr,handleDownload:Ir}));const{getPrefixCls:Fr}=b.useContext(nt.E_),gi=Fr("upload",Qt),Xr=Fr(),$r=de()(`${gi}-list`,`${gi}-list-${on}`),ti=b.useMemo(()=>(0,Ht.Z)((0,gn.Z)(Xr),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Xr]),oi=Object.assign(Object.assign({},Wr?{}:ti),{motionDeadline:2e3,motionName:`${gi}-${Wr?"animate-inline":"animate"}`,keys:(0,oe.Z)(Cn.map(kr=>({key:kr.uid,file:kr}))),motionAppear:Dr});return b.createElement("div",{className:$r},b.createElement(Et.CSSMotionList,Object.assign({},oi,{component:!1}),kr=>{let{key:Vr,file:Cr,className:_n,style:ur}=kr;return b.createElement(Nr,{key:Vr,locale:fn,prefixCls:gi,className:_n,style:ur,file:Cr,items:Cn,progress:Zn,listType:on,isImgUrl:Ut,showPreviewIcon:Vt,showRemoveIcon:jt,showDownloadIcon:hn,removeIcon:wn,previewIcon:bn,downloadIcon:In,extra:Fn,iconRender:mr,actionIconRender:Gr,itemRender:sr,onPreview:vr,onDownload:Ir,onClose:_r})}),Mn&&b.createElement(Et.default,Object.assign({},oi,{visible:Gn,forceRender:!0}),kr=>{let{className:Vr,style:Cr}=kr;return(0,Nn.Tm)(Mn,_n=>({className:de()(_n.className,Vr),style:Object.assign(Object.assign(Object.assign({},Cr),{pointerEvents:Vr?"none":void 0}),_n.style)}))}))};var Rr=b.forwardRef(Br),Ln=function(xt,en,on,cn){function Yt($t){return $t instanceof on?$t:new on(function(Xt){Xt($t)})}return new(on||(on=Promise))(function($t,Xt){function fn(Qt){try{Ut(cn.next(Qt))}catch(Cn){Xt(Cn)}}function lr(Qt){try{Ut(cn.throw(Qt))}catch(Cn){Xt(Cn)}}function Ut(Qt){Qt.done?$t(Qt.value):Yt(Qt.value).then(fn,lr)}Ut((cn=cn.apply(xt,en||[])).next())})};const tr=`__LIST_IGNORE_${Date.now()}__`,Ar=(xt,en)=>{const{fileList:on,defaultFileList:cn,onRemove:Yt,showUploadList:$t=!0,listType:Xt="text",onPreview:fn,onDownload:lr,onChange:Ut,onDrop:Qt,previewFile:Cn,disabled:Vt,locale:jt,iconRender:hn,isImageUrl:wn,progress:bn,prefixCls:In,className:Fn,type:Zn="select",children:Mn,style:Gn,itemRender:sr,maxCount:jn,data:ir={},multiple:Dr=!1,hasControlInside:Tr=!0,action:Wr="",accept:vr="",supportServerRender:Ir=!0,rootClassName:_r}=xt,mr=b.useContext(Ue.Z),Gr=Vt!=null?Vt:mr,[Fr,gi]=(0,Bt.Z)(cn||[],{value:on,postState:Ri=>Ri!=null?Ri:[]}),[Xr,$r]=b.useState("drop"),ti=b.useRef(null),oi=b.useRef(null);b.useMemo(()=>{const Ri=Date.now();(on||[]).forEach((no,lo)=>{!no.uid&&!Object.isFrozen(no)&&(no.uid=`__AUTO__${Ri}_${lo}__`)})},[on]);const kr=(Ri,no,lo)=>{let Gi=(0,oe.Z)(no),fo=!1;jn===1?Gi=Gi.slice(-1):jn&&(fo=Gi.length>jn,Gi=Gi.slice(0,jn)),(0,ye.flushSync)(()=>{gi(Gi)});const ao={file:Ri,fileList:Gi};lo&&(ao.event=lo),(!fo||Ri.status==="removed"||Gi.some(Fo=>Fo.uid===Ri.uid))&&(0,ye.flushSync)(()=>{Ut==null||Ut(ao)})},Vr=(Ri,no)=>Ln(void 0,void 0,void 0,function*(){const{beforeUpload:lo,transformFile:Gi}=xt;let fo=Ri;if(lo){const ao=yield lo(Ri,no);if(ao===!1)return!1;if(delete Ri[tr],ao===tr)return Object.defineProperty(Ri,tr,{value:!0,configurable:!0}),!1;typeof ao=="object"&&ao&&(fo=ao)}return Gi&&(fo=yield Gi(fo)),fo}),Cr=Ri=>{const no=Ri.filter(fo=>!fo.file[tr]);if(!no.length)return;const lo=no.map(fo=>gr(fo.file));let Gi=(0,oe.Z)(Fr);lo.forEach(fo=>{Gi=br(fo,Gi)}),lo.forEach((fo,ao)=>{let Fo=fo;if(no[ao].parsedFile)fo.status="uploading";else{const{originFileObj:qo}=fo;let Zo;try{Zo=new File([qo],qo.name,{type:qo.type})}catch(Yo){Zo=new Blob([qo],{type:qo.type}),Zo.name=qo.name,Zo.lastModifiedDate=new Date,Zo.lastModified=new Date().getTime()}Zo.uid=fo.uid,Fo=Zo}kr(Fo,Gi)})},_n=(Ri,no,lo)=>{try{typeof Ri=="string"&&(Ri=JSON.parse(Ri))}catch(ao){}if(!Yn(no,Fr))return;const Gi=gr(no);Gi.status="done",Gi.percent=100,Gi.response=Ri,Gi.xhr=lo;const fo=br(Gi,Fr);kr(Gi,fo)},ur=(Ri,no)=>{if(!Yn(no,Fr))return;const lo=gr(no);lo.status="uploading",lo.percent=Ri.percent;const Gi=br(lo,Fr);kr(lo,Gi,Ri)},fr=(Ri,no,lo)=>{if(!Yn(lo,Fr))return;const Gi=gr(lo);Gi.error=Ri,Gi.response=no,Gi.status="error";const fo=br(Gi,Fr);kr(Gi,fo)},Qn=Ri=>{let no;Promise.resolve(typeof Yt=="function"?Yt(Ri):Yt).then(lo=>{var Gi;if(lo===!1)return;const fo=hr(Ri,Fr);fo&&(no=Object.assign(Object.assign({},Ri),{status:"removed"}),Fr==null||Fr.forEach(ao=>{const Fo=no.uid!==void 0?"uid":"name";ao[Fo]===no[Fo]&&!Object.isFrozen(ao)&&(ao.status="removed")}),(Gi=ti.current)===null||Gi===void 0||Gi.abort(no),kr(no,fo))})},Pr=Ri=>{$r(Ri.type),Ri.type==="drop"&&(Qt==null||Qt(Ri))};b.useImperativeHandle(en,()=>({onBatchStart:Cr,onSuccess:_n,onProgress:ur,onError:fr,fileList:Fr,upload:ti.current,nativeElement:oi.current}));const{getPrefixCls:Mr,direction:Kt,upload:On}=b.useContext(nt.E_),$n=Mr("upload",In),pr=Object.assign(Object.assign({onBatchStart:Cr,onError:fr,onProgress:ur,onSuccess:_n},xt),{data:ir,multiple:Dr,action:Wr,accept:vr,supportServerRender:Ir,prefixCls:$n,disabled:Gr,beforeUpload:Vr,onChange:void 0,hasControlInside:Tr});delete pr.className,delete pr.style,(!Mn||Gr)&&delete pr.id;const zr=`${$n}-wrapper`,[Qr,Yr,ki]=Le($n,zr),[or]=(0,Xe.Z)("Upload",$e.Z.Upload),{showRemoveIcon:Di,showPreviewIcon:mi,showDownloadIcon:Ii,removeIcon:Bi,previewIcon:Si,downloadIcon:so,extra:Co}=typeof $t=="boolean"?{}:$t,$i=typeof Di=="undefined"?!Gr:Di,Ji=(Ri,no)=>$t?b.createElement(Rr,{prefixCls:$n,listType:Xt,items:Fr,previewFile:Cn,onPreview:fn,onDownload:lr,onRemove:Qn,showRemoveIcon:$i,showPreviewIcon:mi,showDownloadIcon:Ii,removeIcon:Bi,previewIcon:Si,downloadIcon:so,iconRender:hn,extra:Co,locale:Object.assign(Object.assign({},or),jt),isImageUrl:wn,progress:bn,appendAction:Ri,appendActionVisible:no,itemRender:sr,disabled:Gr}):Ri,li=de()(zr,Fn,_r,Yr,ki,On==null?void 0:On.className,{[`${$n}-rtl`]:Kt==="rtl",[`${$n}-picture-card-wrapper`]:Xt==="picture-card",[`${$n}-picture-circle-wrapper`]:Xt==="picture-circle"}),ci=Object.assign(Object.assign({},On==null?void 0:On.style),Gn);if(Zn==="drag"){const Ri=de()(Yr,$n,`${$n}-drag`,{[`${$n}-drag-uploading`]:Fr.some(no=>no.status==="uploading"),[`${$n}-drag-hover`]:Xr==="dragover",[`${$n}-disabled`]:Gr,[`${$n}-rtl`]:Kt==="rtl"});return Qr(b.createElement("span",{className:li,ref:oi},b.createElement("div",{className:Ri,style:ci,onDrop:Pr,onDragOver:Pr,onDragLeave:Pr},b.createElement(tt,Object.assign({},pr,{ref:ti,className:`${$n}-btn`}),b.createElement("div",{className:`${$n}-drag-container`},Mn))),Ji()))}const qi=de()($n,`${$n}-select`,{[`${$n}-disabled`]:Gr,[`${$n}-hidden`]:!Mn}),po=b.createElement("div",{className:qi},b.createElement(tt,Object.assign({},pr,{ref:ti})));return Qr(Xt==="picture-card"||Xt==="picture-circle"?b.createElement("span",{className:li,ref:oi},Ji(po,!!Mn)):b.createElement("span",{className:li,ref:oi},po,Ji()))};var Zt=b.forwardRef(Ar),St=function(xt,en){var on={};for(var cn in xt)Object.prototype.hasOwnProperty.call(xt,cn)&&en.indexOf(cn)<0&&(on[cn]=xt[cn]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,cn=Object.getOwnPropertySymbols(xt);Yt<cn.length;Yt++)en.indexOf(cn[Yt])<0&&Object.prototype.propertyIsEnumerable.call(xt,cn[Yt])&&(on[cn[Yt]]=xt[cn[Yt]]);return on},Gt=b.forwardRef((xt,en)=>{var{style:on,height:cn,hasControlInside:Yt=!1}=xt,$t=St(xt,["style","height","hasControlInside"]);return b.createElement(Zt,Object.assign({ref:en,hasControlInside:Yt},$t,{type:"drag",style:Object.assign(Object.assign({},on),{height:cn})}))});const kt=Zt;kt.Dragger=Gt,kt.LIST_IGNORE=tr;var Pt=kt},99498:function(Un,pn,ae){(function(b){b(ae(89780))})(function(b){b.defineOption("placeholder","",function(se,fe,E){var te=E&&E!=b.Init;if(fe&&!te)se.on("blur",de),se.on("change",ve),se.on("swapDoc",ve),b.on(se.getInputField(),"compositionupdate",se.state.placeholderCompose=function(){De(se)}),ve(se);else if(!fe&&te){se.off("blur",de),se.off("change",ve),se.off("swapDoc",ve),b.off(se.getInputField(),"compositionupdate",se.state.placeholderCompose),oe(se);var ne=se.getWrapperElement();ne.className=ne.className.replace(" CodeMirror-empty","")}fe&&!se.hasFocus()&&de(se)});function oe(se){se.state.placeholder&&(se.state.placeholder.parentNode.removeChild(se.state.placeholder),se.state.placeholder=null)}function ye(se){oe(se);var fe=se.state.placeholder=document.createElement("pre");fe.style.cssText="height: 0; overflow: visible",fe.style.direction=se.getOption("direction"),fe.className="CodeMirror-placeholder CodeMirror-line-like";var E=se.getOption("placeholder");typeof E=="string"&&(E=document.createTextNode(E)),fe.appendChild(E),se.display.lineSpace.insertBefore(fe,se.display.lineSpace.firstChild)}function De(se){setTimeout(function(){var fe=!1,E=se.getInputField();E.nodeName=="TEXTAREA"?fe=!E.value:se.lineCount()==1&&(fe=!/[^\u200b]/.test(E.querySelector(".CodeMirror-line").textContent)),fe?ye(se):oe(se)},20)}function de(se){re(se)&&ye(se)}function ve(se){var fe=se.getWrapperElement(),E=re(se);fe.className=fe.className.replace(" CodeMirror-empty","")+(E?" CodeMirror-empty":""),E?ye(se):oe(se)}function re(se){return se.lineCount()===1&&se.getLine(0)===""}})},25717:function(Un,pn,ae){(function(b){b(ae(89780))})(function(b){var oe={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ye=b.Pos;b.defineOption("autoCloseBrackets",!1,function(xe,ue,Ee){Ee&&Ee!=b.Init&&(xe.removeKeyMap(de),xe.state.closeBrackets=null),ue&&(ve(De(ue,"pairs")),xe.state.closeBrackets=ue,xe.addKeyMap(de))});function De(xe,ue){return ue=="pairs"&&typeof xe=="string"?xe:typeof xe=="object"&&xe[ue]!=null?xe[ue]:oe[ue]}var de={Backspace:fe,Enter:E};function ve(xe){for(var ue=0;ue<xe.length;ue++){var Ee=xe.charAt(ue),Oe="'"+Ee+"'";de[Oe]||(de[Oe]=re(Ee))}}ve(oe.pairs+"`");function re(xe){return function(ue){return ne(ue,xe)}}function se(xe){var ue=xe.state.closeBrackets;if(!ue||ue.override)return ue;var Ee=xe.getModeAt(xe.getCursor());return Ee.closeBrackets||ue}function fe(xe){var ue=se(xe);if(!ue||xe.getOption("disableInput"))return b.Pass;for(var Ee=De(ue,"pairs"),Oe=xe.listSelections(),Ae=0;Ae<Oe.length;Ae++){if(!Oe[Ae].empty())return b.Pass;var Re=ge(xe,Oe[Ae].head);if(!Re||Ee.indexOf(Re)%2!=0)return b.Pass}for(var Ae=Oe.length-1;Ae>=0;Ae--){var Me=Oe[Ae].head;xe.replaceRange("",ye(Me.line,Me.ch-1),ye(Me.line,Me.ch+1),"+delete")}}function E(xe){var ue=se(xe),Ee=ue&&De(ue,"explode");if(!Ee||xe.getOption("disableInput"))return b.Pass;for(var Oe=xe.listSelections(),Ae=0;Ae<Oe.length;Ae++){if(!Oe[Ae].empty())return b.Pass;var Re=ge(xe,Oe[Ae].head);if(!Re||Ee.indexOf(Re)%2!=0)return b.Pass}xe.operation(function(){var Me=xe.lineSeparator()||`
|
|
|
`;xe.replaceSelection(Me+Me,null),xe.execCommand("goCharLeft"),Oe=xe.listSelections();for(var be=0;be<Oe.length;be++){var Pe=Oe[be].head.line;xe.indentLine(Pe,null,!0),xe.indentLine(Pe+1,null,!0)}})}function te(xe){var ue=b.cmpPos(xe.anchor,xe.head)>0;return{anchor:new ye(xe.anchor.line,xe.anchor.ch+(ue?-1:1)),head:new ye(xe.head.line,xe.head.ch+(ue?1:-1))}}function ne(xe,ue){var Ee=se(xe);if(!Ee||xe.getOption("disableInput"))return b.Pass;var Oe=De(Ee,"pairs"),Ae=Oe.indexOf(ue);if(Ae==-1)return b.Pass;for(var Re=De(Ee,"closeBefore"),Me=De(Ee,"triples"),be=Oe.charAt(Ae+1)==ue,Pe=xe.listSelections(),Fe=Ae%2==0,_e,Te=0;Te<Pe.length;Te++){var Ke=Pe[Te],We=Ke.head,Ne,Ye=xe.getRange(We,ye(We.line,We.ch+1));if(Fe&&!Ke.empty())Ne="surround";else if((be||!Fe)&&Ye==ue)be&&we(xe,We)?Ne="both":Me.indexOf(ue)>=0&&xe.getRange(We,ye(We.line,We.ch+3))==ue+ue+ue?Ne="skipThree":Ne="skip";else if(be&&We.ch>1&&Me.indexOf(ue)>=0&&xe.getRange(ye(We.line,We.ch-2),We)==ue+ue){if(We.ch>2&&/\bstring/.test(xe.getTokenTypeAt(ye(We.line,We.ch-2))))return b.Pass;Ne="addFour"}else if(be){var Je=We.ch==0?" ":xe.getRange(ye(We.line,We.ch-1),We);if(!b.isWordChar(Ye)&&Je!=ue&&!b.isWordChar(Je))Ne="both";else return b.Pass}else if(Fe&&(Ye.length===0||/\s/.test(Ye)||Re.indexOf(Ye)>-1))Ne="both";else return b.Pass;if(!_e)_e=Ne;else if(_e!=Ne)return b.Pass}var He=Ae%2?Oe.charAt(Ae-1):ue,lt=Ae%2?ue:Oe.charAt(Ae+1);xe.operation(function(){if(_e=="skip")xe.execCommand("goCharRight");else if(_e=="skipThree")for(var ct=0;ct<3;ct++)xe.execCommand("goCharRight");else if(_e=="surround"){for(var tt=xe.getSelections(),ct=0;ct<tt.length;ct++)tt[ct]=He+tt[ct]+lt;xe.replaceSelections(tt,"around"),tt=xe.listSelections().slice();for(var ct=0;ct<tt.length;ct++)tt[ct]=te(tt[ct]);xe.setSelections(tt)}else _e=="both"?(xe.replaceSelection(He+lt,null),xe.triggerElectric(He+lt),xe.execCommand("goCharLeft")):_e=="addFour"&&(xe.replaceSelection(He+He+He+He,"before"),xe.execCommand("goCharRight"))})}function ge(xe,ue){var Ee=xe.getRange(ye(ue.line,ue.ch-1),ye(ue.line,ue.ch+1));return Ee.length==2?Ee:null}function we(xe,ue){var Ee=xe.getTokenAt(ye(ue.line,ue.ch+1));return/\bstring/.test(Ee.type)&&Ee.start==ue.ch&&(ue.ch==0||!/\bstring/.test(xe.getTokenTypeAt(ue)))}})},6313:function(Un,pn,ae){(function(b){b(ae(89780),ae(32855))})(function(b){b.defineOption("autoCloseTags",!1,function(fe,E,te){if(te!=b.Init&&te&&fe.removeKeyMap("autoCloseTags"),!!E){var ne={name:"autoCloseTags"};(typeof E!="object"||E.whenClosing!==!1)&&(ne["'/'"]=function(ge){return ve(ge)}),(typeof E!="object"||E.whenOpening!==!1)&&(ne["'>'"]=function(ge){return De(ge)}),fe.addKeyMap(ne)}});var oe=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],ye=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function De(fe){if(fe.getOption("disableInput"))return b.Pass;for(var E=fe.listSelections(),te=[],ne=fe.getOption("autoCloseTags"),ge=0;ge<E.length;ge++){if(!E[ge].empty())return b.Pass;var we=E[ge].head,xe=fe.getTokenAt(we),ue=b.innerMode(fe.getMode(),xe.state),Ee=ue.state,Oe=ue.mode.xmlCurrentTag&&ue.mode.xmlCurrentTag(Ee),Ae=Oe&&Oe.name;if(!Ae)return b.Pass;var Re=ue.mode.configuration=="html",Me=typeof ne=="object"&&ne.dontCloseTags||Re&&oe,be=typeof ne=="object"&&ne.indentTags||Re&&ye;xe.end>we.ch&&(Ae=Ae.slice(0,Ae.length-xe.end+we.ch));var Pe=Ae.toLowerCase();if(!Ae||xe.type=="string"&&(xe.end!=we.ch||!/[\"\']/.test(xe.string.charAt(xe.string.length-1))||xe.string.length==1)||xe.type=="tag"&&Oe.close||xe.string.indexOf("/")==we.ch-xe.start-1||Me&&re(Me,Pe)>-1||se(fe,ue.mode.xmlCurrentContext&&ue.mode.xmlCurrentContext(Ee)||[],Ae,we,!0))return b.Pass;var Fe=typeof ne=="object"&&ne.emptyTags;if(Fe&&re(Fe,Ae)>-1){te[ge]={text:"/>",newPos:b.Pos(we.line,we.ch+2)};continue}var _e=be&&re(be,Pe)>-1;te[ge]={indent:_e,text:">"+(_e?`
|
|
|
|
|
|
`:"")+"</"+Ae+">",newPos:_e?b.Pos(we.line+1,0):b.Pos(we.line,we.ch+1)}}for(var Te=typeof ne=="object"&&ne.dontIndentOnAutoClose,ge=E.length-1;ge>=0;ge--){var Ke=te[ge];fe.replaceRange(Ke.text,E[ge].head,E[ge].anchor,"+insert");var We=fe.listSelections().slice(0);We[ge]={head:Ke.newPos,anchor:Ke.newPos},fe.setSelections(We),!Te&&Ke.indent&&(fe.indentLine(Ke.newPos.line,null,!0),fe.indentLine(Ke.newPos.line+1,null,!0))}}function de(fe,E){for(var te=fe.listSelections(),ne=[],ge=E?"/":"</",we=fe.getOption("autoCloseTags"),xe=typeof we=="object"&&we.dontIndentOnSlash,ue=0;ue<te.length;ue++){if(!te[ue].empty())return b.Pass;var Ee=te[ue].head,Oe=fe.getTokenAt(Ee),Ae=b.innerMode(fe.getMode(),Oe.state),Re=Ae.state;if(E&&(Oe.type=="string"||Oe.string.charAt(0)!="<"||Oe.start!=Ee.ch-1))return b.Pass;var Me,be=Ae.mode.name!="xml"&&fe.getMode().name=="htmlmixed";if(be&&Ae.mode.name=="javascript")Me=ge+"script";else if(be&&Ae.mode.name=="css")Me=ge+"style";else{var Pe=Ae.mode.xmlCurrentContext&&Ae.mode.xmlCurrentContext(Re);if(!Pe||Pe.length&&se(fe,Pe,Pe[Pe.length-1],Ee))return b.Pass;Me=ge+Pe[Pe.length-1]}fe.getLine(Ee.line).charAt(Oe.end)!=">"&&(Me+=">"),ne[ue]=Me}if(fe.replaceSelections(ne),te=fe.listSelections(),!xe)for(var ue=0;ue<te.length;ue++)(ue==te.length-1||te[ue].head.line<te[ue+1].head.line)&&fe.indentLine(te[ue].head.line)}function ve(fe){return fe.getOption("disableInput")?b.Pass:de(fe,!0)}b.commands.closeTag=function(fe){return de(fe)};function re(fe,E){if(fe.indexOf)return fe.indexOf(E);for(var te=0,ne=fe.length;te<ne;++te)if(fe[te]==E)return te;return-1}function se(fe,E,te,ne,ge){if(!b.scanForClosingTag)return!1;var we=Math.min(fe.lastLine()+1,ne.line+500),xe=b.scanForClosingTag(fe,ne,null,we);if(!xe||xe.tag!=te)return!1;for(var ue=ge?1:0,Ee=E.length-1;Ee>=0&&E[Ee]==te;Ee--)++ue;ne=xe.to;for(var Ee=1;Ee<ue;Ee++){var Oe=b.scanForClosingTag(fe,ne,null,we);if(!Oe||Oe.tag!=te)return!1;ne=Oe.to}return!0}})},32855:function(Un,pn,ae){(function(b){b(ae(89780))})(function(b){"use strict";var oe=b.Pos;function ye(Ee,Oe){return Ee.line-Oe.line||Ee.ch-Oe.ch}var De="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",de=De+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("<(/?)(["+De+"]["+de+"]*)","g");function re(Ee,Oe,Ae,Re){this.line=Oe,this.ch=Ae,this.cm=Ee,this.text=Ee.getLine(Oe),this.min=Re?Math.max(Re.from,Ee.firstLine()):Ee.firstLine(),this.max=Re?Math.min(Re.to-1,Ee.lastLine()):Ee.lastLine()}function se(Ee,Oe){var Ae=Ee.cm.getTokenTypeAt(oe(Ee.line,Oe));return Ae&&/\btag\b/.test(Ae)}function fe(Ee){if(!(Ee.line>=Ee.max))return Ee.ch=0,Ee.text=Ee.cm.getLine(++Ee.line),!0}function E(Ee){if(!(Ee.line<=Ee.min))return Ee.text=Ee.cm.getLine(--Ee.line),Ee.ch=Ee.text.length,!0}function te(Ee){for(;;){var Oe=Ee.text.indexOf(">",Ee.ch);if(Oe==-1){if(fe(Ee))continue;return}if(!se(Ee,Oe+1)){Ee.ch=Oe+1;continue}var Ae=Ee.text.lastIndexOf("/",Oe),Re=Ae>-1&&!/\S/.test(Ee.text.slice(Ae+1,Oe));return Ee.ch=Oe+1,Re?"selfClose":"regular"}}function ne(Ee){for(;;){var Oe=Ee.ch?Ee.text.lastIndexOf("<",Ee.ch-1):-1;if(Oe==-1){if(E(Ee))continue;return}if(!se(Ee,Oe+1)){Ee.ch=Oe;continue}ve.lastIndex=Oe,Ee.ch=Oe;var Ae=ve.exec(Ee.text);if(Ae&&Ae.index==Oe)return Ae}}function ge(Ee){for(;;){ve.lastIndex=Ee.ch;var Oe=ve.exec(Ee.text);if(!Oe){if(fe(Ee))continue;return}if(!se(Ee,Oe.index+1)){Ee.ch=Oe.index+1;continue}return Ee.ch=Oe.index+Oe[0].length,Oe}}function we(Ee){for(;;){var Oe=Ee.ch?Ee.text.lastIndexOf(">",Ee.ch-1):-1;if(Oe==-1){if(E(Ee))continue;return}if(!se(Ee,Oe+1)){Ee.ch=Oe;continue}var Ae=Ee.text.lastIndexOf("/",Oe),Re=Ae>-1&&!/\S/.test(Ee.text.slice(Ae+1,Oe));return Ee.ch=Oe+1,Re?"selfClose":"regular"}}function xe(Ee,Oe){for(var Ae=[];;){var Re=ge(Ee),Me,be=Ee.line,Pe=Ee.ch-(Re?Re[0].length:0);if(!Re||!(Me=te(Ee)))return;if(Me!="selfClose")if(Re[1]){for(var Fe=Ae.length-1;Fe>=0;--Fe)if(Ae[Fe]==Re[2]){Ae.length=Fe;break}if(Fe<0&&(!Oe||Oe==Re[2]))return{tag:Re[2],from:oe(be,Pe),to:oe(Ee.line,Ee.ch)}}else Ae.push(Re[2])}}function ue(Ee,Oe){for(var Ae=[];;){var Re=we(Ee);if(!Re)return;if(Re=="selfClose"){ne(Ee);continue}var Me=Ee.line,be=Ee.ch,Pe=ne(Ee);if(!Pe)return;if(Pe[1])Ae.push(Pe[2]);else{for(var Fe=Ae.length-1;Fe>=0;--Fe)if(Ae[Fe]==Pe[2]){Ae.length=Fe;break}if(Fe<0&&(!Oe||Oe==Pe[2]))return{tag:Pe[2],from:oe(Ee.line,Ee.ch),to:oe(Me,be)}}}}b.registerHelper("fold","xml",function(Ee,Oe){for(var Ae=new re(Ee,Oe.line,0);;){var Re=ge(Ae);if(!Re||Ae.line!=Oe.line)return;var Me=te(Ae);if(!Me)return;if(!Re[1]&&Me!="selfClose"){var be=oe(Ae.line,Ae.ch),Pe=xe(Ae,Re[2]);return Pe&&ye(Pe.from,be)>0?{from:be,to:Pe.from}:null}}}),b.findMatchingTag=function(Ee,Oe,Ae){var Re=new re(Ee,Oe.line,Oe.ch,Ae);if(!(Re.text.indexOf(">")==-1&&Re.text.indexOf("<")==-1)){var Me=te(Re),be=Me&&oe(Re.line,Re.ch),Pe=Me&&ne(Re);if(!(!Me||!Pe||ye(Re,Oe)>0)){var Fe={from:oe(Re.line,Re.ch),to:be,tag:Pe[2]};return Me=="selfClose"?{open:Fe,close:null,at:"open"}:Pe[1]?{open:ue(Re,Pe[2]),close:Fe,at:"close"}:(Re=new re(Ee,be.line,be.ch,Ae),{open:Fe,close:xe(Re,Pe[2]),at:"open"})}}},b.findEnclosingTag=function(Ee,Oe,Ae,Re){for(var Me=new re(Ee,Oe.line,Oe.ch,Ae);;){var be=ue(Me,Re);if(!be)break;var Pe=new re(Ee,Oe.line,Oe.ch,Ae),Fe=xe(Pe,be.tag);if(Fe)return{open:be,close:Fe}}},b.scanForClosingTag=function(Ee,Oe,Ae,Re){var Me=new re(Ee,Oe.line,Oe.ch,Re?{from:0,to:Re}:null);return xe(Me,Ae)}})},89780:function(Un){(function(pn,ae){Un.exports=ae()})(this,function(){"use strict";var pn=navigator.userAgent,ae=navigator.platform,b=/gecko\/\d/i.test(pn),oe=/MSIE \d/.test(pn),ye=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(pn),De=/Edge\/(\d+)/.exec(pn),de=oe||ye||De,ve=de&&(oe?document.documentMode||6:+(De||ye)[1]),re=!De&&/WebKit\//.test(pn),se=re&&/Qt\/\d+\.\d+/.test(pn),fe=!De&&/Chrome\//.test(pn),E=/Opera\//.test(pn),te=/Apple Computer/.test(navigator.vendor),ne=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(pn),ge=/PhantomJS/.test(pn),we=!De&&/AppleWebKit/.test(pn)&&/Mobile\/\w+/.test(pn),xe=/Android/.test(pn),ue=we||xe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(pn),Ee=we||/Mac/.test(ae),Oe=/\bCrOS\b/.test(pn),Ae=/win/i.test(ae),Re=E&&pn.match(/Version\/(\d*\.\d*)/);Re&&(Re=Number(Re[1])),Re&&Re>=15&&(E=!1,re=!0);var Me=Ee&&(se||E&&(Re==null||Re<12.11)),be=b||de&&ve>=9;function Pe(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Fe=function(a,y){var ee=a.className,z=Pe(y).exec(ee);if(z){var ce=ee.slice(z.index+z[0].length);a.className=ee.slice(0,z.index)+(ce?z[1]+ce:"")}};function _e(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Te(a,y){return _e(a).appendChild(y)}function Ke(a,y,ee,z){var ce=document.createElement(a);if(ee&&(ce.className=ee),z&&(ce.style.cssText=z),typeof y=="string")ce.appendChild(document.createTextNode(y));else if(y)for(var Ze=0;Ze<y.length;++Ze)ce.appendChild(y[Ze]);return ce}function We(a,y,ee,z){var ce=Ke(a,y,ee,z);return ce.setAttribute("role","presentation"),ce}var Ne;document.createRange?Ne=function(a,y,ee,z){var ce=document.createRange();return ce.setEnd(z||a,ee),ce.setStart(a,y),ce}:Ne=function(a,y,ee){var z=document.body.createTextRange();try{z.moveToElementText(a.parentNode)}catch(ce){return z}return z.collapse(!0),z.moveEnd("character",ee),z.moveStart("character",y),z};function Ye(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function Je(){var a;try{a=document.activeElement}catch(y){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function He(a,y){var ee=a.className;Pe(y).test(ee)||(a.className+=(ee?" ":"")+y)}function lt(a,y){for(var ee=a.split(" "),z=0;z<ee.length;z++)ee[z]&&!Pe(ee[z]).test(y)&&(y+=" "+ee[z]);return y}var ct=function(a){a.select()};we?ct=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:de&&(ct=function(a){try{a.select()}catch(y){}});function tt(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function Bt(a,y,ee){y||(y={});for(var z in a)a.hasOwnProperty(z)&&(ee!==!1||!y.hasOwnProperty(z))&&(y[z]=a[z]);return y}function nt(a,y,ee,z,ce){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var Ze=z||0,rt=ce||0;;){var ut=a.indexOf(" ",Ze);if(ut<0||ut>=y)return rt+(y-Ze);rt+=ut-Ze,rt+=ee-rt%ee,Ze=ut+1}}var Ue=function(){this.id=null,this.f=null,this.time=0,this.handler=tt(this.onTimeout,this)};Ue.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Ue.prototype.set=function(a,y){this.f=y;var ee=+new Date+a;(!this.id||ee<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=ee)};function Xe(a,y){for(var ee=0;ee<a.length;++ee)if(a[ee]==y)return ee;return-1}var $e=50,qe={toString:function(){return"CodeMirror.Pass"}},Ve={scroll:!1},ht={origin:"*mouse"},st={origin:"+move"};function Nt(a,y,ee){for(var z=0,ce=0;;){var Ze=a.indexOf(" ",z);Ze==-1&&(Ze=a.length);var rt=Ze-z;if(Ze==a.length||ce+rt>=y)return z+Math.min(rt,y-ce);if(ce+=Ze-z,ce+=ee-ce%ee,z=Ze+1,ce>=y)return z}}var dt=[""];function Tt(a){for(;dt.length<=a;)dt.push(bt(dt)+" ");return dt[a]}function bt(a){return a[a.length-1]}function Ct(a,y){for(var ee=[],z=0;z<a.length;z++)ee[z]=y(a[z],z);return ee}function gt(a,y,ee){for(var z=0,ce=ee(y);z<a.length&&ee(a[z])<=ce;)z++;a.splice(z,0,y)}function je(){}function le(a,y){var ee;return Object.create?ee=Object.create(a):(je.prototype=a,ee=new je),y&&Bt(y,ee),ee}var ie=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ke(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ie.test(a))}function Ge(a,y){return y?y.source.indexOf("\\w")>-1&&ke(a)?!0:y.test(a):ke(a)}function Ie(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])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 x(a){return a.charCodeAt(0)>=768&&pe.test(a)}function me(a,y,ee){for(;(ee<0?y>0:y<a.length)&&x(a.charAt(y));)y+=ee;return y}function Le(a,y,ee){for(var z=y>ee?-1:1;;){if(y==ee)return y;var ce=(y+ee)/2,Ze=z<0?Math.ceil(ce):Math.floor(ce);if(Ze==y)return a(Ze)?y:ee;a(Ze)?ee=Ze:y=Ze+z}}function Se(a,y,ee,z){if(!a)return z(y,ee,"ltr",0);for(var ce=!1,Ze=0;Ze<a.length;++Ze){var rt=a[Ze];(rt.from<ee&&rt.to>y||y==ee&&rt.to==y)&&(z(Math.max(rt.from,y),Math.min(rt.to,ee),rt.level==1?"rtl":"ltr",Ze),ce=!0)}ce||z(y,ee,"ltr")}var Be=null;function Qe(a,y,ee){var z;Be=null;for(var ce=0;ce<a.length;++ce){var Ze=a[ce];if(Ze.from<y&&Ze.to>y)return ce;Ze.to==y&&(Ze.from!=Ze.to&&ee=="before"?z=ce:Be=ce),Ze.from==y&&(Ze.from!=Ze.to&&ee!="before"?z=ce:Be=ce)}return z!=null?z:Be}var it=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ee(At){return At<=247?a.charAt(At):1424<=At&&At<=1524?"R":1536<=At&&At<=1785?y.charAt(At-1536):1774<=At&&At<=2220?"r":8192<=At&&At<=8203?"w":At==8204?"b":"L"}var z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ce=/[stwN]/,Ze=/[LRr]/,rt=/[Lb1n]/,ut=/[1n]/;function yt(At,ln,Sn){this.level=At,this.from=ln,this.to=Sn}return function(At,ln){var Sn=ln=="ltr"?"L":"R";if(At.length==0||ln=="ltr"&&!z.test(At))return!1;for(var rr=At.length,Vn=[],Lr=0;Lr<rr;++Lr)Vn.push(ee(At.charCodeAt(Lr)));for(var Ur=0,ii=Sn;Ur<rr;++Ur){var vi=Vn[Ur];vi=="m"?Vn[Ur]=ii:ii=vi}for(var Pi=0,hi=Sn;Pi<rr;++Pi){var Mi=Vn[Pi];Mi=="1"&&hi=="r"?Vn[Pi]="n":Ze.test(Mi)&&(hi=Mi,Mi=="r"&&(Vn[Pi]="R"))}for(var to=1,Yi=Vn[0];to<rr-1;++to){var Io=Vn[to];Io=="+"&&Yi=="1"&&Vn[to+1]=="1"?Vn[to]="1":Io==","&&Yi==Vn[to+1]&&(Yi=="1"||Yi=="n")&&(Vn[to]=Yi),Yi=Io}for(var ra=0;ra<rr;++ra){var Ka=Vn[ra];if(Ka==",")Vn[ra]="N";else if(Ka=="%"){var ga=void 0;for(ga=ra+1;ga<rr&&Vn[ga]=="%";++ga);for(var gs=ra&&Vn[ra-1]=="!"||ga<rr&&Vn[ga]=="1"?"1":"N",ls=ra;ls<ga;++ls)Vn[ls]=gs;ra=ga-1}}for(var Ea=0,us=Sn;Ea<rr;++Ea){var Qa=Vn[Ea];us=="L"&&Qa=="1"?Vn[Ea]="L":Ze.test(Qa)&&(us=Qa)}for(var Aa=0;Aa<rr;++Aa)if(ce.test(Vn[Aa])){var Ia=void 0;for(Ia=Aa+1;Ia<rr&&ce.test(Vn[Ia]);++Ia);for(var ba=(Aa?Vn[Aa-1]:Sn)=="L",cs=(Ia<rr?Vn[Ia]:Sn)=="L",ou=ba==cs?ba?"L":"R":Sn,Sl=Aa;Sl<Ia;++Sl)Vn[Sl]=ou;Aa=Ia-1}for(var qa=[],he,Ce=0;Ce<rr;)if(rt.test(Vn[Ce])){var ze=Ce;for(++Ce;Ce<rr&&rt.test(Vn[Ce]);++Ce);qa.push(new yt(0,ze,Ce))}else{var et=Ce,mt=qa.length,vt=ln=="rtl"?1:0;for(++Ce;Ce<rr&&Vn[Ce]!="L";++Ce);for(var wt=et;wt<Ce;)if(ut.test(Vn[wt])){et<wt&&(qa.splice(mt,0,new yt(1,et,wt)),mt+=vt);var It=wt;for(++wt;wt<Ce&&ut.test(Vn[wt]);++wt);qa.splice(mt,0,new yt(2,It,wt)),mt+=vt,et=wt}else++wt;et<Ce&&qa.splice(mt,0,new yt(1,et,Ce))}return ln=="ltr"&&(qa[0].level==1&&(he=At.match(/^\s+/))&&(qa[0].from=he[0].length,qa.unshift(new yt(0,0,he[0].length))),bt(qa).level==1&&(he=At.match(/\s+$/))&&(bt(qa).to-=he[0].length,qa.push(new yt(0,rr-he[0].length,rr)))),ln=="rtl"?qa.reverse():qa}}();function ot(a,y){var ee=a.order;return ee==null&&(ee=a.order=it(a.text,y)),ee}var at=[],Rt=function(a,y,ee){if(a.addEventListener)a.addEventListener(y,ee,!1);else if(a.attachEvent)a.attachEvent("on"+y,ee);else{var z=a._handlers||(a._handlers={});z[y]=(z[y]||at).concat(ee)}};function Ft(a,y){return a._handlers&&a._handlers[y]||at}function rn(a,y,ee){if(a.removeEventListener)a.removeEventListener(y,ee,!1);else if(a.detachEvent)a.detachEvent("on"+y,ee);else{var z=a._handlers,ce=z&&z[y];if(ce){var Ze=Xe(ce,ee);Ze>-1&&(z[y]=ce.slice(0,Ze).concat(ce.slice(Ze+1)))}}}function nn(a,y){var ee=Ft(a,y);if(ee.length)for(var z=Array.prototype.slice.call(arguments,2),ce=0;ce<ee.length;++ce)ee[ce].apply(null,z)}function Lt(a,y,ee){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),nn(a,ee||y.type,a,y),mn(y)||y.codemirrorIgnore}function qt(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var ee=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),z=0;z<y.length;++z)Xe(ee,y[z])==-1&&ee.push(y[z])}function Wt(a,y){return Ft(a,y).length>0}function Dt(a){a.prototype.on=function(y,ee){Rt(this,y,ee)},a.prototype.off=function(y,ee){rn(this,y,ee)}}function zt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function un(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function mn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Et(a){zt(a),un(a)}function Ht(a){return a.target||a.srcElement}function Jt(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),Ee&&a.ctrlKey&&y==1&&(y=3),y}var gn=function(){if(de&&ve<9)return!1;var a=Ke("div");return"draggable"in a||"dragDrop"in a}(),Nn;function Xn(a){if(Nn==null){var y=Ke("span","\u200B");Te(a,Ke("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Nn=y.offsetWidth<=1&&y.offsetHeight>2&&!(de&&ve<8))}var ee=Nn?Ke("span","\u200B"):Ke("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ee.setAttribute("cm-text",""),ee}var gr;function br(a){if(gr!=null)return gr;var y=Te(a,document.createTextNode("A\u062EA")),ee=Ne(y,0,1).getBoundingClientRect(),z=Ne(y,1,2).getBoundingClientRect();return _e(a),!ee||ee.left==ee.right?!1:gr=z.right-ee.right<3}var Yn=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var y=0,ee=[],z=a.length;y<=z;){var ce=a.indexOf(`
|
|
|
`,y);ce==-1&&(ce=a.length);var Ze=a.slice(y,a.charAt(ce-1)=="\r"?ce-1:ce),rt=Ze.indexOf("\r");rt!=-1?(ee.push(Ze.slice(0,rt)),y+=rt+1):(ee.push(Ze),y=ce+1)}return ee}:function(a){return a.split(/\r\n?|\n/)},hr=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(ee){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},Wn=function(){var a=Ke("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),xn=null;function Pn(a){if(xn!=null)return xn;var y=Te(a,Ke("span","x")),ee=y.getBoundingClientRect(),z=Ne(y,0,1).getBoundingClientRect();return xn=Math.abs(ee.left-z.left)>1}var Tn={},An={};function zn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),Tn[a]=y}function Kn(a,y){An[a]=y}function er(a){if(typeof a=="string"&&An.hasOwnProperty(a))a=An[a];else if(a&&typeof a.name=="string"&&An.hasOwnProperty(a.name)){var y=An[a.name];typeof y=="string"&&(y={name:y}),a=le(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return er("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return er("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function wr(a,y){y=er(y);var ee=Tn[y.name];if(!ee)return wr(a,"text/plain");var z=ee(a,y);if(Sr.hasOwnProperty(y.name)){var ce=Sr[y.name];for(var Ze in ce)ce.hasOwnProperty(Ze)&&(z.hasOwnProperty(Ze)&&(z["_"+Ze]=z[Ze]),z[Ze]=ce[Ze])}if(z.name=y.name,y.helperType&&(z.helperType=y.helperType),y.modeProps)for(var rt in y.modeProps)z[rt]=y.modeProps[rt];return z}var Sr={};function Er(a,y){var ee=Sr.hasOwnProperty(a)?Sr[a]:Sr[a]={};Bt(y,ee)}function Nr(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var ee={};for(var z in y){var ce=y[z];ce instanceof Array&&(ce=ce.concat([])),ee[z]=ce}return ee}function Br(a,y){for(var ee;a.innerMode&&(ee=a.innerMode(y),!(!ee||ee.mode==a));)y=ee.state,a=ee.mode;return ee||{mode:a,state:y}}function jr(a,y,ee){return a.startState?a.startState(y,ee):!0}var Rr=function(a,y,ee){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ee};Rr.prototype.eol=function(){return this.pos>=this.string.length},Rr.prototype.sol=function(){return this.pos==this.lineStart},Rr.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Rr.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Rr.prototype.eat=function(a){var y=this.string.charAt(this.pos),ee;if(typeof a=="string"?ee=y==a:ee=y&&(a.test?a.test(y):a(y)),ee)return++this.pos,y},Rr.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Rr.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Rr.prototype.skipToEnd=function(){this.pos=this.string.length},Rr.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Rr.prototype.backUp=function(a){this.pos-=a},Rr.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=nt(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?nt(this.string,this.lineStart,this.tabSize):0)},Rr.prototype.indentation=function(){return nt(this.string,null,this.tabSize)-(this.lineStart?nt(this.string,this.lineStart,this.tabSize):0)},Rr.prototype.match=function(a,y,ee){if(typeof a=="string"){var z=function(rt){return ee?rt.toLowerCase():rt},ce=this.string.substr(this.pos,a.length);if(z(ce)==z(a))return y!==!1&&(this.pos+=a.length),!0}else{var Ze=this.string.slice(this.pos).match(a);return Ze&&Ze.index>0?null:(Ze&&y!==!1&&(this.pos+=Ze[0].length),Ze)}},Rr.prototype.current=function(){return this.string.slice(this.start,this.pos)},Rr.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Rr.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Rr.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Ln(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var ee=a;!ee.lines;)for(var z=0;;++z){var ce=ee.children[z],Ze=ce.chunkSize();if(y<Ze){ee=ce;break}y-=Ze}return ee.lines[y]}function tr(a,y,ee){var z=[],ce=y.line;return a.iter(y.line,ee.line+1,function(Ze){var rt=Ze.text;ce==ee.line&&(rt=rt.slice(0,ee.ch)),ce==y.line&&(rt=rt.slice(y.ch)),z.push(rt),++ce}),z}function Ar(a,y,ee){var z=[];return a.iter(y,ee,function(ce){z.push(ce.text)}),z}function yr(a,y){var ee=y-a.height;if(ee)for(var z=a;z;z=z.parent)z.height+=ee}function Zt(a){if(a.parent==null)return null;for(var y=a.parent,ee=Xe(y.lines,a),z=y.parent;z;y=z,z=z.parent)for(var ce=0;z.children[ce]!=y;++ce)ee+=z.children[ce].chunkSize();return ee+y.first}function St(a,y){var ee=a.first;e:do{for(var z=0;z<a.children.length;++z){var ce=a.children[z],Ze=ce.height;if(y<Ze){a=ce;continue e}y-=Ze,ee+=ce.chunkSize()}return ee}while(!a.lines);for(var rt=0;rt<a.lines.length;++rt){var ut=a.lines[rt],yt=ut.height;if(y<yt)break;y-=yt}return ee+rt}function Ot(a,y){return y>=a.first&&y<a.first+a.size}function Gt(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function kt(a,y,ee){if(ee===void 0&&(ee=null),!(this instanceof kt))return new kt(a,y,ee);this.line=a,this.ch=y,this.sticky=ee}function Pt(a,y){return a.line-y.line||a.ch-y.ch}function xt(a,y){return a.sticky==y.sticky&&Pt(a,y)==0}function en(a){return kt(a.line,a.ch)}function on(a,y){return Pt(a,y)<0?y:a}function cn(a,y){return Pt(a,y)<0?a:y}function Yt(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function $t(a,y){if(y.line<a.first)return kt(a.first,0);var ee=a.first+a.size-1;return y.line>ee?kt(ee,Ln(a,ee).text.length):Xt(y,Ln(a,y.line).text.length)}function Xt(a,y){var ee=a.ch;return ee==null||ee>y?kt(a.line,y):ee<0?kt(a.line,0):a}function fn(a,y){for(var ee=[],z=0;z<y.length;z++)ee[z]=$t(a,y[z]);return ee}var lr=function(a,y){this.state=a,this.lookAhead=y},Ut=function(a,y,ee,z){this.state=y,this.doc=a,this.line=ee,this.maxLookAhead=z||0,this.baseTokens=null,this.baseTokenPos=1};Ut.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},Ut.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Ut.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Ut.fromSaved=function(a,y,ee){return y instanceof lr?new Ut(a,Nr(a.mode,y.state),ee,y.lookAhead):new Ut(a,Nr(a.mode,y),ee)},Ut.prototype.save=function(a){var y=a!==!1?Nr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new lr(y,this.maxLookAhead):y};function Qt(a,y,ee,z){var ce=[a.state.modeGen],Ze={};Zn(a,y.text,a.doc.mode,ee,function(At,ln){return ce.push(At,ln)},Ze,z);for(var rt=ee.state,ut=function(At){ee.baseTokens=ce;var ln=a.state.overlays[At],Sn=1,rr=0;ee.state=!0,Zn(a,y.text,ln.mode,ee,function(Vn,Lr){for(var Ur=Sn;rr<Vn;){var ii=ce[Sn];ii>Vn&&ce.splice(Sn,1,Vn,ce[Sn+1],ii),Sn+=2,rr=Math.min(Vn,ii)}if(Lr)if(ln.opaque)ce.splice(Ur,Sn-Ur,Vn,"overlay "+Lr),Sn=Ur+2;else for(;Ur<Sn;Ur+=2){var vi=ce[Ur+1];ce[Ur+1]=(vi?vi+" ":"")+"overlay "+Lr}},Ze),ee.state=rt,ee.baseTokens=null,ee.baseTokenPos=1},yt=0;yt<a.state.overlays.length;++yt)ut(yt);return{styles:ce,classes:Ze.bgClass||Ze.textClass?Ze:null}}function Cn(a,y,ee){if(!y.styles||y.styles[0]!=a.state.modeGen){var z=Vt(a,Zt(y)),ce=y.text.length>a.options.maxHighlightLength&&Nr(a.doc.mode,z.state),Ze=Qt(a,y,z);ce&&(z.state=ce),y.stateAfter=z.save(!ce),y.styles=Ze.styles,Ze.classes?y.styleClasses=Ze.classes:y.styleClasses&&(y.styleClasses=null),ee===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function Vt(a,y,ee){var z=a.doc,ce=a.display;if(!z.mode.startState)return new Ut(z,!0,y);var Ze=Mn(a,y,ee),rt=Ze>z.first&&Ln(z,Ze-1).stateAfter,ut=rt?Ut.fromSaved(z,rt,Ze):new Ut(z,jr(z.mode),Ze);return z.iter(Ze,y,function(yt){jt(a,yt.text,ut);var At=ut.line;yt.stateAfter=At==y-1||At%5==0||At>=ce.viewFrom&&At<ce.viewTo?ut.save():null,ut.nextLine()}),ee&&(z.modeFrontier=ut.line),ut}function jt(a,y,ee,z){var ce=a.doc.mode,Ze=new Rr(y,a.options.tabSize,ee);for(Ze.start=Ze.pos=z||0,y==""&&hn(ce,ee.state);!Ze.eol();)wn(ce,Ze,ee.state),Ze.start=Ze.pos}function hn(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var ee=Br(a,y);if(ee.mode.blankLine)return ee.mode.blankLine(ee.state)}}function wn(a,y,ee,z){for(var ce=0;ce<10;ce++){z&&(z[0]=Br(a,ee).mode);var Ze=a.token(y,ee);if(y.pos>y.start)return Ze}throw new Error("Mode "+a.name+" failed to advance stream.")}var bn=function(a,y,ee){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=ee};function In(a,y,ee,z){var ce=a.doc,Ze=ce.mode,rt;y=$t(ce,y);var ut=Ln(ce,y.line),yt=Vt(a,y.line,ee),At=new Rr(ut.text,a.options.tabSize,yt),ln;for(z&&(ln=[]);(z||At.pos<y.ch)&&!At.eol();)At.start=At.pos,rt=wn(Ze,At,yt.state),z&&ln.push(new bn(At,rt,Nr(ce.mode,yt.state)));return z?ln:new bn(At,rt,yt.state)}function Fn(a,y){if(a)for(;;){var ee=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ee)break;a=a.slice(0,ee.index)+a.slice(ee.index+ee[0].length);var z=ee[1]?"bgClass":"textClass";y[z]==null?y[z]=ee[2]:new RegExp("(?:^|\\s)"+ee[2]+"(?:$|\\s)").test(y[z])||(y[z]+=" "+ee[2])}return a}function Zn(a,y,ee,z,ce,Ze,rt){var ut=ee.flattenSpans;ut==null&&(ut=a.options.flattenSpans);var yt=0,At=null,ln=new Rr(y,a.options.tabSize,z),Sn,rr=a.options.addModeClass&&[null];for(y==""&&Fn(hn(ee,z.state),Ze);!ln.eol();){if(ln.pos>a.options.maxHighlightLength?(ut=!1,rt&&jt(a,y,z,ln.pos),ln.pos=y.length,Sn=null):Sn=Fn(wn(ee,ln,z.state,rr),Ze),rr){var Vn=rr[0].name;Vn&&(Sn="m-"+(Sn?Vn+" "+Sn:Vn))}if(!ut||At!=Sn){for(;yt<ln.start;)yt=Math.min(ln.start,yt+5e3),ce(yt,At);At=Sn}ln.start=ln.pos}for(;yt<ln.pos;){var Lr=Math.min(ln.pos,yt+5e3);ce(Lr,At),yt=Lr}}function Mn(a,y,ee){for(var z,ce,Ze=a.doc,rt=ee?-1:y-(a.doc.mode.innerMode?1e3:100),ut=y;ut>rt;--ut){if(ut<=Ze.first)return Ze.first;var yt=Ln(Ze,ut-1),At=yt.stateAfter;if(At&&(!ee||ut+(At instanceof lr?At.lookAhead:0)<=Ze.modeFrontier))return ut;var ln=nt(yt.text,null,a.options.tabSize);(ce==null||z>ln)&&(ce=ut-1,z=ln)}return ce}function Gn(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var ee=a.first,z=y-1;z>ee;z--){var ce=Ln(a,z).stateAfter;if(ce&&(!(ce instanceof lr)||z+ce.lookAhead<y)){ee=z+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,ee)}}var sr=!1,jn=!1;function ir(){sr=!0}function Dr(){jn=!0}function Tr(a,y,ee){this.marker=a,this.from=y,this.to=ee}function Wr(a,y){if(a)for(var ee=0;ee<a.length;++ee){var z=a[ee];if(z.marker==y)return z}}function vr(a,y){for(var ee,z=0;z<a.length;++z)a[z]!=y&&(ee||(ee=[])).push(a[z]);return ee}function Ir(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function _r(a,y,ee){var z;if(a)for(var ce=0;ce<a.length;++ce){var Ze=a[ce],rt=Ze.marker,ut=Ze.from==null||(rt.inclusiveLeft?Ze.from<=y:Ze.from<y);if(ut||Ze.from==y&&rt.type=="bookmark"&&(!ee||!Ze.marker.insertLeft)){var yt=Ze.to==null||(rt.inclusiveRight?Ze.to>=y:Ze.to>y);(z||(z=[])).push(new Tr(rt,Ze.from,yt?null:Ze.to))}}return z}function mr(a,y,ee){var z;if(a)for(var ce=0;ce<a.length;++ce){var Ze=a[ce],rt=Ze.marker,ut=Ze.to==null||(rt.inclusiveRight?Ze.to>=y:Ze.to>y);if(ut||Ze.from==y&&rt.type=="bookmark"&&(!ee||Ze.marker.insertLeft)){var yt=Ze.from==null||(rt.inclusiveLeft?Ze.from<=y:Ze.from<y);(z||(z=[])).push(new Tr(rt,yt?null:Ze.from-y,Ze.to==null?null:Ze.to-y))}}return z}function Gr(a,y){if(y.full)return null;var ee=Ot(a,y.from.line)&&Ln(a,y.from.line).markedSpans,z=Ot(a,y.to.line)&&Ln(a,y.to.line).markedSpans;if(!ee&&!z)return null;var ce=y.from.ch,Ze=y.to.ch,rt=Pt(y.from,y.to)==0,ut=_r(ee,ce,rt),yt=mr(z,Ze,rt),At=y.text.length==1,ln=bt(y.text).length+(At?ce:0);if(ut)for(var Sn=0;Sn<ut.length;++Sn){var rr=ut[Sn];if(rr.to==null){var Vn=Wr(yt,rr.marker);Vn?At&&(rr.to=Vn.to==null?null:Vn.to+ln):rr.to=ce}}if(yt)for(var Lr=0;Lr<yt.length;++Lr){var Ur=yt[Lr];if(Ur.to!=null&&(Ur.to+=ln),Ur.from==null){var ii=Wr(ut,Ur.marker);ii||(Ur.from=ln,At&&(ut||(ut=[])).push(Ur))}else Ur.from+=ln,At&&(ut||(ut=[])).push(Ur)}ut&&(ut=Fr(ut)),yt&&yt!=ut&&(yt=Fr(yt));var vi=[ut];if(!At){var Pi=y.text.length-2,hi;if(Pi>0&&ut)for(var Mi=0;Mi<ut.length;++Mi)ut[Mi].to==null&&(hi||(hi=[])).push(new Tr(ut[Mi].marker,null,null));for(var to=0;to<Pi;++to)vi.push(hi);vi.push(yt)}return vi}function Fr(a){for(var y=0;y<a.length;++y){var ee=a[y];ee.from!=null&&ee.from==ee.to&&ee.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function gi(a,y,ee){var z=null;if(a.iter(y.line,ee.line+1,function(Vn){if(Vn.markedSpans)for(var Lr=0;Lr<Vn.markedSpans.length;++Lr){var Ur=Vn.markedSpans[Lr].marker;Ur.readOnly&&(!z||Xe(z,Ur)==-1)&&(z||(z=[])).push(Ur)}}),!z)return null;for(var ce=[{from:y,to:ee}],Ze=0;Ze<z.length;++Ze)for(var rt=z[Ze],ut=rt.find(0),yt=0;yt<ce.length;++yt){var At=ce[yt];if(!(Pt(At.to,ut.from)<0||Pt(At.from,ut.to)>0)){var ln=[yt,1],Sn=Pt(At.from,ut.from),rr=Pt(At.to,ut.to);(Sn<0||!rt.inclusiveLeft&&!Sn)&&ln.push({from:At.from,to:ut.from}),(rr>0||!rt.inclusiveRight&&!rr)&&ln.push({from:ut.to,to:At.to}),ce.splice.apply(ce,ln),yt+=ln.length-3}}return ce}function Xr(a){var y=a.markedSpans;if(y){for(var ee=0;ee<y.length;++ee)y[ee].marker.detachLine(a);a.markedSpans=null}}function $r(a,y){if(y){for(var ee=0;ee<y.length;++ee)y[ee].marker.attachLine(a);a.markedSpans=y}}function ti(a){return a.inclusiveLeft?-1:0}function oi(a){return a.inclusiveRight?1:0}function kr(a,y){var ee=a.lines.length-y.lines.length;if(ee!=0)return ee;var z=a.find(),ce=y.find(),Ze=Pt(z.from,ce.from)||ti(a)-ti(y);if(Ze)return-Ze;var rt=Pt(z.to,ce.to)||oi(a)-oi(y);return rt||y.id-a.id}function Vr(a,y){var ee=jn&&a.markedSpans,z;if(ee)for(var ce=void 0,Ze=0;Ze<ee.length;++Ze)ce=ee[Ze],ce.marker.collapsed&&(y?ce.from:ce.to)==null&&(!z||kr(z,ce.marker)<0)&&(z=ce.marker);return z}function Cr(a){return Vr(a,!0)}function _n(a){return Vr(a,!1)}function ur(a,y){var ee=jn&&a.markedSpans,z;if(ee)for(var ce=0;ce<ee.length;++ce){var Ze=ee[ce];Ze.marker.collapsed&&(Ze.from==null||Ze.from<y)&&(Ze.to==null||Ze.to>y)&&(!z||kr(z,Ze.marker)<0)&&(z=Ze.marker)}return z}function fr(a,y,ee,z,ce){var Ze=Ln(a,y),rt=jn&&Ze.markedSpans;if(rt)for(var ut=0;ut<rt.length;++ut){var yt=rt[ut];if(yt.marker.collapsed){var At=yt.marker.find(0),ln=Pt(At.from,ee)||ti(yt.marker)-ti(ce),Sn=Pt(At.to,z)||oi(yt.marker)-oi(ce);if(!(ln>=0&&Sn<=0||ln<=0&&Sn>=0)&&(ln<=0&&(yt.marker.inclusiveRight&&ce.inclusiveLeft?Pt(At.to,ee)>=0:Pt(At.to,ee)>0)||ln>=0&&(yt.marker.inclusiveRight&&ce.inclusiveLeft?Pt(At.from,z)<=0:Pt(At.from,z)<0)))return!0}}}function Qn(a){for(var y;y=Cr(a);)a=y.find(-1,!0).line;return a}function Pr(a){for(var y;y=_n(a);)a=y.find(1,!0).line;return a}function Mr(a){for(var y,ee;y=_n(a);)a=y.find(1,!0).line,(ee||(ee=[])).push(a);return ee}function Kt(a,y){var ee=Ln(a,y),z=Qn(ee);return ee==z?y:Zt(z)}function On(a,y){if(y>a.lastLine())return y;var ee=Ln(a,y),z;if(!$n(a,ee))return y;for(;z=_n(ee);)ee=z.find(1,!0).line;return Zt(ee)+1}function $n(a,y){var ee=jn&&y.markedSpans;if(ee){for(var z=void 0,ce=0;ce<ee.length;++ce)if(z=ee[ce],!!z.marker.collapsed){if(z.from==null)return!0;if(!z.marker.widgetNode&&z.from==0&&z.marker.inclusiveLeft&&pr(a,y,z))return!0}}}function pr(a,y,ee){if(ee.to==null){var z=ee.marker.find(1,!0);return pr(a,z.line,Wr(z.line.markedSpans,ee.marker))}if(ee.marker.inclusiveRight&&ee.to==y.text.length)return!0;for(var ce=void 0,Ze=0;Ze<y.markedSpans.length;++Ze)if(ce=y.markedSpans[Ze],ce.marker.collapsed&&!ce.marker.widgetNode&&ce.from==ee.to&&(ce.to==null||ce.to!=ee.from)&&(ce.marker.inclusiveLeft||ee.marker.inclusiveRight)&&pr(a,y,ce))return!0}function zr(a){a=Qn(a);for(var y=0,ee=a.parent,z=0;z<ee.lines.length;++z){var ce=ee.lines[z];if(ce==a)break;y+=ce.height}for(var Ze=ee.parent;Ze;ee=Ze,Ze=ee.parent)for(var rt=0;rt<Ze.children.length;++rt){var ut=Ze.children[rt];if(ut==ee)break;y+=ut.height}return y}function Qr(a){if(a.height==0)return 0;for(var y=a.text.length,ee,z=a;ee=Cr(z);){var ce=ee.find(0,!0);z=ce.from.line,y+=ce.from.ch-ce.to.ch}for(z=a;ee=_n(z);){var Ze=ee.find(0,!0);y-=z.text.length-Ze.from.ch,z=Ze.to.line,y+=z.text.length-Ze.to.ch}return y}function Yr(a){var y=a.display,ee=a.doc;y.maxLine=Ln(ee,ee.first),y.maxLineLength=Qr(y.maxLine),y.maxLineChanged=!0,ee.iter(function(z){var ce=Qr(z);ce>y.maxLineLength&&(y.maxLineLength=ce,y.maxLine=z)})}var ki=function(a,y,ee){this.text=a,$r(this,y),this.height=ee?ee(this):1};ki.prototype.lineNo=function(){return Zt(this)},Dt(ki);function or(a,y,ee,z){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Xr(a),$r(a,ee);var ce=z?z(a):1;ce!=a.height&&yr(a,ce)}function Di(a){a.parent=null,Xr(a)}var mi={},Ii={};function Bi(a,y){if(!a||/^\s*$/.test(a))return null;var ee=y.addModeClass?Ii:mi;return ee[a]||(ee[a]=a.replace(/\S+/g,"cm-$&"))}function Si(a,y){var ee=We("span",null,null,re?"padding-right: .1px":null),z={pre:We("pre",[ee],"CodeMirror-line"),content:ee,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var ce=0;ce<=(y.rest?y.rest.length:0);ce++){var Ze=ce?y.rest[ce-1]:y.line,rt=void 0;z.pos=0,z.addToken=Co,br(a.display.measure)&&(rt=ot(Ze,a.doc.direction))&&(z.addToken=Ji(z.addToken,rt)),z.map=[];var ut=y!=a.display.externalMeasured&&Zt(Ze);ci(Ze,z,Cn(a,Ze,ut)),Ze.styleClasses&&(Ze.styleClasses.bgClass&&(z.bgClass=lt(Ze.styleClasses.bgClass,z.bgClass||"")),Ze.styleClasses.textClass&&(z.textClass=lt(Ze.styleClasses.textClass,z.textClass||""))),z.map.length==0&&z.map.push(0,0,z.content.appendChild(Xn(a.display.measure))),ce==0?(y.measure.map=z.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(z.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(re){var yt=z.content.lastChild;(/\bcm-tab\b/.test(yt.className)||yt.querySelector&&yt.querySelector(".cm-tab"))&&(z.content.className="cm-tab-wrap-hack")}return nn(a,"renderLine",a,y.line,z.pre),z.pre.className&&(z.textClass=lt(z.pre.className,z.textClass||"")),z}function so(a){var y=Ke("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function Co(a,y,ee,z,ce,Ze,rt){if(y){var ut=a.splitSpaces?$i(y,a.trailingSpace):y,yt=a.cm.state.specialChars,At=!1,ln;if(!yt.test(y))a.col+=y.length,ln=document.createTextNode(ut),a.map.push(a.pos,a.pos+y.length,ln),de&&ve<9&&(At=!0),a.pos+=y.length;else{ln=document.createDocumentFragment();for(var Sn=0;;){yt.lastIndex=Sn;var rr=yt.exec(y),Vn=rr?rr.index-Sn:y.length-Sn;if(Vn){var Lr=document.createTextNode(ut.slice(Sn,Sn+Vn));de&&ve<9?ln.appendChild(Ke("span",[Lr])):ln.appendChild(Lr),a.map.push(a.pos,a.pos+Vn,Lr),a.col+=Vn,a.pos+=Vn}if(!rr)break;Sn+=Vn+1;var Ur=void 0;if(rr[0]==" "){var ii=a.cm.options.tabSize,vi=ii-a.col%ii;Ur=ln.appendChild(Ke("span",Tt(vi),"cm-tab")),Ur.setAttribute("role","presentation"),Ur.setAttribute("cm-text"," "),a.col+=vi}else rr[0]=="\r"||rr[0]==`
|
|
|
`?(Ur=ln.appendChild(Ke("span",rr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ur.setAttribute("cm-text",rr[0]),a.col+=1):(Ur=a.cm.options.specialCharPlaceholder(rr[0]),Ur.setAttribute("cm-text",rr[0]),de&&ve<9?ln.appendChild(Ke("span",[Ur])):ln.appendChild(Ur),a.col+=1);a.map.push(a.pos,a.pos+1,Ur),a.pos++}}if(a.trailingSpace=ut.charCodeAt(y.length-1)==32,ee||z||ce||At||Ze||rt){var Pi=ee||"";z&&(Pi+=z),ce&&(Pi+=ce);var hi=Ke("span",[ln],Pi,Ze);if(rt)for(var Mi in rt)rt.hasOwnProperty(Mi)&&Mi!="style"&&Mi!="class"&&hi.setAttribute(Mi,rt[Mi]);return a.content.appendChild(hi)}a.content.appendChild(ln)}}function $i(a,y){if(a.length>1&&!/ /.test(a))return a;for(var ee=y,z="",ce=0;ce<a.length;ce++){var Ze=a.charAt(ce);Ze==" "&&ee&&(ce==a.length-1||a.charCodeAt(ce+1)==32)&&(Ze="\xA0"),z+=Ze,ee=Ze==" "}return z}function Ji(a,y){return function(ee,z,ce,Ze,rt,ut,yt){ce=ce?ce+" cm-force-border":"cm-force-border";for(var At=ee.pos,ln=At+z.length;;){for(var Sn=void 0,rr=0;rr<y.length&&(Sn=y[rr],!(Sn.to>At&&Sn.from<=At));rr++);if(Sn.to>=ln)return a(ee,z,ce,Ze,rt,ut,yt);a(ee,z.slice(0,Sn.to-At),ce,Ze,null,ut,yt),Ze=null,z=z.slice(Sn.to-At),At=Sn.to}}}function li(a,y,ee,z){var ce=!z&&ee.widgetNode;ce&&a.map.push(a.pos,a.pos+y,ce),!z&&a.cm.display.input.needsContentAttribute&&(ce||(ce=a.content.appendChild(document.createElement("span"))),ce.setAttribute("cm-marker",ee.id)),ce&&(a.cm.display.input.setUneditable(ce),a.content.appendChild(ce)),a.pos+=y,a.trailingSpace=!1}function ci(a,y,ee){var z=a.markedSpans,ce=a.text,Ze=0;if(!z){for(var rt=1;rt<ee.length;rt+=2)y.addToken(y,ce.slice(Ze,Ze=ee[rt]),Bi(ee[rt+1],y.cm.options));return}for(var ut=ce.length,yt=0,At=1,ln="",Sn,rr,Vn=0,Lr,Ur,ii,vi,Pi;;){if(Vn==yt){Lr=Ur=ii=rr="",Pi=null,vi=null,Vn=1/0;for(var hi=[],Mi=void 0,to=0;to<z.length;++to){var Yi=z[to],Io=Yi.marker;if(Io.type=="bookmark"&&Yi.from==yt&&Io.widgetNode)hi.push(Io);else if(Yi.from<=yt&&(Yi.to==null||Yi.to>yt||Io.collapsed&&Yi.to==yt&&Yi.from==yt)){if(Yi.to!=null&&Yi.to!=yt&&Vn>Yi.to&&(Vn=Yi.to,Ur=""),Io.className&&(Lr+=" "+Io.className),Io.css&&(rr=(rr?rr+";":"")+Io.css),Io.startStyle&&Yi.from==yt&&(ii+=" "+Io.startStyle),Io.endStyle&&Yi.to==Vn&&(Mi||(Mi=[])).push(Io.endStyle,Yi.to),Io.title&&((Pi||(Pi={})).title=Io.title),Io.attributes)for(var ra in Io.attributes)(Pi||(Pi={}))[ra]=Io.attributes[ra];Io.collapsed&&(!vi||kr(vi.marker,Io)<0)&&(vi=Yi)}else Yi.from>yt&&Vn>Yi.from&&(Vn=Yi.from)}if(Mi)for(var Ka=0;Ka<Mi.length;Ka+=2)Mi[Ka+1]==Vn&&(Ur+=" "+Mi[Ka]);if(!vi||vi.from==yt)for(var ga=0;ga<hi.length;++ga)li(y,0,hi[ga]);if(vi&&(vi.from||0)==yt){if(li(y,(vi.to==null?ut+1:vi.to)-yt,vi.marker,vi.from==null),vi.to==null)return;vi.to==yt&&(vi=!1)}}if(yt>=ut)break;for(var gs=Math.min(ut,Vn);;){if(ln){var ls=yt+ln.length;if(!vi){var Ea=ls>gs?ln.slice(0,gs-yt):ln;y.addToken(y,Ea,Sn?Sn+Lr:Lr,ii,yt+Ea.length==Vn?Ur:"",rr,Pi)}if(ls>=gs){ln=ln.slice(gs-yt),yt=gs;break}yt=ls,ii=""}ln=ce.slice(Ze,Ze=ee[At++]),Sn=Bi(ee[At++],y.cm.options)}}}function qi(a,y,ee){this.line=y,this.rest=Mr(y),this.size=this.rest?Zt(bt(this.rest))-ee+1:1,this.node=this.text=null,this.hidden=$n(a,y)}function po(a,y,ee){for(var z=[],ce,Ze=y;Ze<ee;Ze=ce){var rt=new qi(a.doc,Ln(a.doc,Ze),Ze);ce=Ze+rt.size,z.push(rt)}return z}var Ri=null;function no(a){Ri?Ri.ops.push(a):a.ownsGroup=Ri={ops:[a],delayedCallbacks:[]}}function lo(a){var y=a.delayedCallbacks,ee=0;do{for(;ee<y.length;ee++)y[ee].call(null);for(var z=0;z<a.ops.length;z++){var ce=a.ops[z];if(ce.cursorActivityHandlers)for(;ce.cursorActivityCalled<ce.cursorActivityHandlers.length;)ce.cursorActivityHandlers[ce.cursorActivityCalled++].call(null,ce.cm)}}while(ee<y.length)}function Gi(a,y){var ee=a.ownsGroup;if(ee)try{lo(ee)}finally{Ri=null,y(ee)}}var fo=null;function ao(a,y){var ee=Ft(a,y);if(ee.length){var z=Array.prototype.slice.call(arguments,2),ce;Ri?ce=Ri.delayedCallbacks:fo?ce=fo:(ce=fo=[],setTimeout(Fo,0));for(var Ze=function(ut){ce.push(function(){return ee[ut].apply(null,z)})},rt=0;rt<ee.length;++rt)Ze(rt)}}function Fo(){var a=fo;fo=null;for(var y=0;y<a.length;++y)a[y]()}function qo(a,y,ee,z){for(var ce=0;ce<y.changes.length;ce++){var Ze=y.changes[ce];Ze=="text"?os(a,y):Ze=="gutter"?ro(a,y,ee,z):Ze=="class"?Hi(a,y):Ze=="widget"&&Zi(a,y,z)}y.changes=null}function Zo(a){return a.node==a.text&&(a.node=Ke("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),de&&ve<8&&(a.node.style.zIndex=2)),a.node}function Yo(a,y){var ee=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(ee&&(ee+=" CodeMirror-linebackground"),y.background)ee?y.background.className=ee:(y.background.parentNode.removeChild(y.background),y.background=null);else if(ee){var z=Zo(y);y.background=z.insertBefore(Ke("div",null,ee),z.firstChild),a.display.input.setUneditable(y.background)}}function Wa(a,y){var ee=a.display.externalMeasured;return ee&&ee.line==y.line?(a.display.externalMeasured=null,y.measure=ee.measure,ee.built):Si(a,y)}function os(a,y){var ee=y.text.className,z=Wa(a,y);y.text==y.node&&(y.node=z.pre),y.text.parentNode.replaceChild(z.pre,y.text),y.text=z.pre,z.bgClass!=y.bgClass||z.textClass!=y.textClass?(y.bgClass=z.bgClass,y.textClass=z.textClass,Hi(a,y)):ee&&(y.text.className=ee)}function Hi(a,y){Yo(a,y),y.line.wrapClass?Zo(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var ee=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=ee||""}function ro(a,y,ee,z){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var ce=Zo(y);y.gutterBackground=Ke("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?z.fixedPos:-z.gutterTotalWidth)+"px; width: "+z.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),ce.insertBefore(y.gutterBackground,y.text)}var Ze=y.line.gutterMarkers;if(a.options.lineNumbers||Ze){var rt=Zo(y),ut=y.gutter=Ke("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?z.fixedPos:-z.gutterTotalWidth)+"px");if(a.display.input.setUneditable(ut),rt.insertBefore(ut,y.text),y.line.gutterClass&&(ut.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!Ze||!Ze["CodeMirror-linenumbers"])&&(y.lineNumber=ut.appendChild(Ke("div",Gt(a.options,ee),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+z.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),Ze)for(var yt=0;yt<a.display.gutterSpecs.length;++yt){var At=a.display.gutterSpecs[yt].className,ln=Ze.hasOwnProperty(At)&&Ze[At];ln&&ut.appendChild(Ke("div",[ln],"CodeMirror-gutter-elt","left: "+z.gutterLeft[At]+"px; width: "+z.gutterWidth[At]+"px"))}}}function Zi(a,y,ee){y.alignable&&(y.alignable=null);for(var z=Pe("CodeMirror-linewidget"),ce=y.node.firstChild,Ze=void 0;ce;ce=Ze)Ze=ce.nextSibling,z.test(ce.className)&&y.node.removeChild(ce);ho(a,y,ee)}function Vi(a,y,ee,z){var ce=Wa(a,y);return y.text=y.node=ce.pre,ce.bgClass&&(y.bgClass=ce.bgClass),ce.textClass&&(y.textClass=ce.textClass),Hi(a,y),ro(a,y,ee,z),ho(a,y,z),y.node}function ho(a,y,ee){if(Jn(a,y.line,y,ee,!0),y.rest)for(var z=0;z<y.rest.length;z++)Jn(a,y.rest[z],y,ee,!1)}function Jn(a,y,ee,z,ce){if(y.widgets)for(var Ze=Zo(ee),rt=0,ut=y.widgets;rt<ut.length;++rt){var yt=ut[rt],At=Ke("div",[yt.node],"CodeMirror-linewidget"+(yt.className?" "+yt.className:""));yt.handleMouseEvents||At.setAttribute("cm-ignore-events","true"),Hr(yt,At,ee,z),a.display.input.setUneditable(At),ce&&yt.above?Ze.insertBefore(At,ee.gutter||ee.text):Ze.appendChild(At),ao(yt,"redraw")}}function Hr(a,y,ee,z){if(a.noHScroll){(ee.alignable||(ee.alignable=[])).push(y);var ce=z.wrapperWidth;y.style.left=z.fixedPos+"px",a.coverGutter||(ce-=z.gutterTotalWidth,y.style.paddingLeft=z.gutterTotalWidth+"px"),y.style.width=ce+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-z.gutterTotalWidth+"px"))}function qr(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!Ye(document.body,a.node)){var ee="position: relative;";a.coverGutter&&(ee+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(ee+="width: "+y.display.wrapper.clientWidth+"px;"),Te(y.display.measure,Ke("div",[a.node],null,ee))}return a.height=a.node.parentNode.offsetHeight}function mo(a,y){for(var ee=Ht(y);ee!=a.wrapper;ee=ee.parentNode)if(!ee||ee.nodeType==1&&ee.getAttribute("cm-ignore-events")=="true"||ee.parentNode==a.sizer&&ee!=a.mover)return!0}function bo(a){return a.lineSpace.offsetTop}function xa(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function ka(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=Te(a.measure,Ke("pre","x","CodeMirror-line-like")),ee=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,z={left:parseInt(ee.paddingLeft),right:parseInt(ee.paddingRight)};return!isNaN(z.left)&&!isNaN(z.right)&&(a.cachedPaddingH=z),z}function wo(a){return $e-a.display.nativeBarWidth}function ya(a){return a.display.scroller.clientWidth-wo(a)-a.display.barWidth}function Ga(a){return a.display.scroller.clientHeight-wo(a)-a.display.barHeight}function Da(a,y,ee){var z=a.options.lineWrapping,ce=z&&ya(a);if(!y.measure.heights||z&&y.measure.width!=ce){var Ze=y.measure.heights=[];if(z){y.measure.width=ce;for(var rt=y.text.firstChild.getClientRects(),ut=0;ut<rt.length-1;ut++){var yt=rt[ut],At=rt[ut+1];Math.abs(yt.bottom-At.bottom)>2&&Ze.push((yt.bottom+At.top)/2-ee.top)}}Ze.push(ee.bottom-ee.top)}}function Xa(a,y,ee){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var z=0;z<a.rest.length;z++)if(a.rest[z]==y)return{map:a.measure.maps[z],cache:a.measure.caches[z]};for(var ce=0;ce<a.rest.length;ce++)if(Zt(a.rest[ce])>ee)return{map:a.measure.maps[ce],cache:a.measure.caches[ce],before:!0}}function Ss(a,y){y=Qn(y);var ee=Zt(y),z=a.display.externalMeasured=new qi(a.doc,y,ee);z.lineN=ee;var ce=z.built=Si(a,z);return z.text=ce.pre,Te(a.display.lineMeasure,ce.pre),z}function js(a,y,ee,z){return ps(a,zs(a,y),ee,z)}function la(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[hs(a,y)];var ee=a.display.externalMeasured;if(ee&&y>=ee.lineN&&y<ee.lineN+ee.size)return ee}function zs(a,y){var ee=Zt(y),z=la(a,ee);z&&!z.text?z=null:z&&z.changes&&(qo(a,z,ee,Hs(a)),a.curOp.forceUpdate=!0),z||(z=Ss(a,y));var ce=Xa(z,y,ee);return{line:y,view:z,rect:null,map:ce.map,cache:ce.cache,before:ce.before,hasHeights:!1}}function ps(a,y,ee,z,ce){y.before&&(ee=-1);var Ze=ee+(z||""),rt;return y.cache.hasOwnProperty(Ze)?rt=y.cache[Ze]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(Da(a,y.view,y.rect),y.hasHeights=!0),rt=Vl(a,y,ee,z),rt.bogus||(y.cache[Ze]=rt)),{left:rt.left,right:rt.right,top:ce?rt.rtop:rt.top,bottom:ce?rt.rbottom:rt.bottom}}var ks={left:0,right:0,top:0,bottom:0};function ll(a,y,ee){for(var z,ce,Ze,rt,ut,yt,At=0;At<a.length;At+=3)if(ut=a[At],yt=a[At+1],y<ut?(ce=0,Ze=1,rt="left"):y<yt?(ce=y-ut,Ze=ce+1):(At==a.length-3||y==yt&&a[At+3]>y)&&(Ze=yt-ut,ce=Ze-1,y>=yt&&(rt="right")),ce!=null){if(z=a[At+2],ut==yt&&ee==(z.insertLeft?"left":"right")&&(rt=ee),ee=="left"&&ce==0)for(;At&&a[At-2]==a[At-3]&&a[At-1].insertLeft;)z=a[(At-=3)+2],rt="left";if(ee=="right"&&ce==yt-ut)for(;At<a.length-3&&a[At+3]==a[At+4]&&!a[At+5].insertLeft;)z=a[(At+=3)+2],rt="right";break}return{node:z,start:ce,end:Ze,collapse:rt,coverStart:ut,coverEnd:yt}}function _l(a,y){var ee=ks;if(y=="left")for(var z=0;z<a.length&&(ee=a[z]).left==ee.right;z++);else for(var ce=a.length-1;ce>=0&&(ee=a[ce]).left==ee.right;ce--);return ee}function Vl(a,y,ee,z){var ce=ll(y.map,ee,z),Ze=ce.node,rt=ce.start,ut=ce.end,yt=ce.collapse,At;if(Ze.nodeType==3){for(var ln=0;ln<4;ln++){for(;rt&&x(y.line.text.charAt(ce.coverStart+rt));)--rt;for(;ce.coverStart+ut<ce.coverEnd&&x(y.line.text.charAt(ce.coverStart+ut));)++ut;if(de&&ve<9&&rt==0&&ut==ce.coverEnd-ce.coverStart?At=Ze.parentNode.getBoundingClientRect():At=_l(Ne(Ze,rt,ut).getClientRects(),z),At.left||At.right||rt==0)break;ut=rt,rt=rt-1,yt="right"}de&&ve<11&&(At=Bu(a.display.measure,At))}else{rt>0&&(yt=z="right");var Sn;a.options.lineWrapping&&(Sn=Ze.getClientRects()).length>1?At=Sn[z=="right"?Sn.length-1:0]:At=Ze.getBoundingClientRect()}if(de&&ve<9&&!rt&&(!At||!At.left&&!At.right)){var rr=Ze.parentNode.getClientRects()[0];rr?At={left:rr.left,right:rr.left+bs(a.display),top:rr.top,bottom:rr.bottom}:At=ks}for(var Vn=At.top-y.rect.top,Lr=At.bottom-y.rect.top,Ur=(Vn+Lr)/2,ii=y.view.measure.heights,vi=0;vi<ii.length-1&&!(Ur<ii[vi]);vi++);var Pi=vi?ii[vi-1]:0,hi=ii[vi],Mi={left:(yt=="right"?At.right:At.left)-y.rect.left,right:(yt=="left"?At.left:At.right)-y.rect.left,top:Pi,bottom:hi};return!At.left&&!At.right&&(Mi.bogus=!0),a.options.singleCursorHeightPerLine||(Mi.rtop=Vn,Mi.rbottom=Lr),Mi}function Bu(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Pn(a))return y;var ee=screen.logicalXDPI/screen.deviceXDPI,z=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*ee,right:y.right*ee,top:y.top*z,bottom:y.bottom*z}}function ul(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function Es(a){a.display.externalMeasure=null,_e(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)ul(a.display.view[y])}function Ws(a){Es(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function cl(){return fe&&xe?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Tl(){return fe&&xe?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Qs(a){var y=0;if(a.widgets)for(var ee=0;ee<a.widgets.length;++ee)a.widgets[ee].above&&(y+=qr(a.widgets[ee]));return y}function Ol(a,y,ee,z,ce){if(!ce){var Ze=Qs(y);ee.top+=Ze,ee.bottom+=Ze}if(z=="line")return ee;z||(z="local");var rt=zr(y);if(z=="local"?rt+=bo(a.display):rt-=a.display.viewOffset,z=="page"||z=="window"){var ut=a.display.lineSpace.getBoundingClientRect();rt+=ut.top+(z=="window"?0:Tl());var yt=ut.left+(z=="window"?0:cl());ee.left+=yt,ee.right+=yt}return ee.top+=rt,ee.bottom+=rt,ee}function Bl(a,y,ee){if(ee=="div")return y;var z=y.left,ce=y.top;if(ee=="page")z-=cl(),ce-=Tl();else if(ee=="local"||!ee){var Ze=a.display.sizer.getBoundingClientRect();z+=Ze.left,ce+=Ze.top}var rt=a.display.lineSpace.getBoundingClientRect();return{left:z-rt.left,top:ce-rt.top}}function As(a,y,ee,z,ce){return z||(z=Ln(a.doc,y.line)),Ol(a,z,js(a,z,y.ch,ce),ee)}function Ya(a,y,ee,z,ce,Ze){z=z||Ln(a.doc,y.line),ce||(ce=zs(a,z));function rt(Lr,Ur){var ii=ps(a,ce,Lr,Ur?"right":"left",Ze);return Ur?ii.left=ii.right:ii.right=ii.left,Ol(a,z,ii,ee)}var ut=ot(z,a.doc.direction),yt=y.ch,At=y.sticky;if(yt>=z.text.length?(yt=z.text.length,At="before"):yt<=0&&(yt=0,At="after"),!ut)return rt(At=="before"?yt-1:yt,At=="before");function ln(Lr,Ur,ii){var vi=ut[Ur],Pi=vi.level==1;return rt(ii?Lr-1:Lr,Pi!=ii)}var Sn=Qe(ut,yt,At),rr=Be,Vn=ln(yt,Sn,At=="before");return rr!=null&&(Vn.other=ln(yt,rr,At!="before")),Vn}function Bo(a,y){var ee=0;y=$t(a.doc,y),a.options.lineWrapping||(ee=bs(a.display)*y.ch);var z=Ln(a.doc,y.line),ce=zr(z)+bo(a.display);return{left:ee,right:ee,top:ce,bottom:ce+z.height}}function io(a,y,ee,z,ce){var Ze=kt(a,y,ee);return Ze.xRel=ce,z&&(Ze.outside=z),Ze}function Pa(a,y,ee){var z=a.doc;if(ee+=a.display.viewOffset,ee<0)return io(z.first,0,null,-1,-1);var ce=St(z,ee),Ze=z.first+z.size-1;if(ce>Ze)return io(z.first+z.size-1,Ln(z,Ze).text.length,null,1,1);y<0&&(y=0);for(var rt=Ln(z,ce);;){var ut=ys(a,rt,ce,y,ee),yt=ur(rt,ut.ch+(ut.xRel>0||ut.outside>0?1:0));if(!yt)return ut;var At=yt.find(1);if(At.line==ce)return At;rt=Ln(z,ce=At.line)}}function Ha(a,y,ee,z){z-=Qs(y);var ce=y.text.length,Ze=Le(function(rt){return ps(a,ee,rt-1).bottom<=z},ce,0);return ce=Le(function(rt){return ps(a,ee,rt).top>z},Ze,ce),{begin:Ze,end:ce}}function ua(a,y,ee,z){ee||(ee=zs(a,y));var ce=Ol(a,y,ps(a,ee,z),"line").top;return Ha(a,y,ee,ce)}function Ca(a,y,ee,z){return a.bottom<=ee?!1:a.top>ee?!0:(z?a.left:a.right)>y}function ys(a,y,ee,z,ce){ce-=zr(y);var Ze=zs(a,y),rt=Qs(y),ut=0,yt=y.text.length,At=!0,ln=ot(y,a.doc.direction);if(ln){var Sn=(a.options.lineWrapping?Is:as)(a,y,ee,Ze,ln,z,ce);At=Sn.level!=1,ut=At?Sn.from:Sn.to-1,yt=At?Sn.to:Sn.from-1}var rr=null,Vn=null,Lr=Le(function(to){var Yi=ps(a,Ze,to);return Yi.top+=rt,Yi.bottom+=rt,Ca(Yi,z,ce,!1)?(Yi.top<=ce&&Yi.left<=z&&(rr=to,Vn=Yi),!0):!1},ut,yt),Ur,ii,vi=!1;if(Vn){var Pi=z-Vn.left<Vn.right-z,hi=Pi==At;Lr=rr+(hi?0:1),ii=hi?"after":"before",Ur=Pi?Vn.left:Vn.right}else{!At&&(Lr==yt||Lr==ut)&&Lr++,ii=Lr==0?"after":Lr==y.text.length?"before":ps(a,Ze,Lr-(At?1:0)).bottom+rt<=ce==At?"after":"before";var Mi=Ya(a,kt(ee,Lr,ii),"line",y,Ze);Ur=Mi.left,vi=ce<Mi.top?-1:ce>=Mi.bottom?1:0}return Lr=me(y.text,Lr,1),io(ee,Lr,ii,vi,z-Ur)}function as(a,y,ee,z,ce,Ze,rt){var ut=Le(function(Sn){var rr=ce[Sn],Vn=rr.level!=1;return Ca(Ya(a,kt(ee,Vn?rr.to:rr.from,Vn?"before":"after"),"line",y,z),Ze,rt,!0)},0,ce.length-1),yt=ce[ut];if(ut>0){var At=yt.level!=1,ln=Ya(a,kt(ee,At?yt.from:yt.to,At?"after":"before"),"line",y,z);Ca(ln,Ze,rt,!0)&&ln.top>rt&&(yt=ce[ut-1])}return yt}function Is(a,y,ee,z,ce,Ze,rt){var ut=Ha(a,y,z,rt),yt=ut.begin,At=ut.end;/\s/.test(y.text.charAt(At-1))&&At--;for(var ln=null,Sn=null,rr=0;rr<ce.length;rr++){var Vn=ce[rr];if(!(Vn.from>=At||Vn.to<=yt)){var Lr=Vn.level!=1,Ur=ps(a,z,Lr?Math.min(At,Vn.to)-1:Math.max(yt,Vn.from)).right,ii=Ur<Ze?Ze-Ur+1e9:Ur-Ze;(!ln||Sn>ii)&&(ln=Vn,Sn=ii)}}return ln||(ln=ce[ce.length-1]),ln.from<yt&&(ln={from:yt,to:ln.to,level:ln.level}),ln.to>At&&(ln={from:ln.from,to:At,level:ln.level}),ln}var Ma;function Ra(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Ma==null){Ma=Ke("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)Ma.appendChild(document.createTextNode("x")),Ma.appendChild(Ke("br"));Ma.appendChild(document.createTextNode("x"))}Te(a.measure,Ma);var ee=Ma.offsetHeight/50;return ee>3&&(a.cachedTextHeight=ee),_e(a.measure),ee||1}function bs(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=Ke("span","xxxxxxxxxx"),ee=Ke("pre",[y],"CodeMirror-line-like");Te(a.measure,ee);var z=y.getBoundingClientRect(),ce=(z.right-z.left)/10;return ce>2&&(a.cachedCharWidth=ce),ce||10}function Hs(a){for(var y=a.display,ee={},z={},ce=y.gutters.clientLeft,Ze=y.gutters.firstChild,rt=0;Ze;Ze=Ze.nextSibling,++rt){var ut=a.display.gutterSpecs[rt].className;ee[ut]=Ze.offsetLeft+Ze.clientLeft+ce,z[ut]=Ze.clientWidth}return{fixedPos:lu(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:ee,gutterWidth:z,wrapperWidth:y.wrapper.clientWidth}}function lu(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function uu(a){var y=Ra(a.display),ee=a.options.lineWrapping,z=ee&&Math.max(5,a.display.scroller.clientWidth/bs(a.display)-3);return function(ce){if($n(a.doc,ce))return 0;var Ze=0;if(ce.widgets)for(var rt=0;rt<ce.widgets.length;rt++)ce.widgets[rt].height&&(Ze+=ce.widgets[rt].height);return ee?Ze+(Math.ceil(ce.text.length/z)||1)*y:Ze+y}}function Zs(a){var y=a.doc,ee=uu(a);y.iter(function(z){var ce=ee(z);ce!=z.height&&yr(z,ce)})}function xs(a,y,ee,z){var ce=a.display;if(!ee&&Ht(y).getAttribute("cm-not-content")=="true")return null;var Ze,rt,ut=ce.lineSpace.getBoundingClientRect();try{Ze=y.clientX-ut.left,rt=y.clientY-ut.top}catch(Sn){return null}var yt=Pa(a,Ze,rt),At;if(z&&yt.xRel>0&&(At=Ln(a.doc,yt.line).text).length==yt.ch){var ln=nt(At,At.length,a.options.tabSize)-At.length;yt=kt(yt.line,Math.max(0,Math.round((Ze-ka(a.display).left)/bs(a.display))-ln))}return yt}function hs(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var ee=a.display.view,z=0;z<ee.length;z++)if(y-=ee[z].size,y<0)return z}function Za(a,y,ee,z){y==null&&(y=a.doc.first),ee==null&&(ee=a.doc.first+a.doc.size),z||(z=0);var ce=a.display;if(z&&ee<ce.viewTo&&(ce.updateLineNumbers==null||ce.updateLineNumbers>y)&&(ce.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=ce.viewTo)jn&&Kt(a.doc,y)<ce.viewTo&&Ds(a);else if(ee<=ce.viewFrom)jn&&On(a.doc,ee+z)>ce.viewFrom?Ds(a):(ce.viewFrom+=z,ce.viewTo+=z);else if(y<=ce.viewFrom&&ee>=ce.viewTo)Ds(a);else if(y<=ce.viewFrom){var Ze=Ll(a,ee,ee+z,1);Ze?(ce.view=ce.view.slice(Ze.index),ce.viewFrom=Ze.lineN,ce.viewTo+=z):Ds(a)}else if(ee>=ce.viewTo){var rt=Ll(a,y,y,-1);rt?(ce.view=ce.view.slice(0,rt.index),ce.viewTo=rt.lineN):Ds(a)}else{var ut=Ll(a,y,y,-1),yt=Ll(a,ee,ee+z,1);ut&&yt?(ce.view=ce.view.slice(0,ut.index).concat(po(a,ut.lineN,yt.lineN)).concat(ce.view.slice(yt.index)),ce.viewTo+=z):Ds(a)}var At=ce.externalMeasured;At&&(ee<At.lineN?At.lineN+=z:y<At.lineN+At.size&&(ce.externalMeasured=null))}function Us(a,y,ee){a.curOp.viewChanged=!0;var z=a.display,ce=a.display.externalMeasured;if(ce&&y>=ce.lineN&&y<ce.lineN+ce.size&&(z.externalMeasured=null),!(y<z.viewFrom||y>=z.viewTo)){var Ze=z.view[hs(a,y)];if(Ze.node!=null){var rt=Ze.changes||(Ze.changes=[]);Xe(rt,ee)==-1&&rt.push(ee)}}}function Ds(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Ll(a,y,ee,z){var ce=hs(a,y),Ze,rt=a.display.view;if(!jn||ee==a.doc.first+a.doc.size)return{index:ce,lineN:ee};for(var ut=a.display.viewFrom,yt=0;yt<ce;yt++)ut+=rt[yt].size;if(ut!=y){if(z>0){if(ce==rt.length-1)return null;Ze=ut+rt[ce].size-y,ce++}else Ze=ut-y;y+=Ze,ee+=Ze}for(;Kt(a.doc,ee)!=ee;){if(ce==(z<0?0:rt.length-1))return null;ee+=z*rt[ce-(z<0?1:0)].size,ce+=z}return{index:ce,lineN:ee}}function Lu(a,y,ee){var z=a.display,ce=z.view;ce.length==0||y>=z.viewTo||ee<=z.viewFrom?(z.view=po(a,y,ee),z.viewFrom=y):(z.viewFrom>y?z.view=po(a,y,z.viewFrom).concat(z.view):z.viewFrom<y&&(z.view=z.view.slice(hs(a,y))),z.viewFrom=y,z.viewTo<ee?z.view=z.view.concat(po(a,z.viewTo,ee)):z.viewTo>ee&&(z.view=z.view.slice(0,hs(a,ee)))),z.viewTo=ee}function cu(a){for(var y=a.display.view,ee=0,z=0;z<y.length;z++){var ce=y[z];!ce.hidden&&(!ce.node||ce.changes)&&++ee}return ee}function el(a){a.display.input.showSelection(a.display.input.prepareSelection())}function Gu(a,y){y===void 0&&(y=!0);for(var ee=a.doc,z={},ce=z.cursors=document.createDocumentFragment(),Ze=z.selection=document.createDocumentFragment(),rt=0;rt<ee.sel.ranges.length;rt++)if(!(!y&&rt==ee.sel.primIndex)){var ut=ee.sel.ranges[rt];if(!(ut.from().line>=a.display.viewTo||ut.to().line<a.display.viewFrom)){var yt=ut.empty();(yt||a.options.showCursorWhenSelecting)&&Nu(a,ut.head,ce),yt||Xu(a,ut,Ze)}}return z}function Nu(a,y,ee){var z=Ya(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),ce=ee.appendChild(Ke("div","\xA0","CodeMirror-cursor"));if(ce.style.left=z.left+"px",ce.style.top=z.top+"px",ce.style.height=Math.max(0,z.bottom-z.top)*a.options.cursorHeight+"px",z.other){var Ze=ee.appendChild(Ke("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Ze.style.display="",Ze.style.left=z.other.left+"px",Ze.style.top=z.other.top+"px",Ze.style.height=(z.other.bottom-z.other.top)*.85+"px"}}function Nl(a,y){return a.top-y.top||a.left-y.left}function Xu(a,y,ee){var z=a.display,ce=a.doc,Ze=document.createDocumentFragment(),rt=ka(a.display),ut=rt.left,yt=Math.max(z.sizerWidth,ya(a)-z.sizer.offsetLeft)-rt.right,At=ce.direction=="ltr";function ln(hi,Mi,to,Yi){Mi<0&&(Mi=0),Mi=Math.round(Mi),Yi=Math.round(Yi),Ze.appendChild(Ke("div",null,"CodeMirror-selected","position: absolute; left: "+hi+`px;
|
|
|
top: `+Mi+"px; width: "+(to==null?yt-hi:to)+`px;
|
|
|
height: `+(Yi-Mi)+"px"))}function Sn(hi,Mi,to){var Yi=Ln(ce,hi),Io=Yi.text.length,ra,Ka;function ga(Ea,us){return As(a,kt(hi,Ea),"div",Yi,us)}function gs(Ea,us,Qa){var Aa=ua(a,Yi,null,Ea),Ia=us=="ltr"==(Qa=="after")?"left":"right",ba=Qa=="after"?Aa.begin:Aa.end-(/\s/.test(Yi.text.charAt(Aa.end-1))?2:1);return ga(ba,Ia)[Ia]}var ls=ot(Yi,ce.direction);return Se(ls,Mi||0,to==null?Io:to,function(Ea,us,Qa,Aa){var Ia=Qa=="ltr",ba=ga(Ea,Ia?"left":"right"),cs=ga(us-1,Ia?"right":"left"),ou=Mi==null&&Ea==0,Sl=to==null&&us==Io,qa=Aa==0,he=!ls||Aa==ls.length-1;if(cs.top-ba.top<=3){var Ce=(At?ou:Sl)&&qa,ze=(At?Sl:ou)&&he,et=Ce?ut:(Ia?ba:cs).left,mt=ze?yt:(Ia?cs:ba).right;ln(et,ba.top,mt-et,ba.bottom)}else{var vt,wt,It,tn;Ia?(vt=At&&ou&&qa?ut:ba.left,wt=At?yt:gs(Ea,Qa,"before"),It=At?ut:gs(us,Qa,"after"),tn=At&&Sl&&he?yt:cs.right):(vt=At?gs(Ea,Qa,"before"):ut,wt=!At&&ou&&qa?yt:ba.right,It=!At&&Sl&&he?ut:cs.left,tn=At?gs(us,Qa,"after"):yt),ln(vt,ba.top,wt-vt,ba.bottom),ba.bottom<cs.top&&ln(ut,ba.bottom,null,cs.top),ln(It,cs.top,tn-It,cs.bottom)}(!ra||Nl(ba,ra)<0)&&(ra=ba),Nl(cs,ra)<0&&(ra=cs),(!Ka||Nl(ba,Ka)<0)&&(Ka=ba),Nl(cs,Ka)<0&&(Ka=cs)}),{start:ra,end:Ka}}var rr=y.from(),Vn=y.to();if(rr.line==Vn.line)Sn(rr.line,rr.ch,Vn.ch);else{var Lr=Ln(ce,rr.line),Ur=Ln(ce,Vn.line),ii=Qn(Lr)==Qn(Ur),vi=Sn(rr.line,rr.ch,ii?Lr.text.length+1:null).end,Pi=Sn(Vn.line,ii?0:null,Vn.ch).start;ii&&(vi.top<Pi.top-2?(ln(vi.right,vi.top,null,vi.bottom),ln(ut,Pi.top,Pi.left,Pi.bottom)):ln(vi.right,vi.top,Pi.left-vi.right,vi.bottom)),vi.bottom<Pi.top&&ln(ut,vi.bottom,null,Pi.top)}ee.appendChild(Ze)}function du(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var ee=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||dl(a),y.cursorDiv.style.visibility=(ee=!ee)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function Yu(a){a.state.focused||(a.display.input.focus(),Mu(a))}function ku(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,dl(a))},100)}function Mu(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(nn(a,"focus",a,y),a.state.focused=!0,He(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),re&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),du(a))}function dl(a,y){a.state.delayingBlurEvent||(a.state.focused&&(nn(a,"blur",a,y),a.state.focused=!1,Fe(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Xi(a){for(var y=a.display,ee=y.lineDiv.offsetTop,z=0;z<y.view.length;z++){var ce=y.view[z],Ze=a.options.lineWrapping,rt=void 0,ut=0;if(!ce.hidden){if(de&&ve<8){var yt=ce.node.offsetTop+ce.node.offsetHeight;rt=yt-ee,ee=yt}else{var At=ce.node.getBoundingClientRect();rt=At.bottom-At.top,!Ze&&ce.text.firstChild&&(ut=ce.text.firstChild.getBoundingClientRect().right-At.left-1)}var ln=ce.line.height-rt;if((ln>.005||ln<-.005)&&(yr(ce.line,rt),_s(ce.line),ce.rest))for(var Sn=0;Sn<ce.rest.length;Sn++)_s(ce.rest[Sn]);if(ut>a.display.sizerWidth){var rr=Math.ceil(ut/bs(a.display));rr>a.display.maxLineLength&&(a.display.maxLineLength=rr,a.display.maxLine=ce.line,a.display.maxLineChanged=!0)}}}}function _s(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var ee=a.widgets[y],z=ee.node.parentNode;z&&(ee.height=z.offsetHeight)}}function Vs(a,y,ee){var z=ee&&ee.top!=null?Math.max(0,ee.top):a.scroller.scrollTop;z=Math.floor(z-bo(a));var ce=ee&&ee.bottom!=null?ee.bottom:z+a.wrapper.clientHeight,Ze=St(y,z),rt=St(y,ce);if(ee&&ee.ensure){var ut=ee.ensure.from.line,yt=ee.ensure.to.line;ut<Ze?(Ze=ut,rt=St(y,zr(Ln(y,ut))+a.wrapper.clientHeight)):Math.min(yt,y.lastLine())>=rt&&(Ze=St(y,zr(Ln(y,yt))-a.wrapper.clientHeight),rt=yt)}return{from:Ze,to:Math.max(rt,Ze+1)}}function fu(a,y){if(!Lt(a,"scrollCursorIntoView")){var ee=a.display,z=ee.sizer.getBoundingClientRect(),ce=null;if(y.top+z.top<0?ce=!0:y.bottom+z.top>(window.innerHeight||document.documentElement.clientHeight)&&(ce=!1),ce!=null&&!ge){var Ze=Ke("div","\u200B",null,`position: absolute;
|
|
|
top: `+(y.top-ee.viewOffset-bo(a.display))+`px;
|
|
|
height: `+(y.bottom-y.top+wo(a)+ee.barHeight)+`px;
|
|
|
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(Ze),Ze.scrollIntoView(ce),a.display.lineSpace.removeChild(Ze)}}}function Ru(a,y,ee,z){z==null&&(z=0);var ce;!a.options.lineWrapping&&y==ee&&(y=y.ch?kt(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,ee=y.sticky=="before"?kt(y.line,y.ch+1,"before"):y);for(var Ze=0;Ze<5;Ze++){var rt=!1,ut=Ya(a,y),yt=!ee||ee==y?ut:Ya(a,ee);ce={left:Math.min(ut.left,yt.left),top:Math.min(ut.top,yt.top)-z,right:Math.max(ut.left,yt.left),bottom:Math.max(ut.bottom,yt.bottom)+z};var At=Kl(a,ce),ln=a.doc.scrollTop,Sn=a.doc.scrollLeft;if(At.scrollTop!=null&&(hl(a,At.scrollTop),Math.abs(a.doc.scrollTop-ln)>1&&(rt=!0)),At.scrollLeft!=null&&(Ps(a,At.scrollLeft),Math.abs(a.doc.scrollLeft-Sn)>1&&(rt=!0)),!rt)break}return ce}function vc(a,y){var ee=Kl(a,y);ee.scrollTop!=null&&hl(a,ee.scrollTop),ee.scrollLeft!=null&&Ps(a,ee.scrollLeft)}function Kl(a,y){var ee=a.display,z=Ra(a.display);y.top<0&&(y.top=0);var ce=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:ee.scroller.scrollTop,Ze=Ga(a),rt={};y.bottom-y.top>Ze&&(y.bottom=y.top+Ze);var ut=a.doc.height+xa(ee),yt=y.top<z,At=y.bottom>ut-z;if(y.top<ce)rt.scrollTop=yt?0:y.top;else if(y.bottom>ce+Ze){var ln=Math.min(y.top,(At?ut:y.bottom)-Ze);ln!=ce&&(rt.scrollTop=ln)}var Sn=a.options.fixedGutter?0:ee.gutters.offsetWidth,rr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:ee.scroller.scrollLeft-Sn,Vn=ya(a)-ee.gutters.offsetWidth,Lr=y.right-y.left>Vn;return Lr&&(y.right=y.left+Vn),y.left<10?rt.scrollLeft=0:y.left<rr?rt.scrollLeft=Math.max(0,y.left+Sn-(Lr?0:10)):y.right>Vn+rr-3&&(rt.scrollLeft=y.right+(Lr?0:10)-Vn),rt}function $u(a,y){y!=null&&(kl(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function fl(a){kl(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function Gl(a,y,ee){(y!=null||ee!=null)&&kl(a),y!=null&&(a.curOp.scrollLeft=y),ee!=null&&(a.curOp.scrollTop=ee)}function Ju(a,y){kl(a),a.curOp.scrollToPos=y}function kl(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var ee=Bo(a,y.from),z=Bo(a,y.to);pl(a,ee,z,y.margin)}}function pl(a,y,ee,z){var ce=Kl(a,{left:Math.min(y.left,ee.left),top:Math.min(y.top,ee.top)-z,right:Math.max(y.right,ee.right),bottom:Math.max(y.bottom,ee.bottom)+z});Gl(a,ce.scrollLeft,ce.scrollTop)}function hl(a,y){Math.abs(a.doc.scrollTop-y)<2||(b||mu(a,{top:y}),Ks(a,y,!0),b&&mu(a),Ml(a,100))}function Ks(a,y,ee){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!ee)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function Ps(a,y,ee,z){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((ee?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!z)&&(a.doc.scrollLeft=y,Mt(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function ml(a){var y=a.display,ee=y.gutters.offsetWidth,z=Math.round(a.doc.height+xa(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?ee:0,docHeight:z,scrollHeight:z+wo(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:ee}}var Gs=function(a,y,ee){this.cm=ee;var z=this.vert=Ke("div",[Ke("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ce=this.horiz=Ke("div",[Ke("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");z.tabIndex=ce.tabIndex=-1,a(z),a(ce),Rt(z,"scroll",function(){z.clientHeight&&y(z.scrollTop,"vertical")}),Rt(ce,"scroll",function(){ce.clientWidth&&y(ce.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,de&&ve<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Gs.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,ee=a.scrollHeight>a.clientHeight+1,z=a.nativeBarWidth;if(ee){this.vert.style.display="block",this.vert.style.bottom=y?z+"px":"0";var ce=a.viewHeight-(y?z:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ce)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=ee?z+"px":"0",this.horiz.style.left=a.barLeft+"px";var Ze=a.viewWidth-a.barLeft-(ee?z:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+Ze)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(z==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ee?z:0,bottom:y?z:0}},Gs.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Gs.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Gs.prototype.zeroWidthHack=function(){var a=Ee&&!ne?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ue,this.disableVert=new Ue},Gs.prototype.enableZeroWidthBar=function(a,y,ee){a.style.pointerEvents="auto";function z(){var ce=a.getBoundingClientRect(),Ze=ee=="vert"?document.elementFromPoint(ce.right-1,(ce.top+ce.bottom)/2):document.elementFromPoint((ce.right+ce.left)/2,ce.bottom-1);Ze!=a?a.style.pointerEvents="none":y.set(1e3,z)}y.set(1e3,z)},Gs.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var tl=function(){};tl.prototype.update=function(){return{bottom:0,right:0}},tl.prototype.setScrollLeft=function(){},tl.prototype.setScrollTop=function(){},tl.prototype.clear=function(){};function vl(a,y){y||(y=ml(a));var ee=a.display.barWidth,z=a.display.barHeight;Fu(a,y);for(var ce=0;ce<4&&ee!=a.display.barWidth||z!=a.display.barHeight;ce++)ee!=a.display.barWidth&&a.options.lineWrapping&&Xi(a),Fu(a,ml(a)),ee=a.display.barWidth,z=a.display.barHeight}function Fu(a,y){var ee=a.display,z=ee.scrollbars.update(y);ee.sizer.style.paddingRight=(ee.barWidth=z.right)+"px",ee.sizer.style.paddingBottom=(ee.barHeight=z.bottom)+"px",ee.heightForcer.style.borderBottom=z.bottom+"px solid transparent",z.right&&z.bottom?(ee.scrollbarFiller.style.display="block",ee.scrollbarFiller.style.height=z.bottom+"px",ee.scrollbarFiller.style.width=z.right+"px"):ee.scrollbarFiller.style.display="",z.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(ee.gutterFiller.style.display="block",ee.gutterFiller.style.height=z.bottom+"px",ee.gutterFiller.style.width=y.gutterWidth+"px"):ee.gutterFiller.style.display=""}var ju={native:Gs,null:tl};function zu(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Fe(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new ju[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),Rt(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,ee){ee=="horizontal"?Ps(a,y):hl(a,y)},a),a.display.scrollbars.addClass&&He(a.display.wrapper,a.display.scrollbars.addClass)}var gc=0;function nl(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++gc},no(a.curOp)}function gl(a){var y=a.curOp;y&&Gi(y,function(ee){for(var z=0;z<ee.ops.length;z++)ee.ops[z].cm.curOp=null;Qu(ee)})}function Qu(a){for(var y=a.ops,ee=0;ee<y.length;ee++)qu(y[ee]);for(var z=0;z<y.length;z++)ec(y[z]);for(var ce=0;ce<y.length;ce++)yc(y[ce]);for(var Ze=0;Ze<y.length;Ze++)tc(y[Ze]);for(var rt=0;rt<y.length;rt++)bc(y[rt])}function qu(a){var y=a.cm,ee=y.display;pu(y),a.updateMaxLine&&Yr(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<ee.viewFrom||a.scrollToPos.to.line>=ee.viewTo)||ee.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new rl(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function ec(a){a.updatedDisplay=a.mustUpdate&&hu(a.cm,a.update)}function yc(a){var y=a.cm,ee=y.display;a.updatedDisplay&&Xi(y),a.barMeasure=ml(y),ee.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=js(y,ee.maxLine,ee.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(ee.scroller.clientWidth,ee.sizer.offsetLeft+a.adjustWidthTo+wo(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,ee.sizer.offsetLeft+a.adjustWidthTo-ya(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=ee.input.prepareSelection())}function tc(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&Ps(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var ee=a.focus&&a.focus==Je();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,ee),(a.updatedDisplay||a.startHeight!=y.doc.height)&&vl(y,a.barMeasure),a.updatedDisplay&&ft(y,a.barMeasure),a.selectionChanged&&du(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),ee&&Yu(a.cm)}function bc(a){var y=a.cm,ee=y.display,z=y.doc;if(a.updatedDisplay&&Ts(y,a.update),ee.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(ee.wheelStartX=ee.wheelStartY=null),a.scrollTop!=null&&Ks(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&Ps(y,a.scrollLeft,!0,!0),a.scrollToPos){var ce=Ru(y,$t(z,a.scrollToPos.from),$t(z,a.scrollToPos.to),a.scrollToPos.margin);fu(y,ce)}var Ze=a.maybeHiddenMarkers,rt=a.maybeUnhiddenMarkers;if(Ze)for(var ut=0;ut<Ze.length;++ut)Ze[ut].lines.length||nn(Ze[ut],"hide");if(rt)for(var yt=0;yt<rt.length;++yt)rt[yt].lines.length&&nn(rt[yt],"unhide");ee.wrapper.offsetHeight&&(z.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&nn(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function es(a,y){if(a.curOp)return y();nl(a);try{return y()}finally{gl(a)}}function Fa(a,y){return function(){if(a.curOp)return y.apply(a,arguments);nl(a);try{return y.apply(a,arguments)}finally{gl(a)}}}function $a(a){return function(){if(this.curOp)return a.apply(this,arguments);nl(this);try{return a.apply(this,arguments)}finally{gl(this)}}}function Ta(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);nl(y);try{return a.apply(this,arguments)}finally{gl(y)}}}function Ml(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,tt(yl,a))}function yl(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var ee=+new Date+a.options.workTime,z=Vt(a,y.highlightFrontier),ce=[];y.iter(z.line,Math.min(y.first+y.size,a.display.viewTo+500),function(Ze){if(z.line>=a.display.viewFrom){var rt=Ze.styles,ut=Ze.text.length>a.options.maxHighlightLength?Nr(y.mode,z.state):null,yt=Qt(a,Ze,z,!0);ut&&(z.state=ut),Ze.styles=yt.styles;var At=Ze.styleClasses,ln=yt.classes;ln?Ze.styleClasses=ln:At&&(Ze.styleClasses=null);for(var Sn=!rt||rt.length!=Ze.styles.length||At!=ln&&(!At||!ln||At.bgClass!=ln.bgClass||At.textClass!=ln.textClass),rr=0;!Sn&&rr<rt.length;++rr)Sn=rt[rr]!=Ze.styles[rr];Sn&&ce.push(z.line),Ze.stateAfter=z.save(),z.nextLine()}else Ze.text.length<=a.options.maxHighlightLength&&jt(a,Ze.text,z),Ze.stateAfter=z.line%5==0?z.save():null,z.nextLine();if(+new Date>ee)return Ml(a,a.options.workDelay),!0}),y.highlightFrontier=z.line,y.modeFrontier=Math.max(y.modeFrontier,z.line),ce.length&&es(a,function(){for(var Ze=0;Ze<ce.length;Ze++)Us(a,ce[Ze],"text")})}}var rl=function(a,y,ee){var z=a.display;this.viewport=y,this.visible=Vs(z,a.doc,y),this.editorIsHidden=!z.wrapper.offsetWidth,this.wrapperHeight=z.wrapper.clientHeight,this.wrapperWidth=z.wrapper.clientWidth,this.oldDisplayWidth=ya(a),this.force=ee,this.dims=Hs(a),this.events=[]};rl.prototype.signal=function(a,y){Wt(a,y)&&this.events.push(arguments)},rl.prototype.finish=function(){for(var a=0;a<this.events.length;a++)nn.apply(null,this.events[a])};function pu(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=wo(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=wo(a)+"px",y.scrollbarsClipped=!0)}function nc(a){if(a.hasFocus())return null;var y=Je();if(!y||!Ye(a.display.lineDiv,y))return null;var ee={activeElt:y};if(window.getSelection){var z=window.getSelection();z.anchorNode&&z.extend&&Ye(a.display.lineDiv,z.anchorNode)&&(ee.anchorNode=z.anchorNode,ee.anchorOffset=z.anchorOffset,ee.focusNode=z.focusNode,ee.focusOffset=z.focusOffset)}return ee}function rc(a){if(!(!a||!a.activeElt||a.activeElt==Je())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&Ye(document.body,a.anchorNode)&&Ye(document.body,a.focusNode))){var y=window.getSelection(),ee=document.createRange();ee.setEnd(a.anchorNode,a.anchorOffset),ee.collapse(!1),y.removeAllRanges(),y.addRange(ee),y.extend(a.focusNode,a.focusOffset)}}function hu(a,y){var ee=a.display,z=a.doc;if(y.editorIsHidden)return Ds(a),!1;if(!y.force&&y.visible.from>=ee.viewFrom&&y.visible.to<=ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo)&&ee.renderedView==ee.view&&cu(a)==0)return!1;_t(a)&&(Ds(a),y.dims=Hs(a));var ce=z.first+z.size,Ze=Math.max(y.visible.from-a.options.viewportMargin,z.first),rt=Math.min(ce,y.visible.to+a.options.viewportMargin);ee.viewFrom<Ze&&Ze-ee.viewFrom<20&&(Ze=Math.max(z.first,ee.viewFrom)),ee.viewTo>rt&&ee.viewTo-rt<20&&(rt=Math.min(ce,ee.viewTo)),jn&&(Ze=Kt(a.doc,Ze),rt=On(a.doc,rt));var ut=Ze!=ee.viewFrom||rt!=ee.viewTo||ee.lastWrapHeight!=y.wrapperHeight||ee.lastWrapWidth!=y.wrapperWidth;Lu(a,Ze,rt),ee.viewOffset=zr(Ln(a.doc,ee.viewFrom)),a.display.mover.style.top=ee.viewOffset+"px";var yt=cu(a);if(!ut&&yt==0&&!y.force&&ee.renderedView==ee.view&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo))return!1;var At=nc(a);return yt>4&&(ee.lineDiv.style.display="none"),ic(a,ee.updateLineNumbers,y.dims),yt>4&&(ee.lineDiv.style.display=""),ee.renderedView=ee.view,rc(At),_e(ee.cursorDiv),_e(ee.selectionDiv),ee.gutters.style.height=ee.sizer.style.minHeight=0,ut&&(ee.lastWrapHeight=y.wrapperHeight,ee.lastWrapWidth=y.wrapperWidth,Ml(a,400)),ee.updateLineNumbers=null,!0}function Ts(a,y){for(var ee=y.viewport,z=!0;;z=!1){if(!z||!a.options.lineWrapping||y.oldDisplayWidth==ya(a)){if(ee&&ee.top!=null&&(ee={top:Math.min(a.doc.height+xa(a.display)-Ga(a),ee.top)}),y.visible=Vs(a.display,a.doc,ee),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else z&&(y.visible=Vs(a.display,a.doc,ee));if(!hu(a,y))break;Xi(a);var ce=ml(a);el(a),vl(a,ce),ft(a,ce),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function mu(a,y){var ee=new rl(a,y);if(hu(a,ee)){Xi(a),Ts(a,ee);var z=ml(a);el(a),vl(a,z),ft(a,z),ee.finish()}}function ic(a,y,ee){var z=a.display,ce=a.options.lineNumbers,Ze=z.lineDiv,rt=Ze.firstChild;function ut(Lr){var Ur=Lr.nextSibling;return re&&Ee&&a.display.currentWheelTarget==Lr?Lr.style.display="none":Lr.parentNode.removeChild(Lr),Ur}for(var yt=z.view,At=z.viewFrom,ln=0;ln<yt.length;ln++){var Sn=yt[ln];if(!Sn.hidden)if(!Sn.node||Sn.node.parentNode!=Ze){var rr=Vi(a,Sn,At,ee);Ze.insertBefore(rr,rt)}else{for(;rt!=Sn.node;)rt=ut(rt);var Vn=ce&&y!=null&&y<=At&&Sn.lineNumber;Sn.changes&&(Xe(Sn.changes,"gutter")>-1&&(Vn=!1),qo(a,Sn,At,ee)),Vn&&(_e(Sn.lineNumber),Sn.lineNumber.appendChild(document.createTextNode(Gt(a.options,At)))),rt=Sn.node.nextSibling}At+=Sn.size}for(;rt;)rt=ut(rt)}function pt(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function ft(a,y){a.display.sizer.style.minHeight=y.docHeight+"px",a.display.heightForcer.style.top=y.docHeight+"px",a.display.gutters.style.height=y.docHeight+a.display.barHeight+wo(a)+"px"}function Mt(a){var y=a.display,ee=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var z=lu(y)-y.scroller.scrollLeft+a.doc.scrollLeft,ce=y.gutters.offsetWidth,Ze=z+"px",rt=0;rt<ee.length;rt++)if(!ee[rt].hidden){a.options.fixedGutter&&(ee[rt].gutter&&(ee[rt].gutter.style.left=Ze),ee[rt].gutterBackground&&(ee[rt].gutterBackground.style.left=Ze));var ut=ee[rt].alignable;if(ut)for(var yt=0;yt<ut.length;yt++)ut[yt].style.left=Ze}a.options.fixedGutter&&(y.gutters.style.left=z+ce+"px")}}function _t(a){if(!a.options.lineNumbers)return!1;var y=a.doc,ee=Gt(a.options,y.first+y.size-1),z=a.display;if(ee.length!=z.lineNumChars){var ce=z.measure.appendChild(Ke("div",[Ke("div",ee)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Ze=ce.firstChild.offsetWidth,rt=ce.offsetWidth-Ze;return z.lineGutter.style.width="",z.lineNumInnerWidth=Math.max(Ze,z.lineGutter.offsetWidth-rt)+1,z.lineNumWidth=z.lineNumInnerWidth+rt,z.lineNumChars=z.lineNumInnerWidth?ee.length:-1,z.lineGutter.style.width=z.lineNumWidth+"px",pt(a.display),!0}return!1}function sn(a,y){for(var ee=[],z=!1,ce=0;ce<a.length;ce++){var Ze=a[ce],rt=null;if(typeof Ze!="string"&&(rt=Ze.style,Ze=Ze.className),Ze=="CodeMirror-linenumbers")if(y)z=!0;else continue;ee.push({className:Ze,style:rt})}return y&&!z&&ee.push({className:"CodeMirror-linenumbers",style:null}),ee}function vn(a){var y=a.gutters,ee=a.gutterSpecs;_e(y),a.lineGutter=null;for(var z=0;z<ee.length;++z){var ce=ee[z],Ze=ce.className,rt=ce.style,ut=y.appendChild(Ke("div",null,"CodeMirror-gutter "+Ze));rt&&(ut.style.cssText=rt),Ze=="CodeMirror-linenumbers"&&(a.lineGutter=ut,ut.style.width=(a.lineNumWidth||1)+"px")}y.style.display=ee.length?"":"none",pt(a)}function kn(a){vn(a.display),Za(a),Mt(a)}function Dn(a,y,ee,z){var ce=this;this.input=ee,ce.scrollbarFiller=Ke("div",null,"CodeMirror-scrollbar-filler"),ce.scrollbarFiller.setAttribute("cm-not-content","true"),ce.gutterFiller=Ke("div",null,"CodeMirror-gutter-filler"),ce.gutterFiller.setAttribute("cm-not-content","true"),ce.lineDiv=We("div",null,"CodeMirror-code"),ce.selectionDiv=Ke("div",null,null,"position: relative; z-index: 1"),ce.cursorDiv=Ke("div",null,"CodeMirror-cursors"),ce.measure=Ke("div",null,"CodeMirror-measure"),ce.lineMeasure=Ke("div",null,"CodeMirror-measure"),ce.lineSpace=We("div",[ce.measure,ce.lineMeasure,ce.selectionDiv,ce.cursorDiv,ce.lineDiv],null,"position: relative; outline: none");var Ze=We("div",[ce.lineSpace],"CodeMirror-lines");ce.mover=Ke("div",[Ze],null,"position: relative"),ce.sizer=Ke("div",[ce.mover],"CodeMirror-sizer"),ce.sizerWidth=null,ce.heightForcer=Ke("div",null,null,"position: absolute; height: "+$e+"px; width: 1px;"),ce.gutters=Ke("div",null,"CodeMirror-gutters"),ce.lineGutter=null,ce.scroller=Ke("div",[ce.sizer,ce.heightForcer,ce.gutters],"CodeMirror-scroll"),ce.scroller.setAttribute("tabIndex","-1"),ce.wrapper=Ke("div",[ce.scrollbarFiller,ce.gutterFiller,ce.scroller],"CodeMirror"),de&&ve<8&&(ce.gutters.style.zIndex=-1,ce.scroller.style.paddingRight=0),!re&&!(b&&ue)&&(ce.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(ce.wrapper):a(ce.wrapper)),ce.viewFrom=ce.viewTo=y.first,ce.reportedViewFrom=ce.reportedViewTo=y.first,ce.view=[],ce.renderedView=null,ce.externalMeasured=null,ce.viewOffset=0,ce.lastWrapHeight=ce.lastWrapWidth=0,ce.updateLineNumbers=null,ce.nativeBarWidth=ce.barHeight=ce.barWidth=0,ce.scrollbarsClipped=!1,ce.lineNumWidth=ce.lineNumInnerWidth=ce.lineNumChars=null,ce.alignWidgets=!1,ce.cachedCharWidth=ce.cachedTextHeight=ce.cachedPaddingH=null,ce.maxLine=null,ce.maxLineLength=0,ce.maxLineChanged=!1,ce.wheelDX=ce.wheelDY=ce.wheelStartX=ce.wheelStartY=null,ce.shift=!1,ce.selForContextMenu=null,ce.activeTouch=null,ce.gutterSpecs=sn(z.gutters,z.lineNumbers),vn(ce),ee.init(ce)}var Hn=0,Rn=null;de?Rn=-.53:b?Rn=15:fe?Rn=-.7:te&&(Rn=-1/3);function xr(a){var y=a.wheelDeltaX,ee=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),ee==null&&a.detail&&a.axis==a.VERTICAL_AXIS?ee=a.detail:ee==null&&(ee=a.wheelDelta),{x:y,y:ee}}function cr(a){var y=xr(a);return y.x*=Rn,y.y*=Rn,y}function ar(a,y){var ee=xr(y),z=ee.x,ce=ee.y,Ze=a.display,rt=Ze.scroller,ut=rt.scrollWidth>rt.clientWidth,yt=rt.scrollHeight>rt.clientHeight;if(z&&ut||ce&&yt){if(ce&&Ee&&re){e:for(var At=y.target,ln=Ze.view;At!=rt;At=At.parentNode)for(var Sn=0;Sn<ln.length;Sn++)if(ln[Sn].node==At){a.display.currentWheelTarget=At;break e}}if(z&&!b&&!E&&Rn!=null){ce&&yt&&hl(a,Math.max(0,rt.scrollTop+ce*Rn)),Ps(a,Math.max(0,rt.scrollLeft+z*Rn)),(!ce||ce&&yt)&&zt(y),Ze.wheelStartX=null;return}if(ce&&Rn!=null){var rr=ce*Rn,Vn=a.doc.scrollTop,Lr=Vn+Ze.wrapper.clientHeight;rr<0?Vn=Math.max(0,Vn+rr-50):Lr=Math.min(a.doc.height,Lr+rr+50),mu(a,{top:Vn,bottom:Lr})}Hn<20&&(Ze.wheelStartX==null?(Ze.wheelStartX=rt.scrollLeft,Ze.wheelStartY=rt.scrollTop,Ze.wheelDX=z,Ze.wheelDY=ce,setTimeout(function(){if(Ze.wheelStartX!=null){var Ur=rt.scrollLeft-Ze.wheelStartX,ii=rt.scrollTop-Ze.wheelStartY,vi=ii&&Ze.wheelDY&&ii/Ze.wheelDY||Ur&&Ze.wheelDX&&Ur/Ze.wheelDX;Ze.wheelStartX=Ze.wheelStartY=null,vi&&(Rn=(Rn*Hn+vi)/(Hn+1),++Hn)}},200)):(Ze.wheelDX+=z,Ze.wheelDY+=ce))}}var nr=function(a,y){this.ranges=a,this.primIndex=y};nr.prototype.primary=function(){return this.ranges[this.primIndex]},nr.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var ee=this.ranges[y],z=a.ranges[y];if(!xt(ee.anchor,z.anchor)||!xt(ee.head,z.head))return!1}return!0},nr.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new qn(en(this.ranges[y].anchor),en(this.ranges[y].head));return new nr(a,this.primIndex)},nr.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},nr.prototype.contains=function(a,y){y||(y=a);for(var ee=0;ee<this.ranges.length;ee++){var z=this.ranges[ee];if(Pt(y,z.from())>=0&&Pt(a,z.to())<=0)return ee}return-1};var qn=function(a,y){this.anchor=a,this.head=y};qn.prototype.from=function(){return cn(this.anchor,this.head)},qn.prototype.to=function(){return on(this.anchor,this.head)},qn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Kr(a,y,ee){var z=a&&a.options.selectionsMayTouch,ce=y[ee];y.sort(function(rr,Vn){return Pt(rr.from(),Vn.from())}),ee=Xe(y,ce);for(var Ze=1;Ze<y.length;Ze++){var rt=y[Ze],ut=y[Ze-1],yt=Pt(ut.to(),rt.from());if(z&&!rt.empty()?yt>0:yt>=0){var At=cn(ut.from(),rt.from()),ln=on(ut.to(),rt.to()),Sn=ut.empty()?rt.from()==rt.head:ut.from()==ut.head;Ze<=ee&&--ee,y.splice(--Ze,2,new qn(Sn?ln:At,Sn?At:ln))}}return new nr(y,ee)}function Or(a,y){return new nr([new qn(a,y||a)],0)}function Jr(a){return a.text?kt(a.from.line+a.text.length-1,bt(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function ni(a,y){if(Pt(a,y.from)<0)return a;if(Pt(a,y.to)<=0)return Jr(y);var ee=a.line+y.text.length-(y.to.line-y.from.line)-1,z=a.ch;return a.line==y.to.line&&(z+=Jr(y).ch-y.to.ch),kt(ee,z)}function Zr(a,y){for(var ee=[],z=0;z<a.sel.ranges.length;z++){var ce=a.sel.ranges[z];ee.push(new qn(ni(ce.anchor,y),ni(ce.head,y)))}return Kr(a.cm,ee,a.sel.primIndex)}function ai(a,y,ee){return a.line==y.line?kt(ee.line,a.ch-y.ch+ee.ch):kt(ee.line+(a.line-y.line),a.ch)}function pi(a,y,ee){for(var z=[],ce=kt(a.first,0),Ze=ce,rt=0;rt<y.length;rt++){var ut=y[rt],yt=ai(ut.from,ce,Ze),At=ai(Jr(ut),ce,Ze);if(ce=ut.to,Ze=At,ee=="around"){var ln=a.sel.ranges[rt],Sn=Pt(ln.head,ln.anchor)<0;z[rt]=new qn(Sn?At:yt,Sn?yt:At)}else z[rt]=new qn(yt,yt)}return new nr(z,a.sel.primIndex)}function xi(a){a.doc.mode=wr(a.options,a.doc.modeOption),yi(a)}function yi(a){a.doc.iter(function(y){y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,Ml(a,100),a.state.modeGen++,a.curOp&&Za(a)}function eo(a,y){return y.from.ch==0&&y.to.ch==0&&bt(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Fi(a,y,ee,z){function ce(Pi){return ee?ee[Pi]:null}function Ze(Pi,hi,Mi){or(Pi,hi,Mi,z),ao(Pi,"change",Pi,y)}function rt(Pi,hi){for(var Mi=[],to=Pi;to<hi;++to)Mi.push(new ki(At[to],ce(to),z));return Mi}var ut=y.from,yt=y.to,At=y.text,ln=Ln(a,ut.line),Sn=Ln(a,yt.line),rr=bt(At),Vn=ce(At.length-1),Lr=yt.line-ut.line;if(y.full)a.insert(0,rt(0,At.length)),a.remove(At.length,a.size-At.length);else if(eo(a,y)){var Ur=rt(0,At.length-1);Ze(Sn,Sn.text,Vn),Lr&&a.remove(ut.line,Lr),Ur.length&&a.insert(ut.line,Ur)}else if(ln==Sn)if(At.length==1)Ze(ln,ln.text.slice(0,ut.ch)+rr+ln.text.slice(yt.ch),Vn);else{var ii=rt(1,At.length-1);ii.push(new ki(rr+ln.text.slice(yt.ch),Vn,z)),Ze(ln,ln.text.slice(0,ut.ch)+At[0],ce(0)),a.insert(ut.line+1,ii)}else if(At.length==1)Ze(ln,ln.text.slice(0,ut.ch)+At[0]+Sn.text.slice(yt.ch),ce(0)),a.remove(ut.line+1,Lr);else{Ze(ln,ln.text.slice(0,ut.ch)+At[0],ce(0)),Ze(Sn,rr+Sn.text.slice(yt.ch),Vn);var vi=rt(1,At.length-1);Lr>1&&a.remove(ut.line+1,Lr-1),a.insert(ut.line+1,vi)}ao(a,"change",a,y)}function Ni(a,y,ee){function z(ce,Ze,rt){if(ce.linked)for(var ut=0;ut<ce.linked.length;++ut){var yt=ce.linked[ut];if(yt.doc!=Ze){var At=rt&&yt.sharedHist;ee&&!At||(y(yt.doc,At),z(yt.doc,ce,At))}}}z(a,null,!0)}function Ki(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,Zs(a),xi(a),wi(a),a.options.lineWrapping||Yr(a),a.options.mode=y.modeOption,Za(a)}function wi(a){(a.doc.direction=="rtl"?He:Fe)(a.display.lineDiv,"CodeMirror-rtl")}function Ei(a){es(a,function(){wi(a),Za(a)})}function di(a){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=a||1}function ri(a,y){var ee={from:en(y.from),to:Jr(y),text:tr(a,y.from,y.to)};return ia(a,ee,y.from.line,y.to.line+1),Ni(a,function(z){return ia(z,ee,y.from.line,y.to.line+1)},!0),ee}function Ci(a){for(;a.length;){var y=bt(a);if(y.ranges)a.pop();else break}}function Ai(a,y){if(y)return Ci(a.done),bt(a.done);if(a.done.length&&!bt(a.done).ranges)return bt(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),bt(a.done)}function ji(a,y,ee,z){var ce=a.history;ce.undone.length=0;var Ze=+new Date,rt,ut;if((ce.lastOp==z||ce.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&ce.lastModTime>Ze-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(rt=Ai(ce,ce.lastOp==z)))ut=bt(rt.changes),Pt(y.from,y.to)==0&&Pt(y.from,ut.to)==0?ut.to=Jr(y):rt.changes.push(ri(a,y));else{var yt=bt(ce.done);for((!yt||!yt.ranges)&&co(a.sel,ce.done),rt={changes:[ri(a,y)],generation:ce.generation},ce.done.push(rt);ce.done.length>ce.undoDepth;)ce.done.shift(),ce.done[0].ranges||ce.done.shift()}ce.done.push(ee),ce.generation=++ce.maxGeneration,ce.lastModTime=ce.lastSelTime=Ze,ce.lastOp=ce.lastSelOp=z,ce.lastOrigin=ce.lastSelOrigin=y.origin,ut||nn(a,"historyAdded")}function ui(a,y,ee,z){var ce=y.charAt(0);return ce=="*"||ce=="+"&&ee.ranges.length==z.ranges.length&&ee.somethingSelected()==z.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function uo(a,y,ee,z){var ce=a.history,Ze=z&&z.origin;ee==ce.lastSelOp||Ze&&ce.lastSelOrigin==Ze&&(ce.lastModTime==ce.lastSelTime&&ce.lastOrigin==Ze||ui(a,Ze,bt(ce.done),y))?ce.done[ce.done.length-1]=y:co(y,ce.done),ce.lastSelTime=+new Date,ce.lastSelOrigin=Ze,ce.lastSelOp=ee,z&&z.clearRedo!==!1&&Ci(ce.undone)}function co(a,y){var ee=bt(y);ee&&ee.ranges&&ee.equals(a)||y.push(a)}function ia(a,y,ee,z){var ce=y["spans_"+a.id],Ze=0;a.iter(Math.max(a.first,ee),Math.min(a.first+a.size,z),function(rt){rt.markedSpans&&((ce||(ce=y["spans_"+a.id]={}))[Ze]=rt.markedSpans),++Ze})}function ea(a){if(!a)return null;for(var y,ee=0;ee<a.length;++ee)a[ee].marker.explicitlyCleared?y||(y=a.slice(0,ee)):y&&y.push(a[ee]);return y?y.length?y:null:a}function _o(a,y){var ee=y["spans_"+a.id];if(!ee)return null;for(var z=[],ce=0;ce<y.text.length;++ce)z.push(ea(ee[ce]));return z}function $o(a,y){var ee=_o(a,y),z=Gr(a,y);if(!ee)return z;if(!z)return ee;for(var ce=0;ce<ee.length;++ce){var Ze=ee[ce],rt=z[ce];if(Ze&&rt)e:for(var ut=0;ut<rt.length;++ut){for(var yt=rt[ut],At=0;At<Ze.length;++At)if(Ze[At].marker==yt.marker)continue e;Ze.push(yt)}else rt&&(ee[ce]=rt)}return ee}function ca(a,y,ee){for(var z=[],ce=0;ce<a.length;++ce){var Ze=a[ce];if(Ze.ranges){z.push(ee?nr.prototype.deepCopy.call(Ze):Ze);continue}var rt=Ze.changes,ut=[];z.push({changes:ut});for(var yt=0;yt<rt.length;++yt){var At=rt[yt],ln=void 0;if(ut.push({from:At.from,to:At.to,text:At.text}),y)for(var Sn in At)(ln=Sn.match(/^spans_(\d+)$/))&&Xe(y,Number(ln[1]))>-1&&(bt(ut)[Sn]=At[Sn],delete At[Sn])}}return z}function vo(a,y,ee,z){if(z){var ce=a.anchor;if(ee){var Ze=Pt(y,ce)<0;Ze!=Pt(ee,ce)<0?(ce=y,y=ee):Ze!=Pt(y,ee)<0&&(y=ee)}return new qn(ce,y)}else return new qn(ee||y,y)}function xo(a,y,ee,z,ce){ce==null&&(ce=a.cm&&(a.cm.display.shift||a.extend)),bi(a,new nr([vo(a.sel.primary(),y,ee,ce)],0),z)}function Jo(a,y,ee){for(var z=[],ce=a.cm&&(a.cm.display.shift||a.extend),Ze=0;Ze<a.sel.ranges.length;Ze++)z[Ze]=vo(a.sel.ranges[Ze],y[Ze],null,ce);var rt=Kr(a.cm,z,a.sel.primIndex);bi(a,rt,ee)}function ta(a,y,ee,z){var ce=a.sel.ranges.slice(0);ce[y]=ee,bi(a,Kr(a.cm,ce,a.sel.primIndex),z)}function Li(a,y,ee,z){bi(a,Or(y,ee),z)}function Qi(a,y,ee){var z={ranges:y.ranges,update:function(ce){this.ranges=[];for(var Ze=0;Ze<ce.length;Ze++)this.ranges[Ze]=new qn($t(a,ce[Ze].anchor),$t(a,ce[Ze].head))},origin:ee&&ee.origin};return nn(a,"beforeSelectionChange",a,z),a.cm&&nn(a.cm,"beforeSelectionChange",a.cm,z),z.ranges!=y.ranges?Kr(a.cm,z.ranges,z.ranges.length-1):y}function Oi(a,y,ee){var z=a.history.done,ce=bt(z);ce&&ce.ranges?(z[z.length-1]=y,go(a,y,ee)):bi(a,y,ee)}function bi(a,y,ee){go(a,y,ee),uo(a,a.sel,a.cm?a.cm.curOp.id:NaN,ee)}function go(a,y,ee){(Wt(a,"beforeSelectionChange")||a.cm&&Wt(a.cm,"beforeSelectionChange"))&&(y=Qi(a,y,ee));var z=ee&&ee.bias||(Pt(y.primary().head,a.sel.primary().head)<0?-1:1);Lo(a,So(a,y,z,!0)),!(ee&&ee.scroll===!1)&&a.cm&&fl(a.cm)}function Lo(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,qt(a.cm)),ao(a,"cursorActivity",a))}function Qo(a){Lo(a,So(a,a.sel,null,!1))}function So(a,y,ee,z){for(var ce,Ze=0;Ze<y.ranges.length;Ze++){var rt=y.ranges[Ze],ut=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[Ze],yt=ma(a,rt.anchor,ut&&ut.anchor,ee,z),At=ma(a,rt.head,ut&&ut.head,ee,z);(ce||yt!=rt.anchor||At!=rt.head)&&(ce||(ce=y.ranges.slice(0,Ze)),ce[Ze]=new qn(yt,At))}return ce?Kr(a.cm,ce,y.primIndex):y}function oa(a,y,ee,z,ce){var Ze=Ln(a,y.line);if(Ze.markedSpans)for(var rt=0;rt<Ze.markedSpans.length;++rt){var ut=Ze.markedSpans[rt],yt=ut.marker,At="selectLeft"in yt?!yt.selectLeft:yt.inclusiveLeft,ln="selectRight"in yt?!yt.selectRight:yt.inclusiveRight;if((ut.from==null||(At?ut.from<=y.ch:ut.from<y.ch))&&(ut.to==null||(ln?ut.to>=y.ch:ut.to>y.ch))){if(ce&&(nn(yt,"beforeCursorEnter"),yt.explicitlyCleared))if(Ze.markedSpans){--rt;continue}else break;if(!yt.atomic)continue;if(ee){var Sn=yt.find(z<0?1:-1),rr=void 0;if((z<0?ln:At)&&(Sn=zi(a,Sn,-z,Sn&&Sn.line==y.line?Ze:null)),Sn&&Sn.line==y.line&&(rr=Pt(Sn,ee))&&(z<0?rr<0:rr>0))return oa(a,Sn,y,z,ce)}var Vn=yt.find(z<0?-1:1);return(z<0?At:ln)&&(Vn=zi(a,Vn,z,Vn.line==y.line?Ze:null)),Vn?oa(a,Vn,y,z,ce):null}}return y}function ma(a,y,ee,z,ce){var Ze=z||1,rt=oa(a,y,ee,Ze,ce)||!ce&&oa(a,y,ee,Ze,!0)||oa(a,y,ee,-Ze,ce)||!ce&&oa(a,y,ee,-Ze,!0);return rt||(a.cantEdit=!0,kt(a.first,0))}function zi(a,y,ee,z){return ee<0&&y.ch==0?y.line>a.first?$t(a,kt(y.line-1)):null:ee>0&&y.ch==(z||Ln(a,y.line)).text.length?y.line<a.first+a.size-1?kt(y.line+1,0):null:new kt(y.line,y.ch+ee)}function _i(a){a.setSelection(kt(a.firstLine(),0),kt(a.lastLine()),Ve)}function Do(a,y,ee){var z={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return z.canceled=!0}};return ee&&(z.update=function(ce,Ze,rt,ut){ce&&(z.from=$t(a,ce)),Ze&&(z.to=$t(a,Ze)),rt&&(z.text=rt),ut!==void 0&&(z.origin=ut)}),nn(a,"beforeChange",a,z),a.cm&&nn(a.cm,"beforeChange",a.cm,z),z.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:z.from,to:z.to,text:z.text,origin:z.origin}}function jo(a,y,ee){if(a.cm){if(!a.cm.curOp)return Fa(a.cm,jo)(a,y,ee);if(a.cm.state.suppressEdits)return}if(!((Wt(a,"beforeChange")||a.cm&&Wt(a.cm,"beforeChange"))&&(y=Do(a,y,!0),!y))){var z=sr&&!ee&&gi(a,y.from,y.to);if(z)for(var ce=z.length-1;ce>=0;--ce)Ro(a,{from:z[ce].from,to:z[ce].to,text:ce?[""]:y.text,origin:y.origin});else Ro(a,y)}}function Ro(a,y){if(!(y.text.length==1&&y.text[0]==""&&Pt(y.from,y.to)==0)){var ee=Zr(a,y);ji(a,y,ee,a.cm?a.cm.curOp.id:NaN),Ua(a,y,ee,Gr(a,y));var z=[];Ni(a,function(ce,Ze){!Ze&&Xe(z,ce.history)==-1&&(va(ce.history,y),z.push(ce.history)),Ua(ce,y,null,Gr(ce,y))})}}function wa(a,y,ee){var z=a.cm&&a.cm.state.suppressEdits;if(!(z&&!ee)){for(var ce=a.history,Ze,rt=a.sel,ut=y=="undo"?ce.done:ce.undone,yt=y=="undo"?ce.undone:ce.done,At=0;At<ut.length&&(Ze=ut[At],!(ee?Ze.ranges&&!Ze.equals(a.sel):!Ze.ranges));At++);if(At!=ut.length){for(ce.lastOrigin=ce.lastSelOrigin=null;;)if(Ze=ut.pop(),Ze.ranges){if(co(Ze,yt),ee&&!Ze.equals(a.sel)){bi(a,Ze,{clearRedo:!1});return}rt=Ze}else if(z){ut.push(Ze);return}else break;var ln=[];co(rt,yt),yt.push({changes:ln,generation:ce.generation}),ce.generation=Ze.generation||++ce.maxGeneration;for(var Sn=Wt(a,"beforeChange")||a.cm&&Wt(a.cm,"beforeChange"),rr=function(Ur){var ii=Ze.changes[Ur];if(ii.origin=y,Sn&&!Do(a,ii,!1))return ut.length=0,{};ln.push(ri(a,ii));var vi=Ur?Zr(a,ii):bt(ut);Ua(a,ii,vi,$o(a,ii)),!Ur&&a.cm&&a.cm.scrollIntoView({from:ii.from,to:Jr(ii)});var Pi=[];Ni(a,function(hi,Mi){!Mi&&Xe(Pi,hi.history)==-1&&(va(hi.history,ii),Pi.push(hi.history)),Ua(hi,ii,null,$o(hi,ii))})},Vn=Ze.changes.length-1;Vn>=0;--Vn){var Lr=rr(Vn);if(Lr)return Lr.v}}}}function da(a,y){if(y!=0&&(a.first+=y,a.sel=new nr(Ct(a.sel.ranges,function(ce){return new qn(kt(ce.anchor.line+y,ce.anchor.ch),kt(ce.head.line+y,ce.head.ch))}),a.sel.primIndex),a.cm)){Za(a.cm,a.first,a.first-y,y);for(var ee=a.cm.display,z=ee.viewFrom;z<ee.viewTo;z++)Us(a.cm,z,"gutter")}}function Ua(a,y,ee,z){if(a.cm&&!a.cm.curOp)return Fa(a.cm,Ua)(a,y,ee,z);if(y.to.line<a.first){da(a,y.text.length-1-(y.to.line-y.from.line));return}if(!(y.from.line>a.lastLine())){if(y.from.line<a.first){var ce=y.text.length-1-(a.first-y.from.line);da(a,ce),y={from:kt(a.first,0),to:kt(y.to.line+ce,y.to.ch),text:[bt(y.text)],origin:y.origin}}var Ze=a.lastLine();y.to.line>Ze&&(y={from:y.from,to:kt(Ze,Ln(a,Ze).text.length),text:[y.text[0]],origin:y.origin}),y.removed=tr(a,y.from,y.to),ee||(ee=Zr(a,y)),a.cm?Wo(a.cm,y,z):Fi(a,y,z),go(a,ee,Ve),a.cantEdit&&ma(a,kt(a.firstLine(),0))&&(a.cantEdit=!1)}}function Wo(a,y,ee){var z=a.doc,ce=a.display,Ze=y.from,rt=y.to,ut=!1,yt=Ze.line;a.options.lineWrapping||(yt=Zt(Qn(Ln(z,Ze.line))),z.iter(yt,rt.line+1,function(Vn){if(Vn==ce.maxLine)return ut=!0,!0})),z.sel.contains(y.from,y.to)>-1&&qt(a),Fi(z,y,ee,uu(a)),a.options.lineWrapping||(z.iter(yt,Ze.line+y.text.length,function(Vn){var Lr=Qr(Vn);Lr>ce.maxLineLength&&(ce.maxLine=Vn,ce.maxLineLength=Lr,ce.maxLineChanged=!0,ut=!1)}),ut&&(a.curOp.updateMaxLine=!0)),Gn(z,Ze.line),Ml(a,400);var At=y.text.length-(rt.line-Ze.line)-1;y.full?Za(a):Ze.line==rt.line&&y.text.length==1&&!eo(a.doc,y)?Us(a,Ze.line,"text"):Za(a,Ze.line,rt.line+1,At);var ln=Wt(a,"changes"),Sn=Wt(a,"change");if(Sn||ln){var rr={from:Ze,to:rt,text:y.text,removed:y.removed,origin:y.origin};Sn&&ao(a,"change",a,rr),ln&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(rr)}a.display.selForContextMenu=null}function To(a,y,ee,z,ce){var Ze;z||(z=ee),Pt(z,ee)<0&&(Ze=[z,ee],ee=Ze[0],z=Ze[1]),typeof y=="string"&&(y=a.splitLines(y)),jo(a,{from:ee,to:z,text:y,origin:ce})}function Uo(a,y,ee,z){ee<a.line?a.line+=z:y<a.line&&(a.line=y,a.ch=0)}function Vo(a,y,ee,z){for(var ce=0;ce<a.length;++ce){var Ze=a[ce],rt=!0;if(Ze.ranges){Ze.copied||(Ze=a[ce]=Ze.deepCopy(),Ze.copied=!0);for(var ut=0;ut<Ze.ranges.length;ut++)Uo(Ze.ranges[ut].anchor,y,ee,z),Uo(Ze.ranges[ut].head,y,ee,z);continue}for(var yt=0;yt<Ze.changes.length;++yt){var At=Ze.changes[yt];if(ee<At.from.line)At.from=kt(At.from.line+z,At.from.ch),At.to=kt(At.to.line+z,At.to.ch);else if(y<=At.to.line){rt=!1;break}}rt||(a.splice(0,ce+1),ce=0)}}function va(a,y){var ee=y.from.line,z=y.to.line,ce=y.text.length-(z-ee)-1;Vo(a.done,ee,z,ce),Vo(a.undone,ee,z,ce)}function aa(a,y,ee,z){var ce=y,Ze=y;return typeof y=="number"?Ze=Ln(a,Yt(a,y)):ce=Zt(y),ce==null?null:(z(Ze,ce)&&a.cm&&Us(a.cm,ce,ee),Ze)}function Oo(a){this.lines=a,this.parent=null;for(var y=0,ee=0;ee<a.length;++ee)a[ee].parent=this,y+=a[ee].height;this.height=y}Oo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var ee=a,z=a+y;ee<z;++ee){var ce=this.lines[ee];this.height-=ce.height,Di(ce),ao(ce,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,ee){this.height+=ee,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var z=0;z<y.length;++z)y[z].parent=this},iterN:function(a,y,ee){for(var z=a+y;a<z;++a)if(ee(this.lines[a]))return!0}};function Ko(a){this.children=a;for(var y=0,ee=0,z=0;z<a.length;++z){var ce=a[z];y+=ce.chunkSize(),ee+=ce.height,ce.parent=this}this.size=y,this.height=ee,this.parent=null}Ko.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var ee=0;ee<this.children.length;++ee){var z=this.children[ee],ce=z.chunkSize();if(a<ce){var Ze=Math.min(y,ce-a),rt=z.height;if(z.removeInner(a,Ze),this.height-=rt-z.height,ce==Ze&&(this.children.splice(ee--,1),z.parent=null),(y-=Ze)==0)break;a=0}else a-=ce}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof Oo))){var ut=[];this.collapse(ut),this.children=[new Oo(ut)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,ee){this.size+=y.length,this.height+=ee;for(var z=0;z<this.children.length;++z){var ce=this.children[z],Ze=ce.chunkSize();if(a<=Ze){if(ce.insertInner(a,y,ee),ce.lines&&ce.lines.length>50){for(var rt=ce.lines.length%25+25,ut=rt;ut<ce.lines.length;){var yt=new Oo(ce.lines.slice(ut,ut+=25));ce.height-=yt.height,this.children.splice(++z,0,yt),yt.parent=this}ce.lines=ce.lines.slice(0,rt),this.maybeSpill()}break}a-=Ze}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),ee=new Ko(y);if(a.parent){a.size-=ee.size,a.height-=ee.height;var ce=Xe(a.parent.children,a);a.parent.children.splice(ce+1,0,ee)}else{var z=new Ko(a.children);z.parent=a,a.children=[z,ee],a=z}ee.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,ee){for(var z=0;z<this.children.length;++z){var ce=this.children[z],Ze=ce.chunkSize();if(a<Ze){var rt=Math.min(y,Ze-a);if(ce.iterN(a,rt,ee))return!0;if((y-=rt)==0)break;a=0}else a-=Ze}}};var ko=function(a,y,ee){if(ee)for(var z in ee)ee.hasOwnProperty(z)&&(this[z]=ee[z]);this.doc=a,this.node=y};ko.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,ee=this.line,z=Zt(ee);if(!(z==null||!y)){for(var ce=0;ce<y.length;++ce)y[ce]==this&&y.splice(ce--,1);y.length||(ee.widgets=null);var Ze=qr(this);yr(ee,Math.max(0,ee.height-Ze)),a&&(es(a,function(){ja(a,ee,-Ze),Us(a,z,"widget")}),ao(a,"lineWidgetCleared",a,this,z))}},ko.prototype.changed=function(){var a=this,y=this.height,ee=this.doc.cm,z=this.line;this.height=null;var ce=qr(this)-y;ce&&($n(this.doc,z)||yr(z,z.height+ce),ee&&es(ee,function(){ee.curOp.forceUpdate=!0,ja(ee,z,ce),ao(ee,"lineWidgetChanged",ee,a,Zt(z))}))},Dt(ko);function ja(a,y,ee){zr(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&$u(a,ee)}function sa(a,y,ee,z){var ce=new ko(a,ee,z),Ze=a.cm;return Ze&&ce.noHScroll&&(Ze.display.alignWidgets=!0),aa(a,y,"widget",function(rt){var ut=rt.widgets||(rt.widgets=[]);if(ce.insertAt==null?ut.push(ce):ut.splice(Math.min(ut.length-1,Math.max(0,ce.insertAt)),0,ce),ce.line=rt,Ze&&!$n(a,rt)){var yt=zr(rt)<a.scrollTop;yr(rt,rt.height+qr(ce)),yt&&$u(Ze,ce.height),Ze.curOp.forceUpdate=!0}return!0}),Ze&&ao(Ze,"lineWidgetAdded",Ze,ce,typeof y=="number"?y:Zt(y)),ce}var Ja=0,ts=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++Ja};ts.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&nl(a),Wt(this,"clear")){var ee=this.find();ee&&ao(this,"clear",ee.from,ee.to)}for(var z=null,ce=null,Ze=0;Ze<this.lines.length;++Ze){var rt=this.lines[Ze],ut=Wr(rt.markedSpans,this);a&&!this.collapsed?Us(a,Zt(rt),"text"):a&&(ut.to!=null&&(ce=Zt(rt)),ut.from!=null&&(z=Zt(rt))),rt.markedSpans=vr(rt.markedSpans,ut),ut.from==null&&this.collapsed&&!$n(this.doc,rt)&&a&&yr(rt,Ra(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var yt=0;yt<this.lines.length;++yt){var At=Qn(this.lines[yt]),ln=Qr(At);ln>a.display.maxLineLength&&(a.display.maxLine=At,a.display.maxLineLength=ln,a.display.maxLineChanged=!0)}z!=null&&a&&this.collapsed&&Za(a,z,ce+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Qo(a.doc)),a&&ao(a,"markerCleared",a,this,z,ce),y&&gl(a),this.parent&&this.parent.clear()}},ts.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var ee,z,ce=0;ce<this.lines.length;++ce){var Ze=this.lines[ce],rt=Wr(Ze.markedSpans,this);if(rt.from!=null&&(ee=kt(y?Ze:Zt(Ze),rt.from),a==-1))return ee;if(rt.to!=null&&(z=kt(y?Ze:Zt(Ze),rt.to),a==1))return z}return ee&&{from:ee,to:z}},ts.prototype.changed=function(){var a=this,y=this.find(-1,!0),ee=this,z=this.doc.cm;!y||!z||es(z,function(){var ce=y.line,Ze=Zt(y.line),rt=la(z,Ze);if(rt&&(ul(rt),z.curOp.selectionChanged=z.curOp.forceUpdate=!0),z.curOp.updateMaxLine=!0,!$n(ee.doc,ce)&&ee.height!=null){var ut=ee.height;ee.height=null;var yt=qr(ee)-ut;yt&&yr(ce,ce.height+yt)}ao(z,"markerChanged",z,a)})},ts.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||Xe(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},ts.prototype.detachLine=function(a){if(this.lines.splice(Xe(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},Dt(ts);function Cs(a,y,ee,z,ce){if(z&&z.shared)return Rl(a,y,ee,z,ce);if(a.cm&&!a.cm.curOp)return Fa(a.cm,Cs)(a,y,ee,z,ce);var Ze=new ts(a,ce),rt=Pt(y,ee);if(z&&Bt(z,Ze,!1),rt>0||rt==0&&Ze.clearWhenEmpty!==!1)return Ze;if(Ze.replacedWith&&(Ze.collapsed=!0,Ze.widgetNode=We("span",[Ze.replacedWith],"CodeMirror-widget"),z.handleMouseEvents||Ze.widgetNode.setAttribute("cm-ignore-events","true"),z.insertLeft&&(Ze.widgetNode.insertLeft=!0)),Ze.collapsed){if(fr(a,y.line,y,ee,Ze)||y.line!=ee.line&&fr(a,ee.line,y,ee,Ze))throw new Error("Inserting collapsed marker partially overlapping an existing one");Dr()}Ze.addToHistory&&ji(a,{from:y,to:ee,origin:"markText"},a.sel,NaN);var ut=y.line,yt=a.cm,At;if(a.iter(ut,ee.line+1,function(Sn){yt&&Ze.collapsed&&!yt.options.lineWrapping&&Qn(Sn)==yt.display.maxLine&&(At=!0),Ze.collapsed&&ut!=y.line&&yr(Sn,0),Ir(Sn,new Tr(Ze,ut==y.line?y.ch:null,ut==ee.line?ee.ch:null)),++ut}),Ze.collapsed&&a.iter(y.line,ee.line+1,function(Sn){$n(a,Sn)&&yr(Sn,0)}),Ze.clearOnEnter&&Rt(Ze,"beforeCursorEnter",function(){return Ze.clear()}),Ze.readOnly&&(ir(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),Ze.collapsed&&(Ze.id=++Ja,Ze.atomic=!0),yt){if(At&&(yt.curOp.updateMaxLine=!0),Ze.collapsed)Za(yt,y.line,ee.line+1);else if(Ze.className||Ze.startStyle||Ze.endStyle||Ze.css||Ze.attributes||Ze.title)for(var ln=y.line;ln<=ee.line;ln++)Us(yt,ln,"text");Ze.atomic&&Qo(yt.doc),ao(yt,"markerAdded",yt,Ze)}return Ze}var Go=function(a,y){this.markers=a,this.primary=y;for(var ee=0;ee<a.length;++ee)a[ee].parent=this};Go.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();ao(this,"clear")}},Go.prototype.find=function(a,y){return this.primary.find(a,y)},Dt(Go);function Rl(a,y,ee,z,ce){z=Bt(z),z.shared=!1;var Ze=[Cs(a,y,ee,z,ce)],rt=Ze[0],ut=z.widgetNode;return Ni(a,function(yt){ut&&(z.widgetNode=ut.cloneNode(!0)),Ze.push(Cs(yt,$t(yt,y),$t(yt,ee),z,ce));for(var At=0;At<yt.linked.length;++At)if(yt.linked[At].isParent)return;rt=bt(Ze)}),new Go(Ze,rt)}function ns(a){return a.findMarks(kt(a.first,0),a.clipPos(kt(a.lastLine())),function(y){return y.parent})}function ms(a,y){for(var ee=0;ee<y.length;ee++){var z=y[ee],ce=z.find(),Ze=a.clipPos(ce.from),rt=a.clipPos(ce.to);if(Pt(Ze,rt)){var ut=Cs(a,Ze,rt,z.primary,z.primary.type);z.markers.push(ut),ut.parent=z}}}function vs(a){for(var y=function(z){var ce=a[z],Ze=[ce.primary.doc];Ni(ce.primary.doc,function(yt){return Ze.push(yt)});for(var rt=0;rt<ce.markers.length;rt++){var ut=ce.markers[rt];Xe(Ze,ut.doc)==-1&&(ut.parent=null,ce.markers.splice(rt--,1))}},ee=0;ee<a.length;ee++)y(ee)}var Oa=0,Xo=function(a,y,ee,z,ce){if(!(this instanceof Xo))return new Xo(a,y,ee,z,ce);ee==null&&(ee=0),Ko.call(this,[new Oo([new ki("",null)])]),this.first=ee,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ee;var Ze=kt(ee,0);this.sel=Or(Ze),this.history=new di(null),this.id=++Oa,this.modeOption=y,this.lineSep=z,this.direction=ce=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),Fi(this,{from:Ze,to:Ze,text:a}),bi(this,Or(Ze),Ve)};Xo.prototype=le(Ko.prototype,{constructor:Xo,iter:function(a,y,ee){ee?this.iterN(a-this.first,y-a,ee):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var ee=0,z=0;z<y.length;++z)ee+=y[z].height;this.insertInner(a-this.first,y,ee)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=Ar(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:Ta(function(a){var y=kt(this.first,0),ee=this.first+this.size-1;jo(this,{from:y,to:kt(ee,Ln(this,ee).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&Gl(this.cm,0,0),bi(this,Or(y),Ve)}),replaceRange:function(a,y,ee,z){y=$t(this,y),ee=ee?$t(this,ee):y,To(this,a,y,ee,z)},getRange:function(a,y,ee){var z=tr(this,$t(this,a),$t(this,y));return ee===!1?z:z.join(ee||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(Ot(this,a))return Ln(this,a)},getLineNumber:function(a){return Zt(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=Ln(this,a)),Qn(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return $t(this,a)},getCursor:function(a){var y=this.sel.primary(),ee;return a==null||a=="head"?ee=y.head:a=="anchor"?ee=y.anchor:a=="end"||a=="to"||a===!1?ee=y.to():ee=y.from(),ee},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ta(function(a,y,ee){Li(this,$t(this,typeof a=="number"?kt(a,y||0):a),null,ee)}),setSelection:Ta(function(a,y,ee){Li(this,$t(this,a),$t(this,y||a),ee)}),extendSelection:Ta(function(a,y,ee){xo(this,$t(this,a),y&&$t(this,y),ee)}),extendSelections:Ta(function(a,y){Jo(this,fn(this,a),y)}),extendSelectionsBy:Ta(function(a,y){var ee=Ct(this.sel.ranges,a);Jo(this,fn(this,ee),y)}),setSelections:Ta(function(a,y,ee){if(a.length){for(var z=[],ce=0;ce<a.length;ce++)z[ce]=new qn($t(this,a[ce].anchor),$t(this,a[ce].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),bi(this,Kr(this.cm,z,y),ee)}}),addSelection:Ta(function(a,y,ee){var z=this.sel.ranges.slice(0);z.push(new qn($t(this,a),$t(this,y||a))),bi(this,Kr(this.cm,z,z.length-1),ee)}),getSelection:function(a){for(var y=this.sel.ranges,ee,z=0;z<y.length;z++){var ce=tr(this,y[z].from(),y[z].to());ee=ee?ee.concat(ce):ce}return a===!1?ee:ee.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],ee=this.sel.ranges,z=0;z<ee.length;z++){var ce=tr(this,ee[z].from(),ee[z].to());a!==!1&&(ce=ce.join(a||this.lineSeparator())),y[z]=ce}return y},replaceSelection:function(a,y,ee){for(var z=[],ce=0;ce<this.sel.ranges.length;ce++)z[ce]=a;this.replaceSelections(z,y,ee||"+input")},replaceSelections:Ta(function(a,y,ee){for(var z=[],ce=this.sel,Ze=0;Ze<ce.ranges.length;Ze++){var rt=ce.ranges[Ze];z[Ze]={from:rt.from(),to:rt.to(),text:this.splitLines(a[Ze]),origin:ee}}for(var ut=y&&y!="end"&&pi(this,z,y),yt=z.length-1;yt>=0;yt--)jo(this,z[yt]);ut?Oi(this,ut):this.cm&&fl(this.cm)}),undo:Ta(function(){wa(this,"undo")}),redo:Ta(function(){wa(this,"redo")}),undoSelection:Ta(function(){wa(this,"undo",!0)}),redoSelection:Ta(function(){wa(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,ee=0,z=0;z<a.done.length;z++)a.done[z].ranges||++y;for(var ce=0;ce<a.undone.length;ce++)a.undone[ce].ranges||++ee;return{undo:y,redo:ee}},clearHistory:function(){var a=this;this.history=new di(this.history.maxGeneration),Ni(this,function(y){return y.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:ca(this.history.done),undone:ca(this.history.undone)}},setHistory:function(a){var y=this.history=new di(this.history.maxGeneration);y.done=ca(a.done.slice(0),null,!0),y.undone=ca(a.undone.slice(0),null,!0)},setGutterMarker:Ta(function(a,y,ee){return aa(this,a,"gutter",function(z){var ce=z.gutterMarkers||(z.gutterMarkers={});return ce[y]=ee,!ee&&Ie(ce)&&(z.gutterMarkers=null),!0})}),clearGutter:Ta(function(a){var y=this;this.iter(function(ee){ee.gutterMarkers&&ee.gutterMarkers[a]&&aa(y,ee,"gutter",function(){return ee.gutterMarkers[a]=null,Ie(ee.gutterMarkers)&&(ee.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!Ot(this,a)||(y=a,a=Ln(this,a),!a))return null}else if(y=Zt(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:Ta(function(a,y,ee){return aa(this,a,y=="gutter"?"gutter":"class",function(z){var ce=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!z[ce])z[ce]=ee;else{if(Pe(ee).test(z[ce]))return!1;z[ce]+=" "+ee}return!0})}),removeLineClass:Ta(function(a,y,ee){return aa(this,a,y=="gutter"?"gutter":"class",function(z){var ce=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",Ze=z[ce];if(Ze)if(ee==null)z[ce]=null;else{var rt=Ze.match(Pe(ee));if(!rt)return!1;var ut=rt.index+rt[0].length;z[ce]=Ze.slice(0,rt.index)+(!rt.index||ut==Ze.length?"":" ")+Ze.slice(ut)||null}else return!1;return!0})}),addLineWidget:Ta(function(a,y,ee){return sa(this,a,y,ee)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,ee){return Cs(this,$t(this,a),$t(this,y),ee,ee&&ee.type||"range")},setBookmark:function(a,y){var ee={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=$t(this,a),Cs(this,a,a,ee,"bookmark")},findMarksAt:function(a){a=$t(this,a);var y=[],ee=Ln(this,a.line).markedSpans;if(ee)for(var z=0;z<ee.length;++z){var ce=ee[z];(ce.from==null||ce.from<=a.ch)&&(ce.to==null||ce.to>=a.ch)&&y.push(ce.marker.parent||ce.marker)}return y},findMarks:function(a,y,ee){a=$t(this,a),y=$t(this,y);var z=[],ce=a.line;return this.iter(a.line,y.line+1,function(Ze){var rt=Ze.markedSpans;if(rt)for(var ut=0;ut<rt.length;ut++){var yt=rt[ut];!(yt.to!=null&&ce==a.line&&a.ch>=yt.to||yt.from==null&&ce!=a.line||yt.from!=null&&ce==y.line&&yt.from>=y.ch)&&(!ee||ee(yt.marker))&&z.push(yt.marker.parent||yt.marker)}++ce}),z},getAllMarks:function(){var a=[];return this.iter(function(y){var ee=y.markedSpans;if(ee)for(var z=0;z<ee.length;++z)ee[z].from!=null&&a.push(ee[z].marker)}),a},posFromIndex:function(a){var y,ee=this.first,z=this.lineSeparator().length;return this.iter(function(ce){var Ze=ce.text.length+z;if(Ze>a)return y=a,!0;a-=Ze,++ee}),$t(this,kt(ee,y))},indexFromPos:function(a){a=$t(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var ee=this.lineSeparator().length;return this.iter(this.first,a.line,function(z){y+=z.text.length+ee}),y},copy:function(a){var y=new Xo(Ar(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return y.scrollTop=this.scrollTop,y.scrollLeft=this.scrollLeft,y.sel=this.sel,y.extend=!1,a&&(y.history.undoDepth=this.history.undoDepth,y.setHistory(this.getHistory())),y},linkedDoc:function(a){a||(a={});var y=this.first,ee=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<ee&&(ee=a.to);var z=new Xo(Ar(this,y,ee),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(z.history=this.history),(this.linked||(this.linked=[])).push({doc:z,sharedHist:a.sharedHist}),z.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],ms(z,ns(this)),z},unlinkDoc:function(a){if(a instanceof ha&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var ee=this.linked[y];if(ee.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),vs(ns(this));break}}if(a.history==this.history){var z=[a.id];Ni(a,function(ce){return z.push(ce.id)},!0),a.history=new di(null),a.history.done=ca(this.history.done,z),a.history.undone=ca(this.history.undone,z)}},iterLinkedDocs:function(a){Ni(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Yn(a)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Ta(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&Ei(this.cm))})}),Xo.prototype.eachLine=Xo.prototype.iter;var rs=0;function Xs(a){var y=this;if(bl(y),!(Lt(y,a)||mo(y.display,a))){zt(a),de&&(rs=+new Date);var ee=xs(y,a,!0),z=a.dataTransfer.files;if(!(!ee||y.isReadOnly()))if(z&&z.length&&window.FileReader&&window.File)for(var ce=z.length,Ze=Array(ce),rt=0,ut=function(){++rt==ce&&Fa(y,function(){ee=$t(y.doc,ee);var Vn={from:ee,to:ee,text:y.doc.splitLines(Ze.filter(function(Lr){return Lr!=null}).join(y.doc.lineSeparator())),origin:"paste"};jo(y.doc,Vn),Oi(y.doc,Or($t(y.doc,ee),$t(y.doc,Jr(Vn))))})()},yt=function(Vn,Lr){if(y.options.allowDropFileTypes&&Xe(y.options.allowDropFileTypes,Vn.type)==-1){ut();return}var Ur=new FileReader;Ur.onerror=function(){return ut()},Ur.onload=function(){var ii=Ur.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(ii)){ut();return}Ze[Lr]=ii,ut()},Ur.readAsText(Vn)},At=0;At<z.length;At++)yt(z[At],At);else{if(y.state.draggingText&&y.doc.sel.contains(ee)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var ln=a.dataTransfer.getData("Text");if(ln){var Sn;if(y.state.draggingText&&!y.state.draggingText.copy&&(Sn=y.listSelections()),go(y.doc,Or(ee,ee)),Sn)for(var rr=0;rr<Sn.length;++rr)To(y.doc,"",Sn[rr].anchor,Sn[rr].head,"drag");y.replaceSelection(ln,"around","paste"),y.display.input.focus()}}catch(Vn){}}}}function Os(a,y){if(de&&(!a.state.draggingText||+new Date-rs<100)){Et(y);return}if(!(Lt(a,y)||mo(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!te)){var ee=Ke("img",null,null,"position: fixed; left: 0; top: 0;");ee.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",E&&(ee.width=ee.height=1,a.display.wrapper.appendChild(ee),ee._top=ee.offsetTop),y.dataTransfer.setDragImage(ee,0,0),E&&ee.parentNode.removeChild(ee)}}function Bs(a,y){var ee=xs(a,y);if(ee){var z=document.createDocumentFragment();Nu(a,ee,z),a.display.dragCursor||(a.display.dragCursor=Ke("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),Te(a.display.dragCursor,z)}}function bl(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Fl(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),ee=[],z=0;z<y.length;z++){var ce=y[z].CodeMirror;ce&&ee.push(ce)}ee.length&&ee[0].operation(function(){for(var Ze=0;Ze<ee.length;Ze++)a(ee[Ze])})}}var Xl=!1;function Yl(){Xl||(vu(),Xl=!0)}function vu(){var a;Rt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,Fl(oo)},100))}),Rt(window,"blur",function(){return Fl(dl)})}function oo(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var Ao={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"},na=0;na<10;na++)Ao[na+48]=Ao[na+96]=String(na);for(var fa=65;fa<=90;fa++)Ao[fa]=String.fromCharCode(fa);for(var Ba=1;Ba<=12;Ba++)Ao[Ba+111]=Ao[Ba+63235]="F"+Ba;var pa={};pa.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"},pa.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"},pa.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"},pa.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"]},pa.default=Ee?pa.macDefault:pa.pcDefault;function ws(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var ee,z,ce,Ze,rt=0;rt<y.length-1;rt++){var ut=y[rt];if(/^(cmd|meta|m)$/i.test(ut))Ze=!0;else if(/^a(lt)?$/i.test(ut))ee=!0;else if(/^(c|ctrl|control)$/i.test(ut))z=!0;else if(/^s(hift)?$/i.test(ut))ce=!0;else throw new Error("Unrecognized modifier name: "+ut)}return ee&&(a="Alt-"+a),z&&(a="Ctrl-"+a),Ze&&(a="Cmd-"+a),ce&&(a="Shift-"+a),a}function za(a){var y={};for(var ee in a)if(a.hasOwnProperty(ee)){var z=a[ee];if(/^(name|fallthrough|(de|at)tach)$/.test(ee))continue;if(z=="..."){delete a[ee];continue}for(var ce=Ct(ee.split(" "),ws),Ze=0;Ze<ce.length;Ze++){var rt=void 0,ut=void 0;Ze==ce.length-1?(ut=ce.join(" "),rt=z):(ut=ce.slice(0,Ze+1).join(" "),rt="...");var yt=y[ut];if(!yt)y[ut]=rt;else if(yt!=rt)throw new Error("Inconsistent bindings for "+ut)}delete a[ee]}for(var At in y)a[At]=y[At];return a}function Ms(a,y,ee,z){y=jl(y);var ce=y.call?y.call(a,z):y[a];if(ce===!1)return"nothing";if(ce==="...")return"multi";if(ce!=null&&ee(ce))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return Ms(a,y.fallthrough,ee,z);for(var Ze=0;Ze<y.fallthrough.length;Ze++){var rt=Ms(a,y.fallthrough[Ze],ee,z);if(rt)return rt}}}function $l(a){var y=typeof a=="string"?a:Ao[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function xl(a,y,ee){var z=a;return y.altKey&&z!="Alt"&&(a="Alt-"+a),(Me?y.metaKey:y.ctrlKey)&&z!="Ctrl"&&(a="Ctrl-"+a),(Me?y.ctrlKey:y.metaKey)&&z!="Mod"&&(a="Cmd-"+a),!ee&&y.shiftKey&&z!="Shift"&&(a="Shift-"+a),a}function il(a,y){if(E&&a.keyCode==34&&a.char)return!1;var ee=Ao[a.keyCode];return ee==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(ee=a.code),xl(ee,a,y))}function jl(a){return typeof a=="string"?pa[a]:a}function ol(a,y){for(var ee=a.doc.sel.ranges,z=[],ce=0;ce<ee.length;ce++){for(var Ze=y(ee[ce]);z.length&&Pt(Ze.from,bt(z).to)<=0;){var rt=z.pop();if(Pt(rt.from,Ze.from)<0){Ze.from=rt.from;break}}z.push(Ze)}es(a,function(){for(var ut=z.length-1;ut>=0;ut--)To(a.doc,"",z[ut].from,z[ut].to,"+delete");fl(a)})}function gu(a,y,ee){var z=me(a.text,y+ee,ee);return z<0||z>a.text.length?null:z}function Rs(a,y,ee){var z=gu(a,y.ch,ee);return z==null?null:new kt(y.line,z,ee<0?"after":"before")}function yu(a,y,ee,z,ce){if(a){y.doc.direction=="rtl"&&(ce=-ce);var Ze=ot(ee,y.doc.direction);if(Ze){var rt=ce<0?bt(Ze):Ze[0],ut=ce<0==(rt.level==1),yt=ut?"after":"before",At;if(rt.level>0||y.doc.direction=="rtl"){var ln=zs(y,ee);At=ce<0?ee.text.length-1:0;var Sn=ps(y,ln,At).top;At=Le(function(rr){return ps(y,ln,rr).top==Sn},ce<0==(rt.level==1)?rt.from:rt.to-1,At),yt=="before"&&(At=gu(ee,At,1))}else At=ce<0?rt.to:rt.from;return new kt(z,At,yt)}}return new kt(z,ce<0?ee.text.length:0,ce<0?"before":"after")}function Wu(a,y,ee,z){var ce=ot(y,a.doc.direction);if(!ce)return Rs(y,ee,z);ee.ch>=y.text.length?(ee.ch=y.text.length,ee.sticky="before"):ee.ch<=0&&(ee.ch=0,ee.sticky="after");var Ze=Qe(ce,ee.ch,ee.sticky),rt=ce[Ze];if(a.doc.direction=="ltr"&&rt.level%2==0&&(z>0?rt.to>ee.ch:rt.from<ee.ch))return Rs(y,ee,z);var ut=function(vi,Pi){return gu(y,vi instanceof kt?vi.ch:vi,Pi)},yt,At=function(vi){return a.options.lineWrapping?(yt=yt||zs(a,y),ua(a,y,yt,vi)):{begin:0,end:y.text.length}},ln=At(ee.sticky=="before"?ut(ee,-1):ee.ch);if(a.doc.direction=="rtl"||rt.level==1){var Sn=rt.level==1==z<0,rr=ut(ee,Sn?1:-1);if(rr!=null&&(Sn?rr<=rt.to&&rr<=ln.end:rr>=rt.from&&rr>=ln.begin)){var Vn=Sn?"before":"after";return new kt(ee.line,rr,Vn)}}var Lr=function(vi,Pi,hi){for(var Mi=function(ra,Ka){return Ka?new kt(ee.line,ut(ra,1),"before"):new kt(ee.line,ra,"after")};vi>=0&&vi<ce.length;vi+=Pi){var to=ce[vi],Yi=Pi>0==(to.level!=1),Io=Yi?hi.begin:ut(hi.end,-1);if(to.from<=Io&&Io<to.to||(Io=Yi?to.from:ut(to.to,-1),hi.begin<=Io&&Io<hi.end))return Mi(Io,Yi)}},Ur=Lr(Ze+z,z,ln);if(Ur)return Ur;var ii=z>0?ln.end:ut(ln.begin,-1);return ii!=null&&!(z>0&&ii==y.text.length)&&(Ur=Lr(z>0?0:ce.length-1,z,At(ii)),Ur)?Ur:null}var Ys={selectAll:_i,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Ve)},killLine:function(a){return ol(a,function(y){if(y.empty()){var ee=Ln(a.doc,y.head.line).text.length;return y.head.ch==ee&&y.head.line<a.lastLine()?{from:y.head,to:kt(y.head.line+1,0)}:{from:y.head,to:kt(y.head.line,ee)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return ol(a,function(y){return{from:kt(y.from().line,0),to:$t(a.doc,kt(y.to().line+1,0))}})},delLineLeft:function(a){return ol(a,function(y){return{from:kt(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return ol(a,function(y){var ee=a.charCoords(y.head,"div").top+5,z=a.coordsChar({left:0,top:ee},"div");return{from:z,to:y.from()}})},delWrappedLineRight:function(a){return ol(a,function(y){var ee=a.charCoords(y.head,"div").top+5,z=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:ee},"div");return{from:y.from(),to:z}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(kt(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(kt(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return bu(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return Cu(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return xu(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var ee=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:ee},"div")},st)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var ee=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:ee},"div")},st)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var ee=a.cursorCoords(y.head,"div").top+5,z=a.coordsChar({left:0,top:ee},"div");return z.ch<a.getLine(z.line).search(/\S/)?Cu(a,y.head):z},st)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],ee=a.listSelections(),z=a.options.tabSize,ce=0;ce<ee.length;ce++){var Ze=ee[ce].from(),rt=nt(a.getLine(Ze.line),Ze.ch,z);y.push(Tt(z-rt%z))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return es(a,function(){for(var y=a.listSelections(),ee=[],z=0;z<y.length;z++)if(y[z].empty()){var ce=y[z].head,Ze=Ln(a.doc,ce.line).text;if(Ze){if(ce.ch==Ze.length&&(ce=new kt(ce.line,ce.ch-1)),ce.ch>0)ce=new kt(ce.line,ce.ch+1),a.replaceRange(Ze.charAt(ce.ch-1)+Ze.charAt(ce.ch-2),kt(ce.line,ce.ch-2),ce,"+transpose");else if(ce.line>a.doc.first){var rt=Ln(a.doc,ce.line-1).text;rt&&(ce=new kt(ce.line,1),a.replaceRange(Ze.charAt(0)+a.doc.lineSeparator()+rt.charAt(rt.length-1),kt(ce.line-1,rt.length-1),ce,"+transpose"))}}ee.push(new qn(ce,ce))}a.setSelections(ee)})},newlineAndIndent:function(a){return es(a,function(){for(var y=a.listSelections(),ee=y.length-1;ee>=0;ee--)a.replaceRange(a.doc.lineSeparator(),y[ee].anchor,y[ee].head,"+input");y=a.listSelections();for(var z=0;z<y.length;z++)a.indentLine(y[z].from().line,null,!0);fl(a)})},openLine:function(a){return a.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function bu(a,y){var ee=Ln(a.doc,y),z=Qn(ee);return z!=ee&&(y=Zt(z)),yu(!0,a,z,y,1)}function xu(a,y){var ee=Ln(a.doc,y),z=Pr(ee);return z!=ee&&(y=Zt(z)),yu(!0,a,ee,y,-1)}function Cu(a,y){var ee=bu(a,y.line),z=Ln(a.doc,ee.line),ce=ot(z,a.doc.direction);if(!ce||ce[0].level==0){var Ze=Math.max(ee.ch,z.text.search(/\S/)),rt=y.line==ee.line&&y.ch<=Ze&&y.ch;return kt(ee.line,rt?0:Ze,ee.sticky)}return ee}function zl(a,y,ee){if(typeof y=="string"&&(y=Ys[y],!y))return!1;a.display.input.ensurePolled();var z=a.display.shift,ce=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),ee&&(a.display.shift=!1),ce=y(a)!=qe}finally{a.display.shift=z,a.state.suppressEdits=!1}return ce}function oc(a,y,ee){for(var z=0;z<a.state.keyMaps.length;z++){var ce=Ms(y,a.state.keyMaps[z],ee,a);if(ce)return ce}return a.options.extraKeys&&Ms(y,a.options.extraKeys,ee,a)||Ms(y,a.options.keyMap,ee,a)}var ac=new Ue;function Wl(a,y,ee,z){var ce=a.state.keySeq;if(ce){if($l(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:ac.set(50,function(){a.state.keySeq==ce&&(a.state.keySeq=null,a.display.input.reset())}),wu(a,ce+" "+y,ee,z))return!0}return wu(a,y,ee,z)}function wu(a,y,ee,z){var ce=oc(a,y,z);return ce=="multi"&&(a.state.keySeq=y),ce=="handled"&&ao(a,"keyHandled",a,y,ee),(ce=="handled"||ce=="multi")&&(zt(ee),du(a)),!!ce}function Hl(a,y){var ee=il(y,!0);return ee?y.shiftKey&&!a.state.keySeq?Wl(a,"Shift-"+ee,y,function(z){return zl(a,z,!0)})||Wl(a,ee,y,function(z){if(typeof z=="string"?/^go[A-Z]/.test(z):z.motion)return zl(a,z)}):Wl(a,ee,y,function(z){return zl(a,z)}):!1}function Jl(a,y,ee){return Wl(a,"'"+ee+"'",y,function(z){return zl(a,z,!0)})}var Zl=null;function Su(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=Je(),!Lt(y,a))){de&&ve<11&&a.keyCode==27&&(a.returnValue=!1);var ee=a.keyCode;y.display.shift=ee==16||a.shiftKey;var z=Hl(y,a);E&&(Zl=z?ee:null,!z&&ee==88&&!Wn&&(Ee?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),b&&!Ee&&!z&&ee==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),ee==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&Hu(y)}}function Hu(a){var y=a.display.lineDiv;He(y,"CodeMirror-crosshair");function ee(z){(z.keyCode==18||!z.altKey)&&(Fe(y,"CodeMirror-crosshair"),rn(document,"keyup",ee),rn(document,"mouseover",ee))}Rt(document,"keyup",ee),Rt(document,"mouseover",ee)}function Eu(a){a.keyCode==16&&(this.doc.sel.shift=!1),Lt(this,a)}function Ql(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(mo(y.display,a)||Lt(y,a)||a.ctrlKey&&!a.altKey||Ee&&a.metaKey)){var ee=a.keyCode,z=a.charCode;if(E&&ee==Zl){Zl=null,zt(a);return}if(!(E&&(!a.which||a.which<10)&&Hl(y,a))){var ce=String.fromCharCode(z==null?ee:z);ce!="\b"&&(Jl(y,a,ce)||y.display.input.onKeyPress(a))}}}var sc=400,ql=function(a,y,ee){this.time=a,this.pos=y,this.button=ee};ql.prototype.compare=function(a,y,ee){return this.time+sc>a&&Pt(y,this.pos)==0&&ee==this.button};var al,Cl;function Au(a,y){var ee=+new Date;return Cl&&Cl.compare(ee,a,y)?(al=Cl=null,"triple"):al&&al.compare(ee,a,y)?(Cl=new ql(ee,a,y),al=null,"double"):(al=new ql(ee,a,y),Cl=null,"single")}function Iu(a){var y=this,ee=y.display;if(!(Lt(y,a)||ee.activeTouch&&ee.input.supportsTouch())){if(ee.input.ensurePolled(),ee.shift=a.shiftKey,mo(ee,a)){re||(ee.scroller.draggable=!1,setTimeout(function(){return ee.scroller.draggable=!0},100));return}if(!Ns(y,a)){var z=xs(y,a),ce=Jt(a),Ze=z?Au(z,ce):"single";window.focus(),ce==1&&y.state.selectingText&&y.state.selectingText(a),!(z&&eu(y,ce,z,Ze,a))&&(ce==1?z?No(y,z,Ze,a):Ht(a)==ee.scroller&&zt(a):ce==2?(z&&xo(y.doc,z),setTimeout(function(){return ee.input.focus()},20)):ce==3&&(be?y.display.input.onContextMenu(a):ku(y)))}}}function eu(a,y,ee,z,ce){var Ze="Click";return z=="double"?Ze="Double"+Ze:z=="triple"&&(Ze="Triple"+Ze),Ze=(y==1?"Left":y==2?"Middle":"Right")+Ze,Wl(a,xl(Ze,ce),ce,function(rt){if(typeof rt=="string"&&(rt=Ys[rt]),!rt)return!1;var ut=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),ut=rt(a,ee)!=qe}finally{a.state.suppressEdits=!1}return ut})}function Po(a,y,ee){var z=a.getOption("configureMouse"),ce=z?z(a,y,ee):{};if(ce.unit==null){var Ze=Oe?ee.shiftKey&&ee.metaKey:ee.altKey;ce.unit=Ze?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(ce.extend==null||a.doc.extend)&&(ce.extend=a.doc.extend||ee.shiftKey),ce.addNew==null&&(ce.addNew=Ee?ee.metaKey:ee.ctrlKey),ce.moveOnDrag==null&&(ce.moveOnDrag=!(Ee?ee.altKey:ee.ctrlKey)),ce}function No(a,y,ee,z){de?setTimeout(tt(Yu,a),0):a.curOp.focus=Je();var ce=Po(a,ee,z),Ze=a.doc.sel,rt;a.options.dragDrop&&gn&&!a.isReadOnly()&&ee=="single"&&(rt=Ze.contains(y))>-1&&(Pt((rt=Ze.ranges[rt]).from(),y)<0||y.xRel>0)&&(Pt(rt.to(),y)>0||y.xRel<0)?_a(a,z,y,ce):Va(a,z,y,ce)}function _a(a,y,ee,z){var ce=a.display,Ze=!1,rt=Fa(a,function(At){re&&(ce.scroller.draggable=!1),a.state.draggingText=!1,rn(ce.wrapper.ownerDocument,"mouseup",rt),rn(ce.wrapper.ownerDocument,"mousemove",ut),rn(ce.scroller,"dragstart",yt),rn(ce.scroller,"drop",rt),Ze||(zt(At),z.addNew||xo(a.doc,ee,null,null,z.extend),re&&!te||de&&ve==9?setTimeout(function(){ce.wrapper.ownerDocument.body.focus({preventScroll:!0}),ce.input.focus()},20):ce.input.focus())}),ut=function(At){Ze=Ze||Math.abs(y.clientX-At.clientX)+Math.abs(y.clientY-At.clientY)>=10},yt=function(){return Ze=!0};re&&(ce.scroller.draggable=!0),a.state.draggingText=rt,rt.copy=!z.moveOnDrag,ce.scroller.dragDrop&&ce.scroller.dragDrop(),Rt(ce.wrapper.ownerDocument,"mouseup",rt),Rt(ce.wrapper.ownerDocument,"mousemove",ut),Rt(ce.scroller,"dragstart",yt),Rt(ce.scroller,"drop",rt),ku(a),setTimeout(function(){return ce.input.focus()},20)}function ss(a,y,ee){if(ee=="char")return new qn(y,y);if(ee=="word")return a.findWordAt(y);if(ee=="line")return new qn(kt(y.line,0),$t(a.doc,kt(y.line+1,0)));var z=ee(a,y);return new qn(z.from,z.to)}function Va(a,y,ee,z){var ce=a.display,Ze=a.doc;zt(y);var rt,ut,yt=Ze.sel,At=yt.ranges;if(z.addNew&&!z.extend?(ut=Ze.sel.contains(ee),ut>-1?rt=At[ut]:rt=new qn(ee,ee)):(rt=Ze.sel.primary(),ut=Ze.sel.primIndex),z.unit=="rectangle")z.addNew||(rt=new qn(ee,ee)),ee=xs(a,y,!0,!0),ut=-1;else{var ln=ss(a,ee,z.unit);z.extend?rt=vo(rt,ln.anchor,ln.head,z.extend):rt=ln}z.addNew?ut==-1?(ut=At.length,bi(Ze,Kr(a,At.concat([rt]),ut),{scroll:!1,origin:"*mouse"})):At.length>1&&At[ut].empty()&&z.unit=="char"&&!z.extend?(bi(Ze,Kr(a,At.slice(0,ut).concat(At.slice(ut+1)),0),{scroll:!1,origin:"*mouse"}),yt=Ze.sel):ta(Ze,ut,rt,ht):(ut=0,bi(Ze,new nr([rt],0),ht),yt=Ze.sel);var Sn=ee;function rr(hi){if(Pt(Sn,hi)!=0)if(Sn=hi,z.unit=="rectangle"){for(var Mi=[],to=a.options.tabSize,Yi=nt(Ln(Ze,ee.line).text,ee.ch,to),Io=nt(Ln(Ze,hi.line).text,hi.ch,to),ra=Math.min(Yi,Io),Ka=Math.max(Yi,Io),ga=Math.min(ee.line,hi.line),gs=Math.min(a.lastLine(),Math.max(ee.line,hi.line));ga<=gs;ga++){var ls=Ln(Ze,ga).text,Ea=Nt(ls,ra,to);ra==Ka?Mi.push(new qn(kt(ga,Ea),kt(ga,Ea))):ls.length>Ea&&Mi.push(new qn(kt(ga,Ea),kt(ga,Nt(ls,Ka,to))))}Mi.length||Mi.push(new qn(ee,ee)),bi(Ze,Kr(a,yt.ranges.slice(0,ut).concat(Mi),ut),{origin:"*mouse",scroll:!1}),a.scrollIntoView(hi)}else{var us=rt,Qa=ss(a,hi,z.unit),Aa=us.anchor,Ia;Pt(Qa.anchor,Aa)>0?(Ia=Qa.head,Aa=cn(us.from(),Qa.anchor)):(Ia=Qa.anchor,Aa=on(us.to(),Qa.head));var ba=yt.ranges.slice(0);ba[ut]=Ls(a,new qn($t(Ze,Aa),Ia)),bi(Ze,Kr(a,ba,ut),ht)}}var Vn=ce.wrapper.getBoundingClientRect(),Lr=0;function Ur(hi){var Mi=++Lr,to=xs(a,hi,!0,z.unit=="rectangle");if(to)if(Pt(to,Sn)!=0){a.curOp.focus=Je(),rr(to);var Yi=Vs(ce,Ze);(to.line>=Yi.to||to.line<Yi.from)&&setTimeout(Fa(a,function(){Lr==Mi&&Ur(hi)}),150)}else{var Io=hi.clientY<Vn.top?-20:hi.clientY>Vn.bottom?20:0;Io&&setTimeout(Fa(a,function(){Lr==Mi&&(ce.scroller.scrollTop+=Io,Ur(hi))}),50)}}function ii(hi){a.state.selectingText=!1,Lr=1/0,hi&&(zt(hi),ce.input.focus()),rn(ce.wrapper.ownerDocument,"mousemove",vi),rn(ce.wrapper.ownerDocument,"mouseup",Pi),Ze.history.lastSelOrigin=null}var vi=Fa(a,function(hi){hi.buttons===0||!Jt(hi)?ii(hi):Ur(hi)}),Pi=Fa(a,ii);a.state.selectingText=Pi,Rt(ce.wrapper.ownerDocument,"mousemove",vi),Rt(ce.wrapper.ownerDocument,"mouseup",Pi)}function Ls(a,y){var ee=y.anchor,z=y.head,ce=Ln(a.doc,ee.line);if(Pt(ee,z)==0&&ee.sticky==z.sticky)return y;var Ze=ot(ce);if(!Ze)return y;var rt=Qe(Ze,ee.ch,ee.sticky),ut=Ze[rt];if(ut.from!=ee.ch&&ut.to!=ee.ch)return y;var yt=rt+(ut.from==ee.ch==(ut.level!=1)?0:1);if(yt==0||yt==Ze.length)return y;var At;if(z.line!=ee.line)At=(z.line-ee.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var ln=Qe(Ze,z.ch,z.sticky),Sn=ln-rt||(z.ch-ee.ch)*(ut.level==1?-1:1);ln==yt-1||ln==yt?At=Sn<0:At=Sn>0}var rr=Ze[yt+(At?-1:0)],Vn=At==(rr.level==1),Lr=Vn?rr.from:rr.to,Ur=Vn?"after":"before";return ee.ch==Lr&&ee.sticky==Ur?y:new qn(new kt(ee.line,Lr,Ur),z)}function $s(a,y,ee,z){var ce,Ze;if(y.touches)ce=y.touches[0].clientX,Ze=y.touches[0].clientY;else try{ce=y.clientX,Ze=y.clientY}catch(rr){return!1}if(ce>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;z&&zt(y);var rt=a.display,ut=rt.lineDiv.getBoundingClientRect();if(Ze>ut.bottom||!Wt(a,ee))return mn(y);Ze-=ut.top-rt.viewOffset;for(var yt=0;yt<a.display.gutterSpecs.length;++yt){var At=rt.gutters.childNodes[yt];if(At&&At.getBoundingClientRect().right>=ce){var ln=St(a.doc,Ze),Sn=a.display.gutterSpecs[yt];return nn(a,ee,a,ln,Sn.className,y),mn(y)}}}function Ns(a,y){return $s(a,y,"gutterClick",!0)}function wl(a,y){mo(a.display,y)||Du(a,y)||Lt(a,y,"contextmenu")||be||a.display.input.onContextMenu(y)}function Du(a,y){return Wt(a,"gutterContextMenu")?$s(a,y,"gutterContextMenu",!1):!1}function Mc(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ws(a)}var tu={toString:function(){return"CodeMirror.Init"}},Zu={},Uu={};function Rc(a){var y=a.optionHandlers;function ee(z,ce,Ze,rt){a.defaults[z]=ce,Ze&&(y[z]=rt?function(ut,yt,At){At!=tu&&Ze(ut,yt,At)}:Ze)}a.defineOption=ee,a.Init=tu,ee("value","",function(z,ce){return z.setValue(ce)},!0),ee("mode",null,function(z,ce){z.doc.modeOption=ce,xi(z)},!0),ee("indentUnit",2,xi,!0),ee("indentWithTabs",!1),ee("smartIndent",!0),ee("tabSize",4,function(z){yi(z),Ws(z),Za(z)},!0),ee("lineSeparator",null,function(z,ce){if(z.doc.lineSep=ce,!!ce){var Ze=[],rt=z.doc.first;z.doc.iter(function(yt){for(var At=0;;){var ln=yt.text.indexOf(ce,At);if(ln==-1)break;At=ln+ce.length,Ze.push(kt(rt,ln))}rt++});for(var ut=Ze.length-1;ut>=0;ut--)To(z.doc,ce,Ze[ut],kt(Ze[ut].line,Ze[ut].ch+ce.length))}}),ee("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(z,ce,Ze){z.state.specialChars=new RegExp(ce.source+(ce.test(" ")?"":"| "),"g"),Ze!=tu&&z.refresh()}),ee("specialCharPlaceholder",so,function(z){return z.refresh()},!0),ee("electricChars",!0),ee("inputStyle",ue?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ee("spellcheck",!1,function(z,ce){return z.getInputField().spellcheck=ce},!0),ee("autocorrect",!1,function(z,ce){return z.getInputField().autocorrect=ce},!0),ee("autocapitalize",!1,function(z,ce){return z.getInputField().autocapitalize=ce},!0),ee("rtlMoveVisually",!Ae),ee("wholeLineUpdateBefore",!0),ee("theme","default",function(z){Mc(z),kn(z)},!0),ee("keyMap","default",function(z,ce,Ze){var rt=jl(ce),ut=Ze!=tu&&jl(Ze);ut&&ut.detach&&ut.detach(z,rt),rt.attach&&rt.attach(z,ut||null)}),ee("extraKeys",null),ee("configureMouse",null),ee("lineWrapping",!1,xc,!0),ee("gutters",[],function(z,ce){z.display.gutterSpecs=sn(ce,z.options.lineNumbers),kn(z)},!0),ee("fixedGutter",!0,function(z,ce){z.display.gutters.style.left=ce?lu(z.display)+"px":"0",z.refresh()},!0),ee("coverGutterNextToScrollbar",!1,function(z){return vl(z)},!0),ee("scrollbarStyle","native",function(z){zu(z),vl(z),z.display.scrollbars.setScrollTop(z.doc.scrollTop),z.display.scrollbars.setScrollLeft(z.doc.scrollLeft)},!0),ee("lineNumbers",!1,function(z,ce){z.display.gutterSpecs=sn(z.options.gutters,ce),kn(z)},!0),ee("firstLineNumber",1,kn,!0),ee("lineNumberFormatter",function(z){return z},kn,!0),ee("showCursorWhenSelecting",!1,el,!0),ee("resetSelectionOnContextMenu",!0),ee("lineWiseCopyCut",!0),ee("pasteLinesPerSelection",!0),ee("selectionsMayTouch",!1),ee("readOnly",!1,function(z,ce){ce=="nocursor"&&(dl(z),z.display.input.blur()),z.display.input.readOnlyChanged(ce)}),ee("screenReaderLabel",null,function(z,ce){ce=ce===""?null:ce,z.display.input.screenReaderLabelChanged(ce)}),ee("disableInput",!1,function(z,ce){ce||z.display.input.reset()},!0),ee("dragDrop",!0,Fc),ee("allowDropFileTypes",null),ee("cursorBlinkRate",530),ee("cursorScrollMargin",0),ee("cursorHeight",1,el,!0),ee("singleCursorHeightPerLine",!0,el,!0),ee("workTime",100),ee("workDelay",100),ee("flattenSpans",!0,yi,!0),ee("addModeClass",!1,yi,!0),ee("pollInterval",100),ee("undoDepth",200,function(z,ce){return z.doc.history.undoDepth=ce}),ee("historyEventDelay",1250),ee("viewportMargin",10,function(z){return z.refresh()},!0),ee("maxHighlightLength",1e4,yi,!0),ee("moveInputWithCursor",!0,function(z,ce){ce||z.display.input.resetPosition()}),ee("tabindex",null,function(z,ce){return z.display.input.getField().tabIndex=ce||""}),ee("autofocus",null),ee("direction","ltr",function(z,ce){return z.doc.setDirection(ce)},!0),ee("phrases",null)}function Fc(a,y,ee){var z=ee&&ee!=tu;if(!y!=!z){var ce=a.display.dragFunctions,Ze=y?Rt:rn;Ze(a.display.scroller,"dragstart",ce.start),Ze(a.display.scroller,"dragenter",ce.enter),Ze(a.display.scroller,"dragover",ce.over),Ze(a.display.scroller,"dragleave",ce.leave),Ze(a.display.scroller,"drop",ce.drop)}}function xc(a){a.options.lineWrapping?(He(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Fe(a.display.wrapper,"CodeMirror-wrap"),Yr(a)),Zs(a),Za(a),Ws(a),setTimeout(function(){return vl(a)},100)}function ha(a,y){var ee=this;if(!(this instanceof ha))return new ha(a,y);this.options=y=y?Bt(y):{},Bt(Zu,y,!1);var z=y.value;typeof z=="string"?z=new Xo(z,y.mode,null,y.lineSeparator,y.direction):y.mode&&(z.modeOption=y.mode),this.doc=z;var ce=new ha.inputStyles[y.inputStyle](this),Ze=this.display=new Dn(a,z,ce,y);Ze.wrapper.CodeMirror=this,Mc(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),zu(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 Ue,keySeq:null,specialChars:null},y.autofocus&&!ue&&Ze.input.focus(),de&&ve<11&&setTimeout(function(){return ee.display.input.reset(!0)},20),Cc(this),Yl(),nl(this),this.curOp.forceUpdate=!0,Ki(this,z),y.autofocus&&!ue||this.hasFocus()?setTimeout(function(){ee.hasFocus()&&!ee.state.focused&&Mu(ee)},20):dl(this);for(var rt in Uu)Uu.hasOwnProperty(rt)&&Uu[rt](this,y[rt],tu);_t(this),y.finishInit&&y.finishInit(this);for(var ut=0;ut<lc.length;++ut)lc[ut](this);gl(this),re&&y.lineWrapping&&getComputedStyle(Ze.lineDiv).textRendering=="optimizelegibility"&&(Ze.lineDiv.style.textRendering="auto")}ha.defaults=Zu,ha.optionHandlers=Uu;function Cc(a){var y=a.display;Rt(y.scroller,"mousedown",Fa(a,Iu)),de&&ve<11?Rt(y.scroller,"dblclick",Fa(a,function(yt){if(!Lt(a,yt)){var At=xs(a,yt);if(!(!At||Ns(a,yt)||mo(a.display,yt))){zt(yt);var ln=a.findWordAt(At);xo(a.doc,ln.anchor,ln.head)}}})):Rt(y.scroller,"dblclick",function(yt){return Lt(a,yt)||zt(yt)}),Rt(y.scroller,"contextmenu",function(yt){return wl(a,yt)}),Rt(y.input.getField(),"contextmenu",function(yt){y.scroller.contains(yt.target)||wl(a,yt)});var ee,z={end:0};function ce(){y.activeTouch&&(ee=setTimeout(function(){return y.activeTouch=null},1e3),z=y.activeTouch,z.end=+new Date)}function Ze(yt){if(yt.touches.length!=1)return!1;var At=yt.touches[0];return At.radiusX<=1&&At.radiusY<=1}function rt(yt,At){if(At.left==null)return!0;var ln=At.left-yt.left,Sn=At.top-yt.top;return ln*ln+Sn*Sn>20*20}Rt(y.scroller,"touchstart",function(yt){if(!Lt(a,yt)&&!Ze(yt)&&!Ns(a,yt)){y.input.ensurePolled(),clearTimeout(ee);var At=+new Date;y.activeTouch={start:At,moved:!1,prev:At-z.end<=300?z:null},yt.touches.length==1&&(y.activeTouch.left=yt.touches[0].pageX,y.activeTouch.top=yt.touches[0].pageY)}}),Rt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),Rt(y.scroller,"touchend",function(yt){var At=y.activeTouch;if(At&&!mo(y,yt)&&At.left!=null&&!At.moved&&new Date-At.start<300){var ln=a.coordsChar(y.activeTouch,"page"),Sn;!At.prev||rt(At,At.prev)?Sn=new qn(ln,ln):!At.prev.prev||rt(At,At.prev.prev)?Sn=a.findWordAt(ln):Sn=new qn(kt(ln.line,0),$t(a.doc,kt(ln.line+1,0))),a.setSelection(Sn.anchor,Sn.head),a.focus(),zt(yt)}ce()}),Rt(y.scroller,"touchcancel",ce),Rt(y.scroller,"scroll",function(){y.scroller.clientHeight&&(hl(a,y.scroller.scrollTop),Ps(a,y.scroller.scrollLeft,!0),nn(a,"scroll",a))}),Rt(y.scroller,"mousewheel",function(yt){return ar(a,yt)}),Rt(y.scroller,"DOMMouseScroll",function(yt){return ar(a,yt)}),Rt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(yt){Lt(a,yt)||Et(yt)},over:function(yt){Lt(a,yt)||(Bs(a,yt),Et(yt))},start:function(yt){return Os(a,yt)},drop:Fa(a,Xs),leave:function(yt){Lt(a,yt)||bl(a)}};var ut=y.input.getField();Rt(ut,"keyup",function(yt){return Eu.call(a,yt)}),Rt(ut,"keydown",Fa(a,Su)),Rt(ut,"keypress",Fa(a,Ql)),Rt(ut,"focus",function(yt){return Mu(a,yt)}),Rt(ut,"blur",function(yt){return dl(a,yt)})}var lc=[];ha.defineInitHook=function(a){return lc.push(a)};function nu(a,y,ee,z){var ce=a.doc,Ze;ee==null&&(ee="add"),ee=="smart"&&(ce.mode.indent?Ze=Vt(a,y).state:ee="prev");var rt=a.options.tabSize,ut=Ln(ce,y),yt=nt(ut.text,null,rt);ut.stateAfter&&(ut.stateAfter=null);var At=ut.text.match(/^\s*/)[0],ln;if(!z&&!/\S/.test(ut.text))ln=0,ee="not";else if(ee=="smart"&&(ln=ce.mode.indent(Ze,ut.text.slice(At.length),ut.text),ln==qe||ln>150)){if(!z)return;ee="prev"}ee=="prev"?y>ce.first?ln=nt(Ln(ce,y-1).text,null,rt):ln=0:ee=="add"?ln=yt+a.options.indentUnit:ee=="subtract"?ln=yt-a.options.indentUnit:typeof ee=="number"&&(ln=yt+ee),ln=Math.max(0,ln);var Sn="",rr=0;if(a.options.indentWithTabs)for(var Vn=Math.floor(ln/rt);Vn;--Vn)rr+=rt,Sn+=" ";if(rr<ln&&(Sn+=Tt(ln-rr)),Sn!=At)return To(ce,Sn,kt(y,0),kt(y,At.length),"+input"),ut.stateAfter=null,!0;for(var Lr=0;Lr<ce.sel.ranges.length;Lr++){var Ur=ce.sel.ranges[Lr];if(Ur.head.line==y&&Ur.head.ch<At.length){var ii=kt(y,At.length);ta(ce,Lr,new qn(ii,ii));break}}}var Js=null;function ru(a){Js=a}function uc(a,y,ee,z,ce){var Ze=a.doc;a.display.shift=!1,z||(z=Ze.sel);var rt=+new Date-200,ut=ce=="paste"||a.state.pasteIncoming>rt,yt=Yn(y),At=null;if(ut&&z.ranges.length>1)if(Js&&Js.text.join(`
|
|
|
`)==y){if(z.ranges.length%Js.text.length==0){At=[];for(var ln=0;ln<Js.text.length;ln++)At.push(Ze.splitLines(Js.text[ln]))}}else yt.length==z.ranges.length&&a.options.pasteLinesPerSelection&&(At=Ct(yt,function(vi){return[vi]}));for(var Sn=a.curOp.updateInput,rr=z.ranges.length-1;rr>=0;rr--){var Vn=z.ranges[rr],Lr=Vn.from(),Ur=Vn.to();Vn.empty()&&(ee&&ee>0?Lr=kt(Lr.line,Lr.ch-ee):a.state.overwrite&&!ut?Ur=kt(Ur.line,Math.min(Ln(Ze,Ur.line).text.length,Ur.ch+bt(yt).length)):ut&&Js&&Js.lineWise&&Js.text.join(`
|
|
|
`)==yt.join(`
|
|
|
`)&&(Lr=Ur=kt(Lr.line,0)));var ii={from:Lr,to:Ur,text:At?At[rr%At.length]:yt,origin:ce||(ut?"paste":a.state.cutIncoming>rt?"cut":"+input")};jo(a.doc,ii),ao(a,"inputRead",a,ii)}y&&!ut&&Sc(a,y),fl(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Sn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function wc(a,y){var ee=a.clipboardData&&a.clipboardData.getData("Text");if(ee)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&es(y,function(){return uc(y,ee,0,null,"paste")}),!0}function Sc(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var ee=a.doc.sel,z=ee.ranges.length-1;z>=0;z--){var ce=ee.ranges[z];if(!(ce.head.ch>100||z&&ee.ranges[z-1].head.line==ce.head.line)){var Ze=a.getModeAt(ce.head),rt=!1;if(Ze.electricChars){for(var ut=0;ut<Ze.electricChars.length;ut++)if(y.indexOf(Ze.electricChars.charAt(ut))>-1){rt=nu(a,ce.head.line,"smart");break}}else Ze.electricInput&&Ze.electricInput.test(Ln(a.doc,ce.head.line).text.slice(0,ce.head.ch))&&(rt=nu(a,ce.head.line,"smart"));rt&&ao(a,"electricInput",a,ce.head.line)}}}function Ec(a){for(var y=[],ee=[],z=0;z<a.doc.sel.ranges.length;z++){var ce=a.doc.sel.ranges[z].head.line,Ze={anchor:kt(ce,0),head:kt(ce+1,0)};ee.push(Ze),y.push(a.getRange(Ze.anchor,Ze.head))}return{text:y,ranges:ee}}function Ac(a,y,ee,z){a.setAttribute("autocorrect",ee?"":"off"),a.setAttribute("autocapitalize",z?"":"off"),a.setAttribute("spellcheck",!!y)}function Ic(){var a=Ke("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=Ke("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return re?a.style.width="1000px":a.setAttribute("wrap","off"),we&&(a.style.border="1px solid black"),Ac(a),y}function jc(a){var y=a.optionHandlers,ee=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(z,ce){var Ze=this.options,rt=Ze[z];Ze[z]==ce&&z!="mode"||(Ze[z]=ce,y.hasOwnProperty(z)&&Fa(this,y[z])(this,ce,rt),nn(this,"optionChange",this,z))},getOption:function(z){return this.options[z]},getDoc:function(){return this.doc},addKeyMap:function(z,ce){this.state.keyMaps[ce?"push":"unshift"](jl(z))},removeKeyMap:function(z){for(var ce=this.state.keyMaps,Ze=0;Ze<ce.length;++Ze)if(ce[Ze]==z||ce[Ze].name==z)return ce.splice(Ze,1),!0},addOverlay:$a(function(z,ce){var Ze=z.token?z:a.getMode(this.options,z);if(Ze.startState)throw new Error("Overlays may not be stateful.");gt(this.state.overlays,{mode:Ze,modeSpec:z,opaque:ce&&ce.opaque,priority:ce&&ce.priority||0},function(rt){return rt.priority}),this.state.modeGen++,Za(this)}),removeOverlay:$a(function(z){for(var ce=this.state.overlays,Ze=0;Ze<ce.length;++Ze){var rt=ce[Ze].modeSpec;if(rt==z||typeof z=="string"&&rt.name==z){ce.splice(Ze,1),this.state.modeGen++,Za(this);return}}}),indentLine:$a(function(z,ce,Ze){typeof ce!="string"&&typeof ce!="number"&&(ce==null?ce=this.options.smartIndent?"smart":"prev":ce=ce?"add":"subtract"),Ot(this.doc,z)&&nu(this,z,ce,Ze)}),indentSelection:$a(function(z){for(var ce=this.doc.sel.ranges,Ze=-1,rt=0;rt<ce.length;rt++){var ut=ce[rt];if(ut.empty())ut.head.line>Ze&&(nu(this,ut.head.line,z,!0),Ze=ut.head.line,rt==this.doc.sel.primIndex&&fl(this));else{var yt=ut.from(),At=ut.to(),ln=Math.max(Ze,yt.line);Ze=Math.min(this.lastLine(),At.line-(At.ch?0:1))+1;for(var Sn=ln;Sn<Ze;++Sn)nu(this,Sn,z);var rr=this.doc.sel.ranges;yt.ch==0&&ce.length==rr.length&&rr[rt].from().ch>0&&ta(this.doc,rt,new qn(yt,rr[rt].to()),Ve)}}}),getTokenAt:function(z,ce){return In(this,z,ce)},getLineTokens:function(z,ce){return In(this,kt(z),ce,!0)},getTokenTypeAt:function(z){z=$t(this.doc,z);var ce=Cn(this,Ln(this.doc,z.line)),Ze=0,rt=(ce.length-1)/2,ut=z.ch,yt;if(ut==0)yt=ce[2];else for(;;){var At=Ze+rt>>1;if((At?ce[At*2-1]:0)>=ut)rt=At;else if(ce[At*2+1]<ut)Ze=At+1;else{yt=ce[At*2+2];break}}var ln=yt?yt.indexOf("overlay "):-1;return ln<0?yt:ln==0?null:yt.slice(0,ln-1)},getModeAt:function(z){var ce=this.doc.mode;return ce.innerMode?a.innerMode(ce,this.getTokenAt(z).state).mode:ce},getHelper:function(z,ce){return this.getHelpers(z,ce)[0]},getHelpers:function(z,ce){var Ze=[];if(!ee.hasOwnProperty(ce))return Ze;var rt=ee[ce],ut=this.getModeAt(z);if(typeof ut[ce]=="string")rt[ut[ce]]&&Ze.push(rt[ut[ce]]);else if(ut[ce])for(var yt=0;yt<ut[ce].length;yt++){var At=rt[ut[ce][yt]];At&&Ze.push(At)}else ut.helperType&&rt[ut.helperType]?Ze.push(rt[ut.helperType]):rt[ut.name]&&Ze.push(rt[ut.name]);for(var ln=0;ln<rt._global.length;ln++){var Sn=rt._global[ln];Sn.pred(ut,this)&&Xe(Ze,Sn.val)==-1&&Ze.push(Sn.val)}return Ze},getStateAfter:function(z,ce){var Ze=this.doc;return z=Yt(Ze,z==null?Ze.first+Ze.size-1:z),Vt(this,z+1,ce).state},cursorCoords:function(z,ce){var Ze,rt=this.doc.sel.primary();return z==null?Ze=rt.head:typeof z=="object"?Ze=$t(this.doc,z):Ze=z?rt.from():rt.to(),Ya(this,Ze,ce||"page")},charCoords:function(z,ce){return As(this,$t(this.doc,z),ce||"page")},coordsChar:function(z,ce){return z=Bl(this,z,ce||"page"),Pa(this,z.left,z.top)},lineAtHeight:function(z,ce){return z=Bl(this,{top:z,left:0},ce||"page").top,St(this.doc,z+this.display.viewOffset)},heightAtLine:function(z,ce,Ze){var rt=!1,ut;if(typeof z=="number"){var yt=this.doc.first+this.doc.size-1;z<this.doc.first?z=this.doc.first:z>yt&&(z=yt,rt=!0),ut=Ln(this.doc,z)}else ut=z;return Ol(this,ut,{top:0,left:0},ce||"page",Ze||rt).top+(rt?this.doc.height-zr(ut):0)},defaultTextHeight:function(){return Ra(this.display)},defaultCharWidth:function(){return bs(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(z,ce,Ze,rt,ut){var yt=this.display;z=Ya(this,$t(this.doc,z));var At=z.bottom,ln=z.left;if(ce.style.position="absolute",ce.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ce),yt.sizer.appendChild(ce),rt=="over")At=z.top;else if(rt=="above"||rt=="near"){var Sn=Math.max(yt.wrapper.clientHeight,this.doc.height),rr=Math.max(yt.sizer.clientWidth,yt.lineSpace.clientWidth);(rt=="above"||z.bottom+ce.offsetHeight>Sn)&&z.top>ce.offsetHeight?At=z.top-ce.offsetHeight:z.bottom+ce.offsetHeight<=Sn&&(At=z.bottom),ln+ce.offsetWidth>rr&&(ln=rr-ce.offsetWidth)}ce.style.top=At+"px",ce.style.left=ce.style.right="",ut=="right"?(ln=yt.sizer.clientWidth-ce.offsetWidth,ce.style.right="0px"):(ut=="left"?ln=0:ut=="middle"&&(ln=(yt.sizer.clientWidth-ce.offsetWidth)/2),ce.style.left=ln+"px"),Ze&&vc(this,{left:ln,top:At,right:ln+ce.offsetWidth,bottom:At+ce.offsetHeight})},triggerOnKeyDown:$a(Su),triggerOnKeyPress:$a(Ql),triggerOnKeyUp:Eu,triggerOnMouseDown:$a(Iu),execCommand:function(z){if(Ys.hasOwnProperty(z))return Ys[z].call(null,this)},triggerElectric:$a(function(z){Sc(this,z)}),findPosH:function(z,ce,Ze,rt){var ut=1;ce<0&&(ut=-1,ce=-ce);for(var yt=$t(this.doc,z),At=0;At<ce&&(yt=_u(this.doc,yt,ut,Ze,rt),!yt.hitSide);++At);return yt},moveH:$a(function(z,ce){var Ze=this;this.extendSelectionsBy(function(rt){return Ze.display.shift||Ze.doc.extend||rt.empty()?_u(Ze.doc,rt.head,z,ce,Ze.options.rtlMoveVisually):z<0?rt.from():rt.to()},st)}),deleteH:$a(function(z,ce){var Ze=this.doc.sel,rt=this.doc;Ze.somethingSelected()?rt.replaceSelection("",null,"+delete"):ol(this,function(ut){var yt=_u(rt,ut.head,z,ce,!1);return z<0?{from:yt,to:ut.head}:{from:ut.head,to:yt}})}),findPosV:function(z,ce,Ze,rt){var ut=1,yt=rt;ce<0&&(ut=-1,ce=-ce);for(var At=$t(this.doc,z),ln=0;ln<ce;++ln){var Sn=Ya(this,At,"div");if(yt==null?yt=Sn.left:Sn.left=yt,At=Pu(this,Sn,ut,Ze),At.hitSide)break}return At},moveV:$a(function(z,ce){var Ze=this,rt=this.doc,ut=[],yt=!this.display.shift&&!rt.extend&&rt.sel.somethingSelected();if(rt.extendSelectionsBy(function(ln){if(yt)return z<0?ln.from():ln.to();var Sn=Ya(Ze,ln.head,"div");ln.goalColumn!=null&&(Sn.left=ln.goalColumn),ut.push(Sn.left);var rr=Pu(Ze,Sn,z,ce);return ce=="page"&&ln==rt.sel.primary()&&$u(Ze,As(Ze,rr,"div").top-Sn.top),rr},st),ut.length)for(var At=0;At<rt.sel.ranges.length;At++)rt.sel.ranges[At].goalColumn=ut[At]}),findWordAt:function(z){var ce=this.doc,Ze=Ln(ce,z.line).text,rt=z.ch,ut=z.ch;if(Ze){var yt=this.getHelper(z,"wordChars");(z.sticky=="before"||ut==Ze.length)&&rt?--rt:++ut;for(var At=Ze.charAt(rt),ln=Ge(At,yt)?function(Sn){return Ge(Sn,yt)}:/\s/.test(At)?function(Sn){return/\s/.test(Sn)}:function(Sn){return!/\s/.test(Sn)&&!Ge(Sn)};rt>0&&ln(Ze.charAt(rt-1));)--rt;for(;ut<Ze.length&&ln(Ze.charAt(ut));)++ut}return new qn(kt(z.line,rt),kt(z.line,ut))},toggleOverwrite:function(z){z!=null&&z==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?He(this.display.cursorDiv,"CodeMirror-overwrite"):Fe(this.display.cursorDiv,"CodeMirror-overwrite"),nn(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Je()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:$a(function(z,ce){Gl(this,z,ce)}),getScrollInfo:function(){var z=this.display.scroller;return{left:z.scrollLeft,top:z.scrollTop,height:z.scrollHeight-wo(this)-this.display.barHeight,width:z.scrollWidth-wo(this)-this.display.barWidth,clientHeight:Ga(this),clientWidth:ya(this)}},scrollIntoView:$a(function(z,ce){z==null?(z={from:this.doc.sel.primary().head,to:null},ce==null&&(ce=this.options.cursorScrollMargin)):typeof z=="number"?z={from:kt(z,0),to:null}:z.from==null&&(z={from:z,to:null}),z.to||(z.to=z.from),z.margin=ce||0,z.from.line!=null?Ju(this,z):pl(this,z.from,z.to,z.margin)}),setSize:$a(function(z,ce){var Ze=this,rt=function(yt){return typeof yt=="number"||/^\d+$/.test(String(yt))?yt+"px":yt};z!=null&&(this.display.wrapper.style.width=rt(z)),ce!=null&&(this.display.wrapper.style.height=rt(ce)),this.options.lineWrapping&&Es(this);var ut=this.display.viewFrom;this.doc.iter(ut,this.display.viewTo,function(yt){if(yt.widgets){for(var At=0;At<yt.widgets.length;At++)if(yt.widgets[At].noHScroll){Us(Ze,ut,"widget");break}}++ut}),this.curOp.forceUpdate=!0,nn(this,"refresh",this)}),operation:function(z){return es(this,z)},startOperation:function(){return nl(this)},endOperation:function(){return gl(this)},refresh:$a(function(){var z=this.display.cachedTextHeight;Za(this),this.curOp.forceUpdate=!0,Ws(this),Gl(this,this.doc.scrollLeft,this.doc.scrollTop),pt(this.display),(z==null||Math.abs(z-Ra(this.display))>.5||this.options.lineWrapping)&&Zs(this),nn(this,"refresh",this)}),swapDoc:$a(function(z){var ce=this.doc;return ce.cm=null,this.state.selectingText&&this.state.selectingText(),Ki(this,z),Ws(this),this.display.input.reset(),Gl(this,z.scrollLeft,z.scrollTop),this.curOp.forceScroll=!0,ao(this,"swapDoc",this,ce),ce}),phrase:function(z){var ce=this.options.phrases;return ce&&Object.prototype.hasOwnProperty.call(ce,z)?ce[z]:z},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}},Dt(a),a.registerHelper=function(z,ce,Ze){ee.hasOwnProperty(z)||(ee[z]=a[z]={_global:[]}),ee[z][ce]=Ze},a.registerGlobalHelper=function(z,ce,Ze,rt){a.registerHelper(z,ce,rt),ee[z]._global.push({pred:Ze,val:rt})}}function _u(a,y,ee,z,ce){var Ze=y,rt=ee,ut=Ln(a,y.line),yt=ce&&a.direction=="rtl"?-ee:ee;function At(){var Pi=y.line+yt;return Pi<a.first||Pi>=a.first+a.size?!1:(y=new kt(Pi,y.ch,y.sticky),ut=Ln(a,Pi))}function ln(Pi){var hi;if(z=="codepoint"){var Mi=ut.text.charCodeAt(y.ch+(z>0?0:-1));isNaN(Mi)?hi=null:hi=new kt(y.line,Math.max(0,Math.min(ut.text.length,y.ch+ee*(Mi>=55296&&Mi<56320?2:1))),-ee)}else ce?hi=Wu(a.cm,ut,y,ee):hi=Rs(ut,y,ee);if(hi==null)if(!Pi&&At())y=yu(ce,a.cm,ut,y.line,yt);else return!1;else y=hi;return!0}if(z=="char"||z=="codepoint")ln();else if(z=="column")ln(!0);else if(z=="word"||z=="group")for(var Sn=null,rr=z=="group",Vn=a.cm&&a.cm.getHelper(y,"wordChars"),Lr=!0;!(ee<0&&!ln(!Lr));Lr=!1){var Ur=ut.text.charAt(y.ch)||`
|
|
|
`,ii=Ge(Ur,Vn)?"w":rr&&Ur==`
|
|
|
`?"n":!rr||/\s/.test(Ur)?null:"p";if(rr&&!Lr&&!ii&&(ii="s"),Sn&&Sn!=ii){ee<0&&(ee=1,ln(),y.sticky="after");break}if(ii&&(Sn=ii),ee>0&&!ln(!Lr))break}var vi=ma(a,y,Ze,rt,!0);return xt(Ze,vi)&&(vi.hitSide=!0),vi}function Pu(a,y,ee,z){var ce=a.doc,Ze=y.left,rt;if(z=="page"){var ut=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),yt=Math.max(ut-.5*Ra(a.display),3);rt=(ee>0?y.bottom:y.top)+ee*yt}else z=="line"&&(rt=ee>0?y.bottom+3:y.top-3);for(var At;At=Pa(a,Ze,rt),!!At.outside;){if(ee<0?rt<=0:rt>=ce.height){At.hitSide=!0;break}rt+=ee*5}return At}var Ho=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ue,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ho.prototype.init=function(a){var y=this,ee=this,z=ee.cm,ce=ee.div=a.lineDiv;Ac(ce,z.options.spellcheck,z.options.autocorrect,z.options.autocapitalize);function Ze(ut){for(var yt=ut.target;yt;yt=yt.parentNode){if(yt==ce)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(yt.className))break}return!1}Rt(ce,"paste",function(ut){!Ze(ut)||Lt(z,ut)||wc(ut,z)||ve<=11&&setTimeout(Fa(z,function(){return y.updateFromDOM()}),20)}),Rt(ce,"compositionstart",function(ut){y.composing={data:ut.data,done:!1}}),Rt(ce,"compositionupdate",function(ut){y.composing||(y.composing={data:ut.data,done:!1})}),Rt(ce,"compositionend",function(ut){y.composing&&(ut.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),Rt(ce,"touchstart",function(){return ee.forceCompositionEnd()}),Rt(ce,"input",function(){y.composing||y.readFromDOMSoon()});function rt(ut){if(!(!Ze(ut)||Lt(z,ut))){if(z.somethingSelected())ru({lineWise:!1,text:z.getSelections()}),ut.type=="cut"&&z.replaceSelection("",null,"cut");else if(z.options.lineWiseCopyCut){var yt=Ec(z);ru({lineWise:!0,text:yt.text}),ut.type=="cut"&&z.operation(function(){z.setSelections(yt.ranges,0,Ve),z.replaceSelection("",null,"cut")})}else return;if(ut.clipboardData){ut.clipboardData.clearData();var At=Js.text.join(`
|
|
|
`);if(ut.clipboardData.setData("Text",At),ut.clipboardData.getData("Text")==At){ut.preventDefault();return}}var ln=Ic(),Sn=ln.firstChild;z.display.lineSpace.insertBefore(ln,z.display.lineSpace.firstChild),Sn.value=Js.text.join(`
|
|
|
`);var rr=document.activeElement;ct(Sn),setTimeout(function(){z.display.lineSpace.removeChild(ln),rr.focus(),rr==ce&&ee.showPrimarySelection()},50)}}Rt(ce,"copy",rt),Rt(ce,"cut",rt)},Ho.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Ho.prototype.prepareSelection=function(){var a=Gu(this.cm,!1);return a.focus=document.activeElement==this.div,a},Ho.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Ho.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ho.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,ee=y.doc.sel.primary(),z=ee.from(),ce=ee.to();if(y.display.viewTo==y.display.viewFrom||z.line>=y.display.viewTo||ce.line<y.display.viewFrom){a.removeAllRanges();return}var Ze=Vu(y,a.anchorNode,a.anchorOffset),rt=Vu(y,a.focusNode,a.focusOffset);if(!(Ze&&!Ze.bad&&rt&&!rt.bad&&Pt(cn(Ze,rt),z)==0&&Pt(on(Ze,rt),ce)==0)){var ut=y.display.view,yt=z.line>=y.display.viewFrom&&Dc(y,z)||{node:ut[0].measure.map[2],offset:0},At=ce.line<y.display.viewTo&&Dc(y,ce);if(!At){var ln=ut[ut.length-1].measure,Sn=ln.maps?ln.maps[ln.maps.length-1]:ln.map;At={node:Sn[Sn.length-1],offset:Sn[Sn.length-2]-Sn[Sn.length-3]}}if(!yt||!At){a.removeAllRanges();return}var rr=a.rangeCount&&a.getRangeAt(0),Vn;try{Vn=Ne(yt.node,yt.offset,At.offset,At.node)}catch(Lr){}Vn&&(!b&&y.state.focused?(a.collapse(yt.node,yt.offset),Vn.collapsed||(a.removeAllRanges(),a.addRange(Vn))):(a.removeAllRanges(),a.addRange(Vn)),rr&&a.anchorNode==null?a.addRange(rr):b&&this.startGracePeriod()),this.rememberSelection()}},Ho.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},Ho.prototype.showMultipleSelections=function(a){Te(this.cm.display.cursorDiv,a.cursors),Te(this.cm.display.selectionDiv,a.selection)},Ho.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},Ho.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return Ye(this.div,y)},Ho.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ho.prototype.blur=function(){this.div.blur()},Ho.prototype.getField=function(){return this.div},Ho.prototype.supportsTouch=function(){return!0},Ho.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():es(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function y(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,y))}this.polling.set(this.cm.options.pollInterval,y)},Ho.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},Ho.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(xe&&fe&&this.cm.display.gutterSpecs.length&&cc(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ee=Vu(y,a.anchorNode,a.anchorOffset),z=Vu(y,a.focusNode,a.focusOffset);ee&&z&&es(y,function(){bi(y.doc,Or(ee,z),Ve),(ee.bad||z.bad)&&(y.curOp.selectionChanged=!0)})}}},Ho.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,ee=a.doc.sel.primary(),z=ee.from(),ce=ee.to();if(z.ch==0&&z.line>a.firstLine()&&(z=kt(z.line-1,Ln(a.doc,z.line-1).length)),ce.ch==Ln(a.doc,ce.line).text.length&&ce.line<a.lastLine()&&(ce=kt(ce.line+1,0)),z.line<y.viewFrom||ce.line>y.viewTo-1)return!1;var Ze,rt,ut;z.line==y.viewFrom||(Ze=hs(a,z.line))==0?(rt=Zt(y.view[0].line),ut=y.view[0].node):(rt=Zt(y.view[Ze].line),ut=y.view[Ze-1].node.nextSibling);var yt=hs(a,ce.line),At,ln;if(yt==y.view.length-1?(At=y.viewTo-1,ln=y.lineDiv.lastChild):(At=Zt(y.view[yt+1].line)-1,ln=y.view[yt+1].node.previousSibling),!ut)return!1;for(var Sn=a.doc.splitLines(zc(a,ut,ln,rt,At)),rr=tr(a.doc,kt(rt,0),kt(At,Ln(a.doc,At).text.length));Sn.length>1&&rr.length>1;)if(bt(Sn)==bt(rr))Sn.pop(),rr.pop(),At--;else if(Sn[0]==rr[0])Sn.shift(),rr.shift(),rt++;else break;for(var Vn=0,Lr=0,Ur=Sn[0],ii=rr[0],vi=Math.min(Ur.length,ii.length);Vn<vi&&Ur.charCodeAt(Vn)==ii.charCodeAt(Vn);)++Vn;for(var Pi=bt(Sn),hi=bt(rr),Mi=Math.min(Pi.length-(Sn.length==1?Vn:0),hi.length-(rr.length==1?Vn:0));Lr<Mi&&Pi.charCodeAt(Pi.length-Lr-1)==hi.charCodeAt(hi.length-Lr-1);)++Lr;if(Sn.length==1&&rr.length==1&&rt==z.line)for(;Vn&&Vn>z.ch&&Pi.charCodeAt(Pi.length-Lr-1)==hi.charCodeAt(hi.length-Lr-1);)Vn--,Lr++;Sn[Sn.length-1]=Pi.slice(0,Pi.length-Lr).replace(/^\u200b+/,""),Sn[0]=Sn[0].slice(Vn).replace(/\u200b+$/,"");var to=kt(rt,Vn),Yi=kt(At,rr.length?bt(rr).length-Lr:0);if(Sn.length>1||Sn[0]||Pt(to,Yi))return To(a.doc,Sn,to,Yi,"+input"),!0},Ho.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ho.prototype.reset=function(){this.forceCompositionEnd()},Ho.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ho.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},Ho.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&es(this.cm,function(){return Za(a.cm)})},Ho.prototype.setUneditable=function(a){a.contentEditable="false"},Ho.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Fa(this.cm,uc)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Ho.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Ho.prototype.onContextMenu=function(){},Ho.prototype.resetPosition=function(){},Ho.prototype.needsContentAttribute=!0;function Dc(a,y){var ee=la(a,y.line);if(!ee||ee.hidden)return null;var z=Ln(a.doc,y.line),ce=Xa(ee,z,y.line),Ze=ot(z,a.doc.direction),rt="left";if(Ze){var ut=Qe(Ze,y.ch);rt=ut%2?"right":"left"}var yt=ll(ce.map,y.ch,rt);return yt.offset=yt.collapse=="right"?yt.end:yt.start,yt}function cc(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function Ul(a,y){return y&&(a.bad=!0),a}function zc(a,y,ee,z,ce){var Ze="",rt=!1,ut=a.doc.lineSeparator(),yt=!1;function At(Vn){return function(Lr){return Lr.id==Vn}}function ln(){rt&&(Ze+=ut,yt&&(Ze+=ut),rt=yt=!1)}function Sn(Vn){Vn&&(ln(),Ze+=Vn)}function rr(Vn){if(Vn.nodeType==1){var Lr=Vn.getAttribute("cm-text");if(Lr){Sn(Lr);return}var Ur=Vn.getAttribute("cm-marker"),ii;if(Ur){var vi=a.findMarks(kt(z,0),kt(ce+1,0),At(+Ur));vi.length&&(ii=vi[0].find(0))&&Sn(tr(a.doc,ii.from,ii.to).join(ut));return}if(Vn.getAttribute("contenteditable")=="false")return;var Pi=/^(pre|div|p|li|table|br)$/i.test(Vn.nodeName);if(!/^br$/i.test(Vn.nodeName)&&Vn.textContent.length==0)return;Pi&&ln();for(var hi=0;hi<Vn.childNodes.length;hi++)rr(Vn.childNodes[hi]);/^(pre|p)$/i.test(Vn.nodeName)&&(yt=!0),Pi&&(rt=!0)}else Vn.nodeType==3&&Sn(Vn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;rr(y),y!=ee;)y=y.nextSibling,yt=!1;return Ze}function Vu(a,y,ee){var z;if(y==a.display.lineDiv){if(z=a.display.lineDiv.childNodes[ee],!z)return Ul(a.clipPos(kt(a.display.viewTo-1)),!0);y=null,ee=0}else for(z=y;;z=z.parentNode){if(!z||z==a.display.lineDiv)return null;if(z.parentNode&&z.parentNode==a.display.lineDiv)break}for(var ce=0;ce<a.display.view.length;ce++){var Ze=a.display.view[ce];if(Ze.node==z)return Wc(Ze,y,ee)}}function Wc(a,y,ee){var z=a.text.firstChild,ce=!1;if(!y||!Ye(z,y))return Ul(kt(Zt(a.line),0),!0);if(y==z&&(ce=!0,y=z.childNodes[ee],ee=0,!y)){var Ze=a.rest?bt(a.rest):a.line;return Ul(kt(Zt(Ze),Ze.text.length),ce)}var rt=y.nodeType==3?y:null,ut=y;for(!rt&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(rt=y.firstChild,ee&&(ee=rt.nodeValue.length));ut.parentNode!=z;)ut=ut.parentNode;var yt=a.measure,At=yt.maps;function ln(ii,vi,Pi){for(var hi=-1;hi<(At?At.length:0);hi++)for(var Mi=hi<0?yt.map:At[hi],to=0;to<Mi.length;to+=3){var Yi=Mi[to+2];if(Yi==ii||Yi==vi){var Io=Zt(hi<0?a.line:a.rest[hi]),ra=Mi[to]+Pi;return(Pi<0||Yi!=ii)&&(ra=Mi[to+(Pi?1:0)]),kt(Io,ra)}}}var Sn=ln(rt,ut,ee);if(Sn)return Ul(Sn,ce);for(var rr=ut.nextSibling,Vn=rt?rt.nodeValue.length-ee:0;rr;rr=rr.nextSibling){if(Sn=ln(rr,rr.firstChild,0),Sn)return Ul(kt(Sn.line,Sn.ch-Vn),ce);Vn+=rr.textContent.length}for(var Lr=ut.previousSibling,Ur=ee;Lr;Lr=Lr.previousSibling){if(Sn=ln(Lr,Lr.firstChild,-1),Sn)return Ul(kt(Sn.line,Sn.ch+Ur),ce);Ur+=Lr.textContent.length}}var Sa=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new Ue,this.hasSelection=!1,this.composing=null};Sa.prototype.init=function(a){var y=this,ee=this,z=this.cm;this.createField(a);var ce=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),we&&(ce.style.width="0px"),Rt(ce,"input",function(){de&&ve>=9&&y.hasSelection&&(y.hasSelection=null),ee.poll()}),Rt(ce,"paste",function(rt){Lt(z,rt)||wc(rt,z)||(z.state.pasteIncoming=+new Date,ee.fastPoll())});function Ze(rt){if(!Lt(z,rt)){if(z.somethingSelected())ru({lineWise:!1,text:z.getSelections()});else if(z.options.lineWiseCopyCut){var ut=Ec(z);ru({lineWise:!0,text:ut.text}),rt.type=="cut"?z.setSelections(ut.ranges,null,Ve):(ee.prevInput="",ce.value=ut.text.join(`
|
|
|
`),ct(ce))}else return;rt.type=="cut"&&(z.state.cutIncoming=+new Date)}}Rt(ce,"cut",Ze),Rt(ce,"copy",Ze),Rt(a.scroller,"paste",function(rt){if(!(mo(a,rt)||Lt(z,rt))){if(!ce.dispatchEvent){z.state.pasteIncoming=+new Date,ee.focus();return}var ut=new Event("paste");ut.clipboardData=rt.clipboardData,ce.dispatchEvent(ut)}}),Rt(a.lineSpace,"selectstart",function(rt){mo(a,rt)||zt(rt)}),Rt(ce,"compositionstart",function(){var rt=z.getCursor("from");ee.composing&&ee.composing.range.clear(),ee.composing={start:rt,range:z.markText(rt,z.getCursor("to"),{className:"CodeMirror-composing"})}}),Rt(ce,"compositionend",function(){ee.composing&&(ee.poll(),ee.composing.range.clear(),ee.composing=null)})},Sa.prototype.createField=function(a){this.wrapper=Ic(),this.textarea=this.wrapper.firstChild},Sa.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},Sa.prototype.prepareSelection=function(){var a=this.cm,y=a.display,ee=a.doc,z=Gu(a);if(a.options.moveInputWithCursor){var ce=Ya(a,ee.sel.primary().head,"div"),Ze=y.wrapper.getBoundingClientRect(),rt=y.lineDiv.getBoundingClientRect();z.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,ce.top+rt.top-Ze.top)),z.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,ce.left+rt.left-Ze.left))}return z},Sa.prototype.showSelection=function(a){var y=this.cm,ee=y.display;Te(ee.cursorDiv,a.cursors),Te(ee.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},Sa.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var ee=y.getSelection();this.textarea.value=ee,y.state.focused&&ct(this.textarea),de&&ve>=9&&(this.hasSelection=ee)}else a||(this.prevInput=this.textarea.value="",de&&ve>=9&&(this.hasSelection=null))}},Sa.prototype.getField=function(){return this.textarea},Sa.prototype.supportsTouch=function(){return!1},Sa.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ue||Je()!=this.textarea))try{this.textarea.focus()}catch(a){}},Sa.prototype.blur=function(){this.textarea.blur()},Sa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Sa.prototype.receivedFocus=function(){this.slowPoll()},Sa.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},Sa.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function ee(){var z=y.poll();!z&&!a?(a=!0,y.polling.set(60,ee)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,ee)},Sa.prototype.poll=function(){var a=this,y=this.cm,ee=this.textarea,z=this.prevInput;if(this.contextMenuPending||!y.state.focused||hr(ee)&&!z&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var ce=ee.value;if(ce==z&&!y.somethingSelected())return!1;if(de&&ve>=9&&this.hasSelection===ce||Ee&&/[\uf700-\uf7ff]/.test(ce))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var Ze=ce.charCodeAt(0);if(Ze==8203&&!z&&(z="\u200B"),Ze==8666)return this.reset(),this.cm.execCommand("undo")}for(var rt=0,ut=Math.min(z.length,ce.length);rt<ut&&z.charCodeAt(rt)==ce.charCodeAt(rt);)++rt;return es(y,function(){uc(y,ce.slice(rt),z.length-rt,null,a.composing?"*compose":null),ce.length>1e3||ce.indexOf(`
|
|
|
`)>-1?ee.value=a.prevInput="":a.prevInput=ce,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Sa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Sa.prototype.onKeyPress=function(){de&&ve>=9&&(this.hasSelection=null),this.fastPoll()},Sa.prototype.onContextMenu=function(a){var y=this,ee=y.cm,z=ee.display,ce=y.textarea;y.contextMenuPending&&y.contextMenuPending();var Ze=xs(ee,a),rt=z.scroller.scrollTop;if(!Ze||E)return;var ut=ee.options.resetSelectionOnContextMenu;ut&&ee.doc.sel.contains(Ze)==-1&&Fa(ee,bi)(ee.doc,Or(Ze),Ve);var yt=ce.style.cssText,At=y.wrapper.style.cssText,ln=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",ce.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(a.clientY-ln.top-5)+"px; left: "+(a.clientX-ln.left-5)+`px;
|
|
|
z-index: 1000; background: `+(de?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Sn;re&&(Sn=window.scrollY),z.input.focus(),re&&window.scrollTo(null,Sn),z.input.reset(),ee.somethingSelected()||(ce.value=y.prevInput=" "),y.contextMenuPending=Vn,z.selForContextMenu=ee.doc.sel,clearTimeout(z.detectingSelectAll);function rr(){if(ce.selectionStart!=null){var Ur=ee.somethingSelected(),ii="\u200B"+(Ur?ce.value:"");ce.value="\u21DA",ce.value=ii,y.prevInput=Ur?"":"\u200B",ce.selectionStart=1,ce.selectionEnd=ii.length,z.selForContextMenu=ee.doc.sel}}function Vn(){if(y.contextMenuPending==Vn&&(y.contextMenuPending=!1,y.wrapper.style.cssText=At,ce.style.cssText=yt,de&&ve<9&&z.scrollbars.setScrollTop(z.scroller.scrollTop=rt),ce.selectionStart!=null)){(!de||de&&ve<9)&&rr();var Ur=0,ii=function(){z.selForContextMenu==ee.doc.sel&&ce.selectionStart==0&&ce.selectionEnd>0&&y.prevInput=="\u200B"?Fa(ee,_i)(ee):Ur++<10?z.detectingSelectAll=setTimeout(ii,500):(z.selForContextMenu=null,z.input.reset())};z.detectingSelectAll=setTimeout(ii,200)}}if(de&&ve>=9&&rr(),be){Et(a);var Lr=function(){rn(window,"mouseup",Lr),setTimeout(Vn,20)};Rt(window,"mouseup",Lr)}else setTimeout(Vn,50)},Sa.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},Sa.prototype.setUneditable=function(){},Sa.prototype.needsContentAttribute=!1;function dc(a,y){if(y=y?Bt(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var ee=Je();y.autofocus=ee==a||a.getAttribute("autofocus")!=null&&ee==document.body}function z(){a.value=ut.getValue()}var ce;if(a.form&&(Rt(a.form,"submit",z),!y.leaveSubmitMethodAlone)){var Ze=a.form;ce=Ze.submit;try{var rt=Ze.submit=function(){z(),Ze.submit=ce,Ze.submit(),Ze.submit=rt}}catch(yt){}}y.finishInit=function(yt){yt.save=z,yt.getTextArea=function(){return a},yt.toTextArea=function(){yt.toTextArea=isNaN,z(),a.parentNode.removeChild(yt.getWrapperElement()),a.style.display="",a.form&&(rn(a.form,"submit",z),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ce))}},a.style.display="none";var ut=ha(function(yt){return a.parentNode.insertBefore(yt,a.nextSibling)},y);return ut}function Pc(a){a.off=rn,a.on=Rt,a.wheelEventPixels=cr,a.Doc=Xo,a.splitLines=Yn,a.countColumn=nt,a.findColumn=Nt,a.isWordChar=ke,a.Pass=qe,a.signal=nn,a.Line=ki,a.changeEnd=Jr,a.scrollbarModel=ju,a.Pos=kt,a.cmpPos=Pt,a.modes=Tn,a.mimeModes=An,a.resolveMode=er,a.getMode=wr,a.modeExtensions=Sr,a.extendMode=Er,a.copyState=Nr,a.startState=jr,a.innerMode=Br,a.commands=Ys,a.keyMap=pa,a.keyName=il,a.isModifierKey=$l,a.lookupKey=Ms,a.normalizeKeyMap=za,a.StringStream=Rr,a.SharedTextMarker=Go,a.TextMarker=ts,a.LineWidget=ko,a.e_preventDefault=zt,a.e_stopPropagation=un,a.e_stop=Et,a.addClass=He,a.contains=Ye,a.rmClass=Fe,a.keyNames=Ao}Rc(ha),jc(ha);var fc="iter insert remove copy getEditor constructor".split(" ");for(var iu in Xo.prototype)Xo.prototype.hasOwnProperty(iu)&&Xe(fc,iu)<0&&(ha.prototype[iu]=function(a){return function(){return a.apply(this.doc,arguments)}}(Xo.prototype[iu]));return Dt(Xo),ha.inputStyles={textarea:Sa,contenteditable:Ho},ha.defineMode=function(a){!ha.defaults.mode&&a!="null"&&(ha.defaults.mode=a),zn.apply(this,arguments)},ha.defineMIME=Kn,ha.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),ha.defineMIME("text/plain","null"),ha.defineExtension=function(a,y){ha.prototype[a]=y},ha.defineDocExtension=function(a,y){Xo.prototype[a]=y},ha.fromTextArea=dc,Pc(ha),ha.version="5.58.2",ha})},25419:function(Un,pn,ae){(function(b){b(ae(89780),ae(15525),ae(98101))})(function(b){"use strict";b.defineMode("markdown",function(oe,ye){var De=b.getMode(oe,"text/html"),de=De.name=="null";function ve(nt){if(b.findModeByName){var Ue=b.findModeByName(nt);Ue&&(nt=Ue.mime||Ue.mimes[0])}var Xe=b.getMode(oe,nt);return Xe.name=="null"?null:Xe}ye.highlightFormatting===void 0&&(ye.highlightFormatting=!1),ye.maxBlockquoteDepth===void 0&&(ye.maxBlockquoteDepth=0),ye.taskLists===void 0&&(ye.taskLists=!1),ye.strikethrough===void 0&&(ye.strikethrough=!1),ye.emoji===void 0&&(ye.emoji=!1),ye.fencedCodeBlockHighlighting===void 0&&(ye.fencedCodeBlockHighlighting=!0),ye.fencedCodeBlockDefaultMode===void 0&&(ye.fencedCodeBlockDefaultMode="text/plain"),ye.xml===void 0&&(ye.xml=!0),ye.tokenTypeOverrides===void 0&&(ye.tokenTypeOverrides={});var re={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var se in re)re.hasOwnProperty(se)&&ye.tokenTypeOverrides[se]&&(re[se]=ye.tokenTypeOverrides[se]);var fe=/^([*\-_])(?:\s*\1){2,}\s*$/,E=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,te=/^\[(x| )\](?=\s)/i,ne=ye.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,ge=/^ {0,3}(?:\={1,}|-{2,})\s*$/,we=/^[^#!\[\]*_\\<>` "'(~:]+/,xe=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ue=/^\s*\[[^\]]+?\]:.*$/,Ee=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Oe=" ";function Ae(nt,Ue,Xe){return Ue.f=Ue.inline=Xe,Xe(nt,Ue)}function Re(nt,Ue,Xe){return Ue.f=Ue.block=Xe,Xe(nt,Ue)}function Me(nt){return!nt||!/\S/.test(nt.string)}function be(nt){if(nt.linkTitle=!1,nt.linkHref=!1,nt.linkText=!1,nt.em=!1,nt.strong=!1,nt.strikethrough=!1,nt.quote=0,nt.indentedCode=!1,nt.f==Fe){var Ue=de;if(!Ue){var Xe=b.innerMode(De,nt.htmlState);Ue=Xe.mode.name=="xml"&&Xe.state.tagStart===null&&!Xe.state.context&&Xe.state.tokenize.isInText}Ue&&(nt.f=We,nt.block=Pe,nt.htmlState=null)}return nt.trailingSpace=0,nt.trailingSpaceNewLine=!1,nt.prevLine=nt.thisLine,nt.thisLine={stream:null},null}function Pe(nt,Ue){var Xe=nt.column()===Ue.indentation,$e=Me(Ue.prevLine.stream),qe=Ue.indentedCode,Ve=Ue.prevLine.hr,ht=Ue.list!==!1,st=(Ue.listStack[Ue.listStack.length-1]||0)+3;Ue.indentedCode=!1;var Nt=Ue.indentation;if(Ue.indentationDiff===null&&(Ue.indentationDiff=Ue.indentation,ht)){for(Ue.list=null;Nt<Ue.listStack[Ue.listStack.length-1];)Ue.listStack.pop(),Ue.listStack.length?Ue.indentation=Ue.listStack[Ue.listStack.length-1]:Ue.list=!1;Ue.list!==!1&&(Ue.indentationDiff=Nt-Ue.listStack[Ue.listStack.length-1])}var dt=!$e&&!Ve&&!Ue.prevLine.header&&(!ht||!qe)&&!Ue.prevLine.fencedCodeEnd,Tt=(Ue.list===!1||Ve||$e)&&Ue.indentation<=st&&nt.match(fe),bt=null;if(Ue.indentationDiff>=4&&(qe||Ue.prevLine.fencedCodeEnd||Ue.prevLine.header||$e))return nt.skipToEnd(),Ue.indentedCode=!0,re.code;if(nt.eatSpace())return null;if(Xe&&Ue.indentation<=st&&(bt=nt.match(ne))&&bt[1].length<=6)return Ue.quote=0,Ue.header=bt[1].length,Ue.thisLine.header=!0,ye.highlightFormatting&&(Ue.formatting="header"),Ue.f=Ue.inline,Te(Ue);if(Ue.indentation<=st&&nt.eat(">"))return Ue.quote=Xe?1:Ue.quote+1,ye.highlightFormatting&&(Ue.formatting="quote"),nt.eatSpace(),Te(Ue);if(!Tt&&!Ue.setext&&Xe&&Ue.indentation<=st&&(bt=nt.match(E))){var Ct=bt[1]?"ol":"ul";return Ue.indentation=Nt+nt.current().length,Ue.list=!0,Ue.quote=0,Ue.listStack.push(Ue.indentation),Ue.em=!1,Ue.strong=!1,Ue.code=!1,Ue.strikethrough=!1,ye.taskLists&&nt.match(te,!1)&&(Ue.taskList=!0),Ue.f=Ue.inline,ye.highlightFormatting&&(Ue.formatting=["list","list-"+Ct]),Te(Ue)}else{if(Xe&&Ue.indentation<=st&&(bt=nt.match(xe,!0)))return Ue.quote=0,Ue.fencedEndRE=new RegExp(bt[1]+"+ *$"),Ue.localMode=ye.fencedCodeBlockHighlighting&&ve(bt[2]||ye.fencedCodeBlockDefaultMode),Ue.localMode&&(Ue.localState=b.startState(Ue.localMode)),Ue.f=Ue.block=_e,ye.highlightFormatting&&(Ue.formatting="code-block"),Ue.code=-1,Te(Ue);if(Ue.setext||(!dt||!ht)&&!Ue.quote&&Ue.list===!1&&!Ue.code&&!Tt&&!ue.test(nt.string)&&(bt=nt.lookAhead(1))&&(bt=bt.match(ge)))return Ue.setext?(Ue.header=Ue.setext,Ue.setext=0,nt.skipToEnd(),ye.highlightFormatting&&(Ue.formatting="header")):(Ue.header=bt[0].charAt(0)=="="?1:2,Ue.setext=Ue.header),Ue.thisLine.header=!0,Ue.f=Ue.inline,Te(Ue);if(Tt)return nt.skipToEnd(),Ue.hr=!0,Ue.thisLine.hr=!0,re.hr;if(nt.peek()==="[")return Ae(nt,Ue,lt)}return Ae(nt,Ue,Ue.inline)}function Fe(nt,Ue){var Xe=De.token(nt,Ue.htmlState);if(!de){var $e=b.innerMode(De,Ue.htmlState);($e.mode.name=="xml"&&$e.state.tagStart===null&&!$e.state.context&&$e.state.tokenize.isInText||Ue.md_inside&&nt.current().indexOf(">")>-1)&&(Ue.f=We,Ue.block=Pe,Ue.htmlState=null)}return Xe}function _e(nt,Ue){var Xe=Ue.listStack[Ue.listStack.length-1]||0,$e=Ue.indentation<Xe,qe=Xe+3;if(Ue.fencedEndRE&&Ue.indentation<=qe&&($e||nt.match(Ue.fencedEndRE))){ye.highlightFormatting&&(Ue.formatting="code-block");var Ve;return $e||(Ve=Te(Ue)),Ue.localMode=Ue.localState=null,Ue.block=Pe,Ue.f=We,Ue.fencedEndRE=null,Ue.code=0,Ue.thisLine.fencedCodeEnd=!0,$e?Re(nt,Ue,Ue.block):Ve}else return Ue.localMode?Ue.localMode.token(nt,Ue.localState):(nt.skipToEnd(),re.code)}function Te(nt){var Ue=[];if(nt.formatting){Ue.push(re.formatting),typeof nt.formatting=="string"&&(nt.formatting=[nt.formatting]);for(var Xe=0;Xe<nt.formatting.length;Xe++)Ue.push(re.formatting+"-"+nt.formatting[Xe]),nt.formatting[Xe]==="header"&&Ue.push(re.formatting+"-"+nt.formatting[Xe]+"-"+nt.header),nt.formatting[Xe]==="quote"&&(!ye.maxBlockquoteDepth||ye.maxBlockquoteDepth>=nt.quote?Ue.push(re.formatting+"-"+nt.formatting[Xe]+"-"+nt.quote):Ue.push("error"))}if(nt.taskOpen)return Ue.push("meta"),Ue.length?Ue.join(" "):null;if(nt.taskClosed)return Ue.push("property"),Ue.length?Ue.join(" "):null;if(nt.linkHref?Ue.push(re.linkHref,"url"):(nt.strong&&Ue.push(re.strong),nt.em&&Ue.push(re.em),nt.strikethrough&&Ue.push(re.strikethrough),nt.emoji&&Ue.push(re.emoji),nt.linkText&&Ue.push(re.linkText),nt.code&&Ue.push(re.code),nt.image&&Ue.push(re.image),nt.imageAltText&&Ue.push(re.imageAltText,"link"),nt.imageMarker&&Ue.push(re.imageMarker)),nt.header&&Ue.push(re.header,re.header+"-"+nt.header),nt.quote&&(Ue.push(re.quote),!ye.maxBlockquoteDepth||ye.maxBlockquoteDepth>=nt.quote?Ue.push(re.quote+"-"+nt.quote):Ue.push(re.quote+"-"+ye.maxBlockquoteDepth)),nt.list!==!1){var $e=(nt.listStack.length-1)%3;$e?$e===1?Ue.push(re.list2):Ue.push(re.list3):Ue.push(re.list1)}return nt.trailingSpaceNewLine?Ue.push("trailing-space-new-line"):nt.trailingSpace&&Ue.push("trailing-space-"+(nt.trailingSpace%2?"a":"b")),Ue.length?Ue.join(" "):null}function Ke(nt,Ue){if(nt.match(we,!0))return Te(Ue)}function We(nt,Ue){var Xe=Ue.text(nt,Ue);if(typeof Xe!="undefined")return Xe;if(Ue.list)return Ue.list=null,Te(Ue);if(Ue.taskList){var $e=nt.match(te,!0)[1]===" ";return $e?Ue.taskOpen=!0:Ue.taskClosed=!0,ye.highlightFormatting&&(Ue.formatting="task"),Ue.taskList=!1,Te(Ue)}if(Ue.taskOpen=!1,Ue.taskClosed=!1,Ue.header&&nt.match(/^#+$/,!0))return ye.highlightFormatting&&(Ue.formatting="header"),Te(Ue);var qe=nt.next();if(Ue.linkTitle){Ue.linkTitle=!1;var Ve=qe;qe==="("&&(Ve=")"),Ve=(Ve+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ht="^\\s*(?:[^"+Ve+"\\\\]+|\\\\\\\\|\\\\.)"+Ve;if(nt.match(new RegExp(ht),!0))return re.linkHref}if(qe==="`"){var st=Ue.formatting;ye.highlightFormatting&&(Ue.formatting="code"),nt.eatWhile("`");var Nt=nt.current().length;if(Ue.code==0&&(!Ue.quote||Nt==1))return Ue.code=Nt,Te(Ue);if(Nt==Ue.code){var dt=Te(Ue);return Ue.code=0,dt}else return Ue.formatting=st,Te(Ue)}else if(Ue.code)return Te(Ue);if(qe==="\\"&&(nt.next(),ye.highlightFormatting)){var Tt=Te(Ue),bt=re.formatting+"-escape";return Tt?Tt+" "+bt:bt}if(qe==="!"&&nt.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ue.imageMarker=!0,Ue.image=!0,ye.highlightFormatting&&(Ue.formatting="image"),Te(Ue);if(qe==="["&&Ue.imageMarker&&nt.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ue.imageMarker=!1,Ue.imageAltText=!0,ye.highlightFormatting&&(Ue.formatting="image"),Te(Ue);if(qe==="]"&&Ue.imageAltText){ye.highlightFormatting&&(Ue.formatting="image");var Tt=Te(Ue);return Ue.imageAltText=!1,Ue.image=!1,Ue.inline=Ue.f=Ye,Tt}if(qe==="["&&!Ue.image)return Ue.linkText&&nt.match(/^.*?\]/)||(Ue.linkText=!0,ye.highlightFormatting&&(Ue.formatting="link")),Te(Ue);if(qe==="]"&&Ue.linkText){ye.highlightFormatting&&(Ue.formatting="link");var Tt=Te(Ue);return Ue.linkText=!1,Ue.inline=Ue.f=nt.match(/\(.*?\)| ?\[.*?\]/,!1)?Ye:We,Tt}if(qe==="<"&&nt.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ue.f=Ue.inline=Ne,ye.highlightFormatting&&(Ue.formatting="link");var Tt=Te(Ue);return Tt?Tt+=" ":Tt="",Tt+re.linkInline}if(qe==="<"&&nt.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ue.f=Ue.inline=Ne,ye.highlightFormatting&&(Ue.formatting="link");var Tt=Te(Ue);return Tt?Tt+=" ":Tt="",Tt+re.linkEmail}if(ye.xml&&qe==="<"&&nt.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ct=nt.string.indexOf(">",nt.pos);if(Ct!=-1){var gt=nt.string.substring(nt.start,Ct);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(gt)&&(Ue.md_inside=!0)}return nt.backUp(1),Ue.htmlState=b.startState(De),Re(nt,Ue,Fe)}if(ye.xml&&qe==="<"&&nt.match(/^\/\w*?>/))return Ue.md_inside=!1,"tag";if(qe==="*"||qe==="_"){for(var je=1,le=nt.pos==1?" ":nt.string.charAt(nt.pos-2);je<3&&nt.eat(qe);)je++;var ie=nt.peek()||" ",ke=!/\s/.test(ie)&&(!Ee.test(ie)||/\s/.test(le)||Ee.test(le)),Ge=!/\s/.test(le)&&(!Ee.test(le)||/\s/.test(ie)||Ee.test(ie)),Ie=null,pe=null;if(je%2&&(!Ue.em&&ke&&(qe==="*"||!Ge||Ee.test(le))?Ie=!0:Ue.em==qe&&Ge&&(qe==="*"||!ke||Ee.test(ie))&&(Ie=!1)),je>1&&(!Ue.strong&&ke&&(qe==="*"||!Ge||Ee.test(le))?pe=!0:Ue.strong==qe&&Ge&&(qe==="*"||!ke||Ee.test(ie))&&(pe=!1)),pe!=null||Ie!=null){ye.highlightFormatting&&(Ue.formatting=Ie==null?"strong":pe==null?"em":"strong em"),Ie===!0&&(Ue.em=qe),pe===!0&&(Ue.strong=qe);var dt=Te(Ue);return Ie===!1&&(Ue.em=!1),pe===!1&&(Ue.strong=!1),dt}}else if(qe===" "&&(nt.eat("*")||nt.eat("_"))){if(nt.peek()===" ")return Te(Ue);nt.backUp(1)}if(ye.strikethrough){if(qe==="~"&&nt.eatWhile(qe)){if(Ue.strikethrough){ye.highlightFormatting&&(Ue.formatting="strikethrough");var dt=Te(Ue);return Ue.strikethrough=!1,dt}else if(nt.match(/^[^\s]/,!1))return Ue.strikethrough=!0,ye.highlightFormatting&&(Ue.formatting="strikethrough"),Te(Ue)}else if(qe===" "&&nt.match(/^~~/,!0)){if(nt.peek()===" ")return Te(Ue);nt.backUp(2)}}if(ye.emoji&&qe===":"&&nt.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ue.emoji=!0,ye.highlightFormatting&&(Ue.formatting="emoji");var x=Te(Ue);return Ue.emoji=!1,x}return qe===" "&&(nt.match(/^ +$/,!1)?Ue.trailingSpace++:Ue.trailingSpace&&(Ue.trailingSpaceNewLine=!0)),Te(Ue)}function Ne(nt,Ue){var Xe=nt.next();if(Xe===">"){Ue.f=Ue.inline=We,ye.highlightFormatting&&(Ue.formatting="link");var $e=Te(Ue);return $e?$e+=" ":$e="",$e+re.linkInline}return nt.match(/^[^>]+/,!0),re.linkInline}function Ye(nt,Ue){if(nt.eatSpace())return null;var Xe=nt.next();return Xe==="("||Xe==="["?(Ue.f=Ue.inline=He(Xe==="("?")":"]"),ye.highlightFormatting&&(Ue.formatting="link-string"),Ue.linkHref=!0,Te(Ue)):"error"}var Je={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function He(nt){return function(Ue,Xe){var $e=Ue.next();if($e===nt){Xe.f=Xe.inline=We,ye.highlightFormatting&&(Xe.formatting="link-string");var qe=Te(Xe);return Xe.linkHref=!1,qe}return Ue.match(Je[nt]),Xe.linkHref=!0,Te(Xe)}}function lt(nt,Ue){return nt.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ue.f=ct,nt.next(),ye.highlightFormatting&&(Ue.formatting="link"),Ue.linkText=!0,Te(Ue)):Ae(nt,Ue,We)}function ct(nt,Ue){if(nt.match(/^\]:/,!0)){Ue.f=Ue.inline=tt,ye.highlightFormatting&&(Ue.formatting="link");var Xe=Te(Ue);return Ue.linkText=!1,Xe}return nt.match(/^([^\]\\]|\\.)+/,!0),re.linkText}function tt(nt,Ue){return nt.eatSpace()?null:(nt.match(/^[^\s]+/,!0),nt.peek()===void 0?Ue.linkTitle=!0:nt.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ue.f=Ue.inline=We,re.linkHref+" url")}var Bt={startState:function(){return{f:Pe,prevLine:{stream:null},thisLine:{stream:null},block:Pe,htmlState:null,indentation:0,inline:We,text:Ke,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(nt){return{f:nt.f,prevLine:nt.prevLine,thisLine:nt.thisLine,block:nt.block,htmlState:nt.htmlState&&b.copyState(De,nt.htmlState),indentation:nt.indentation,localMode:nt.localMode,localState:nt.localMode?b.copyState(nt.localMode,nt.localState):null,inline:nt.inline,text:nt.text,formatting:!1,linkText:nt.linkText,linkTitle:nt.linkTitle,linkHref:nt.linkHref,code:nt.code,em:nt.em,strong:nt.strong,strikethrough:nt.strikethrough,emoji:nt.emoji,header:nt.header,setext:nt.setext,hr:nt.hr,taskList:nt.taskList,list:nt.list,listStack:nt.listStack.slice(0),quote:nt.quote,indentedCode:nt.indentedCode,trailingSpace:nt.trailingSpace,trailingSpaceNewLine:nt.trailingSpaceNewLine,md_inside:nt.md_inside,fencedEndRE:nt.fencedEndRE}},token:function(nt,Ue){if(Ue.formatting=!1,nt!=Ue.thisLine.stream){if(Ue.header=0,Ue.hr=!1,nt.match(/^\s*$/,!0))return be(Ue),null;if(Ue.prevLine=Ue.thisLine,Ue.thisLine={stream:nt},Ue.taskList=!1,Ue.trailingSpace=0,Ue.trailingSpaceNewLine=!1,!Ue.localState&&(Ue.f=Ue.block,Ue.f!=Fe)){var Xe=nt.match(/^\s*/,!0)[0].replace(/\t/g,Oe).length;if(Ue.indentation=Xe,Ue.indentationDiff=null,Xe>0)return null}}return Ue.f(nt,Ue)},innerMode:function(nt){return nt.block==Fe?{state:nt.htmlState,mode:De}:nt.localState?{state:nt.localState,mode:nt.localMode}:{state:nt,mode:Bt}},indent:function(nt,Ue,Xe){return nt.block==Fe&&De.indent?De.indent(nt.htmlState,Ue,Xe):nt.localState&&nt.localMode.indent?nt.localMode.indent(nt.localState,Ue,Xe):b.Pass},blankLine:be,getType:Te,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Bt},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(Un,pn,ae){(function(b){b(ae(89780))})(function(b){"use strict";b.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 oe=0;oe<b.modeInfo.length;oe++){var ye=b.modeInfo[oe];ye.mimes&&(ye.mime=ye.mimes[0])}b.findModeByMIME=function(De){De=De.toLowerCase();for(var de=0;de<b.modeInfo.length;de++){var ve=b.modeInfo[de];if(ve.mime==De)return ve;if(ve.mimes){for(var re=0;re<ve.mimes.length;re++)if(ve.mimes[re]==De)return ve}}if(/\+xml$/.test(De))return b.findModeByMIME("application/xml");if(/\+json$/.test(De))return b.findModeByMIME("application/json")},b.findModeByExtension=function(De){De=De.toLowerCase();for(var de=0;de<b.modeInfo.length;de++){var ve=b.modeInfo[de];if(ve.ext){for(var re=0;re<ve.ext.length;re++)if(ve.ext[re]==De)return ve}}},b.findModeByFileName=function(De){for(var de=0;de<b.modeInfo.length;de++){var ve=b.modeInfo[de];if(ve.file&&ve.file.test(De))return ve}var re=De.lastIndexOf("."),se=re>-1&&De.substring(re+1,De.length);if(se)return b.findModeByExtension(se)},b.findModeByName=function(De){De=De.toLowerCase();for(var de=0;de<b.modeInfo.length;de++){var ve=b.modeInfo[de];if(ve.name.toLowerCase()==De)return ve;if(ve.alias){for(var re=0;re<ve.alias.length;re++)if(ve.alias[re].toLowerCase()==De)return ve}}}})},67549:function(Un,pn,ae){(function(b){b(ae(89780))})(function(b){"use strict";b.defineMode("stex",function(oe,ye){"use strict";function De(we,xe){we.cmdState.push(xe)}function de(we){return we.cmdState.length>0?we.cmdState[we.cmdState.length-1]:null}function ve(we){var xe=we.cmdState.pop();xe&&xe.closeBracket()}function re(we){for(var xe=we.cmdState,ue=xe.length-1;ue>=0;ue--){var Ee=xe[ue];if(Ee.name!="DEFAULT")return Ee}return{styleIdentifier:function(){return null}}}function se(we,xe,ue){return function(){this.name=we,this.bracketNo=0,this.style=xe,this.styles=ue,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var fe={};fe.importmodule=se("importmodule","tag",["string","builtin"]),fe.documentclass=se("documentclass","tag",["","atom"]),fe.usepackage=se("usepackage","tag",["atom"]),fe.begin=se("begin","tag",["atom"]),fe.end=se("end","tag",["atom"]),fe.label=se("label","tag",["atom"]),fe.ref=se("ref","tag",["atom"]),fe.eqref=se("eqref","tag",["atom"]),fe.cite=se("cite","tag",["atom"]),fe.bibitem=se("bibitem","tag",["atom"]),fe.Bibitem=se("Bibitem","tag",["atom"]),fe.RBibitem=se("RBibitem","tag",["atom"]),fe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function E(we,xe){we.f=xe}function te(we,xe){var ue;if(we.match(/^\\[a-zA-Z@]+/)){var Ee=we.current().slice(1);return ue=fe.hasOwnProperty(Ee)?fe[Ee]:fe.DEFAULT,ue=new ue,De(xe,ue),E(xe,ge),ue.style}if(we.match(/^\\[$&%#{}_]/)||we.match(/^\\[,;!\/\\]/))return"tag";if(we.match("\\["))return E(xe,function(Ae,Re){return ne(Ae,Re,"\\]")}),"keyword";if(we.match("\\("))return E(xe,function(Ae,Re){return ne(Ae,Re,"\\)")}),"keyword";if(we.match("$$"))return E(xe,function(Ae,Re){return ne(Ae,Re,"$$")}),"keyword";if(we.match("$"))return E(xe,function(Ae,Re){return ne(Ae,Re,"$")}),"keyword";var Oe=we.next();if(Oe=="%")return we.skipToEnd(),"comment";if(Oe=="}"||Oe=="]"){if(ue=de(xe),ue)ue.closeBracket(Oe),E(xe,ge);else return"error";return"bracket"}else return Oe=="{"||Oe=="["?(ue=fe.DEFAULT,ue=new ue,De(xe,ue),"bracket"):/\d/.test(Oe)?(we.eatWhile(/[\w.%]/),"atom"):(we.eatWhile(/[\w\-_]/),ue=re(xe),ue.name=="begin"&&(ue.argument=we.current()),ue.styleIdentifier())}function ne(we,xe,ue){if(we.eatSpace())return null;if(ue&&we.match(ue))return E(xe,te),"keyword";if(we.match(/^\\[a-zA-Z@]+/))return"tag";if(we.match(/^[a-zA-Z]+/))return"variable-2";if(we.match(/^\\[$&%#{}_]/)||we.match(/^\\[,;!\/]/)||we.match(/^[\^_&]/))return"tag";if(we.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(we.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Ee=we.next();return Ee=="{"||Ee=="}"||Ee=="["||Ee=="]"||Ee=="("||Ee==")"?"bracket":Ee=="%"?(we.skipToEnd(),"comment"):"error"}function ge(we,xe){var ue=we.peek(),Ee;return ue=="{"||ue=="["?(Ee=de(xe),Ee.openBracket(ue),we.eat(ue),E(xe,te),"bracket"):/[ \t\r]/.test(ue)?(we.eat(ue),null):(E(xe,te),ve(xe),te(we,xe))}return{startState:function(){var we=ye.inMathMode?function(xe,ue){return ne(xe,ue)}:te;return{cmdState:[],f:we}},copyState:function(we){return{cmdState:we.cmdState.slice(),f:we.f}},token:function(we,xe){return xe.f(we,xe)},blankLine:function(we){we.f=te,we.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(Un,pn,ae){(function(b){b(ae(89780))})(function(b){"use strict";var oe={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},ye={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(De,de){var ve=De.indentUnit,re={},se=de.htmlMode?oe:ye;for(var fe in se)re[fe]=se[fe];for(var fe in de)re[fe]=de[fe];var E,te;function ne(Ne,Ye){function Je(ct){return Ye.tokenize=ct,ct(Ne,Ye)}var He=Ne.next();if(He=="<")return Ne.eat("!")?Ne.eat("[")?Ne.match("CDATA[")?Je(xe("atom","]]>")):null:Ne.match("--")?Je(xe("comment","-->")):Ne.match("DOCTYPE",!0,!0)?(Ne.eatWhile(/[\w\._\-]/),Je(ue(1))):null:Ne.eat("?")?(Ne.eatWhile(/[\w\._\-]/),Ye.tokenize=xe("meta","?>"),"meta"):(E=Ne.eat("/")?"closeTag":"openTag",Ye.tokenize=ge,"tag bracket");if(He=="&"){var lt;return Ne.eat("#")?Ne.eat("x")?lt=Ne.eatWhile(/[a-fA-F\d]/)&&Ne.eat(";"):lt=Ne.eatWhile(/[\d]/)&&Ne.eat(";"):lt=Ne.eatWhile(/[\w\.\-:]/)&&Ne.eat(";"),lt?"atom":"error"}else return Ne.eatWhile(/[^&<]/),null}ne.isInText=!0;function ge(Ne,Ye){var Je=Ne.next();if(Je==">"||Je=="/"&&Ne.eat(">"))return Ye.tokenize=ne,E=Je==">"?"endTag":"selfcloseTag","tag bracket";if(Je=="=")return E="equals",null;if(Je=="<"){Ye.tokenize=ne,Ye.state=Re,Ye.tagName=Ye.tagStart=null;var He=Ye.tokenize(Ne,Ye);return He?He+" tag error":"tag error"}else return/[\'\"]/.test(Je)?(Ye.tokenize=we(Je),Ye.stringStartCol=Ne.column(),Ye.tokenize(Ne,Ye)):(Ne.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function we(Ne){var Ye=function(Je,He){for(;!Je.eol();)if(Je.next()==Ne){He.tokenize=ge;break}return"string"};return Ye.isInAttribute=!0,Ye}function xe(Ne,Ye){return function(Je,He){for(;!Je.eol();){if(Je.match(Ye)){He.tokenize=ne;break}Je.next()}return Ne}}function ue(Ne){return function(Ye,Je){for(var He;(He=Ye.next())!=null;){if(He=="<")return Je.tokenize=ue(Ne+1),Je.tokenize(Ye,Je);if(He==">")if(Ne==1){Je.tokenize=ne;break}else return Je.tokenize=ue(Ne-1),Je.tokenize(Ye,Je)}return"meta"}}function Ee(Ne,Ye,Je){this.prev=Ne.context,this.tagName=Ye,this.indent=Ne.indented,this.startOfLine=Je,(re.doNotIndent.hasOwnProperty(Ye)||Ne.context&&Ne.context.noIndent)&&(this.noIndent=!0)}function Oe(Ne){Ne.context&&(Ne.context=Ne.context.prev)}function Ae(Ne,Ye){for(var Je;;){if(!Ne.context||(Je=Ne.context.tagName,!re.contextGrabbers.hasOwnProperty(Je)||!re.contextGrabbers[Je].hasOwnProperty(Ye)))return;Oe(Ne)}}function Re(Ne,Ye,Je){return Ne=="openTag"?(Je.tagStart=Ye.column(),Me):Ne=="closeTag"?be:Re}function Me(Ne,Ye,Je){return Ne=="word"?(Je.tagName=Ye.current(),te="tag",_e):re.allowMissingTagName&&Ne=="endTag"?(te="tag bracket",_e(Ne,Ye,Je)):(te="error",Me)}function be(Ne,Ye,Je){if(Ne=="word"){var He=Ye.current();return Je.context&&Je.context.tagName!=He&&re.implicitlyClosed.hasOwnProperty(Je.context.tagName)&&Oe(Je),Je.context&&Je.context.tagName==He||re.matchClosing===!1?(te="tag",Pe):(te="tag error",Fe)}else return re.allowMissingTagName&&Ne=="endTag"?(te="tag bracket",Pe(Ne,Ye,Je)):(te="error",Fe)}function Pe(Ne,Ye,Je){return Ne!="endTag"?(te="error",Pe):(Oe(Je),Re)}function Fe(Ne,Ye,Je){return te="error",Pe(Ne,Ye,Je)}function _e(Ne,Ye,Je){if(Ne=="word")return te="attribute",Te;if(Ne=="endTag"||Ne=="selfcloseTag"){var He=Je.tagName,lt=Je.tagStart;return Je.tagName=Je.tagStart=null,Ne=="selfcloseTag"||re.autoSelfClosers.hasOwnProperty(He)?Ae(Je,He):(Ae(Je,He),Je.context=new Ee(Je,He,lt==Je.indented)),Re}return te="error",_e}function Te(Ne,Ye,Je){return Ne=="equals"?Ke:(re.allowMissing||(te="error"),_e(Ne,Ye,Je))}function Ke(Ne,Ye,Je){return Ne=="string"?We:Ne=="word"&&re.allowUnquoted?(te="string",_e):(te="error",_e(Ne,Ye,Je))}function We(Ne,Ye,Je){return Ne=="string"?We:_e(Ne,Ye,Je)}return{startState:function(Ne){var Ye={tokenize:ne,state:Re,indented:Ne||0,tagName:null,tagStart:null,context:null};return Ne!=null&&(Ye.baseIndent=Ne),Ye},token:function(Ne,Ye){if(!Ye.tagName&&Ne.sol()&&(Ye.indented=Ne.indentation()),Ne.eatSpace())return null;E=null;var Je=Ye.tokenize(Ne,Ye);return(Je||E)&&Je!="comment"&&(te=null,Ye.state=Ye.state(E||Je,Ne,Ye),te&&(Je=te=="error"?Je+" error":te)),Je},indent:function(Ne,Ye,Je){var He=Ne.context;if(Ne.tokenize.isInAttribute)return Ne.tagStart==Ne.indented?Ne.stringStartCol+1:Ne.indented+ve;if(He&&He.noIndent)return b.Pass;if(Ne.tokenize!=ge&&Ne.tokenize!=ne)return Je?Je.match(/^(\s*)/)[0].length:0;if(Ne.tagName)return re.multilineTagIndentPastTag!==!1?Ne.tagStart+Ne.tagName.length+2:Ne.tagStart+ve*(re.multilineTagIndentFactor||1);if(re.alignCDATA&&/<!\[CDATA\[/.test(Ye))return 0;var lt=Ye&&/^<(\/)?([\w_:\.-]*)/.exec(Ye);if(lt&<[1])for(;He;)if(He.tagName==lt[2]){He=He.prev;break}else if(re.implicitlyClosed.hasOwnProperty(He.tagName))He=He.prev;else break;else if(lt)for(;He;){var ct=re.contextGrabbers[He.tagName];if(ct&&ct.hasOwnProperty(lt[2]))He=He.prev;else break}for(;He&&He.prev&&!He.startOfLine;)He=He.prev;return He?He.indent+ve:Ne.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:re.htmlMode?"html":"xml",helperType:re.htmlMode?"html":"xml",skipAttribute:function(Ne){Ne.state==Ke&&(Ne.state=_e)},xmlCurrentTag:function(Ne){return Ne.tagName?{name:Ne.tagName,close:Ne.type=="closeTag"}:null},xmlCurrentContext:function(Ne){for(var Ye=[],Je=Ne.context;Je;Je=Je.prev)Je.tagName&&Ye.push(Je.tagName);return Ye.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(Un,pn,ae){"use strict";ae.d(pn,{hP:function(){return gt}});var b=function(je,le){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,ke){ie.__proto__=ke}||function(ie,ke){for(var Ge in ke)Object.prototype.hasOwnProperty.call(ke,Ge)&&(ie[Ge]=ke[Ge])})(je,le)};function oe(je,le){function ie(){this.constructor=je}b(je,le),je.prototype=le===null?Object.create(le):(ie.prototype=le.prototype,new ie)}function ye(je,le,ie,ke){return new(ie||(ie=Promise))(function(Ge,Ie){function pe(Le){try{me(ke.next(Le))}catch(Se){Ie(Se)}}function x(Le){try{me(ke.throw(Le))}catch(Se){Ie(Se)}}function me(Le){var Se;Le.done?Ge(Le.value):(Se=Le.value,Se instanceof ie?Se:new ie(function(Be){Be(Se)})).then(pe,x)}me((ke=ke.apply(je,le||[])).next())})}function De(je,le){var ie,ke,Ge,Ie,pe={label:0,sent:function(){if(1&Ge[0])throw Ge[1];return Ge[1]},trys:[],ops:[]};return Ie={next:x(0),throw:x(1),return:x(2)},typeof Symbol=="function"&&(Ie[Symbol.iterator]=function(){return this}),Ie;function x(me){return function(Le){return function(Se){if(ie)throw new TypeError("Generator is already executing.");for(;pe;)try{if(ie=1,ke&&(Ge=2&Se[0]?ke.return:Se[0]?ke.throw||((Ge=ke.return)&&Ge.call(ke),0):ke.next)&&!(Ge=Ge.call(ke,Se[1])).done)return Ge;switch(ke=0,Ge&&(Se=[2&Se[0],Ge.value]),Se[0]){case 0:case 1:Ge=Se;break;case 4:return pe.label++,{value:Se[1],done:!1};case 5:pe.label++,ke=Se[1],Se=[0];continue;case 7:Se=pe.ops.pop(),pe.trys.pop();continue;default:if(Ge=pe.trys,!((Ge=Ge.length>0&&Ge[Ge.length-1])||Se[0]!==6&&Se[0]!==2)){pe=0;continue}if(Se[0]===3&&(!Ge||Se[1]>Ge[0]&&Se[1]<Ge[3])){pe.label=Se[1];break}if(Se[0]===6&&pe.label<Ge[1]){pe.label=Ge[1],Ge=Se;break}if(Ge&&pe.label<Ge[2]){pe.label=Ge[2],pe.ops.push(Se);break}Ge[2]&&pe.ops.pop(),pe.trys.pop();continue}Se=le.call(je,pe)}catch(Be){Se=[6,Be],ke=0}finally{ie=Ge=0}if(5&Se[0])throw Se[1];return{value:Se[0]?Se[1]:void 0,done:!0}}([me,Le])}}}function de(){for(var je=0,le=0,ie=arguments.length;le<ie;le++)je+=arguments[le].length;var ke=Array(je),Ge=0;for(le=0;le<ie;le++)for(var Ie=arguments[le],pe=0,x=Ie.length;pe<x;pe++,Ge++)ke[Ge]=Ie[pe];return ke}var ve=function(){function je(){}return je.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},je.setAttributes=function(le,ie){for(var ke=0,Ge=ie;ke<Ge.length;ke++){var Ie=Ge[ke],pe=Ie[0],x=Ie[1];le.setAttribute(pe,x)}},je.createRect=function(le,ie,ke){var Ge=document.createElementNS("http://www.w3.org/2000/svg","rect");return Ge.setAttribute("width",le.toString()),Ge.setAttribute("height",ie.toString()),ke&&je.setAttributes(Ge,ke),Ge},je.createLine=function(le,ie,ke,Ge,Ie){var pe=document.createElementNS("http://www.w3.org/2000/svg","line");return pe.setAttribute("x1",le.toString()),pe.setAttribute("y1",ie.toString()),pe.setAttribute("x2",ke.toString()),pe.setAttribute("y2",Ge.toString()),Ie&&je.setAttributes(pe,Ie),pe},je.createPolygon=function(le,ie){var ke=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ke.setAttribute("points",le),ie&&je.setAttributes(ke,ie),ke},je.createCircle=function(le,ie){var ke=document.createElementNS("http://www.w3.org/2000/svg","circle");return ke.setAttribute("cx",(le/2).toString()),ke.setAttribute("cy",(le/2).toString()),ke.setAttribute("r",le.toString()),ie&&je.setAttributes(ke,ie),ke},je.createEllipse=function(le,ie,ke){var Ge=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return Ge.setAttribute("cx",(le/2).toString()),Ge.setAttribute("cy",(ie/2).toString()),Ge.setAttribute("rx",(le/2).toString()),Ge.setAttribute("ry",(ie/2).toString()),ke&&je.setAttributes(Ge,ke),Ge},je.createGroup=function(le){var ie=document.createElementNS("http://www.w3.org/2000/svg","g");return le&&je.setAttributes(ie,le),ie},je.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},je.createMarker=function(le,ie,ke,Ge,Ie,pe,x){var me=document.createElementNS("http://www.w3.org/2000/svg","marker");return je.setAttributes(me,[["id",le],["orient",ie],["markerWidth",ke.toString()],["markerHeight",Ge.toString()],["refX",Ie.toString()],["refY",pe.toString()]]),me.appendChild(x),me},je.createText=function(le){var ie=document.createElementNS("http://www.w3.org/2000/svg","text");return ie.setAttribute("x","0"),ie.setAttribute("y","0"),le&&je.setAttributes(ie,le),ie},je.createTSpan=function(le,ie){var ke=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ke.textContent=le,ie&&je.setAttributes(ke,ie),ke},je.createImage=function(le){var ie=document.createElementNS("http://www.w3.org/2000/svg","image");return le&&je.setAttributes(ie,le),ie},je.createPoint=function(le,ie){var ke=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ke.x=le,ke.y=ie,ke},je.createPath=function(le,ie){var ke=document.createElementNS("http://www.w3.org/2000/svg","path");return ke.setAttribute("d",le),ie&&je.setAttributes(ke,ie),ke},je}(),re=function(){function je(){}return je.addKey=function(le){je.key=le},Object.defineProperty(je,"isLicensed",{get:function(){return!!je.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(je.key)},enumerable:!1,configurable:!0}),je}(),se=function(){function je(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return je.prototype.rasterize=function(le,ie,ke){var Ge=this;return new Promise(function(Ie){var pe=ke!==void 0?ke:document.createElement("canvas");le===null&&(Ge.markersOnly=!0,Ge.naturalSize=!1);var x=document.createElementNS("http://www.w3.org/2000/svg","svg");x.setAttribute("xmlns","http://www.w3.org/2000/svg"),x.setAttribute("width",ie.width.baseVal.valueAsString),x.setAttribute("height",ie.height.baseVal.valueAsString),x.setAttribute("viewBox","0 0 "+ie.viewBox.baseVal.width.toString()+" "+ie.viewBox.baseVal.height.toString()),x.innerHTML=ie.innerHTML,Ge.naturalSize===!0?(x.width.baseVal.value=le.naturalWidth,x.height.baseVal.value=le.naturalHeight):Ge.width!==void 0&&Ge.height!==void 0&&(x.width.baseVal.value=Ge.width,x.height.baseVal.value=Ge.height),pe.width=x.width.baseVal.value,pe.height=x.height.baseVal.value;var me=x.outerHTML,Le=pe.getContext("2d");Ge.markersOnly!==!0&&Le.drawImage(le,0,0,pe.width,pe.height);var Se=window.URL,Be=new Image(pe.width,pe.height);Be.setAttribute("crossOrigin","anonymous");var Qe=new Blob([me],{type:"image/svg+xml"}),it=Se.createObjectURL(Qe);Be.onload=function(){Le.drawImage(Be,0,0),Se.revokeObjectURL(it);var ot=pe.toDataURL(Ge.imageType,Ge.imageQuality);Ie(ot)},Be.src=it})},je}(),fe=function(){},E=function(){function je(le){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+le+"_"}return Object.defineProperty(je.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(je.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(je.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),je.prototype.addClass=function(le){return this.styleSheet===void 0&&this.addStyleSheet(),le.name=""+this.classNamePrefix+le.localName,this.classes.push(le),this.styleSheet.sheet.insertRule("."+le.name+" {"+le.style+"}",this.styleSheet.sheet.cssRules.length),le},je.prototype.addRule=function(le){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(le),this.styleSheet.sheet.insertRule(le.selector+" {"+le.style+"}",this.styleSheet.sheet.cssRules.length)},je.prototype.addStyleSheet=function(){var le;this.styleSheet=document.createElement("style"),((le=this.styleSheetRoot)!==null&&le!==void 0?le:document.head).appendChild(this.styleSheet),this.addRule(new te("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new te("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new te("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new ne("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new ne("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},je.prototype.removeStyleSheet=function(){var le;this.styleSheet&&(((le=this.styleSheetRoot)!==null&&le!==void 0?le:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},je}(),te=function(je,le){this.selector=je,this.style=le},ne=function(je,le){this.localName=je,this.style=le},ge=function(){function je(le,ie,ke,Ge,Ie){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=le,this.displayMode=ie,this.markerItems=ke,this.uiStyleSettings=Ge,this.styles=Ie,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return je.prototype.show=function(le){var ie=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=le,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ke=document.createElement("div");ke.className=this.toolbarBlockStyleClass.name,ke.style.whiteSpace="nowrap",this.uiContainer.appendChild(ke),this.addActionButton(ke,'<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(ke,'<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(ke,'<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(ke,'<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(ke,'<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(ke,'<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(ke,'<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(ke,'<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(Ie){var pe=document.createElement("div");pe.className=""+ie.toolbarButtonStyleClass.name,pe.setAttribute("data-type-name",Ie.typeName),pe.innerHTML=Ie.icon,pe.addEventListener("click",function(){ie.markerToolbarButtonClicked(pe,Ie)}),ie.buttons.push(pe),ie.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 Ge=document.createElement("div");Ge.className=this.toolbarBlockStyleClass.name,Ge.style.whiteSpace="nowrap",Ge.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(Ge),this.addActionButton(Ge,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(Ge,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},je.prototype.addButtonClickListener=function(le){this.buttonClickListeners.push(le)},je.prototype.removeButtonClickListener=function(le){this.buttonClickListeners.indexOf(le)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(le),1)},je.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},je.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var le=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ie=0;ie<this.markerButtons.length;ie++)ie<le||ie===le&&this.markerButtons.length-1===le?this.markerButtonBlock.appendChild(this.markerButtons[ie]):(ie===le&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[ie]))}},je.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")},je.prototype.resetButtonStyles=function(){var le=this;this.buttons.forEach(function(ie){ie.className=ie.className.replace(le.uiStyleSettings.toolbarButtonStyleColorsClassName?le.uiStyleSettings.toolbarButtonStyleColorsClassName:le.toolbarButtonStyleColorsClass.name,"").trim(),ie.className=ie.className.replace(le.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?le.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:le.toolbarActiveButtonStyleColorsClass.name,"").trim(),ie.className+=" "+(le.uiStyleSettings.toolbarButtonStyleColorsClassName?le.uiStyleSettings.toolbarButtonStyleColorsClassName:le.toolbarButtonStyleColorsClass.name)})},je.prototype.addActionButton=function(le,ie,ke){var Ge=this,Ie=document.createElement("div");switch(Ie.className=""+this.toolbarButtonStyleClass.name,Ie.innerHTML=ie,Ie.setAttribute("data-action",ke),Ie.addEventListener("click",function(){Ge.actionToolbarButtonClicked(Ie,ke)}),ke){case"select":Ie.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":Ie.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":Ie.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":Ie.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":Ie.style.fill=this.uiStyleSettings.closeButtonColor}le.appendChild(Ie),this.buttons.push(Ie)},je.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new ne("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 ne("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new ne("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new ne("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 ne("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var le=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new ne("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*le)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*le)+`px;
|
|
|
padding: `+le+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new ne("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new ne("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new te("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new te("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},je.prototype.markerToolbarButtonClicked=function(le,ie){this.setActiveButton(le),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ke){return ke("marker",ie)}),this.markerButtonOverflowBlock.style.display="none"},je.prototype.actionToolbarButtonClicked=function(le,ie){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ke){return ke("action",ie)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},je.prototype.setActiveButton=function(le){this.resetButtonStyles(),le.className=le.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),le.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},je.prototype.setActiveMarkerButton=function(le){var ie=this.markerButtons.find(function(ke){return ke.getAttribute("data-type-name")===le});ie&&this.setActiveButton(ie)},je.prototype.setCurrentMarker=function(le){var ie=this;this.currentMarker=le,this.buttons.filter(function(ke){return/delete|notes/.test(ke.getAttribute("data-action"))}).forEach(function(ke){ie.currentMarker===void 0?(ke.style.fillOpacity="0.4",ke.style.pointerEvents="none"):(ke.style.fillOpacity="1",ke.style.pointerEvents="all")})},je}(),we=function(){function je(le,ie,ke,Ge){this.panels=[],this.panelButtons=[],this.markerjsContainer=le,this.displayMode=ie,this.uiStyleSettings=ke,this.styles=Ge,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return je.prototype.addStyles=function(){var le;this.toolboxStyleClass=this.styles.addClass(new ne("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 ne("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var ie=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ne("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ne("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ne("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 ne("toolbox-panel-row_colors",`
|
|
|
background-color: `+((le=this.uiStyleSettings.toolboxBackgroundColor)!==null&&le!==void 0?le:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new ne("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ie)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ie)+`px;
|
|
|
padding: `+ie+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new ne("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ne("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new te("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new te("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},je.prototype.show=function(le){var ie;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=le,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},je.prototype.setPanelButtons=function(le){var ie,ke,Ge=this;this.panels=le,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ke=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ke!==void 0?ke:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(Ie){var pe;Ie.uiStyleSettings=Ge.uiStyleSettings;var x=document.createElement("div");x.className=Ge.toolboxButtonStyleClass.name+" "+((pe=Ge.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&pe!==void 0?pe:Ge.toolboxButtonStyleColorsClass.name),x.innerHTML=Ie.icon,x.title=Ie.title,x.addEventListener("click",function(){Ge.panelButtonClick(Ie)}),Ge.panelButtons.push(x),Ge.buttonRow.appendChild(x)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},je.prototype.panelButtonClick=function(le){var ie=this,ke=-1;if(le!==this.activePanel){ke=this.panels.indexOf(le),this.panelRow.innerHTML="";var Ge=le.getUi();Ge.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(Ge),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=le}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ie.displayMode==="inline"?ie.panelRow.style.display="none":ie.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(Ie,pe){var x,me;Ie.className=ie.toolboxButtonStyleClass.name+" "+(pe===ke?""+((x=ie.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&x!==void 0?x:ie.toolboxActiveButtonStyleColorsClass.name):""+((me=ie.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&me!==void 0?me:ie.toolboxButtonStyleColorsClass.name))})},je}(),xe=function(je,le){this.title=je,this.icon=le},ue=function(je){function le(ie,ke,Ge,Ie){var pe=je.call(this,ie,Ie||'<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=ke,pe.currentColor=Ge,pe.setCurrentColor=pe.setCurrentColor.bind(pe),pe.getColorBox=pe.getColorBox.bind(pe),pe}return oe(le,je),le.prototype.getUi=function(){var ie=this,ke=document.createElement("div");return ke.style.overflow="hidden",ke.style.whiteSpace="nowrap",this.colors.forEach(function(Ge){var Ie=ie.getColorBox(Ge);ke.appendChild(Ie),ie.colorBoxes.push(Ie)}),ke},le.prototype.getColorBox=function(ie){var ke=this,Ge=this.uiStyleSettings.toolbarHeight/4,Ie=this.uiStyleSettings.toolbarHeight-Ge,pe=document.createElement("div");pe.style.display="inline-block",pe.style.boxSizing="content-box",pe.style.width=Ie-2+"px",pe.style.height=Ie-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=(Ie+2)/2+"px",pe.style.borderColor=ie===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",pe.addEventListener("click",function(){ke.setCurrentColor(ie,pe)});var x=document.createElement("div");return x.style.display="inline-block",x.style.width=Ie-2+"px",x.style.height=Ie-2+"px",x.style.backgroundColor=ie,x.style.borderRadius=Ie/2+"px",ie==="transparent"&&(x.style.fill=this.uiStyleSettings.toolboxAccentColor,x.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(x),pe},le.prototype.setCurrentColor=function(ie,ke){var Ge=this;this.currentColor=ie,this.colorBoxes.forEach(function(Ie){Ie.style.borderColor=Ie===ke?Ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ie)},le}(xe),Ee=function(){function je(le,ie,ke){this._state="new",this._isSelected=!1,this._container=le,this._overlayContainer=ie,this.globalSettings=ke,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(je.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),je.prototype.ownsTarget=function(le){return!1},Object.defineProperty(je.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),je.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},je.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},je.prototype.pointerDown=function(le,ie){},je.prototype.dblClick=function(le,ie){},je.prototype.manipulate=function(le){},je.prototype.pointerUp=function(le){this.stateChanged()},je.prototype.dispose=function(){},je.prototype.addMarkerVisualToContainer=function(le){this.container.childNodes.length>0?this.container.insertBefore(le,this.container.childNodes[0]):this.container.appendChild(le)},je.prototype.getState=function(){return{typeName:je.typeName,state:this.state,notes:this.notes}},je.prototype.restoreState=function(le){this._state=le.state,this.notes=le.notes},je.prototype.scale=function(le,ie){},je.prototype.colorChanged=function(le){this.onColorChanged&&this.onColorChanged(le),this.stateChanged()},je.prototype.fillColorChanged=function(le){this.onFillColorChanged&&this.onFillColorChanged(le),this.stateChanged()},je.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var le=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),le.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(le)&&this.onStateChanged(this)}},je.typeName="MarkerBase",je}(),Oe=function(){function je(){this.findGripByVisual=this.findGripByVisual.bind(this)}return je.prototype.findGripByVisual=function(le){return this.topLeft.ownsTarget(le)?this.topLeft:this.topCenter.ownsTarget(le)?this.topCenter:this.topRight.ownsTarget(le)?this.topRight:this.centerLeft.ownsTarget(le)?this.centerLeft:this.centerRight.ownsTarget(le)?this.centerRight:this.bottomLeft.ownsTarget(le)?this.bottomLeft:this.bottomCenter.ownsTarget(le)?this.bottomCenter:this.bottomRight.ownsTarget(le)?this.bottomRight:void 0},je}(),Ae=function(){function je(){this.GRIP_SIZE=10,this.visual=ve.createGroup(),this.visual.appendChild(ve.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(ve.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return je.prototype.ownsTarget=function(le){return le===this.visual||le===this.visual.childNodes[0]||le===this.visual.childNodes[1]},je}(),Re=function(){function je(){}return je.toITransformMatrix=function(le){return{a:le.a,b:le.b,c:le.c,d:le.d,e:le.e,f:le.f}},je.toSVGMatrix=function(le,ie){return le.a=ie.a,le.b=ie.b,le.c=ie.c,le.d=ie.d,le.e=ie.e,le.f=ie.f,le},je}(),Me=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.left=0,Ie.top=0,Ie.width=0,Ie.height=0,Ie.defaultSize={x:50,y:20},Ie.offsetX=0,Ie.offsetY=0,Ie.rotationAngle=0,Ie.CB_DISTANCE=10,Ie._suppressMarkerCreateEvent=!1,Ie.container.transform.baseVal.appendItem(ve.createTransform()),Ie.setupControlBox(),Ie}return oe(le,je),Object.defineProperty(le.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"visual",{get:function(){return this._visual},set:function(ie){this._visual=ie;var ke=ve.createTransform();this._visual.transform.baseVal.appendItem(ke)},enumerable:!1,configurable:!0}),le.prototype.ownsTarget=function(ie){return!!je.prototype.ownsTarget.call(this,ie)||!!(this.controlGrips.findGripByVisual(ie)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ie))},le.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="new"&&(this.left=ie.x,this.top=ie.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var Ge=this.unrotatePoint(ie);if(this.manipulationStartX=Ge.x,this.manipulationStartY=Ge.y,this.offsetX=Ge.x-this.left,this.offsetY=Ge.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ke),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ke)){this.activeGrip=this.rotatorGrip;var Ie=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=Ie.x-this.width/2,this.top=Ie.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"},le.prototype.pointerUp=function(ie){var ke=this.state;je.prototype.pointerUp.call(this,ie),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ie),this._state="select",ke==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},le.prototype.moveVisual=function(ie){this.visual.style.transform="translate("+ie.x+"px, "+ie.y+"px)"},le.prototype.manipulate=function(ie){var ke=this.unrotatePoint(ie);this.state==="creating"?this.resize(ie):this.state==="move"?(this.left=this.manipulationStartLeft+(ke.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ke.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ke):this.state==="rotate"&&this.rotate(ie)},le.prototype.resize=function(ie){var ke=this.manipulationStartLeft,Ge=this.manipulationStartWidth,Ie=this.manipulationStartTop,pe=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ke=this.manipulationStartLeft+ie.x-this.manipulationStartX,Ge=this.manipulationStartWidth+this.manipulationStartLeft-ke;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:Ge=this.manipulationStartWidth+ie.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:Ie=this.manipulationStartTop+ie.y-this.manipulationStartY,pe=this.manipulationStartHeight+this.manipulationStartTop-Ie;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:pe=this.manipulationStartHeight+ie.y-this.manipulationStartY}Ge>=0?(this.left=ke,this.width=Ge):(this.left=ke+Ge,this.width=-Ge),pe>=0?(this.top=Ie,this.height=pe):(this.top=Ie+pe,this.height=-pe),this.setSize()},le.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},le.prototype.rotate=function(ie){if(Math.abs(ie.x-this.centerX)>.1){var ke=Math.sign(ie.x-this.centerX);this.rotationAngle=180*Math.atan((ie.y-this.centerY)/(ie.x-this.centerX))/Math.PI+90*ke,this.applyRotation()}},le.prototype.applyRotation=function(){var ie=this.container.transform.baseVal.getItem(0);ie.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ie,0)},le.prototype.rotatePoint=function(ie){if(this.rotationAngle===0)return ie;var ke=this.container.getCTM(),Ge=ve.createPoint(ie.x,ie.y);return{x:(Ge=Ge.matrixTransform(ke)).x,y:Ge.y}},le.prototype.unrotatePoint=function(ie){if(this.rotationAngle===0)return ie;var ke=this.container.getCTM();ke=ke.inverse();var Ge=ve.createPoint(ie.x,ie.y);return{x:(Ge=Ge.matrixTransform(ke)).x,y:Ge.y}},le.prototype.select=function(){je.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},le.prototype.deselect=function(){je.prototype.deselect.call(this),this.controlBox.style.display="none"},le.prototype.setupControlBox=function(){this.controlBox=ve.createGroup();var ie=ve.createTransform();ie.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ie),this.container.appendChild(this.controlBox),this.controlRect=ve.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=ve.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 Oe,this.addControlGrips(),this.controlBox.style.display="none"},le.prototype.adjustControlBox=function(){var ie=this.controlBox.transform.baseVal.getItem(0);ie.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ie,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()},le.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()},le.prototype.createGrip=function(){var ie=new Ae;return ie.visual.transform.baseVal.appendItem(ve.createTransform()),this.controlBox.appendChild(ie.visual),ie},le.prototype.positionGrips=function(){var ie=this.controlGrips.topLeft.GRIP_SIZE,ke=-ie/2,Ge=ke,Ie=(this.width+this.CB_DISTANCE)/2-ie/2,pe=(this.height+this.CB_DISTANCE)/2-ie/2,x=this.height+this.CB_DISTANCE-ie/2,me=this.width+this.CB_DISTANCE-ie/2;this.positionGrip(this.controlGrips.topLeft.visual,ke,Ge),this.positionGrip(this.controlGrips.topCenter.visual,Ie,Ge),this.positionGrip(this.controlGrips.topRight.visual,me,Ge),this.positionGrip(this.controlGrips.centerLeft.visual,ke,pe),this.positionGrip(this.controlGrips.centerRight.visual,me,pe),this.positionGrip(this.controlGrips.bottomLeft.visual,ke,x),this.positionGrip(this.controlGrips.bottomCenter.visual,Ie,x),this.positionGrip(this.controlGrips.bottomRight.visual,me,x),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,Ie,Ge-3*this.CB_DISTANCE)},le.prototype.positionGrip=function(ie,ke,Ge){var Ie=ie.transform.baseVal.getItem(0);Ie.setTranslate(ke,Ge),ie.transform.baseVal.replaceItem(Ie,0)},le.prototype.hideControlBox=function(){this.controlBox.style.display="none"},le.prototype.showControlBox=function(){this.controlBox.style.display=""},le.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Re.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Re.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},je.prototype.getState.call(this))},le.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie);var ke=ie;this.left=ke.left,this.top=ke.top,this.width=ke.width,this.height=ke.height,this.rotationAngle=ke.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Re.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ke.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Re.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ke.containerTransformMatrix))},le.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke);var Ge=this.rotatePoint({x:this.left,y:this.top}),Ie=this.unrotatePoint({x:Ge.x*ie,y:Ge.y*ke});this.left=Ie.x,this.top=Ie.y,this.width=this.width*ie,this.height=this.height*ke,this.adjustControlBox()},le}(Ee),be=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.fillColor="transparent",Ie.strokeColor="transparent",Ie.strokeWidth=0,Ie.strokeDasharray="",Ie.opacity=1,Ie.setStrokeColor=Ie.setStrokeColor.bind(Ie),Ie.setFillColor=Ie.setFillColor.bind(Ie),Ie.setStrokeWidth=Ie.setStrokeWidth.bind(Ie),Ie.setStrokeDasharray=Ie.setStrokeDasharray.bind(Ie),Ie.createVisual=Ie.createVisual.bind(Ie),Ie}return oe(le,je),le.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual)},le.prototype.createVisual=function(){this.visual=ve.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)},le.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},le.prototype.manipulate=function(ie){je.prototype.manipulate.call(this,ie)},le.prototype.resize=function(ie){je.prototype.resize.call(this,ie),this.setSize()},le.prototype.setSize=function(){je.prototype.setSize.call(this),ve.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},le.prototype.pointerUp=function(ie){je.prototype.pointerUp.call(this,ie),this.setSize()},le.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.visual&&ve.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},le.prototype.setFillColor=function(ie){this.fillColor=ie,this.visual&&ve.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},le.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.visual&&ve.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},le.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.visual&&ve.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},le.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},je.prototype.getState.call(this))},le.prototype.restoreState=function(ie){var ke=ie;this.fillColor=ke.fillColor,this.strokeColor=ke.strokeColor,this.strokeWidth=ke.strokeWidth,this.strokeDasharray=ke.strokeDasharray,this.opacity=ke.opacity,this.createVisual(),je.prototype.restoreState.call(this,ie),this.setSize()},le.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.setSize()},le.title="Rectangle marker",le}(Me),Pe=function(je){function le(ie,ke,Ge,Ie){var pe=je.call(this,ie,Ie||'<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=ke,pe.currentWidth=Ge,pe.setCurrentWidth=pe.setCurrentWidth.bind(pe),pe}return oe(le,je),le.prototype.getUi=function(){var ie=this,ke=document.createElement("div");return ke.style.display="flex",ke.style.overflow="hidden",ke.style.flexGrow="2",this.widths.forEach(function(Ge){var Ie=document.createElement("div");Ie.style.display="flex",Ie.style.flexGrow="2",Ie.style.alignItems="center",Ie.style.justifyContent="space-between",Ie.style.padding="5px",Ie.style.borderWidth="2px",Ie.style.borderStyle="solid",Ie.style.borderColor=Ge===ie.currentWidth?ie.uiStyleSettings.toolboxAccentColor:"transparent",Ie.addEventListener("click",function(){ie.setCurrentWidth(Ge,Ie)}),ke.appendChild(Ie);var pe=document.createElement("div");pe.innerText=Ge.toString(),pe.style.marginRight="5px",Ie.appendChild(pe);var x=document.createElement("div");x.style.minHeight="20px",x.style.flexGrow="2",x.style.display="flex",x.style.alignItems="center";var me=document.createElement("hr");me.style.minWidth="20px",me.style.border="0px",me.style.borderTop=Ge+"px solid "+ie.uiStyleSettings.toolboxColor,me.style.flexGrow="2",x.appendChild(me),Ie.appendChild(x),ie.widthBoxes.push(Ie)}),ke},le.prototype.setCurrentWidth=function(ie,ke){var Ge=this;this.currentWidth=ie,this.widthBoxes.forEach(function(Ie){Ie.style.borderColor=Ie===ke?Ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},le}(xe),Fe=function(je){function le(ie,ke,Ge,Ie){var pe=je.call(this,ie,Ie||'<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=ke,pe.currentStyle=Ge,pe.setCurrentStyle=pe.setCurrentStyle.bind(pe),pe}return oe(le,je),le.prototype.getUi=function(){var ie=this,ke=document.createElement("div");return ke.style.display="flex",ke.style.overflow="hidden",ke.style.flexGrow="2",this.styles.forEach(function(Ge){var Ie=document.createElement("div");Ie.style.display="flex",Ie.style.alignItems="center",Ie.style.justifyContent="space-between",Ie.style.padding="5px",Ie.style.borderWidth="2px",Ie.style.borderStyle="solid",Ie.style.overflow="hidden",Ie.style.maxWidth=100/ie.styles.length-5+"%",Ie.style.borderColor=Ge===ie.currentStyle?ie.uiStyleSettings.toolboxAccentColor:"transparent",Ie.addEventListener("click",function(){ie.setCurrentStyle(Ge,Ie)}),ke.appendChild(Ie);var pe=document.createElement("div");pe.style.minHeight="20px",pe.style.flexGrow="2",pe.style.overflow="hidden";var x=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ie.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(Ge!==""?'stroke-dasharray="'+Ge+'"':"")+` />
|
|
|
</svg>`;pe.innerHTML=x,Ie.appendChild(pe),ie.styleBoxes.push(Ie)}),ke},le.prototype.setCurrentStyle=function(ie,ke){var Ge=this;this.currentStyle=ie,this.styleBoxes.forEach(function(Ie){Ie.style.borderColor=Ie===ke?Ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},le}(xe),_e=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.strokeColor=Ge.defaultColor,Ie.strokeWidth=Ge.defaultStrokeWidth,Ie.strokeDasharray=Ge.defaultStrokeDasharray,Ie.strokePanel=new ue("Line color",Ge.defaultColorSet,Ge.defaultColor),Ie.strokePanel.onColorChanged=Ie.setStrokeColor,Ie.strokeWidthPanel=new Pe("Line width",Ge.defaultStrokeWidths,Ge.defaultStrokeWidth),Ie.strokeWidthPanel.onWidthChanged=Ie.setStrokeWidth,Ie.strokeStylePanel=new Fe("Line style",Ge.defaultStrokeDasharrays,Ge.defaultStrokeDasharray),Ie.strokeStylePanel.onStyleChanged=Ie.setStrokeDasharray,Ie}return oe(le,je),Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=je.prototype.getState.call(this);return ie.typeName=le.typeName,ie},le.typeName="FrameMarker",le.title="Frame marker",le.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',le}(be),Te=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"},Ke=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.x1=0,Ie.y1=0,Ie.x2=0,Ie.y2=0,Ie.defaultLength=50,Ie.manipulationStartX=0,Ie.manipulationStartY=0,Ie.manipulationStartX1=0,Ie.manipulationStartY1=0,Ie.manipulationStartX2=0,Ie.manipulationStartY2=0,Ie.setupControlBox(),Ie}return oe(le,je),le.prototype.ownsTarget=function(ie){return!!je.prototype.ownsTarget.call(this,ie)||!(!this.grip1.ownsTarget(ie)&&!this.grip2.ownsTarget(ie))},le.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.manipulationStartX=ie.x,this.manipulationStartY=ie.y,this.state==="new"&&(this.x1=ie.x,this.y1=ie.y,this.x2=ie.x,this.y2=ie.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(ke)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ke)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},le.prototype.pointerUp=function(ie){var ke=this.state;je.prototype.pointerUp.call(this,ie),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(ie),this._state="select",ke==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},le.prototype.adjustVisual=function(){},le.prototype.manipulate=function(ie){this.state==="creating"?this.resize(ie):this.state==="move"?(this.x1=this.manipulationStartX1+ie.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ie.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ie.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ie.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ie)},le.prototype.resize=function(ie){switch(this.activeGrip){case this.grip1:this.x1=ie.x,this.y1=ie.y;break;case this.grip2:case void 0:this.x2=ie.x,this.y2=ie.y}this.adjustVisual(),this.adjustControlBox()},le.prototype.select=function(){je.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},le.prototype.deselect=function(){je.prototype.deselect.call(this),this.controlBox.style.display="none"},le.prototype.setupControlBox=function(){this.controlBox=ve.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},le.prototype.adjustControlBox=function(){this.positionGrips()},le.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},le.prototype.createGrip=function(){var ie=new Ae;return ie.visual.transform.baseVal.appendItem(ve.createTransform()),this.controlBox.appendChild(ie.visual),ie},le.prototype.positionGrips=function(){var ie=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ie/2,this.y1-ie/2),this.positionGrip(this.grip2.visual,this.x2-ie/2,this.y2-ie/2)},le.prototype.positionGrip=function(ie,ke,Ge){var Ie=ie.transform.baseVal.getItem(0);Ie.setTranslate(ke,Ge),ie.transform.baseVal.replaceItem(Ie,0)},le.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},je.prototype.getState.call(this))},le.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie);var ke=ie;this.x1=ke.x1,this.y1=ke.y1,this.x2=ke.x2,this.y2=ke.y2},le.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.x1=this.x1*ie,this.y1=this.y1*ke,this.x2=this.x2*ie,this.y2=this.y2*ke,this.adjustVisual(),this.adjustControlBox()},le}(Ee),We=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.strokeColor="transparent",Ie.strokeWidth=0,Ie.strokeDasharray="",Ie.setStrokeColor=Ie.setStrokeColor.bind(Ie),Ie.setStrokeWidth=Ie.setStrokeWidth.bind(Ie),Ie.setStrokeDasharray=Ie.setStrokeDasharray.bind(Ie),Ie.strokeColor=Ge.defaultColor,Ie.strokeWidth=Ge.defaultStrokeWidth,Ie.strokeDasharray=Ge.defaultStrokeDasharray,Ie.strokePanel=new ue("Line color",Ge.defaultColorSet,Ge.defaultColor),Ie.strokePanel.onColorChanged=Ie.setStrokeColor,Ie.strokeWidthPanel=new Pe("Line width",Ge.defaultStrokeWidths,Ge.defaultStrokeWidth),Ie.strokeWidthPanel.onWidthChanged=Ie.setStrokeWidth,Ie.strokeStylePanel=new Fe("Line style",Ge.defaultStrokeDasharrays,Ge.defaultStrokeDasharray),Ie.strokeStylePanel.onStyleChanged=Ie.setStrokeDasharray,Ie}return oe(le,je),le.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.selectorLine&&ie!==this.visibleLine)},le.prototype.createVisual=function(){this.visual=ve.createGroup(),this.selectorLine=ve.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=ve.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)},le.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},le.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()),ve.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),ve.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),ve.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},le.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.adjustVisual(),this.colorChanged(ie)},le.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.adjustVisual()},le.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.adjustVisual(),this.stateChanged()},Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},je.prototype.getState.call(this));return ie.typeName=le.typeName,ie},le.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie);var ke=ie;this.strokeColor=ke.strokeColor,this.strokeWidth=ke.strokeWidth,this.strokeDasharray=ke.strokeDasharray,this.createVisual(),this.adjustVisual()},le.typeName="LineMarker",le.title="Line marker",le.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',le}(Ke),Ne=function(je){function le(ie,ke,Ge,Ie){var pe=je.call(this,ie,Ie||'<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=ke,pe.currentFont=Ge,pe.setCurrentFont=pe.setCurrentFont.bind(pe),pe}return oe(le,je),le.prototype.getUi=function(){var ie=this,ke=document.createElement("div");return ke.style.overflow="hidden",ke.style.flexGrow="2",this.fonts.forEach(function(Ge){var Ie=document.createElement("div");Ie.style.display="inline-block",Ie.style.alignItems="center",Ie.style.justifyContent="space-between",Ie.style.padding="5px",Ie.style.borderWidth="2px",Ie.style.borderStyle="solid",Ie.style.overflow="hidden",Ie.style.maxWidth=100/ie.fonts.length-5+"%",Ie.style.borderColor=Ge===ie.currentFont?ie.uiStyleSettings.toolboxAccentColor:"transparent",Ie.addEventListener("click",function(){ie.setCurrentFont(Ge,Ie)}),ke.appendChild(Ie);var pe=document.createElement("div");pe.style.display="flex",pe.style.minHeight="20px",pe.style.flexGrow="2",pe.style.fontFamily=Ge,pe.style.overflow="hidden";var x=document.createElement("div");x.style.whiteSpace="nowrap",x.style.overflow="hidden",x.style.textOverflow="ellipsis",x.innerHTML="The quick brown fox jumps over the lazy dog",pe.appendChild(x),Ie.appendChild(pe),ie.fontBoxes.push(Ie)}),ke},le.prototype.setCurrentFont=function(ie,ke){var Ge=this;this.currentFont=ie,this.fontBoxes.forEach(function(Ie){Ie.style.borderColor=Ie===ke?Ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},le}(xe),Ye=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.color="transparent",Ie.padding=5,Ie.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",Ie.text=Ie.DEFAULT_TEXT,Ie.isMoved=!1,Ie.color=Ge.defaultColor,Ie.fontFamily=Ge.defaultFontFamily,Ie.defaultSize={x:100,y:30},Ie.setColor=Ie.setColor.bind(Ie),Ie.setFont=Ie.setFont.bind(Ie),Ie.renderText=Ie.renderText.bind(Ie),Ie.sizeText=Ie.sizeText.bind(Ie),Ie.textEditDivClicked=Ie.textEditDivClicked.bind(Ie),Ie.showTextEditor=Ie.showTextEditor.bind(Ie),Ie.setSize=Ie.setSize.bind(Ie),Ie.positionTextEditor=Ie.positionTextEditor.bind(Ie),Ie.colorPanel=new ue("Color",Ge.defaultColorSet,Ge.defaultColor),Ie.colorPanel.onColorChanged=Ie.setColor,Ie.fontFamilyPanel=new Ne("Font",Ge.defaultFontFamilies,Ge.defaultFontFamily),Ie.fontFamilyPanel.onFontChanged=Ie.setFont,Ie}return oe(le,je),le.prototype.ownsTarget=function(ie){if(je.prototype.ownsTarget.call(this,ie)||ie===this.visual||ie===this.textElement||ie===this.bgRectangle)return!0;var ke=!1;return this.textElement.childNodes.forEach(function(Ge){Ge===ie&&(ke=!0)}),ke},le.prototype.createVisual=function(){this.visual=ve.createGroup(),this.bgRectangle=ve.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=ve.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(ve.createTransform()),this.textElement.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},le.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.isMoved=!1,this.pointerDownPoint=ie,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},le.prototype.renderText=function(){var ie=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(ke){ie.textElement.appendChild(ve.createTSpan(ke.trim()===""?" ":ke.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},le.prototype.getTextScale=function(){var ie=this.textElement.getBBox(),ke=1;if(ie.width>0&&ie.height>0){var Ge=(1*this.width-this.width*this.padding*2/100)/ie.width,Ie=(1*this.height-this.height*this.padding*2/100)/ie.height;ke=Math.min(Ge,Ie)}return ke},le.prototype.getTextPosition=function(ie){var ke=this.textElement.getBBox(),Ge=0,Ie=0;return ke.width>0&&ke.height>0&&(Ge=(this.width-ke.width*ie)/2,Ie=this.height/2-ke.height*ie/2),{x:Ge,y:Ie}},le.prototype.sizeText=function(){var ie=this.textElement.getBBox(),ke=this.getTextScale(),Ge=this.getTextPosition(ke);Ge.y-=ie.y*ke,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+Ge.x+"px, "+Ge.y+"px) scale("+ke+", "+ke+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(Ge.x,Ge.y),this.textElement.transform.baseVal.getItem(1).setScale(ke,ke))},le.prototype.manipulate=function(ie){je.prototype.manipulate.call(this,ie),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ie.x-this.pointerDownPoint.x)>5||Math.abs(ie.y-this.pointerDownPoint.y)>5)},le.prototype.resize=function(ie){je.prototype.resize.call(this,ie),this.isMoved=!0,this.setSize(),this.sizeText()},le.prototype.setSize=function(){je.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(ve.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ve.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},le.prototype.pointerUp=function(ie){var ke=this.state;ke==="creating"&&(this._suppressMarkerCreateEvent=!0),je.prototype.pointerUp.call(this,ie),this.setSize(),(ke==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},le.prototype.showTextEditor=function(){var ie=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(ke){ke.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ke=Number.parseFloat(ie.textEditor.style.fontSize);ie.textEditor.clientWidth>=Number.parseInt(ie.textEditor.style.maxWidth)&&ke>.9;)ke-=.1,ie.textEditor.style.fontSize=Math.max(ke,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ke){ke.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ke){if(ke.clipboardData){var Ge=ke.clipboardData.getData("text"),Ie=window.getSelection();if(!Ie.rangeCount)return!1;Ie.deleteFromDocument(),Ie.getRangeAt(0).insertNode(document.createTextNode(Ge)),ke.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ie.textEditDivClicked(ie.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},le.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ie=this.getTextScale(),ke=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),Ge=this.textElement.getBBox(),Ie={x:Ge.width*ie,y:Ge.height*ie};ke.x-=Ie.x/2,ke.y-=Ie.y/2,this.textEditor.style.top=ke.y+"px",this.textEditor.style.left=ke.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ke.x+"px",this.textEditor.style.fontSize=Math.max(16*ie,12)+"px",this.textElement.style.display="none"}},le.prototype.textEditDivClicked=function(ie){this.text=ie.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},le.prototype.select=function(){je.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},le.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),je.prototype.deselect.call(this)},le.prototype.dblClick=function(ie,ke){je.prototype.dblClick.call(this,ie,ke),this.showTextEditor()},le.prototype.setColor=function(ie){this.textElement&&ve.setAttributes(this.textElement,[["fill",ie]]),this.color=ie,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ie)},le.prototype.setFont=function(ie){this.textElement&&ve.setAttributes(this.textElement,[["font-family",ie]]),this.fontFamily=ie,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},le.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},le.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},je.prototype.getState.call(this));return ie.typeName=le.typeName,ie},le.prototype.restoreState=function(ie){var ke=ie;this.color=ke.color,this.fontFamily=ke.fontFamily,this.padding=ke.padding,this.text=ke.text,this.createVisual(),je.prototype.restoreState.call(this,ie),this.setSize()},le.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.setSize(),this.sizeText(),this.positionTextEditor()},le.typeName="TextMarker",le.title="Text marker",le.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>',le}(Me),Je=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.color="transparent",Ie.lineWidth=3,Ie.drawing=!1,Ie.pixelRatio=1,Ie.color=Ge.defaultColor,Ie.lineWidth=Ge.defaultStrokeWidth,Ie.pixelRatio=Ge.freehandPixelRatio,Ie.setColor=Ie.setColor.bind(Ie),Ie.addCanvas=Ie.addCanvas.bind(Ie),Ie.finishCreation=Ie.finishCreation.bind(Ie),Ie.setLineWidth=Ie.setLineWidth.bind(Ie),Ie.colorPanel=new ue("Color",Ge.defaultColorSet,Ge.defaultColor),Ie.colorPanel.onColorChanged=Ie.setColor,Ie.lineWidthPanel=new Pe("Line width",Ge.defaultStrokeWidths,Ge.defaultStrokeWidth),Ie.lineWidthPanel.onWidthChanged=Ie.setLineWidth,Ie}return oe(le,je),le.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.drawingImage)},le.prototype.createVisual=function(){this.visual=ve.createGroup(),this.drawingImage=ve.createImage(),this.visual.appendChild(this.drawingImage);var ie=ve.createTransform();this.visual.transform.baseVal.appendItem(ie),this.addMarkerVisualToContainer(this.visual)},le.prototype.pointerDown=function(ie,ke){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(ie.x,ie.y),this.drawing=!0):je.prototype.pointerDown.call(this,ie,ke)},le.prototype.manipulate=function(ie){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ie.x,ie.y),this.canvasContext.stroke()):je.prototype.manipulate.call(this,ie)},le.prototype.resize=function(ie){je.prototype.resize.call(this,ie),ve.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ve.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},le.prototype.pointerUp=function(ie){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):je.prototype.pointerUp.call(this,ie)},le.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)},le.prototype.select=function(){this.state==="creating"&&this.finishCreation(),je.prototype.select.call(this)},le.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),je.prototype.deselect.call(this)},le.prototype.finishCreation=function(){for(var ie=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ke=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],Ge=ke[0],Ie=ke[1],pe=ke[2],x=ke[3],me=!1,Le=0;Le<this.canvasElement.height;Le++)for(var Se=0;Se<this.canvasElement.width;Se++)ie.data[Le*this.canvasElement.width*4+4*Se+3]>0&&(me=!0,Le<Ie&&(Ie=Le),Se<Ge&&(Ge=Se),Le>x&&(x=Le),Se>pe&&(pe=Se));if(me){this.left=Ge/this.pixelRatio,this.top=Ie/this.pixelRatio,this.width=(pe-Ge)/this.pixelRatio,this.height=(x-Ie)/this.pixelRatio;var Be=document.createElement("canvas");Be.width=pe-Ge,Be.height=x-Ie,Be.getContext("2d").putImageData(this.canvasContext.getImageData(Ge,Ie,pe-Ge,x-Ie),0,0),this.drawingImgUrl=Be.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},le.prototype.setDrawingImage=function(){ve.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),ve.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},le.prototype.setColor=function(ie){this.color=ie,this.colorChanged(ie)},le.prototype.setLineWidth=function(ie){this.lineWidth=ie},Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=Object.assign({drawingImgUrl:this.drawingImgUrl},je.prototype.getState.call(this));return ie.typeName=le.typeName,ie},le.prototype.restoreState=function(ie){this.createVisual(),je.prototype.restoreState.call(this,ie),this.drawingImgUrl=ie.drawingImgUrl,this.setDrawingImage()},le.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.setDrawingImage()},le.typeName="FreehandMarker",le.title="Freehand marker",le.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>',le}(Me),He=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,Ge||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return Ie.typeBoxes=[],Ie.currentType=ke,Ie.setCurrentType=Ie.setCurrentType.bind(Ie),Ie}return oe(le,je),le.prototype.getUi=function(){var ie=this,ke=document.createElement("div");ke.style.display="flex",ke.style.overflow="hidden",ke.style.flexGrow="2";for(var Ge=function(x){var me="both";switch(x){case 0:me="both";break;case 1:me="start";break;case 2:me="end";break;case 3:me="none"}var Le=document.createElement("div");if(Le.style.display="flex",Le.style.flexGrow="2",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=me===Ie.currentType?Ie.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){ie.setCurrentType(me,Le)}),ke.appendChild(Le),me==="both"||me==="start"){var Se=document.createElement("div");Se.style.display="flex",Se.style.alignItems="center",Se.style.minHeight="20px",Se.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="`+(Ie.uiStyleSettings!==void 0?Ie.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Se.style.marginLeft="5px",Le.appendChild(Se)}var Be=document.createElement("div");Be.style.display="flex",Be.style.alignItems="center",Be.style.minHeight="20px",Be.style.flexGrow="2";var Qe=document.createElement("hr");if(Qe.style.minWidth="20px",Qe.style.border="0px",Qe.style.borderTop="3px solid "+(Ie.uiStyleSettings!==void 0?Ie.uiStyleSettings.toolboxColor:"#eeeeee"),Qe.style.flexGrow="2",Be.appendChild(Qe),Le.appendChild(Be),me==="both"||me==="end"){var it=document.createElement("div");it.style.display="flex",it.style.alignItems="center",it.style.minHeight="20px",it.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="`+(Ie.uiStyleSettings!==void 0?Ie.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,it.style.marginRight="5px",Le.appendChild(it)}Ie.typeBoxes.push(Le)},Ie=this,pe=0;pe<4;pe++)Ge(pe);return ke},le.prototype.setCurrentType=function(ie,ke){var Ge=this;this.currentType=ie,this.typeBoxes.forEach(function(Ie){Ie.style.borderColor=Ie===ke?Ge.uiStyleSettings!==void 0?Ge.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},le}(xe),lt=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.arrowType="end",Ie.arrowBaseHeight=10,Ie.arrowBaseWidth=10,Ie.getArrowPoints=Ie.getArrowPoints.bind(Ie),Ie.setArrowType=Ie.setArrowType.bind(Ie),Ie.arrowTypePanel=new He("Arrow type","end"),Ie.arrowTypePanel.onArrowTypeChanged=Ie.setArrowType,Ie}return oe(le,je),le.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.arrow1&&ie!==this.arrow2)},le.prototype.getArrowPoints=function(ie,ke){var Ge=this.arrowBaseWidth+2*this.strokeWidth,Ie=this.arrowBaseHeight+2*this.strokeWidth;return ie-Ge/2+","+(ke+Ie/2)+" "+ie+","+(ke-Ie/2)+" "+(ie+Ge/2)+","+(ke+Ie/2)},le.prototype.createTips=function(){this.arrow1=ve.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=ve.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(ve.createTransform()),this.visual.appendChild(this.arrow2)},le.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="creating"&&this.createTips()},le.prototype.adjustVisual=function(){if(je.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",ve.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),ve.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ie=0;Math.abs(this.x1-this.x2)>.1&&(ie=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ke=this.arrow1.transform.baseVal.getItem(0);ke.setRotate(ie,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ke,0);var Ge=this.arrow2.transform.baseVal.getItem(0);Ge.setRotate(ie+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(Ge,0)}},le.prototype.setArrowType=function(ie){this.arrowType=ie,this.adjustVisual(),this.stateChanged()},Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=Object.assign({arrowType:this.arrowType},je.prototype.getState.call(this));return ie.typeName=le.typeName,ie},le.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie);var ke=ie;this.arrowType=ke.arrowType,this.createTips(),this.adjustVisual()},le.typeName="ArrowMarker",le.title="Arrow marker",le.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',le}(We),ct=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.fillColor=Ge.defaultFillColor,Ie.strokeWidth=0,Ie.fillPanel=new ue("Color",Ge.defaultColorSet,Ge.defaultFillColor),Ie.fillPanel.onColorChanged=Ie.setFillColor,Ie}return oe(le,je),Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=je.prototype.getState.call(this);return ie.typeName=le.typeName,ie},le.typeName="CoverMarker",le.title="Cover marker",le.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',le}(be),tt=function(je){function le(ie,ke,Ge,Ie){var pe=je.call(this,ie,Ie||'<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=ke,pe.currentOpacity=Ge,pe.setCurrentOpacity=pe.setCurrentOpacity.bind(pe),pe}return oe(le,je),le.prototype.getUi=function(){var ie=this,ke=document.createElement("div");return ke.style.display="flex",ke.style.overflow="hidden",ke.style.flexGrow="2",ke.style.justifyContent="space-between",this.opacities.forEach(function(Ge){var Ie=document.createElement("div");Ie.style.display="flex",Ie.style.alignItems="center",Ie.style.justifyContent="center",Ie.style.padding="5px",Ie.style.borderWidth="2px",Ie.style.borderStyle="solid",Ie.style.borderColor=Ge===ie.currentOpacity?ie.uiStyleSettings.toolboxAccentColor:"transparent",Ie.addEventListener("click",function(){ie.setCurrentOpacity(Ge,Ie)}),ke.appendChild(Ie);var pe=document.createElement("div");pe.innerText=100*Ge+"%",Ie.appendChild(pe),ie.opacityBoxes.push(Ie)}),ke},le.prototype.setCurrentOpacity=function(ie,ke){var Ge=this;this.currentOpacity=ie,this.opacityBoxes.forEach(function(Ie){Ie.style.borderColor=Ie===ke?Ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},le}(xe),Bt=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.setOpacity=Ie.setOpacity.bind(Ie),Ie.fillColor=Ge.defaultHighlightColor,Ie.strokeWidth=0,Ie.opacity=Ge.defaultHighlightOpacity,Ie.fillPanel=new ue("Color",Ge.defaultColorSet,Ie.fillColor),Ie.fillPanel.onColorChanged=Ie.setFillColor,Ie.opacityPanel=new tt("Opacity",Ge.defaultOpacitySteps,Ie.opacity),Ie.opacityPanel.onOpacityChanged=Ie.setOpacity,Ie}return oe(le,je),le.prototype.setOpacity=function(ie){this.opacity=ie,this.visual&&ve.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=je.prototype.getState.call(this);return ie.typeName=le.typeName,ie},le.typeName="HighlightMarker",le.title="Highlight marker",le.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>',le}(ct),nt='<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>',Ue='<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>',Xe=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.bgColor="transparent",Ie.tipPosition={x:0,y:0},Ie.tipBase1Position={x:0,y:0},Ie.tipBase2Position={x:0,y:0},Ie.tipMoving=!1,Ie.color=Ge.defaultStrokeColor,Ie.bgColor=Ge.defaultFillColor,Ie.fontFamily=Ge.defaultFontFamily,Ie.defaultSize={x:100,y:30},Ie.setBgColor=Ie.setBgColor.bind(Ie),Ie.getTipPoints=Ie.getTipPoints.bind(Ie),Ie.positionTip=Ie.positionTip.bind(Ie),Ie.setTipPoints=Ie.setTipPoints.bind(Ie),Ie.colorPanel=new ue("Text color",Ge.defaultColorSet,Ie.color,nt),Ie.colorPanel.onColorChanged=Ie.setColor,Ie.bgColorPanel=new ue("Fill color",Ge.defaultColorSet,Ie.bgColor,Ue),Ie.bgColorPanel.onColorChanged=Ie.setBgColor,Ie.fontFamilyPanel=new Ne("Font",Ge.defaultFontFamilies,Ge.defaultFontFamily),Ie.fontFamilyPanel.onFontChanged=Ie.setFont,Ie.tipGrip=new Ae,Ie.tipGrip.visual.transform.baseVal.appendItem(ve.createTransform()),Ie.controlBox.appendChild(Ie.tipGrip.visual),Ie}return oe(le,je),le.prototype.ownsTarget=function(ie){return je.prototype.ownsTarget.call(this,ie)||this.tipGrip.ownsTarget(ie)||this.tip===ie},le.prototype.createTip=function(){ve.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=ve.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},le.prototype.pointerDown=function(ie,ke){this.state==="new"&&je.prototype.pointerDown.call(this,ie,ke),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ke)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):je.prototype.pointerDown.call(this,ie,ke)},le.prototype.pointerUp=function(ie){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,je.prototype.pointerUp.call(this,ie);else{var ke=this.state==="creating";je.prototype.pointerUp.call(this,ie),this.setTipPoints(ke),this.positionTip()}},le.prototype.manipulate=function(ie){if(this.tipMoving){var ke=this.unrotatePoint(ie);this.tipPosition={x:ke.x-this.manipulationStartLeft,y:ke.y-this.manipulationStartTop},this.positionTip()}else je.prototype.manipulate.call(this,ie)},le.prototype.setBgColor=function(ie){this.bgRectangle&&this.tip&&(ve.setAttributes(this.bgRectangle,[["fill",ie]]),ve.setAttributes(this.tip,[["fill",ie]])),this.bgColor=ie,this.fillColorChanged(ie)},le.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},le.prototype.setTipPoints=function(ie){ie===void 0&&(ie=!1);var ke=Math.min(this.height/2,15),Ge=this.height/5;ie&&(this.tipPosition={x:ke+Ge/2,y:this.height+20});var Ie=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?Ie<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(Ge=this.width/5,ke=Math.min(this.width/2,15),this.tipBase1Position={x:ke,y:0},this.tipBase2Position={x:ke+Ge,y:0}):(this.tipBase1Position={x:0,y:ke},this.tipBase2Position={x:0,y:ke+Ge}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?Ie<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(Ge=this.width/5,ke=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ke-Ge,y:0},this.tipBase2Position={x:this.width-ke,y:0}):(this.tipBase1Position={x:this.width,y:ke},this.tipBase2Position={x:this.width,y:ke+Ge}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?Ie<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(Ge=this.width/5,ke=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ke-Ge,y:this.height},this.tipBase2Position={x:this.width-ke,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ke-Ge},this.tipBase2Position={x:this.width,y:this.height-ke}):Ie<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(Ge=this.width/5,ke=Math.min(this.width/2,15),this.tipBase1Position={x:ke,y:this.height},this.tipBase2Position={x:ke+Ge,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ke},this.tipBase2Position={x:0,y:this.height-ke-Ge})},le.prototype.resize=function(ie){je.prototype.resize.call(this,ie),this.positionTip()},le.prototype.positionTip=function(){ve.setAttributes(this.tip,[["points",this.getTipPoints()]]);var ie=this.tipGrip.visual.transform.baseVal.getItem(0);ie.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(ie,0)},Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),le.prototype.select=function(){this.positionTip(),je.prototype.select.call(this)},le.prototype.getState=function(){var ie=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},je.prototype.getState.call(this));return ie.typeName=le.typeName,ie},le.prototype.restoreState=function(ie){var ke=ie;this.bgColor=ke.bgColor,this.tipPosition=ke.tipPosition,je.prototype.restoreState.call(this,ie),this.createTip(),this.setTipPoints()},le.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.tipPosition={x:this.tipPosition.x*ie,y:this.tipPosition.y*ke},this.positionTip()},le.typeName="CalloutMarker",le.title="Callout marker",le.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>',le}(Ye),$e=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.fillColor="transparent",Ie.strokeColor="transparent",Ie.strokeWidth=0,Ie.strokeDasharray="",Ie.opacity=1,Ie.strokeColor=Ge.defaultColor,Ie.strokeWidth=Ge.defaultStrokeWidth,Ie.strokeDasharray=Ge.defaultStrokeDasharray,Ie.fillColor=Ge.defaultFillColor,Ie.setStrokeColor=Ie.setStrokeColor.bind(Ie),Ie.setFillColor=Ie.setFillColor.bind(Ie),Ie.setStrokeWidth=Ie.setStrokeWidth.bind(Ie),Ie.setStrokeDasharray=Ie.setStrokeDasharray.bind(Ie),Ie.setOpacity=Ie.setOpacity.bind(Ie),Ie.createVisual=Ie.createVisual.bind(Ie),Ie.strokePanel=new ue("Line color",de(Ge.defaultColorSet,["transparent"]),Ge.defaultColor),Ie.strokePanel.onColorChanged=Ie.setStrokeColor,Ie.fillPanel=new ue("Fill color",de(Ge.defaultColorSet,["transparent"]),Ie.fillColor,Ue),Ie.fillPanel.onColorChanged=Ie.setFillColor,Ie.strokeWidthPanel=new Pe("Line width",Ge.defaultStrokeWidths,Ge.defaultStrokeWidth),Ie.strokeWidthPanel.onWidthChanged=Ie.setStrokeWidth,Ie.strokeStylePanel=new Fe("Line style",Ge.defaultStrokeDasharrays,Ge.defaultStrokeDasharray),Ie.strokeStylePanel.onStyleChanged=Ie.setStrokeDasharray,Ie.opacityPanel=new tt("Opacity",Ge.defaultOpacitySteps,Ie.opacity),Ie.opacityPanel.onOpacityChanged=Ie.setOpacity,Ie}return oe(le,je),le.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual)},le.prototype.createVisual=function(){this.visual=ve.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)},le.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},le.prototype.manipulate=function(ie){je.prototype.manipulate.call(this,ie)},le.prototype.resize=function(ie){je.prototype.resize.call(this,ie),this.setSize()},le.prototype.setSize=function(){je.prototype.setSize.call(this),ve.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},le.prototype.pointerUp=function(ie){je.prototype.pointerUp.call(this,ie),this.setSize()},le.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.visual&&ve.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},le.prototype.setFillColor=function(ie){this.fillColor=ie,this.visual&&ve.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ie),this.stateChanged()},le.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.visual&&ve.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},le.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.visual&&ve.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},le.prototype.setOpacity=function(ie){this.opacity=ie,this.visual&&ve.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},je.prototype.getState.call(this));return ie.typeName=le.typeName,ie},le.prototype.restoreState=function(ie){var ke=ie;this.fillColor=ke.fillColor,this.strokeColor=ke.strokeColor,this.strokeWidth=ke.strokeWidth,this.strokeDasharray=ke.strokeDasharray,this.opacity=ke.opacity,this.createVisual(),je.prototype.restoreState.call(this,ie),this.setSize()},le.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.setSize()},le.typeName="EllipseMarker",le.title="Ellipse marker",le.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>',le}(Me),qe=function(je){function le(ie,ke,Ge){return je.call(this,ie,ke,Ge)||this}return oe(le,je),Object.defineProperty(le.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),le.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.tip1&&ie!==this.tip2)},le.prototype.createTips=function(){this.tip1=ve.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(ve.createTransform()),this.visual.appendChild(this.tip1),this.tip2=ve.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(ve.createTransform()),this.visual.appendChild(this.tip2)},le.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.state==="creating"&&this.createTips()},le.prototype.adjustVisual=function(){if(je.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(ve.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()]]),ve.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 ie=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ke=this.tip1.transform.baseVal.getItem(0);ke.setRotate(ie,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ke,0);var Ge=this.tip2.transform.baseVal.getItem(0);Ge.setRotate(ie+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(Ge,0)}},Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=je.prototype.getState.call(this);return ie.typeName=le.typeName,ie},le.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie),this.createTips(),this.adjustVisual()},le.typeName="MeasurementMarker",le.title="Measurement marker",le.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>',le}(We),Ve=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.strokePanel.colors=Ge.defaultColorSet,Ie.fillColor="transparent",Ie}return oe(le,je),Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=je.prototype.getState.call(this);return ie.typeName=le.typeName,ie},le.typeName="EllipseFrameMarker",le.title="Ellipse frame marker",le.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>',le}($e),ht=function(){function je(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(je.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),je.prototype.addUndoStep=function(le){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(le)||(this.undoStack.push(le),JSON.stringify(this.lastRedoStep)!==JSON.stringify(le)&&this.redoStack.splice(0,this.redoStack.length))},je.prototype.replaceLastUndoStep=function(le){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=le)},je.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},je.prototype.undo=function(){if(this.undoStack.length>1){var le=this.undoStack.pop();return le!==void 0&&this.redoStack.push(le),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},je.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},je}(),st=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.strokeColor="transparent",Ie.strokeWidth=0,Ie.strokeDasharray="",Ie.curveX=0,Ie.curveY=0,Ie.manipulationStartCurveX=0,Ie.manipulationStartCurveY=0,Ie.setStrokeColor=Ie.setStrokeColor.bind(Ie),Ie.setStrokeWidth=Ie.setStrokeWidth.bind(Ie),Ie.setStrokeDasharray=Ie.setStrokeDasharray.bind(Ie),Ie.positionGrips=Ie.positionGrips.bind(Ie),Ie.addControlGrips=Ie.addControlGrips.bind(Ie),Ie.adjustVisual=Ie.adjustVisual.bind(Ie),Ie.setupControlBox=Ie.setupControlBox.bind(Ie),Ie.resize=Ie.resize.bind(Ie),Ie.strokeColor=Ge.defaultColor,Ie.strokeWidth=Ge.defaultStrokeWidth,Ie.strokeDasharray=Ge.defaultStrokeDasharray,Ie.strokePanel=new ue("Line color",Ge.defaultColorSet,Ge.defaultColor),Ie.strokePanel.onColorChanged=Ie.setStrokeColor,Ie.strokeWidthPanel=new Pe("Line width",Ge.defaultStrokeWidths,Ge.defaultStrokeWidth),Ie.strokeWidthPanel.onWidthChanged=Ie.setStrokeWidth,Ie.strokeStylePanel=new Fe("Line style",Ge.defaultStrokeDasharrays,Ge.defaultStrokeDasharray),Ie.strokeStylePanel.onStyleChanged=Ie.setStrokeDasharray,Ie}return oe(le,je),le.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.selectorCurve&&ie!==this.visibleCurve&&!this.curveGrip.ownsTarget(ie))},le.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},le.prototype.createVisual=function(){this.visual=ve.createGroup(),this.selectorCurve=ve.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=ve.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)},le.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ie.x,this.curveY=ie.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ke)&&(this.activeGrip=this.curveGrip,this._state="resize")},le.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),ve.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),ve.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),ve.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},le.prototype.setupControlBox=function(){je.prototype.setupControlBox.call(this),this.curveControlLine1=ve.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=ve.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)},le.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,je.prototype.addControlGrips.call(this)},le.prototype.positionGrips=function(){je.prototype.positionGrips.call(this);var ie=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ie/2,this.curveY-ie/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()))},le.prototype.manipulate=function(ie){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ie.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ie.y-this.manipulationStartY),je.prototype.manipulate.call(this,ie)},le.prototype.resize=function(ie){this.activeGrip===this.curveGrip&&(this.curveX=ie.x,this.curveY=ie.y),je.prototype.resize.call(this,ie),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},le.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.adjustVisual(),this.colorChanged(ie)},le.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.adjustVisual()},le.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.adjustVisual()},le.prototype.scale=function(ie,ke){this.curveX=this.curveX*ie,this.curveY=this.curveY*ke,je.prototype.scale.call(this,ie,ke)},Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},je.prototype.getState.call(this));return ie.typeName=le.typeName,ie},le.prototype.restoreState=function(ie){je.prototype.restoreState.call(this,ie);var ke=ie;this.strokeColor=ke.strokeColor,this.strokeWidth=ke.strokeWidth,this.strokeDasharray=ke.strokeDasharray,this.curveX=ke.curveX,this.curveY=ke.curveY,this.createVisual(),this.adjustVisual()},le.typeName="CurveMarker",le.title="Curve marker",le.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>',le}(Ke),Nt=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,ke,Ge)||this;return Ie.fillColor="transparent",Ie.strokeColor="transparent",Ie.strokeWidth=0,Ie.strokeDasharray="",Ie.textColor="transparent",Ie.fontSize="1rem",Ie.isMoved=!1,Ie.captionText="Caption",Ie.PADDING=5,Ie.captionBoxWidth=0,Ie.captionBoxHeight=0,Ie.strokeColor=Ge.defaultColor,Ie.strokeWidth=Ge.defaultStrokeWidth,Ie.strokeDasharray=Ge.defaultStrokeDasharray,Ie.fillColor=Ge.defaultFillColor,Ie.textColor=Ge.defaultStrokeColor,Ie.fontFamily=Ge.defaultFontFamily,Ie.fontSize=Ge.defaultCaptionFontSize,Ie.captionText=Ge.defaultCaptionText,Ie.setStrokeColor=Ie.setStrokeColor.bind(Ie),Ie.setFillColor=Ie.setFillColor.bind(Ie),Ie.setStrokeWidth=Ie.setStrokeWidth.bind(Ie),Ie.setStrokeDasharray=Ie.setStrokeDasharray.bind(Ie),Ie.createVisual=Ie.createVisual.bind(Ie),Ie.sizeCaption=Ie.sizeCaption.bind(Ie),Ie.setCaptionText=Ie.setCaptionText.bind(Ie),Ie.showTextEditor=Ie.showTextEditor.bind(Ie),Ie.positionTextEditor=Ie.positionTextEditor.bind(Ie),Ie.finishTextEditing=Ie.finishTextEditing.bind(Ie),Ie.setFont=Ie.setFont.bind(Ie),Ie.setTextColor=Ie.setTextColor.bind(Ie),Ie.strokePanel=new ue("Line color",de(Ge.defaultColorSet,["transparent"]),Ie.strokeColor),Ie.strokePanel.onColorChanged=Ie.setStrokeColor,Ie.fillPanel=new ue("Fill color",de(Ge.defaultColorSet,["transparent"]),Ie.fillColor,Ue),Ie.fillPanel.onColorChanged=Ie.setFillColor,Ie.strokeWidthPanel=new Pe("Line width",Ge.defaultStrokeWidths,Ge.defaultStrokeWidth),Ie.strokeWidthPanel.onWidthChanged=Ie.setStrokeWidth,Ie.strokeStylePanel=new Fe("Line style",Ge.defaultStrokeDasharrays,Ge.defaultStrokeDasharray),Ie.strokeStylePanel.onStyleChanged=Ie.setStrokeDasharray,Ie.fontFamilyPanel=new Ne("Font",Ge.defaultFontFamilies,Ge.defaultFontFamily),Ie.fontFamilyPanel.onFontChanged=Ie.setFont,Ie.textColorPanel=new ue("Text color",Ge.defaultColorSet,Ie.textColor,nt),Ie.textColorPanel.onColorChanged=Ie.setTextColor,Ie}return oe(le,je),le.prototype.ownsTarget=function(ie){return!(!je.prototype.ownsTarget.call(this,ie)&&ie!==this.visual&&ie!==this.frame&&ie!==this.captionBg&&ie!==this.captionElement)},le.prototype.createVisual=function(){this.visual=ve.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=ve.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=ve.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=ve.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()},le.prototype.setCaptionText=function(ie){this.captionText=ie,this.captionElement.textContent=this.captionText,this.sizeCaption()},le.prototype.pointerDown=function(ie,ke){je.prototype.pointerDown.call(this,ie,ke),this.isMoved=!1,this.pointerDownPoint=ie,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ie),this._state="creating")},le.prototype.manipulate=function(ie){je.prototype.manipulate.call(this,ie),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ie.x-this.pointerDownPoint.x)>5||Math.abs(ie.y-this.pointerDownPoint.y)>5)},le.prototype.resize=function(ie){je.prototype.resize.call(this,ie),this.setSize()},le.prototype.sizeCaption=function(){var ie=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ie.width+2*this.PADDING,this.captionBoxHeight=ie.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),ve.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')"]]),ve.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')"]])},le.prototype.showTextEditor=function(){var ie=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(ke){ke.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ke){ke.key==="Enter"&&ie.finishTextEditing(ie.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ke){ke.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ie.finishTextEditing(ie.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ie.finishTextEditing(ie.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},le.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"))},le.prototype.finishTextEditing=function(ie){this.setCaptionText(ie.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},le.prototype.setFont=function(ie){this.captionElement&&ve.setAttributes(this.captionElement,[["font-family",ie]]),this.fontFamily=ie,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},le.prototype.setTextColor=function(ie){this.captionElement&&ve.setAttributes(this.captionElement,[["fill",ie]]),this.textColor=ie,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},le.prototype.setSize=function(){je.prototype.setSize.call(this),ve.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},le.prototype.pointerUp=function(ie){je.prototype.pointerUp.call(this,ie),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},le.prototype.dblClick=function(ie,ke){je.prototype.dblClick.call(this,ie,ke),this.showTextEditor()},le.prototype.setStrokeColor=function(ie){this.strokeColor=ie,this.frame&&ve.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ie),this.stateChanged()},le.prototype.setFillColor=function(ie){this.fillColor=ie,this.captionBg&&ve.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ie),this.stateChanged()},le.prototype.setStrokeWidth=function(ie){this.strokeWidth=ie,this.frame&&ve.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},le.prototype.setStrokeDasharray=function(ie){this.strokeDasharray=ie,this.frame&&ve.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(le.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),le.prototype.getState=function(){var ie=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},je.prototype.getState.call(this));return ie.typeName=this.typeName,ie},le.prototype.restoreState=function(ie){var ke=ie;this.fillColor=ke.fillColor,this.strokeColor=ke.strokeColor,this.strokeWidth=ke.strokeWidth,this.strokeDasharray=ke.strokeDasharray,this.textColor=ke.textColor,this.fontFamily=ke.fontFamily,this.captionText=ke.captionText,this.fontSize=ke.fontSize,this.createVisual(),je.prototype.restoreState.call(this,ie),this.setSize()},le.prototype.scale=function(ie,ke){je.prototype.scale.call(this,ie,ke),this.setSize()},le.typeName="CaptionFrameMarker",le.title="Caption frame marker",le.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>',le}(Me),dt=function(){function je(le,ie){ie===void 0&&(ie=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=le,this.cancelable=ie}return Object.defineProperty(je.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),je.prototype.preventDefault=function(){this._defaultPrevented=!0},je}(),Tt=function(je){function le(ie,ke,Ge){var Ie=je.call(this,ie,!1)||this;return Ie.dataUrl=ke,Ie.state=Ge,Ie}return oe(le,je),le}(dt),bt=function(je){function le(ie,ke,Ge){Ge===void 0&&(Ge=!1);var Ie=je.call(this,ie,Ge)||this;return Ie.marker=ke,Ie}return oe(le,je),le}(dt),Ct=function(){function je(){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 je.prototype.addEventListener=function(le,ie){this[le].push(ie)},je.prototype.removeEventListener=function(le,ie){var ke=this[le].indexOf(ie);ke>-1&&this[le].splice(ke,1)},je}(),gt=function(){function je(le){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Te,this._isOpen=!1,this.undoRedoManager=new ht,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=je.instanceCounter++,this.styles=new E(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=le,this.targetRoot=document.body,this.width=le.clientWidth,this.height=le.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(je.prototype,"ALL_MARKER_TYPES",{get:function(){return[_e,Je,lt,Ye,Ve,$e,Bt,Xe,qe,ct,We,st,Nt]},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[_e,Je,lt,Ye,$e,Bt,Xe]},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"BASIC_MARKER_TYPES",{get:function(){return[_e,Je,lt,Ye,Bt]},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(le){var ie=this;this._availableMarkerTypes.splice(0),le.forEach(function(ke){if(typeof ke=="string"){var Ge=ie.ALL_MARKER_TYPES.find(function(Ie){return Ie.typeName===ke});Ge!==void 0&&ie._availableMarkerTypes.push(Ge)}else ie._availableMarkerTypes.push(ke)})},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(je.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(le){this._zoomLevel=le,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(je.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),je.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),re.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},je.prototype.show=function(){var le=this;this.styles.styleSheetRoot===void 0&&fe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=fe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ie){return ie(new dt(le))})},je.prototype.render=function(){return ye(this,void 0,void 0,function(){var le;return De(this,function(ie){switch(ie.label){case 0:return this.setCurrentMarker(),(le=new se).naturalSize=this.renderAtNaturalSize,le.imageType=this.renderImageType,le.imageQuality=this.renderImageQuality,le.markersOnly=this.renderMarkersOnly,le.width=this.renderWidth,le.height=this.renderHeight,[4,le.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ie.sent(),[4,le.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ie.sent()]}})})},je.prototype.close=function(le){var ie=this;if(le===void 0&&(le=!1),this.isOpen){var ke=!1;le||this.eventListeners.beforeclose.forEach(function(Ge){var Ie=new dt(ie,!0);Ge(Ie),Ie.defaultPrevented&&(ke=!0)}),ke||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(Ge){return Ge(new dt(ie))}),this.detachEvents(),this._isOpen=!1)}},je.prototype.addMarkersToToolbar=function(){for(var le,ie=[],ke=0;ke<arguments.length;ke++)ie[ke]=arguments[ke];(le=this._availableMarkerTypes).push.apply(le,ie)},je.prototype.addRenderEventListener=function(le){this.addEventListener("render",function(ie){le(ie.dataUrl,ie.state)})},je.prototype.removeRenderEventListener=function(le){},je.prototype.addCloseEventListener=function(le){this.addEventListener("close",function(){le()})},je.prototype.removeCloseEventListener=function(le){},je.prototype.setupResizeObserver=function(){var le=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){le.resize(le.target.clientWidth,le.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return le.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},je.prototype.onPopupTargetResize=function(){var le=1*this.target.clientWidth/this.target.clientHeight,ie=this.editorCanvas.clientWidth/le>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*le:this.editorCanvas.clientWidth,ke=ie<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/le;this.resize(ie,ke)},je.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},je.prototype.resize=function(le,ie){this._isResizing=!0;var ke=le/this.imageWidth,Ge=ie/this.imageHeight;this.imageWidth=Math.round(le),this.imageHeight=Math.round(ie),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(ke,Ge),this._isResizing=!1},je.prototype.scaleMarkers=function(le,ie){var ke,Ge=this;this._currentMarker&&this._currentMarker instanceof Ye?this._currentMarker.scale(le,ie):(ke=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(Ie){Ie!==Ge._currentMarker&&Ie.scale(le,ie)}),ke!==void 0&&this.setCurrentMarker(ke)},je.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"},je.prototype.setTopLeft=function(){var le=this.editingTarget.getBoundingClientRect(),ie=this.editorCanvas.getBoundingClientRect();this.left=le.left-ie.left,this.top=le.top-ie.top},je.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)},je.prototype.addDefs=function(){for(var le,ie=[],ke=0;ke<arguments.length;ke++)ie[ke]=arguments[ke];this.defs=ve.createDefs(),this.addDefsToImage(),(le=this.defs).append.apply(le,ie)},je.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},je.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)},je.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},je.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},je.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)},je.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},je.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)},je.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 le=document.createElement("a");le.href="https://markerjs.com/",le.target="_blank",le.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>',le.title="Powered by marker.js",le.style.display="grid",le.style.alignItems="center",le.style.justifyItems="center",le.style.padding="3px",le.style.width="20px",le.style.height="20px",this.logoUI.appendChild(le),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},je.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")},je.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"},je.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},je.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 le=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=le+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new ge(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new we(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},je.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},je.prototype.removeMarker=function(le){this.markerImage.removeChild(le.container),this.markers.indexOf(le)>-1&&this.markers.splice(this.markers.indexOf(le),1),le.dispose()},je.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())},je.prototype.toolbarButtonClicked=function(le,ie){if(le==="marker"&&ie!==void 0)this.createNewMarker(ie);else if(le==="action")switch(ie){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()}},je.prototype.deleteSelectedMarker=function(){var le=this;if(this._currentMarker!==void 0){var ie=!1;if(this.eventListeners.markerbeforedelete.forEach(function(Ge){var Ie=new bt(le,le._currentMarker,!0);Ge(Ie),Ie.defaultPrevented&&(ie=!0)}),!ie){var ke=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(Ge){return Ge(new bt(le,ke))})}}},je.prototype.clear=function(){var le=this,ie=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(pe){var x=new bt(le,void 0,!0);pe(x),x.defaultPrevented&&(ie=!0)}),!ie)){this.setCurrentMarker();for(var ke=function(pe){var x=Ge.markers[pe];Ge.setCurrentMarker(Ge.markers[pe]),Ge._currentMarker.dispose(),Ge.markerImage.removeChild(Ge._currentMarker.container),Ge.markers.splice(Ge.markers.indexOf(Ge._currentMarker),1),Ge.eventListeners.markerdelete.forEach(function(me){return me(new bt(le,x))})},Ge=this,Ie=this.markers.length-1;Ie>=0;Ie--)ke(Ie);this.addUndoStep()}},Object.defineProperty(je.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),je.prototype.showNotesEditor=function(){var le;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=(le=this._currentMarker.notes)!==null&&le!==void 0?le:"",this.overlayContainer.appendChild(this.notesArea))},je.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)},je.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},je.prototype.addUndoStep=function(){var le=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ie=this.getState(),ke=this.undoRedoManager.getLastUndoStep();if(!ke||ke.width===ie.width&&ke.height===ie.height){var Ge=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ie),Ge<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(Ie){return Ie(new dt(le))})}else this.undoRedoManager.replaceLastUndoStep(ie),this.eventListeners.statechange.forEach(function(Ie){return Ie(new dt(le))})}},je.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},je.prototype.undoStep=function(){var le=this,ie=this.undoRedoManager.undo();ie!==void 0&&(this.restoreState(ie),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ke){return ke(new dt(le))}))},je.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},je.prototype.redoStep=function(){var le=this,ie=this.undoRedoManager.redo();ie!==void 0&&(this.restoreState(ie),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ke){return ke(new dt(le))}))},je.prototype.stepZoom=function(){var le=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=le<this.zoomSteps.length-1?this.zoomSteps[le+1]:this.zoomSteps[0]},je.prototype.panTo=function(le){this.contentDiv.scrollBy({left:this.prevPanPoint.x-le.x,top:this.prevPanPoint.y-le.y}),this.prevPanPoint=le},je.prototype.startRenderAndClose=function(){return ye(this,void 0,void 0,function(){var le,ie,ke=this;return De(this,function(Ge){switch(Ge.label){case 0:return[4,this.render()];case 1:return le=Ge.sent(),ie=this.getState(),this.eventListeners.render.forEach(function(Ie){return Ie(new Tt(ke,le,ie))}),this.close(!0),[2]}})})},je.prototype.getState=function(le){le===!0&&this.setCurrentMarker();var ie={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ke){return ie.markers.push(ke.getState())}),ie},je.prototype.restoreState=function(le){var ie=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);le.markers.forEach(function(ke){var Ge=ie._availableMarkerTypes.find(function(pe){return pe.typeName===ke.typeName});if(Ge!==void 0){var Ie=ie.addNewMarker(Ge);Ie.restoreState(ke),ie.markers.push(Ie)}}),le.width&&le.height&&(le.width!==this.imageWidth||le.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/le.width,this.imageHeight/le.height),this.eventListeners.restorestate.forEach(function(ke){return ke(new dt(ie))})},je.prototype.addNewMarker=function(le){var ie=ve.createGroup();return this.markerImage.appendChild(ie),new le(ie,this.overlayContainer,this.settings)},je.prototype.createNewMarker=function(le){var ie,ke=this;(ie=typeof le=="string"?this._availableMarkerTypes.find(function(Ge){return Ge.typeName===le}):le)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(ie),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(ie.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(Ge){return Ge(new bt(ke,ke._currentMarker))}))},je.prototype.markerCreated=function(le){var ie=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(le),this.setCurrentMarker(le),le instanceof Je&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Je):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ke){return ke(new bt(ie,ie._currentMarker))})},je.prototype.colorChanged=function(le){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=le,this.settings.defaultStrokeColor=le)},je.prototype.fillColorChanged=function(le){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=le)},je.prototype.markerStateChanged=function(le){var ie=this;this.eventListeners.markerchange.forEach(function(ke){return ke(new bt(ie,le))})},je.prototype.setCurrentMarker=function(le){var ie=this;this._currentMarker!==le&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ke){return ke(new bt(ie,ie._currentMarker))})),this._currentMarker=le,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(ke){return ke(new bt(ie,ie._currentMarker))}))},je.prototype.onPointerDown=function(le){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||le.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var ie=this.markers.find(function(ke){return ke.ownsTarget(le.target)});ie!==void 0?(this.setCurrentMarker(ie),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(le.clientX,le.clientY),le.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:le.clientX,y:le.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(le.clientX,le.clientY))},je.prototype.onDblClick=function(le){if(this._isFocused||this.focus(),this.mode==="select"){var ie=this.markers.find(function(ke){return ke.ownsTarget(le.target)});ie!==void 0&&ie!==this._currentMarker&&this.setCurrentMarker(ie),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(le.clientX,le.clientY),le.target):this.setCurrentMarker()}},je.prototype.onPointerMove=function(le){this.touchPoints!==1&&le.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||le.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(le.clientX,le.clientY)):this.zoomLevel>1&&this.panTo({x:le.clientX,y:le.clientY}))},je.prototype.onPointerUp=function(le){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(le.clientX,le.clientY)),this.isDragging=!1,this.addUndoStep()},je.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},je.prototype.onKeyUp=function(le){this._currentMarker===void 0||this.notesArea!==void 0||le.key!=="Delete"&&le.key!=="Backspace"||this.deleteSelectedMarker()},je.prototype.clientToLocalCoordinates=function(le,ie){var ke=this.markerImage.getBoundingClientRect();return{x:(le-ke.left)/this.zoomLevel,y:(ie-ke.top)/this.zoomLevel}},je.prototype.onWindowResize=function(){this.positionUI()},je.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var le=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=le+"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()},je.prototype.addLicenseKey=function(le){re.addKey(le)},je.prototype.addEventListener=function(le,ie){this.eventListeners.addEventListener(le,ie)},je.prototype.removeEventListener=function(le,ie){this.eventListeners.removeEventListener(le,ie)},je.prototype.renderState=function(le){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(le),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(je.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),je.prototype.focus=function(){var le=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ie){return ie(new dt(le))}))},je.prototype.blur=function(){var le=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ie){return ie(new dt(le))}))},je.instanceCounter=0,je}()},6551:function(Un,pn,ae){"use strict";ae.d(pn,{ZP:function(){return re}});var b=ae(42978),oe=ae(59301),ye=ae(47273),De=0,de=(0,ye.Z)();function ve(){var se;return de?(se=De,De+=1):se="TEST_OR_SSR",se}function re(se){var fe=oe.useState(),E=(0,b.Z)(fe,2),te=E[0],ne=E[1];return oe.useEffect(function(){ne("rc_select_".concat(ve()))},[]),se||te}},37463:function(Un,pn,ae){"use strict";ae.d(pn,{Ac:function(){return Lt},Xo:function(){return Wt},Wx:function(){return zt},ZP:function(){return yr},lk:function(){return Re}});var b=ae(54476),oe=ae(94480),ye=ae(20068),De=ae(33885),de=ae(42978),ve=ae(75931),re=ae(76190),se=ae(18929),fe=ae(48736),E=ae(59301),te=ae(92310),ne=ae.n(te),ge=ae(34280),we=ae(49658),xe=ae(8654),ue=function(St){var Ot=St.className,Gt=St.customizeIcon,kt=St.customizeIconProps,Pt=St.children,xt=St.onMouseDown,en=St.onClick,on=typeof Gt=="function"?Gt(kt):Gt;return E.createElement("span",{className:Ot,onMouseDown:function(Yt){Yt.preventDefault(),xt==null||xt(Yt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:en,"aria-hidden":!0},on!==void 0?on:E.createElement("span",{className:ne()(Ot.split(/\s+/).map(function(cn){return"".concat(cn,"-icon")}))},Pt))},Ee=ue,Oe=function(St,Ot,Gt,kt,Pt){var xt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,en=arguments.length>6?arguments[6]:void 0,on=arguments.length>7?arguments[7]:void 0,cn=E.useMemo(function(){if((0,re.Z)(kt)==="object")return kt.clearIcon;if(Pt)return Pt},[kt,Pt]),Yt=E.useMemo(function(){return!!(!xt&&kt&&(Gt.length||en)&&!(on==="combobox"&&en===""))},[kt,xt,Gt.length,en,on]);return{allowClear:Yt,clearIcon:E.createElement(Ee,{className:"".concat(St,"-clear"),onMouseDown:Ot,customizeIcon:cn},"\xD7")}},Ae=E.createContext(null);function Re(){return E.useContext(Ae)}function Me(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,St=E.useState(!1),Ot=(0,de.Z)(St,2),Gt=Ot[0],kt=Ot[1],Pt=E.useRef(null),xt=function(){window.clearTimeout(Pt.current)};E.useEffect(function(){return xt},[]);var en=function(cn,Yt){xt(),Pt.current=window.setTimeout(function(){kt(cn),Yt&&Yt()},Zt)};return[Gt,en,xt]}function be(){var Zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,St=E.useRef(null),Ot=E.useRef(null);E.useEffect(function(){return function(){window.clearTimeout(Ot.current)}},[]);function Gt(kt){(kt||St.current===null)&&(St.current=kt),window.clearTimeout(Ot.current),Ot.current=window.setTimeout(function(){St.current=null},Zt)}return[function(){return St.current},Gt]}function Pe(Zt,St,Ot,Gt){var kt=E.useRef(null);kt.current={open:St,triggerOpen:Ot,customizedTrigger:Gt},E.useEffect(function(){function Pt(xt){var en;if(!((en=kt.current)!==null&&en!==void 0&&en.customizedTrigger)){var on=xt.target;on.shadowRoot&&xt.composed&&(on=xt.composedPath()[0]||on),kt.current.open&&Zt().filter(function(cn){return cn}).every(function(cn){return!cn.contains(on)&&cn!==on})&&kt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Pt),function(){return window.removeEventListener("mousedown",Pt)}},[])}var Fe=ae(10228);function _e(Zt){return Zt&&![Fe.Z.ESC,Fe.Z.SHIFT,Fe.Z.BACKSPACE,Fe.Z.TAB,Fe.Z.WIN_KEY,Fe.Z.ALT,Fe.Z.META,Fe.Z.WIN_KEY_RIGHT,Fe.Z.CTRL,Fe.Z.SEMICOLON,Fe.Z.EQUALS,Fe.Z.CAPS_LOCK,Fe.Z.CONTEXT_MENU,Fe.Z.F1,Fe.Z.F2,Fe.Z.F3,Fe.Z.F4,Fe.Z.F5,Fe.Z.F6,Fe.Z.F7,Fe.Z.F8,Fe.Z.F9,Fe.Z.F10,Fe.Z.F11,Fe.Z.F12].includes(Zt)}var Te=ae(26112),Ke=ae(83836);function We(Zt,St,Ot){var Gt=(0,De.Z)((0,De.Z)({},Zt),Ot?St:{});return Object.keys(St).forEach(function(kt){var Pt=St[kt];typeof Pt=="function"&&(Gt[kt]=function(){for(var xt,en=arguments.length,on=new Array(en),cn=0;cn<en;cn++)on[cn]=arguments[cn];return Pt.apply(void 0,on),(xt=Zt[kt])===null||xt===void 0?void 0:xt.call.apply(xt,[Zt].concat(on))})}),Gt}var Ne=We,Ye=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Je=function(St,Ot){var Gt=St.prefixCls,kt=St.id,Pt=St.inputElement,xt=St.autoFocus,en=St.autoComplete,on=St.editable,cn=St.activeDescendantId,Yt=St.value,$t=St.open,Xt=St.attrs,fn=(0,ve.Z)(St,Ye),lr=Pt||E.createElement("input",null),Ut=lr,Qt=Ut.ref,Cn=Ut.props;return(0,fe.Kp)(!("maxLength"in lr.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),lr=E.cloneElement(lr,(0,De.Z)((0,De.Z)((0,De.Z)({type:"search"},Ne(fn,Cn,!0)),{},{id:kt,ref:(0,xe.sQ)(Ot,Qt),autoComplete:en||"off",autoFocus:xt,className:ne()("".concat(Gt,"-selection-search-input"),Cn==null?void 0:Cn.className),role:"combobox","aria-expanded":$t||!1,"aria-haspopup":"listbox","aria-owns":"".concat(kt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(kt,"_list"),"aria-activedescendant":$t?cn:void 0},Xt),{},{value:on?Yt:"",readOnly:!on,unselectable:on?null:"on",style:(0,De.Z)((0,De.Z)({},Cn.style),{},{opacity:on?null:0})})),lr},He=E.forwardRef(Je),lt=He;function ct(Zt){return Array.isArray(Zt)?Zt:Zt!==void 0?[Zt]:[]}var tt=typeof window!="undefined"&&window.document&&window.document.documentElement,Bt=tt;function nt(Zt){return Zt!=null}function Ue(Zt){return!Zt&&Zt!==0}function Xe(Zt){return["string","number"].includes((0,re.Z)(Zt))}function $e(Zt){var St=void 0;return Zt&&(Xe(Zt.title)?St=Zt.title.toString():Xe(Zt.label)&&(St=Zt.label.toString())),St}function qe(Zt,St){Bt?E.useLayoutEffect(Zt,St):E.useEffect(Zt,St)}function Ve(Zt){var St;return(St=Zt.key)!==null&&St!==void 0?St:Zt.value}var ht=function(St){St.preventDefault(),St.stopPropagation()},st=function(St){var Ot=St.id,Gt=St.prefixCls,kt=St.values,Pt=St.open,xt=St.searchValue,en=St.autoClearSearchValue,on=St.inputRef,cn=St.placeholder,Yt=St.disabled,$t=St.mode,Xt=St.showSearch,fn=St.autoFocus,lr=St.autoComplete,Ut=St.activeDescendantId,Qt=St.tabIndex,Cn=St.removeIcon,Vt=St.maxTagCount,jt=St.maxTagTextLength,hn=St.maxTagPlaceholder,wn=hn===void 0?function(fr){return"+ ".concat(fr.length," ...")}:hn,bn=St.tagRender,In=St.onToggleOpen,Fn=St.onRemove,Zn=St.onInputChange,Mn=St.onInputPaste,Gn=St.onInputKeyDown,sr=St.onInputMouseDown,jn=St.onInputCompositionStart,ir=St.onInputCompositionEnd,Dr=St.onInputBlur,Tr=E.useRef(null),Wr=(0,E.useState)(0),vr=(0,de.Z)(Wr,2),Ir=vr[0],_r=vr[1],mr=(0,E.useState)(!1),Gr=(0,de.Z)(mr,2),Fr=Gr[0],gi=Gr[1],Xr="".concat(Gt,"-selection"),$r=Pt||$t==="multiple"&&en===!1||$t==="tags"?xt:"",ti=$t==="tags"||$t==="multiple"&&en===!1||Xt&&(Pt||Fr);qe(function(){_r(Tr.current.scrollWidth)},[$r]);var oi=function(Qn,Pr,Mr,Kt,On){return E.createElement("span",{title:$e(Qn),className:ne()("".concat(Xr,"-item"),(0,ye.Z)({},"".concat(Xr,"-item-disabled"),Mr))},E.createElement("span",{className:"".concat(Xr,"-item-content")},Pr),Kt&&E.createElement(Ee,{className:"".concat(Xr,"-item-remove"),onMouseDown:ht,onClick:On,customizeIcon:Cn},"\xD7"))},kr=function(Qn,Pr,Mr,Kt,On,$n){var pr=function(Qr){ht(Qr),In(!Pt)};return E.createElement("span",{onMouseDown:pr},bn({label:Pr,value:Qn,disabled:Mr,closable:Kt,onClose:On,isMaxTag:!!$n}))},Vr=function(Qn){var Pr=Qn.disabled,Mr=Qn.label,Kt=Qn.value,On=!Yt&&!Pr,$n=Mr;if(typeof jt=="number"&&(typeof Mr=="string"||typeof Mr=="number")){var pr=String($n);pr.length>jt&&($n="".concat(pr.slice(0,jt),"..."))}var zr=function(Yr){Yr&&Yr.stopPropagation(),Fn(Qn)};return typeof bn=="function"?kr(Kt,$n,Pr,On,zr):oi(Qn,$n,Pr,On,zr)},Cr=function(Qn){if(!kt.length)return null;var Pr=typeof wn=="function"?wn(Qn):wn;return typeof bn=="function"?kr(void 0,Pr,!1,!1,void 0,!0):oi({title:Pr},Pr,!1)},_n=E.createElement("div",{className:"".concat(Xr,"-search"),style:{width:Ir},onFocus:function(){gi(!0)},onBlur:function(){gi(!1)}},E.createElement(lt,{ref:on,open:Pt,prefixCls:Gt,id:Ot,inputElement:null,disabled:Yt,autoFocus:fn,autoComplete:lr,editable:ti,activeDescendantId:Ut,value:$r,onKeyDown:Gn,onMouseDown:sr,onChange:Zn,onPaste:Mn,onCompositionStart:jn,onCompositionEnd:ir,onBlur:Dr,tabIndex:Qt,attrs:(0,Te.Z)(St,!0)}),E.createElement("span",{ref:Tr,className:"".concat(Xr,"-search-mirror"),"aria-hidden":!0},$r,"\xA0")),ur=E.createElement(Ke.Z,{prefixCls:"".concat(Xr,"-overflow"),data:kt,renderItem:Vr,renderRest:Cr,suffix:_n,itemKey:Ve,maxCount:Vt});return E.createElement("span",{className:"".concat(Xr,"-wrap")},ur,!kt.length&&!$r&&E.createElement("span",{className:"".concat(Xr,"-placeholder")},cn))},Nt=st,dt=function(St){var Ot=St.inputElement,Gt=St.prefixCls,kt=St.id,Pt=St.inputRef,xt=St.disabled,en=St.autoFocus,on=St.autoComplete,cn=St.activeDescendantId,Yt=St.mode,$t=St.open,Xt=St.values,fn=St.placeholder,lr=St.tabIndex,Ut=St.showSearch,Qt=St.searchValue,Cn=St.activeValue,Vt=St.maxLength,jt=St.onInputKeyDown,hn=St.onInputMouseDown,wn=St.onInputChange,bn=St.onInputPaste,In=St.onInputCompositionStart,Fn=St.onInputCompositionEnd,Zn=St.onInputBlur,Mn=St.title,Gn=E.useState(!1),sr=(0,de.Z)(Gn,2),jn=sr[0],ir=sr[1],Dr=Yt==="combobox",Tr=Dr||Ut,Wr=Xt[0],vr=Qt||"";Dr&&Cn&&!jn&&(vr=Cn),E.useEffect(function(){Dr&&ir(!1)},[Dr,Cn]);var Ir=Yt!=="combobox"&&!$t&&!Ut?!1:!!vr,_r=Mn===void 0?$e(Wr):Mn,mr=E.useMemo(function(){return Wr?null:E.createElement("span",{className:"".concat(Gt,"-selection-placeholder"),style:Ir?{visibility:"hidden"}:void 0},fn)},[Wr,Ir,fn,Gt]);return E.createElement("span",{className:"".concat(Gt,"-selection-wrap")},E.createElement("span",{className:"".concat(Gt,"-selection-search")},E.createElement(lt,{ref:Pt,prefixCls:Gt,id:kt,open:$t,inputElement:Ot,disabled:xt,autoFocus:en,autoComplete:on,editable:Tr,activeDescendantId:cn,value:vr,onKeyDown:jt,onMouseDown:hn,onChange:function(Fr){ir(!0),wn(Fr)},onPaste:bn,onCompositionStart:In,onCompositionEnd:Fn,onBlur:Zn,tabIndex:lr,attrs:(0,Te.Z)(St,!0),maxLength:Dr?Vt:void 0})),!Dr&&Wr?E.createElement("span",{className:"".concat(Gt,"-selection-item"),title:_r,style:Ir?{visibility:"hidden"}:void 0},Wr.label):null,mr)},Tt=dt,bt=function(St,Ot){var Gt=(0,E.useRef)(null),kt=(0,E.useRef)(!1),Pt=St.prefixCls,xt=St.open,en=St.mode,on=St.showSearch,cn=St.tokenWithEnter,Yt=St.disabled,$t=St.prefix,Xt=St.autoClearSearchValue,fn=St.onSearch,lr=St.onSearchSubmit,Ut=St.onToggleOpen,Qt=St.onInputKeyDown,Cn=St.onInputBlur,Vt=St.domRef;E.useImperativeHandle(Ot,function(){return{focus:function(_r){Gt.current.focus(_r)},blur:function(){Gt.current.blur()}}});var jt=be(0),hn=(0,de.Z)(jt,2),wn=hn[0],bn=hn[1],In=function(_r){var mr=_r.which,Gr=Gt.current instanceof HTMLTextAreaElement;!Gr&&xt&&(mr===Fe.Z.UP||mr===Fe.Z.DOWN)&&_r.preventDefault(),Qt&&Qt(_r),mr===Fe.Z.ENTER&&en==="tags"&&!kt.current&&!xt&&(lr==null||lr(_r.target.value)),!(Gr&&!xt&&~[Fe.Z.UP,Fe.Z.DOWN,Fe.Z.LEFT,Fe.Z.RIGHT].indexOf(mr))&&_e(mr)&&Ut(!0)},Fn=function(){bn(!0)},Zn=(0,E.useRef)(null),Mn=function(_r){fn(_r,!0,kt.current)!==!1&&Ut(!0)},Gn=function(){kt.current=!0},sr=function(_r){kt.current=!1,en!=="combobox"&&Mn(_r.target.value)},jn=function(_r){var mr=_r.target.value;if(cn&&Zn.current&&/[\r\n]/.test(Zn.current)){var Gr=Zn.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");mr=mr.replace(Gr,Zn.current)}Zn.current=null,Mn(mr)},ir=function(_r){var mr=_r.clipboardData,Gr=mr==null?void 0:mr.getData("text");Zn.current=Gr||""},Dr=function(_r){var mr=_r.target;if(mr!==Gt.current){var Gr=document.body.style.msTouchAction!==void 0;Gr?setTimeout(function(){Gt.current.focus()}):Gt.current.focus()}},Tr=function(_r){var mr=wn();_r.target!==Gt.current&&!mr&&!(en==="combobox"&&Yt)&&_r.preventDefault(),(en!=="combobox"&&(!on||!mr)||!xt)&&(xt&&Xt!==!1&&fn("",!0,!1),Ut())},Wr={inputRef:Gt,onInputKeyDown:In,onInputMouseDown:Fn,onInputChange:jn,onInputPaste:ir,onInputCompositionStart:Gn,onInputCompositionEnd:sr,onInputBlur:Cn},vr=en==="multiple"||en==="tags"?E.createElement(Nt,(0,b.Z)({},St,Wr)):E.createElement(Tt,(0,b.Z)({},St,Wr));return E.createElement("div",{ref:Vt,className:"".concat(Pt,"-selector"),onClick:Dr,onMouseDown:Tr},$t&&E.createElement("div",{className:"".concat(Pt,"-prefix")},$t),vr)},Ct=E.forwardRef(bt),gt=Ct,je=ae(65030),le=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ie=function(St){var Ot=St===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ot,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ot,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ot,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ot,adjustY:1},htmlRegion:"scroll"}}},ke=function(St,Ot){var Gt=St.prefixCls,kt=St.disabled,Pt=St.visible,xt=St.children,en=St.popupElement,on=St.animation,cn=St.transitionName,Yt=St.dropdownStyle,$t=St.dropdownClassName,Xt=St.direction,fn=Xt===void 0?"ltr":Xt,lr=St.placement,Ut=St.builtinPlacements,Qt=St.dropdownMatchSelectWidth,Cn=St.dropdownRender,Vt=St.dropdownAlign,jt=St.getPopupContainer,hn=St.empty,wn=St.getTriggerDOMNode,bn=St.onPopupVisibleChange,In=St.onPopupMouseEnter,Fn=(0,ve.Z)(St,le),Zn="".concat(Gt,"-dropdown"),Mn=en;Cn&&(Mn=Cn(en));var Gn=E.useMemo(function(){return Ut||ie(Qt)},[Ut,Qt]),sr=on?"".concat(Zn,"-").concat(on):cn,jn=typeof Qt=="number",ir=E.useMemo(function(){return jn?null:Qt===!1?"minWidth":"width"},[Qt,jn]),Dr=Yt;jn&&(Dr=(0,De.Z)((0,De.Z)({},Dr),{},{width:Qt}));var Tr=E.useRef(null);return E.useImperativeHandle(Ot,function(){return{getPopupElement:function(){var vr;return(vr=Tr.current)===null||vr===void 0?void 0:vr.popupElement}}}),E.createElement(je.Z,(0,b.Z)({},Fn,{showAction:bn?["click"]:[],hideAction:bn?["click"]:[],popupPlacement:lr||(fn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Gn,prefixCls:Zn,popupTransitionName:sr,popup:E.createElement("div",{onMouseEnter:In},Mn),ref:Tr,stretch:ir,popupAlign:Vt,popupVisible:Pt,getPopupContainer:jt,popupClassName:ne()($t,(0,ye.Z)({},"".concat(Zn,"-empty"),hn)),popupStyle:Dr,getTriggerDOMNode:wn,onPopupVisibleChange:bn}),xt)},Ge=E.forwardRef(ke),Ie=Ge,pe=ae(66712);function x(Zt,St){var Ot=Zt.key,Gt;return"value"in Zt&&(Gt=Zt.value),Ot!=null?Ot:Gt!==void 0?Gt:"rc-index-key-".concat(St)}function me(Zt){return typeof Zt!="undefined"&&!Number.isNaN(Zt)}function Le(Zt,St){var Ot=Zt||{},Gt=Ot.label,kt=Ot.value,Pt=Ot.options,xt=Ot.groupLabel,en=Gt||(St?"children":"label");return{label:en,value:kt||"value",options:Pt||"options",groupLabel:xt||en}}function Se(Zt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ot=St.fieldNames,Gt=St.childrenAsData,kt=[],Pt=Le(Ot,!1),xt=Pt.label,en=Pt.value,on=Pt.options,cn=Pt.groupLabel;function Yt($t,Xt){Array.isArray($t)&&$t.forEach(function(fn){if(Xt||!(on in fn)){var lr=fn[en];kt.push({key:x(fn,kt.length),groupOption:Xt,data:fn,label:fn[xt],value:lr})}else{var Ut=fn[cn];Ut===void 0&&Gt&&(Ut=fn.label),kt.push({key:x(fn,kt.length),group:!0,data:fn,label:Ut}),Yt(fn[on],!0)}})}return Yt(Zt,!1),kt}function Be(Zt){var St=(0,De.Z)({},Zt);return"props"in St||Object.defineProperty(St,"props",{get:function(){return(0,fe.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),St}}),St}var Qe=function(St,Ot,Gt){if(!Ot||!Ot.length)return null;var kt=!1,Pt=function en(on,cn){var Yt=(0,pe.Z)(cn),$t=Yt[0],Xt=Yt.slice(1);if(!$t)return[on];var fn=on.split($t);return kt=kt||fn.length>1,fn.reduce(function(lr,Ut){return[].concat((0,oe.Z)(lr),(0,oe.Z)(en(Ut,Xt)))},[]).filter(Boolean)},xt=Pt(St,Ot);return kt?typeof Gt!="undefined"?xt.slice(0,Gt):xt:null},it=E.createContext(null),ot=it;function at(Zt){var St=Zt.visible,Ot=Zt.values;if(!St)return null;var Gt=50;return E.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Ot.slice(0,Gt).map(function(kt){var Pt=kt.label,xt=kt.value;return["number","string"].includes((0,re.Z)(Pt))?Pt:xt}).join(", ")),Ot.length>Gt?", ...":null)}var Rt=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Ft=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],rn=function(St){return St==="tags"||St==="multiple"},nn=E.forwardRef(function(Zt,St){var Ot,Gt=Zt.id,kt=Zt.prefixCls,Pt=Zt.className,xt=Zt.showSearch,en=Zt.tagRender,on=Zt.direction,cn=Zt.omitDomProps,Yt=Zt.displayValues,$t=Zt.onDisplayValuesChange,Xt=Zt.emptyOptions,fn=Zt.notFoundContent,lr=fn===void 0?"Not Found":fn,Ut=Zt.onClear,Qt=Zt.mode,Cn=Zt.disabled,Vt=Zt.loading,jt=Zt.getInputElement,hn=Zt.getRawInputElement,wn=Zt.open,bn=Zt.defaultOpen,In=Zt.onDropdownVisibleChange,Fn=Zt.activeValue,Zn=Zt.onActiveValueChange,Mn=Zt.activeDescendantId,Gn=Zt.searchValue,sr=Zt.autoClearSearchValue,jn=Zt.onSearch,ir=Zt.onSearchSplit,Dr=Zt.tokenSeparators,Tr=Zt.allowClear,Wr=Zt.prefix,vr=Zt.suffixIcon,Ir=Zt.clearIcon,_r=Zt.OptionList,mr=Zt.animation,Gr=Zt.transitionName,Fr=Zt.dropdownStyle,gi=Zt.dropdownClassName,Xr=Zt.dropdownMatchSelectWidth,$r=Zt.dropdownRender,ti=Zt.dropdownAlign,oi=Zt.placement,kr=Zt.builtinPlacements,Vr=Zt.getPopupContainer,Cr=Zt.showAction,_n=Cr===void 0?[]:Cr,ur=Zt.onFocus,fr=Zt.onBlur,Qn=Zt.onKeyUp,Pr=Zt.onKeyDown,Mr=Zt.onMouseDown,Kt=(0,ve.Z)(Zt,Rt),On=rn(Qt),$n=(xt!==void 0?xt:On)||Qt==="combobox",pr=(0,De.Z)({},Kt);Ft.forEach(function(Bo){delete pr[Bo]}),cn==null||cn.forEach(function(Bo){delete pr[Bo]});var zr=E.useState(!1),Qr=(0,de.Z)(zr,2),Yr=Qr[0],ki=Qr[1];E.useEffect(function(){ki((0,we.Z)())},[]);var or=E.useRef(null),Di=E.useRef(null),mi=E.useRef(null),Ii=E.useRef(null),Bi=E.useRef(null),Si=E.useRef(!1),so=Me(),Co=(0,de.Z)(so,3),$i=Co[0],Ji=Co[1],li=Co[2];E.useImperativeHandle(St,function(){var Bo,io;return{focus:(Bo=Ii.current)===null||Bo===void 0?void 0:Bo.focus,blur:(io=Ii.current)===null||io===void 0?void 0:io.blur,scrollTo:function(Ha){var ua;return(ua=Bi.current)===null||ua===void 0?void 0:ua.scrollTo(Ha)},nativeElement:or.current||Di.current}});var ci=E.useMemo(function(){var Bo;if(Qt!=="combobox")return Gn;var io=(Bo=Yt[0])===null||Bo===void 0?void 0:Bo.value;return typeof io=="string"||typeof io=="number"?String(io):""},[Gn,Qt,Yt]),qi=Qt==="combobox"&&typeof jt=="function"&&jt()||null,po=typeof hn=="function"&&hn(),Ri=(0,xe.x1)(Di,po==null||(Ot=po.props)===null||Ot===void 0?void 0:Ot.ref),no=E.useState(!1),lo=(0,de.Z)(no,2),Gi=lo[0],fo=lo[1];(0,ge.Z)(function(){fo(!0)},[]);var ao=(0,se.Z)(!1,{defaultValue:bn,value:wn}),Fo=(0,de.Z)(ao,2),qo=Fo[0],Zo=Fo[1],Yo=Gi?qo:!1,Wa=!lr&&Xt;(Cn||Wa&&Yo&&Qt==="combobox")&&(Yo=!1);var os=Wa?!1:Yo,Hi=E.useCallback(function(Bo){var io=Bo!==void 0?Bo:!Yo;Cn||(Zo(io),Yo!==io&&(In==null||In(io)))},[Cn,Yo,Zo,In]),ro=E.useMemo(function(){return(Dr||[]).some(function(Bo){return[`
|
|
|
`,`\r
|
|
|
`].includes(Bo)})},[Dr]),Zi=E.useContext(ot)||{},Vi=Zi.maxCount,ho=Zi.rawValues,Jn=function(io,Pa,Ha){if(!(On&&me(Vi)&&(ho==null?void 0:ho.size)>=Vi)){var ua=!0,Ca=io;Zn==null||Zn(null);var ys=Qe(io,Dr,me(Vi)?Vi-ho.size:void 0),as=Ha?null:ys;return Qt!=="combobox"&&as&&(Ca="",ir==null||ir(as),Hi(!1),ua=!1),jn&&ci!==Ca&&jn(Ca,{source:Pa?"typing":"effect"}),ua}},Hr=function(io){!io||!io.trim()||jn(io,{source:"submit"})};E.useEffect(function(){!Yo&&!On&&Qt!=="combobox"&&Jn("",!1,!1)},[Yo]),E.useEffect(function(){qo&&Cn&&Zo(!1),Cn&&!Si.current&&Ji(!1)},[Cn]);var qr=be(),mo=(0,de.Z)(qr,2),bo=mo[0],xa=mo[1],ka=E.useRef(!1),wo=function(io){var Pa=bo(),Ha=io.key,ua=Ha==="Enter";if(ua&&(Qt!=="combobox"&&io.preventDefault(),Yo||Hi(!0)),xa(!!ci),Ha==="Backspace"&&!Pa&&On&&!ci&&Yt.length){for(var Ca=(0,oe.Z)(Yt),ys=null,as=Ca.length-1;as>=0;as-=1){var Is=Ca[as];if(!Is.disabled){Ca.splice(as,1),ys=Is;break}}ys&&$t(Ca,{type:"remove",values:[ys]})}for(var Ma=arguments.length,Ra=new Array(Ma>1?Ma-1:0),bs=1;bs<Ma;bs++)Ra[bs-1]=arguments[bs];if(Yo&&(!ua||!ka.current)){var Hs;ua&&(ka.current=!0),(Hs=Bi.current)===null||Hs===void 0||Hs.onKeyDown.apply(Hs,[io].concat(Ra))}Pr==null||Pr.apply(void 0,[io].concat(Ra))},ya=function(io){for(var Pa=arguments.length,Ha=new Array(Pa>1?Pa-1:0),ua=1;ua<Pa;ua++)Ha[ua-1]=arguments[ua];if(Yo){var Ca;(Ca=Bi.current)===null||Ca===void 0||Ca.onKeyUp.apply(Ca,[io].concat(Ha))}io.key==="Enter"&&(ka.current=!1),Qn==null||Qn.apply(void 0,[io].concat(Ha))},Ga=function(io){var Pa=Yt.filter(function(Ha){return Ha!==io});$t(Pa,{type:"remove",values:[io]})},Da=function(){ka.current=!1},Xa=E.useRef(!1),Ss=function(){Ji(!0),Cn||(ur&&!Xa.current&&ur.apply(void 0,arguments),_n.includes("focus")&&Hi(!0)),Xa.current=!0},js=function(){Si.current=!0,Ji(!1,function(){Xa.current=!1,Si.current=!1,Hi(!1)}),!Cn&&(ci&&(Qt==="tags"?jn(ci,{source:"submit"}):Qt==="multiple"&&jn("",{source:"blur"})),fr&&fr.apply(void 0,arguments))},la=[];E.useEffect(function(){return function(){la.forEach(function(Bo){return clearTimeout(Bo)}),la.splice(0,la.length)}},[]);var zs=function(io){var Pa,Ha=io.target,ua=(Pa=mi.current)===null||Pa===void 0?void 0:Pa.getPopupElement();if(ua&&ua.contains(Ha)){var Ca=setTimeout(function(){var Ma=la.indexOf(Ca);if(Ma!==-1&&la.splice(Ma,1),li(),!Yr&&!ua.contains(document.activeElement)){var Ra;(Ra=Ii.current)===null||Ra===void 0||Ra.focus()}});la.push(Ca)}for(var ys=arguments.length,as=new Array(ys>1?ys-1:0),Is=1;Is<ys;Is++)as[Is-1]=arguments[Is];Mr==null||Mr.apply(void 0,[io].concat(as))},ps=E.useState({}),ks=(0,de.Z)(ps,2),ll=ks[1];function _l(){ll({})}var Vl;po&&(Vl=function(io){Hi(io)}),Pe(function(){var Bo;return[or.current,(Bo=mi.current)===null||Bo===void 0?void 0:Bo.getPopupElement()]},os,Hi,!!po);var Bu=E.useMemo(function(){return(0,De.Z)((0,De.Z)({},Zt),{},{notFoundContent:lr,open:Yo,triggerOpen:os,id:Gt,showSearch:$n,multiple:On,toggleOpen:Hi})},[Zt,lr,os,Yo,Gt,$n,On,Hi]),ul=!!vr||Vt,Es;ul&&(Es=E.createElement(Ee,{className:ne()("".concat(kt,"-arrow"),(0,ye.Z)({},"".concat(kt,"-arrow-loading"),Vt)),customizeIcon:vr,customizeIconProps:{loading:Vt,searchValue:ci,open:Yo,focused:$i,showSearch:$n}}));var Ws=function(){var io;Ut==null||Ut(),(io=Ii.current)===null||io===void 0||io.focus(),$t([],{type:"clear",values:Yt}),Jn("",!1,!1)},cl=Oe(kt,Ws,Yt,Tr,Ir,Cn,ci,Qt),Tl=cl.allowClear,Qs=cl.clearIcon,Ol=E.createElement(_r,{ref:Bi}),Bl=ne()(kt,Pt,(0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)({},"".concat(kt,"-focused"),$i),"".concat(kt,"-multiple"),On),"".concat(kt,"-single"),!On),"".concat(kt,"-allow-clear"),Tr),"".concat(kt,"-show-arrow"),ul),"".concat(kt,"-disabled"),Cn),"".concat(kt,"-loading"),Vt),"".concat(kt,"-open"),Yo),"".concat(kt,"-customize-input"),qi),"".concat(kt,"-show-search"),$n)),As=E.createElement(Ie,{ref:mi,disabled:Cn,prefixCls:kt,visible:os,popupElement:Ol,animation:mr,transitionName:Gr,dropdownStyle:Fr,dropdownClassName:gi,direction:on,dropdownMatchSelectWidth:Xr,dropdownRender:$r,dropdownAlign:ti,placement:oi,builtinPlacements:kr,getPopupContainer:Vr,empty:Xt,getTriggerDOMNode:function(io){return Di.current||io},onPopupVisibleChange:Vl,onPopupMouseEnter:_l},po?E.cloneElement(po,{ref:Ri}):E.createElement(gt,(0,b.Z)({},Zt,{domRef:Di,prefixCls:kt,inputElement:qi,ref:Ii,id:Gt,prefix:Wr,showSearch:$n,autoClearSearchValue:sr,mode:Qt,activeDescendantId:Mn,tagRender:en,values:Yt,open:Yo,onToggleOpen:Hi,activeValue:Fn,searchValue:ci,onSearch:Jn,onSearchSubmit:Hr,onRemove:Ga,tokenWithEnter:ro,onInputBlur:Da}))),Ya;return po?Ya=As:Ya=E.createElement("div",(0,b.Z)({className:Bl},pr,{ref:or,onMouseDown:zs,onKeyDown:wo,onKeyUp:ya,onFocus:Ss,onBlur:js}),E.createElement(at,{visible:$i&&!Yo,values:Yt}),As,Es,Tl&&Qs),E.createElement(Ae.Provider,{value:Bu},Ya)}),Lt=nn,qt=function(){return null};qt.isSelectOptGroup=!0;var Wt=qt,Dt=function(){return null};Dt.isSelectOption=!0;var zt=Dt,un=ae(80547),mn=ae(2738),Et=ae(48911);function Ht(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Jt=["disabled","title","children","style","className"];function gn(Zt){return typeof Zt=="string"||typeof Zt=="number"}var Nn=function(St,Ot){var Gt=Re(),kt=Gt.prefixCls,Pt=Gt.id,xt=Gt.open,en=Gt.multiple,on=Gt.mode,cn=Gt.searchValue,Yt=Gt.toggleOpen,$t=Gt.notFoundContent,Xt=Gt.onPopupScroll,fn=E.useContext(ot),lr=fn.maxCount,Ut=fn.flattenOptions,Qt=fn.onActiveValue,Cn=fn.defaultActiveFirstOption,Vt=fn.onSelect,jt=fn.menuItemSelectedIcon,hn=fn.rawValues,wn=fn.fieldNames,bn=fn.virtual,In=fn.direction,Fn=fn.listHeight,Zn=fn.listItemHeight,Mn=fn.optionRender,Gn="".concat(kt,"-item"),sr=(0,un.Z)(function(){return Ut},[xt,Ut],function(Cr,_n){return _n[0]&&Cr[1]!==_n[1]}),jn=E.useRef(null),ir=E.useMemo(function(){return en&&me(lr)&&(hn==null?void 0:hn.size)>=lr},[en,lr,hn==null?void 0:hn.size]),Dr=function(_n){_n.preventDefault()},Tr=function(_n){var ur;(ur=jn.current)===null||ur===void 0||ur.scrollTo(typeof _n=="number"?{index:_n}:_n)},Wr=E.useCallback(function(Cr){return on==="combobox"?!1:hn.has(Cr)},[on,(0,oe.Z)(hn).toString(),hn.size]),vr=function(_n){for(var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,fr=sr.length,Qn=0;Qn<fr;Qn+=1){var Pr=(_n+Qn*ur+fr)%fr,Mr=sr[Pr]||{},Kt=Mr.group,On=Mr.data;if(!Kt&&!(On!=null&&On.disabled)&&(Wr(On.value)||!ir))return Pr}return-1},Ir=E.useState(function(){return vr(0)}),_r=(0,de.Z)(Ir,2),mr=_r[0],Gr=_r[1],Fr=function(_n){var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Gr(_n);var fr={source:ur?"keyboard":"mouse"},Qn=sr[_n];if(!Qn){Qt(null,-1,fr);return}Qt(Qn.value,_n,fr)};(0,E.useEffect)(function(){Fr(Cn!==!1?vr(0):-1)},[sr.length,cn]);var gi=E.useCallback(function(Cr){return on==="combobox"?String(Cr).toLowerCase()===cn.toLowerCase():hn.has(Cr)},[on,cn,(0,oe.Z)(hn).toString(),hn.size]);(0,E.useEffect)(function(){var Cr=setTimeout(function(){if(!en&&xt&&hn.size===1){var ur=Array.from(hn)[0],fr=sr.findIndex(function(Qn){var Pr=Qn.data;return cn?String(Pr.value).startsWith(cn):Pr.value===ur});fr!==-1&&(Fr(fr),Tr(fr))}});if(xt){var _n;(_n=jn.current)===null||_n===void 0||_n.scrollTo(void 0)}return function(){return clearTimeout(Cr)}},[xt,cn]);var Xr=function(_n){_n!==void 0&&Vt(_n,{selected:!hn.has(_n)}),en||Yt(!1)};if(E.useImperativeHandle(Ot,function(){return{onKeyDown:function(_n){var ur=_n.which,fr=_n.ctrlKey;switch(ur){case Fe.Z.N:case Fe.Z.P:case Fe.Z.UP:case Fe.Z.DOWN:{var Qn=0;if(ur===Fe.Z.UP?Qn=-1:ur===Fe.Z.DOWN?Qn=1:Ht()&&fr&&(ur===Fe.Z.N?Qn=1:ur===Fe.Z.P&&(Qn=-1)),Qn!==0){var Pr=vr(mr+Qn,Qn);Tr(Pr),Fr(Pr,!0)}break}case Fe.Z.TAB:case Fe.Z.ENTER:{var Mr,Kt=sr[mr];Kt&&!(Kt!=null&&(Mr=Kt.data)!==null&&Mr!==void 0&&Mr.disabled)&&!ir?Xr(Kt.value):Xr(void 0),xt&&_n.preventDefault();break}case Fe.Z.ESC:Yt(!1),xt&&_n.stopPropagation()}},onKeyUp:function(){},scrollTo:function(_n){Tr(_n)}}}),sr.length===0)return E.createElement("div",{role:"listbox",id:"".concat(Pt,"_list"),className:"".concat(Gn,"-empty"),onMouseDown:Dr},$t);var $r=Object.keys(wn).map(function(Cr){return wn[Cr]}),ti=function(_n){return _n.label};function oi(Cr,_n){var ur=Cr.group;return{role:ur?"presentation":"option",id:"".concat(Pt,"_list_").concat(_n)}}var kr=function(_n){var ur=sr[_n];if(!ur)return null;var fr=ur.data||{},Qn=fr.value,Pr=ur.group,Mr=(0,Te.Z)(fr,!0),Kt=ti(ur);return ur?E.createElement("div",(0,b.Z)({"aria-label":typeof Kt=="string"&&!Pr?Kt:null},Mr,{key:_n},oi(ur,_n),{"aria-selected":gi(Qn)}),Qn):null},Vr={role:"listbox",id:"".concat(Pt,"_list")};return E.createElement(E.Fragment,null,bn&&E.createElement("div",(0,b.Z)({},Vr,{style:{height:0,width:0,overflow:"hidden"}}),kr(mr-1),kr(mr),kr(mr+1)),E.createElement(Et.Z,{itemKey:"key",ref:jn,data:sr,height:Fn,itemHeight:Zn,fullHeight:!1,onMouseDown:Dr,onScroll:Xt,virtual:bn,direction:In,innerProps:bn?null:Vr},function(Cr,_n){var ur=Cr.group,fr=Cr.groupOption,Qn=Cr.data,Pr=Cr.label,Mr=Cr.value,Kt=Qn.key;if(ur){var On,$n=(On=Qn.title)!==null&&On!==void 0?On:gn(Pr)?Pr.toString():void 0;return E.createElement("div",{className:ne()(Gn,"".concat(Gn,"-group"),Qn.className),title:$n},Pr!==void 0?Pr:Kt)}var pr=Qn.disabled,zr=Qn.title,Qr=Qn.children,Yr=Qn.style,ki=Qn.className,or=(0,ve.Z)(Qn,Jt),Di=(0,mn.Z)(or,$r),mi=Wr(Mr),Ii=pr||!mi&&ir,Bi="".concat(Gn,"-option"),Si=ne()(Gn,Bi,ki,(0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)({},"".concat(Bi,"-grouped"),fr),"".concat(Bi,"-active"),mr===_n&&!Ii),"".concat(Bi,"-disabled"),Ii),"".concat(Bi,"-selected"),mi)),so=ti(Cr),Co=!jt||typeof jt=="function"||mi,$i=typeof so=="number"?so:so||Mr,Ji=gn($i)?$i.toString():void 0;return zr!==void 0&&(Ji=zr),E.createElement("div",(0,b.Z)({},(0,Te.Z)(Di),bn?{}:oi(Cr,_n),{"aria-selected":gi(Mr),className:Si,title:Ji,onMouseMove:function(){mr===_n||Ii||Fr(_n)},onClick:function(){Ii||Xr(Mr)},style:Yr}),E.createElement("div",{className:"".concat(Bi,"-content")},typeof Mn=="function"?Mn(Cr,{index:_n}):$i),E.isValidElement(jt)||mi,Co&&E.createElement(Ee,{className:"".concat(Gn,"-option-state"),customizeIcon:jt,customizeIconProps:{value:Mr,disabled:Ii,isSelected:mi}},mi?"\u2713":null))}))},Xn=E.forwardRef(Nn),gr=Xn,br=function(Zt,St){var Ot=E.useRef({values:new Map,options:new Map}),Gt=E.useMemo(function(){var Pt=Ot.current,xt=Pt.values,en=Pt.options,on=Zt.map(function($t){if($t.label===void 0){var Xt;return(0,De.Z)((0,De.Z)({},$t),{},{label:(Xt=xt.get($t.value))===null||Xt===void 0?void 0:Xt.label})}return $t}),cn=new Map,Yt=new Map;return on.forEach(function($t){cn.set($t.value,$t),Yt.set($t.value,St.get($t.value)||en.get($t.value))}),Ot.current.values=cn,Ot.current.options=Yt,on},[Zt,St]),kt=E.useCallback(function(Pt){return St.get(Pt)||Ot.current.options.get(Pt)},[St]);return[Gt,kt]};function Yn(Zt,St){return ct(Zt).join("").toUpperCase().includes(St)}var hr=function(Zt,St,Ot,Gt,kt){return E.useMemo(function(){if(!Ot||Gt===!1)return Zt;var Pt=St.options,xt=St.label,en=St.value,on=[],cn=typeof Gt=="function",Yt=Ot.toUpperCase(),$t=cn?Gt:function(fn,lr){return kt?Yn(lr[kt],Yt):lr[Pt]?Yn(lr[xt!=="children"?xt:"label"],Yt):Yn(lr[en],Yt)},Xt=cn?function(fn){return Be(fn)}:function(fn){return fn};return Zt.forEach(function(fn){if(fn[Pt]){var lr=$t(Ot,Xt(fn));if(lr)on.push(fn);else{var Ut=fn[Pt].filter(function(Qt){return $t(Ot,Xt(Qt))});Ut.length&&on.push((0,De.Z)((0,De.Z)({},fn),{},(0,ye.Z)({},Pt,Ut)))}return}$t(Ot,Xt(fn))&&on.push(fn)}),on},[Zt,Gt,kt,Ot,St])},Wn=ae(6551),xn=ae(11592),Pn=["children","value"],Tn=["children"];function An(Zt){var St=Zt,Ot=St.key,Gt=St.props,kt=Gt.children,Pt=Gt.value,xt=(0,ve.Z)(Gt,Pn);return(0,De.Z)({key:Ot,value:Pt!==void 0?Pt:Ot,children:kt},xt)}function zn(Zt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,xn.Z)(Zt).map(function(Ot,Gt){if(!E.isValidElement(Ot)||!Ot.type)return null;var kt=Ot,Pt=kt.type.isSelectOptGroup,xt=kt.key,en=kt.props,on=en.children,cn=(0,ve.Z)(en,Tn);return St||!Pt?An(Ot):(0,De.Z)((0,De.Z)({key:"__RC_SELECT_GRP__".concat(xt===null?Gt:xt,"__"),label:xt},cn),{},{options:zn(on)})}).filter(function(Ot){return Ot})}var Kn=function(St,Ot,Gt,kt,Pt){return E.useMemo(function(){var xt=St,en=!St;en&&(xt=zn(Ot));var on=new Map,cn=new Map,Yt=function(fn,lr,Ut){Ut&&typeof Ut=="string"&&fn.set(lr[Ut],lr)},$t=function Xt(fn){for(var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ut=0;Ut<fn.length;Ut+=1){var Qt=fn[Ut];!Qt[Gt.options]||lr?(on.set(Qt[Gt.value],Qt),Yt(cn,Qt,Gt.label),Yt(cn,Qt,kt),Yt(cn,Qt,Pt)):Xt(Qt[Gt.options],!0)}};return $t(xt),{options:xt,valueOptions:on,labelOptions:cn}},[St,Ot,Gt,kt,Pt])},er=Kn;function wr(Zt){var St=E.useRef();St.current=Zt;var Ot=E.useCallback(function(){return St.current.apply(St,arguments)},[]);return Ot}function Sr(Zt){var St=Zt.mode,Ot=Zt.options,Gt=Zt.children,kt=Zt.backfill,Pt=Zt.allowClear,xt=Zt.placeholder,en=Zt.getInputElement,on=Zt.showSearch,cn=Zt.onSearch,Yt=Zt.defaultOpen,$t=Zt.autoFocus,Xt=Zt.labelInValue,fn=Zt.value,lr=Zt.inputValue,Ut=Zt.optionLabelProp,Qt=isMultiple(St),Cn=on!==void 0?on:Qt||St==="combobox",Vt=Ot||convertChildrenToData(Gt);if(warning(St!=="tags"||Vt.every(function(bn){return!bn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),St==="tags"||St==="combobox"){var jt=Vt.some(function(bn){return bn.options?bn.options.some(function(In){return typeof("value"in In?In.value:In.key)=="number"}):typeof("value"in bn?bn.value:bn.key)=="number"});warning(!jt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(St!=="combobox"||!Ut,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(St==="combobox"||!kt,"`backfill` only works with `combobox` mode."),warning(St==="combobox"||!en,"`getInputElement` only work with `combobox` mode."),noteOnce(St!=="combobox"||!en||!Pt||!xt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),cn&&!Cn&&St!=="combobox"&&St!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Yt||$t,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),fn!=null){var hn=toArray(fn);warning(!Xt||hn.every(function(bn){return _typeof(bn)==="object"&&("key"in bn||"value"in bn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Qt||Array.isArray(fn),"`value` should be array when `mode` is `multiple` or `tags`")}if(Gt){var wn=null;toNodeArray(Gt).some(function(bn){if(!React.isValidElement(bn)||!bn.type)return!1;var In=bn,Fn=In.type;if(Fn.isSelectOption)return!1;if(Fn.isSelectOptGroup){var Zn=toNodeArray(bn.props.children).every(function(Mn){return!React.isValidElement(Mn)||!bn.type||Mn.type.isSelectOption?!0:(wn=Mn.type,!1)});return!Zn}return wn=Fn,!0}),wn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(wn.displayName||wn.name||wn,"`.")),warning(lr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Er(Zt,St){if(Zt){var Ot=function Gt(kt){for(var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xt=0;xt<kt.length;xt++){var en=kt[xt];if(en[St==null?void 0:St.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Pt&&Array.isArray(en[St==null?void 0:St.options])&&Gt(en[St==null?void 0:St.options],!0))break}};Ot(Zt)}}var Nr=null,Br=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],jr=["inputValue"];function Rr(Zt){return!Zt||(0,re.Z)(Zt)!=="object"}var Ln=E.forwardRef(function(Zt,St){var Ot=Zt.id,Gt=Zt.mode,kt=Zt.prefixCls,Pt=kt===void 0?"rc-select":kt,xt=Zt.backfill,en=Zt.fieldNames,on=Zt.inputValue,cn=Zt.searchValue,Yt=Zt.onSearch,$t=Zt.autoClearSearchValue,Xt=$t===void 0?!0:$t,fn=Zt.onSelect,lr=Zt.onDeselect,Ut=Zt.dropdownMatchSelectWidth,Qt=Ut===void 0?!0:Ut,Cn=Zt.filterOption,Vt=Zt.filterSort,jt=Zt.optionFilterProp,hn=Zt.optionLabelProp,wn=Zt.options,bn=Zt.optionRender,In=Zt.children,Fn=Zt.defaultActiveFirstOption,Zn=Zt.menuItemSelectedIcon,Mn=Zt.virtual,Gn=Zt.direction,sr=Zt.listHeight,jn=sr===void 0?200:sr,ir=Zt.listItemHeight,Dr=ir===void 0?20:ir,Tr=Zt.labelRender,Wr=Zt.value,vr=Zt.defaultValue,Ir=Zt.labelInValue,_r=Zt.onChange,mr=Zt.maxCount,Gr=(0,ve.Z)(Zt,Br),Fr=(0,Wn.ZP)(Ot),gi=rn(Gt),Xr=!!(!wn&&In),$r=E.useMemo(function(){return Cn===void 0&&Gt==="combobox"?!1:Cn},[Cn,Gt]),ti=E.useMemo(function(){return Le(en,Xr)},[JSON.stringify(en),Xr]),oi=(0,se.Z)("",{value:cn!==void 0?cn:on,postState:function(ro){return ro||""}}),kr=(0,de.Z)(oi,2),Vr=kr[0],Cr=kr[1],_n=er(wn,In,ti,jt,hn),ur=_n.valueOptions,fr=_n.labelOptions,Qn=_n.options,Pr=E.useCallback(function(Hi){var ro=ct(Hi);return ro.map(function(Zi){var Vi,ho,Jn,Hr,qr;if(Rr(Zi))Vi=Zi;else{var mo;Jn=Zi.key,ho=Zi.label,Vi=(mo=Zi.value)!==null&&mo!==void 0?mo:Jn}var bo=ur.get(Vi);if(bo){var xa;if(ho===void 0&&(ho=bo==null?void 0:bo[hn||ti.label]),Jn===void 0&&(Jn=(xa=bo==null?void 0:bo.key)!==null&&xa!==void 0?xa:Vi),Hr=bo==null?void 0:bo.disabled,qr=bo==null?void 0:bo.title,0)var ka}return{label:ho,value:Vi,key:Jn,disabled:Hr,title:qr}})},[ti,hn,ur]),Mr=(0,se.Z)(vr,{value:Wr}),Kt=(0,de.Z)(Mr,2),On=Kt[0],$n=Kt[1],pr=E.useMemo(function(){var Hi,ro=gi&&On===null?[]:On,Zi=Pr(ro);return Gt==="combobox"&&Ue((Hi=Zi[0])===null||Hi===void 0?void 0:Hi.value)?[]:Zi},[On,Pr,Gt,gi]),zr=br(pr,ur),Qr=(0,de.Z)(zr,2),Yr=Qr[0],ki=Qr[1],or=E.useMemo(function(){if(!Gt&&Yr.length===1){var Hi=Yr[0];if(Hi.value===null&&(Hi.label===null||Hi.label===void 0))return[]}return Yr.map(function(ro){var Zi;return(0,De.Z)((0,De.Z)({},ro),{},{label:(Zi=typeof Tr=="function"?Tr(ro):ro.label)!==null&&Zi!==void 0?Zi:ro.value})})},[Gt,Yr,Tr]),Di=E.useMemo(function(){return new Set(Yr.map(function(Hi){return Hi.value}))},[Yr]);E.useEffect(function(){if(Gt==="combobox"){var Hi,ro=(Hi=Yr[0])===null||Hi===void 0?void 0:Hi.value;Cr(nt(ro)?String(ro):"")}},[Yr]);var mi=wr(function(Hi,ro){var Zi=ro!=null?ro:Hi;return(0,ye.Z)((0,ye.Z)({},ti.value,Hi),ti.label,Zi)}),Ii=E.useMemo(function(){if(Gt!=="tags")return Qn;var Hi=(0,oe.Z)(Qn),ro=function(Vi){return ur.has(Vi)};return(0,oe.Z)(Yr).sort(function(Zi,Vi){return Zi.value<Vi.value?-1:1}).forEach(function(Zi){var Vi=Zi.value;ro(Vi)||Hi.push(mi(Vi,Zi.label))}),Hi},[mi,Qn,ur,Yr,Gt]),Bi=hr(Ii,ti,Vr,$r,jt),Si=E.useMemo(function(){return Gt!=="tags"||!Vr||Bi.some(function(Hi){return Hi[jt||"value"]===Vr})||Bi.some(function(Hi){return Hi[ti.value]===Vr})?Bi:[mi(Vr)].concat((0,oe.Z)(Bi))},[mi,jt,Gt,Bi,Vr,ti]),so=function Hi(ro){var Zi=(0,oe.Z)(ro).sort(function(Vi,ho){return Vt(Vi,ho,{searchValue:Vr})});return Zi.map(function(Vi){return Array.isArray(Vi.options)?(0,De.Z)((0,De.Z)({},Vi),{},{options:Vi.options.length>0?Hi(Vi.options):Vi.options}):Vi})},Co=E.useMemo(function(){return Vt?so(Si):Si},[Si,Vt,Vr]),$i=E.useMemo(function(){return Se(Co,{fieldNames:ti,childrenAsData:Xr})},[Co,ti,Xr]),Ji=function(ro){var Zi=Pr(ro);if($n(Zi),_r&&(Zi.length!==Yr.length||Zi.some(function(Jn,Hr){var qr;return((qr=Yr[Hr])===null||qr===void 0?void 0:qr.value)!==(Jn==null?void 0:Jn.value)}))){var Vi=Ir?Zi:Zi.map(function(Jn){return Jn.value}),ho=Zi.map(function(Jn){return Be(ki(Jn.value))});_r(gi?Vi:Vi[0],gi?ho:ho[0])}},li=E.useState(null),ci=(0,de.Z)(li,2),qi=ci[0],po=ci[1],Ri=E.useState(0),no=(0,de.Z)(Ri,2),lo=no[0],Gi=no[1],fo=Fn!==void 0?Fn:Gt!=="combobox",ao=E.useCallback(function(Hi,ro){var Zi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Vi=Zi.source,ho=Vi===void 0?"keyboard":Vi;Gi(ro),xt&&Gt==="combobox"&&Hi!==null&&ho==="keyboard"&&po(String(Hi))},[xt,Gt]),Fo=function(ro,Zi,Vi){var ho=function(){var Ga,Da=ki(ro);return[Ir?{label:Da==null?void 0:Da[ti.label],value:ro,key:(Ga=Da==null?void 0:Da.key)!==null&&Ga!==void 0?Ga:ro}:ro,Be(Da)]};if(Zi&&fn){var Jn=ho(),Hr=(0,de.Z)(Jn,2),qr=Hr[0],mo=Hr[1];fn(qr,mo)}else if(!Zi&&lr&&Vi!=="clear"){var bo=ho(),xa=(0,de.Z)(bo,2),ka=xa[0],wo=xa[1];lr(ka,wo)}},qo=wr(function(Hi,ro){var Zi,Vi=gi?ro.selected:!0;Vi?Zi=gi?[].concat((0,oe.Z)(Yr),[Hi]):[Hi]:Zi=Yr.filter(function(ho){return ho.value!==Hi}),Ji(Zi),Fo(Hi,Vi),Gt==="combobox"?po(""):(!rn||Xt)&&(Cr(""),po(""))}),Zo=function(ro,Zi){Ji(ro);var Vi=Zi.type,ho=Zi.values;(Vi==="remove"||Vi==="clear")&&ho.forEach(function(Jn){Fo(Jn.value,!1,Vi)})},Yo=function(ro,Zi){if(Cr(ro),po(null),Zi.source==="submit"){var Vi=(ro||"").trim();if(Vi){var ho=Array.from(new Set([].concat((0,oe.Z)(Di),[Vi])));Ji(ho),Fo(Vi,!0),Cr("")}return}Zi.source!=="blur"&&(Gt==="combobox"&&Ji(ro),Yt==null||Yt(ro))},Wa=function(ro){var Zi=ro;Gt!=="tags"&&(Zi=ro.map(function(ho){var Jn=fr.get(ho);return Jn==null?void 0:Jn.value}).filter(function(ho){return ho!==void 0}));var Vi=Array.from(new Set([].concat((0,oe.Z)(Di),(0,oe.Z)(Zi))));Ji(Vi),Vi.forEach(function(ho){Fo(ho,!0)})},os=E.useMemo(function(){var Hi=Mn!==!1&&Qt!==!1;return(0,De.Z)((0,De.Z)({},_n),{},{flattenOptions:$i,onActiveValue:ao,defaultActiveFirstOption:fo,onSelect:qo,menuItemSelectedIcon:Zn,rawValues:Di,fieldNames:ti,virtual:Hi,direction:Gn,listHeight:jn,listItemHeight:Dr,childrenAsData:Xr,maxCount:mr,optionRender:bn})},[mr,_n,$i,ao,fo,qo,Zn,Di,ti,Mn,Qt,Gn,jn,Dr,Xr,bn]);return E.createElement(ot.Provider,{value:os},E.createElement(Lt,(0,b.Z)({},Gr,{id:Fr,prefixCls:Pt,ref:St,omitDomProps:jr,mode:Gt,displayValues:or,onDisplayValuesChange:Zo,direction:Gn,searchValue:Vr,onSearch:Yo,autoClearSearchValue:Xt,onSearchSplit:Wa,dropdownMatchSelectWidth:Qt,OptionList:gr,emptyOptions:!$i.length,activeValue:qi,activeDescendantId:"".concat(Fr,"_list_").concat(lo)})))}),tr=Ln;tr.Option=zt,tr.OptGroup=Wt;var Ar=tr,yr=Ar},22711:function(Un,pn,ae){"use strict";ae.r(pn),ae.d(pn,{ResizableTextArea:function(){return Ne},default:function(){return lt}});var b=ae(54476),oe=ae(20068),ye=ae(33885),De=ae(94480),de=ae(42978),ve=ae(75931),re=ae(92310),se=ae.n(re),fe=ae(36901),E=ae(66003),te=ae(30292),ne=ae(18929),ge=ae(59301),we=ae(76190),xe=ae(29301),ue=ae(34280),Ee=ae(16089),Oe=`
|
|
|
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;
|
|
|
`,Ae=["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"],Re={},Me;function be(ct){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Bt=ct.getAttribute("id")||ct.getAttribute("data-reactid")||ct.getAttribute("name");if(tt&&Re[Bt])return Re[Bt];var nt=window.getComputedStyle(ct),Ue=nt.getPropertyValue("box-sizing")||nt.getPropertyValue("-moz-box-sizing")||nt.getPropertyValue("-webkit-box-sizing"),Xe=parseFloat(nt.getPropertyValue("padding-bottom"))+parseFloat(nt.getPropertyValue("padding-top")),$e=parseFloat(nt.getPropertyValue("border-bottom-width"))+parseFloat(nt.getPropertyValue("border-top-width")),qe=Ae.map(function(ht){return"".concat(ht,":").concat(nt.getPropertyValue(ht))}).join(";"),Ve={sizingStyle:qe,paddingSize:Xe,borderSize:$e,boxSizing:Ue};return tt&&Bt&&(Re[Bt]=Ve),Ve}function Pe(ct){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Me||(Me=document.createElement("textarea"),Me.setAttribute("tab-index","-1"),Me.setAttribute("aria-hidden","true"),Me.setAttribute("name","hiddenTextarea"),document.body.appendChild(Me)),ct.getAttribute("wrap")?Me.setAttribute("wrap",ct.getAttribute("wrap")):Me.removeAttribute("wrap");var Ue=be(ct,tt),Xe=Ue.paddingSize,$e=Ue.borderSize,qe=Ue.boxSizing,Ve=Ue.sizingStyle;Me.setAttribute("style","".concat(Ve,";").concat(Oe)),Me.value=ct.value||ct.placeholder||"";var ht=void 0,st=void 0,Nt,dt=Me.scrollHeight;if(qe==="border-box"?dt+=$e:qe==="content-box"&&(dt-=Xe),Bt!==null||nt!==null){Me.value=" ";var Tt=Me.scrollHeight-Xe;Bt!==null&&(ht=Tt*Bt,qe==="border-box"&&(ht=ht+Xe+$e),dt=Math.max(ht,dt)),nt!==null&&(st=Tt*nt,qe==="border-box"&&(st=st+Xe+$e),Nt=dt>st?"":"hidden",dt=Math.min(st,dt))}var bt={height:dt,overflowY:Nt,resize:"none"};return ht&&(bt.minHeight=ht),st&&(bt.maxHeight=st),bt}var Fe=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],_e=0,Te=1,Ke=2,We=ge.forwardRef(function(ct,tt){var Bt=ct,nt=Bt.prefixCls,Ue=Bt.defaultValue,Xe=Bt.value,$e=Bt.autoSize,qe=Bt.onResize,Ve=Bt.className,ht=Bt.style,st=Bt.disabled,Nt=Bt.onChange,dt=Bt.onInternalAutoSize,Tt=(0,ve.Z)(Bt,Fe),bt=(0,ne.Z)(Ue,{value:Xe,postState:function(zt){return zt!=null?zt:""}}),Ct=(0,de.Z)(bt,2),gt=Ct[0],je=Ct[1],le=function(zt){je(zt.target.value),Nt==null||Nt(zt)},ie=ge.useRef();ge.useImperativeHandle(tt,function(){return{textArea:ie.current}});var ke=ge.useMemo(function(){return $e&&(0,we.Z)($e)==="object"?[$e.minRows,$e.maxRows]:[]},[$e]),Ge=(0,de.Z)(ke,2),Ie=Ge[0],pe=Ge[1],x=!!$e,me=function(){try{if(document.activeElement===ie.current){var zt=ie.current,un=zt.selectionStart,mn=zt.selectionEnd,Et=zt.scrollTop;ie.current.setSelectionRange(un,mn),ie.current.scrollTop=Et}}catch(Ht){}},Le=ge.useState(Ke),Se=(0,de.Z)(Le,2),Be=Se[0],Qe=Se[1],it=ge.useState(),ot=(0,de.Z)(it,2),at=ot[0],Rt=ot[1],Ft=function(){Qe(_e)};(0,ue.Z)(function(){x&&Ft()},[Xe,Ie,pe,x]),(0,ue.Z)(function(){if(Be===_e)Qe(Te);else if(Be===Te){var Dt=Pe(ie.current,!1,Ie,pe);Qe(Ke),Rt(Dt)}else me()},[Be]);var rn=ge.useRef(),nn=function(){Ee.Z.cancel(rn.current)},Lt=function(zt){Be===Ke&&(qe==null||qe(zt),$e&&(nn(),rn.current=(0,Ee.Z)(function(){Ft()})))};ge.useEffect(function(){return nn},[]);var qt=x?at:null,Wt=(0,ye.Z)((0,ye.Z)({},ht),qt);return(Be===_e||Be===Te)&&(Wt.overflowY="hidden",Wt.overflowX="hidden"),ge.createElement(xe.Z,{onResize:Lt,disabled:!($e||qe)},ge.createElement("textarea",(0,b.Z)({},Tt,{ref:ie,style:Wt,className:se()(nt,Ve,(0,oe.Z)({},"".concat(nt,"-disabled"),st)),disabled:st,value:gt,onChange:le})))}),Ne=We,Ye=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Je=ge.forwardRef(function(ct,tt){var Bt,nt=ct.defaultValue,Ue=ct.value,Xe=ct.onFocus,$e=ct.onBlur,qe=ct.onChange,Ve=ct.allowClear,ht=ct.maxLength,st=ct.onCompositionStart,Nt=ct.onCompositionEnd,dt=ct.suffix,Tt=ct.prefixCls,bt=Tt===void 0?"rc-textarea":Tt,Ct=ct.showCount,gt=ct.count,je=ct.className,le=ct.style,ie=ct.disabled,ke=ct.hidden,Ge=ct.classNames,Ie=ct.styles,pe=ct.onResize,x=ct.onClear,me=ct.onPressEnter,Le=ct.readOnly,Se=ct.autoSize,Be=ct.onKeyDown,Qe=(0,ve.Z)(ct,Ye),it=(0,ne.Z)(nt,{value:Ue,defaultValue:nt}),ot=(0,de.Z)(it,2),at=ot[0],Rt=ot[1],Ft=at==null?"":String(at),rn=ge.useState(!1),nn=(0,de.Z)(rn,2),Lt=nn[0],qt=nn[1],Wt=ge.useRef(!1),Dt=ge.useState(null),zt=(0,de.Z)(Dt,2),un=zt[0],mn=zt[1],Et=(0,ge.useRef)(null),Ht=(0,ge.useRef)(null),Jt=function(){var tr;return(tr=Ht.current)===null||tr===void 0?void 0:tr.textArea},gn=function(){Jt().focus()};(0,ge.useImperativeHandle)(tt,function(){var Ln;return{resizableTextArea:Ht.current,focus:gn,blur:function(){Jt().blur()},nativeElement:((Ln=Et.current)===null||Ln===void 0?void 0:Ln.nativeElement)||Jt()}}),(0,ge.useEffect)(function(){qt(function(Ln){return!ie&&Ln})},[ie]);var Nn=ge.useState(null),Xn=(0,de.Z)(Nn,2),gr=Xn[0],br=Xn[1];ge.useEffect(function(){if(gr){var Ln;(Ln=Jt()).setSelectionRange.apply(Ln,(0,De.Z)(gr))}},[gr]);var Yn=(0,E.Z)(gt,Ct),hr=(Bt=Yn.max)!==null&&Bt!==void 0?Bt:ht,Wn=Number(hr)>0,xn=Yn.strategy(Ft),Pn=!!hr&&xn>hr,Tn=function(tr,Ar){var yr=Ar;!Wt.current&&Yn.exceedFormatter&&Yn.max&&Yn.strategy(Ar)>Yn.max&&(yr=Yn.exceedFormatter(Ar,{max:Yn.max}),Ar!==yr&&br([Jt().selectionStart||0,Jt().selectionEnd||0])),Rt(yr),(0,te.rJ)(tr.currentTarget,tr,qe,yr)},An=function(tr){Wt.current=!0,st==null||st(tr)},zn=function(tr){Wt.current=!1,Tn(tr,tr.currentTarget.value),Nt==null||Nt(tr)},Kn=function(tr){Tn(tr,tr.target.value)},er=function(tr){tr.key==="Enter"&&me&&me(tr),Be==null||Be(tr)},wr=function(tr){qt(!0),Xe==null||Xe(tr)},Sr=function(tr){qt(!1),$e==null||$e(tr)},Er=function(tr){Rt(""),gn(),(0,te.rJ)(Jt(),tr,qe)},Nr=dt,Br;Yn.show&&(Yn.showFormatter?Br=Yn.showFormatter({value:Ft,count:xn,maxLength:hr}):Br="".concat(xn).concat(Wn?" / ".concat(hr):""),Nr=ge.createElement(ge.Fragment,null,Nr,ge.createElement("span",{className:se()("".concat(bt,"-data-count"),Ge==null?void 0:Ge.count),style:Ie==null?void 0:Ie.count},Br)));var jr=function(tr){var Ar;pe==null||pe(tr),(Ar=Jt())!==null&&Ar!==void 0&&Ar.style.height&&mn(!0)},Rr=!Se&&!Ct&&!Ve;return ge.createElement(fe.BaseInput,{ref:Et,value:Ft,allowClear:Ve,handleReset:Er,suffix:Nr,prefixCls:bt,classNames:(0,ye.Z)((0,ye.Z)({},Ge),{},{affixWrapper:se()(Ge==null?void 0:Ge.affixWrapper,(0,oe.Z)((0,oe.Z)({},"".concat(bt,"-show-count"),Ct),"".concat(bt,"-textarea-allow-clear"),Ve))}),disabled:ie,focused:Lt,className:se()(je,Pn&&"".concat(bt,"-out-of-range")),style:(0,ye.Z)((0,ye.Z)({},le),un&&!Rr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Br=="string"?Br:void 0}},hidden:ke,readOnly:Le,onClear:x},ge.createElement(Ne,(0,b.Z)({},Qe,{autoSize:Se,maxLength:ht,onKeyDown:er,onChange:Kn,onFocus:wr,onBlur:Sr,onCompositionStart:An,onCompositionEnd:zn,className:se()(Ge==null?void 0:Ge.textarea),style:(0,ye.Z)((0,ye.Z)({},Ie==null?void 0:Ie.textarea),{},{resize:le==null?void 0:le.resize}),disabled:ie,prefixCls:bt,onResize:jr,ref:Ht,readOnly:Le})))}),He=Je,lt=He},639:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return Re}});var b=ae(54476),oe=ae(20068),ye=ae(33885),De=ae(42978),de=ae(75931),ve=ae(59301),re=ae(92310),se=ae.n(re),fe=ae(26112),E=ae(30699),te=function(be){for(var Pe=be.prefixCls,Fe=be.level,_e=be.isStart,Te=be.isEnd,Ke="".concat(Pe,"-indent-unit"),We=[],Ne=0;Ne<Fe;Ne+=1)We.push(ve.createElement("span",{key:Ne,className:se()(Ke,(0,oe.Z)((0,oe.Z)({},"".concat(Ke,"-start"),_e[Ne]),"".concat(Ke,"-end"),Te[Ne]))}));return ve.createElement("span",{"aria-hidden":"true",className:"".concat(Pe,"-indent")},We)},ne=ve.memo(te),ge=ae(65065),we=ae(34061),xe=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ue="open",Ee="close",Oe="---",Ae=function(be){var Pe,Fe,_e,Te=be.eventKey,Ke=be.className,We=be.style,Ne=be.dragOver,Ye=be.dragOverGapTop,Je=be.dragOverGapBottom,He=be.isLeaf,lt=be.isStart,ct=be.isEnd,tt=be.expanded,Bt=be.selected,nt=be.checked,Ue=be.halfChecked,Xe=be.loading,$e=be.domRef,qe=be.active,Ve=be.data,ht=be.onMouseMove,st=be.selectable,Nt=(0,de.Z)(be,xe),dt=ve.useContext(E.k),Tt=ve.useContext(E.y),bt=ve.useRef(null),Ct=ve.useState(!1),gt=(0,De.Z)(Ct,2),je=gt[0],le=gt[1],ie=!!(dt.disabled||be.disabled||(Pe=Tt.nodeDisabled)!==null&&Pe!==void 0&&Pe.call(Tt,Ve)),ke=ve.useMemo(function(){return!dt.checkable||be.checkable===!1?!1:dt.checkable},[dt.checkable,be.checkable]),Ge=function(xn){ie||dt.onNodeSelect(xn,(0,we.F)(be))},Ie=function(xn){ie||!ke||be.disableCheckbox||dt.onNodeCheck(xn,(0,we.F)(be),!nt)},pe=ve.useMemo(function(){return typeof st=="boolean"?st:dt.selectable},[st,dt.selectable]),x=function(xn){dt.onNodeClick(xn,(0,we.F)(be)),pe?Ge(xn):Ie(xn)},me=function(xn){dt.onNodeDoubleClick(xn,(0,we.F)(be))},Le=function(xn){dt.onNodeMouseEnter(xn,(0,we.F)(be))},Se=function(xn){dt.onNodeMouseLeave(xn,(0,we.F)(be))},Be=function(xn){dt.onNodeContextMenu(xn,(0,we.F)(be))},Qe=ve.useMemo(function(){return!!(dt.draggable&&(!dt.draggable.nodeDraggable||dt.draggable.nodeDraggable(Ve)))},[dt.draggable,Ve]),it=function(xn){xn.stopPropagation(),le(!0),dt.onNodeDragStart(xn,be);try{xn.dataTransfer.setData("text/plain","")}catch(Pn){}},ot=function(xn){xn.preventDefault(),xn.stopPropagation(),dt.onNodeDragEnter(xn,be)},at=function(xn){xn.preventDefault(),xn.stopPropagation(),dt.onNodeDragOver(xn,be)},Rt=function(xn){xn.stopPropagation(),dt.onNodeDragLeave(xn,be)},Ft=function(xn){xn.stopPropagation(),le(!1),dt.onNodeDragEnd(xn,be)},rn=function(xn){xn.preventDefault(),xn.stopPropagation(),le(!1),dt.onNodeDrop(xn,be)},nn=function(xn){Xe||dt.onNodeExpand(xn,(0,we.F)(be))},Lt=ve.useMemo(function(){var Wn=(0,ge.Z)(dt.keyEntities,Te)||{},xn=Wn.children;return!!(xn||[]).length},[dt.keyEntities,Te]),qt=ve.useMemo(function(){return He===!1?!1:He||!dt.loadData&&!Lt||dt.loadData&&be.loaded&&!Lt},[He,dt.loadData,Lt,be.loaded]);ve.useEffect(function(){Xe||typeof dt.loadData=="function"&&tt&&!qt&&!be.loaded&&dt.onNodeLoad((0,we.F)(be))},[Xe,dt.loadData,dt.onNodeLoad,tt,qt,be]);var Wt=ve.useMemo(function(){var Wn;return(Wn=dt.draggable)!==null&&Wn!==void 0&&Wn.icon?ve.createElement("span",{className:"".concat(dt.prefixCls,"-draggable-icon")},dt.draggable.icon):null},[dt.draggable]),Dt=function(xn){var Pn=be.switcherIcon||dt.switcherIcon;return typeof Pn=="function"?Pn((0,ye.Z)((0,ye.Z)({},be),{},{isLeaf:xn})):Pn},zt=function(){if(qt){var xn=Dt(!0);return xn!==!1?ve.createElement("span",{className:se()("".concat(dt.prefixCls,"-switcher"),"".concat(dt.prefixCls,"-switcher-noop"))},xn):null}var Pn=Dt(!1);return Pn!==!1?ve.createElement("span",{onClick:nn,className:se()("".concat(dt.prefixCls,"-switcher"),"".concat(dt.prefixCls,"-switcher_").concat(tt?ue:Ee))},Pn):null},un=ve.useMemo(function(){if(!ke)return null;var Wn=typeof ke!="boolean"?ke:null;return ve.createElement("span",{className:se()("".concat(dt.prefixCls,"-checkbox"),(0,oe.Z)((0,oe.Z)((0,oe.Z)({},"".concat(dt.prefixCls,"-checkbox-checked"),nt),"".concat(dt.prefixCls,"-checkbox-indeterminate"),!nt&&Ue),"".concat(dt.prefixCls,"-checkbox-disabled"),ie||be.disableCheckbox)),onClick:Ie,role:"checkbox","aria-checked":Ue?"mixed":nt,"aria-disabled":ie||be.disableCheckbox,"aria-label":"Select ".concat(typeof be.title=="string"?be.title:"tree node")},Wn)},[ke,nt,Ue,ie,be.disableCheckbox,be.title]),mn=ve.useMemo(function(){return qt?null:tt?ue:Ee},[qt,tt]),Et=ve.useMemo(function(){return ve.createElement("span",{className:se()("".concat(dt.prefixCls,"-iconEle"),"".concat(dt.prefixCls,"-icon__").concat(mn||"docu"),(0,oe.Z)({},"".concat(dt.prefixCls,"-icon_loading"),Xe))})},[dt.prefixCls,mn,Xe]),Ht=ve.useMemo(function(){var Wn=!!dt.draggable,xn=!be.disabled&&Wn&&dt.dragOverNodeKey===Te;return xn?dt.dropIndicatorRender({dropPosition:dt.dropPosition,dropLevelOffset:dt.dropLevelOffset,indent:dt.indent,prefixCls:dt.prefixCls,direction:dt.direction}):null},[dt.dropPosition,dt.dropLevelOffset,dt.indent,dt.prefixCls,dt.direction,dt.draggable,dt.dragOverNodeKey,dt.dropIndicatorRender]),Jt=ve.useMemo(function(){var Wn=be.title,xn=Wn===void 0?Oe:Wn,Pn="".concat(dt.prefixCls,"-node-content-wrapper"),Tn;if(dt.showIcon){var An=be.icon||dt.icon;Tn=An?ve.createElement("span",{className:se()("".concat(dt.prefixCls,"-iconEle"),"".concat(dt.prefixCls,"-icon__customize"))},typeof An=="function"?An(be):An):Et}else dt.loadData&&Xe&&(Tn=Et);var zn;return typeof xn=="function"?zn=xn(Ve):dt.titleRender?zn=dt.titleRender(Ve):zn=xn,ve.createElement("span",{ref:bt,title:typeof xn=="string"?xn:"",className:se()(Pn,"".concat(Pn,"-").concat(mn||"normal"),(0,oe.Z)({},"".concat(dt.prefixCls,"-node-selected"),!ie&&(Bt||je))),onMouseEnter:Le,onMouseLeave:Se,onContextMenu:Be,onClick:x,onDoubleClick:me},Tn,ve.createElement("span",{className:"".concat(dt.prefixCls,"-title")},zn),Ht)},[dt.prefixCls,dt.showIcon,be,dt.icon,Et,dt.titleRender,Ve,mn,Le,Se,Be,x,me]),gn=(0,fe.Z)(Nt,{aria:!0,data:!0}),Nn=(0,ge.Z)(dt.keyEntities,Te)||{},Xn=Nn.level,gr=ct[ct.length-1],br=!ie&&Qe,Yn=dt.draggingNodeKey===Te,hr=st!==void 0?{"aria-selected":!!st}:void 0;return ve.createElement("div",(0,b.Z)({ref:$e,role:"treeitem","aria-expanded":He?void 0:tt,className:se()(Ke,"".concat(dt.prefixCls,"-treenode"),(_e={},(0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)(_e,"".concat(dt.prefixCls,"-treenode-disabled"),ie),"".concat(dt.prefixCls,"-treenode-switcher-").concat(tt?"open":"close"),!He),"".concat(dt.prefixCls,"-treenode-checkbox-checked"),nt),"".concat(dt.prefixCls,"-treenode-checkbox-indeterminate"),Ue),"".concat(dt.prefixCls,"-treenode-selected"),Bt),"".concat(dt.prefixCls,"-treenode-loading"),Xe),"".concat(dt.prefixCls,"-treenode-active"),qe),"".concat(dt.prefixCls,"-treenode-leaf-last"),gr),"".concat(dt.prefixCls,"-treenode-draggable"),Qe),"dragging",Yn),(0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)((0,oe.Z)(_e,"drop-target",dt.dropTargetKey===Te),"drop-container",dt.dropContainerKey===Te),"drag-over",!ie&&Ne),"drag-over-gap-top",!ie&&Ye),"drag-over-gap-bottom",!ie&&Je),"filter-node",(Fe=dt.filterTreeNode)===null||Fe===void 0?void 0:Fe.call(dt,(0,we.F)(be))),"".concat(dt.prefixCls,"-treenode-leaf"),qt))),style:We,draggable:br,onDragStart:br?it:void 0,onDragEnter:Qe?ot:void 0,onDragOver:Qe?at:void 0,onDragLeave:Qe?Rt:void 0,onDrop:Qe?rn:void 0,onDragEnd:Qe?Ft:void 0,onMouseMove:ht},hr,gn),ve.createElement(ne,{prefixCls:dt.prefixCls,level:Xn,isStart:lt,isEnd:ct}),Wt,zt(),un,Jt)};Ae.isTreeNode=1;var Re=Ae},30699:function(Un,pn,ae){"use strict";ae.d(pn,{k:function(){return oe},y:function(){return ye}});var b=ae(59301),oe=b.createContext(null),ye=b.createContext({})},3741:function(Un,pn,ae){"use strict";ae.d(pn,{OF:function(){return Te.Z},y6:function(){return Ee.y},ZP:function(){return ie}});var b=ae(54476),oe=ae(76190),ye=ae(33885),De=ae(94480),de=ae(67732),ve=ae(83652),re=ae(31226),se=ae(42403),fe=ae(158),E=ae(20068),te=ae(92310),ne=ae.n(te),ge=ae(10228),we=ae(26112),xe=ae(48736),ue=ae(59301),Ee=ae(30699),Oe=function(Ge){var Ie=Ge.dropPosition,pe=Ge.dropLevelOffset,x=Ge.indent,me={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ie){case-1:me.top=0,me.left=-pe*x;break;case 1:me.bottom=0,me.left=-pe*x;break;case 0:me.bottom=0,me.left=x;break}return ue.createElement("div",{style:me})},Ae=Oe;function Re(ke){if(ke==null)throw new TypeError("Cannot destructure "+ke)}var Me=ae(42978),be=ae(75931),Pe=ae(34280),Fe=ae(48911),_e=ae(77900),Te=ae(639);function Ke(ke,Ge){var Ie=ue.useState(!1),pe=(0,Me.Z)(Ie,2),x=pe[0],me=pe[1];(0,Pe.Z)(function(){if(x)return ke(),function(){Ge()}},[x]),(0,Pe.Z)(function(){return me(!0),function(){me(!1)}},[])}var We=Ke,Ne=ae(34061),Ye=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Je=ue.forwardRef(function(ke,Ge){var Ie=ke.className,pe=ke.style,x=ke.motion,me=ke.motionNodes,Le=ke.motionType,Se=ke.onMotionStart,Be=ke.onMotionEnd,Qe=ke.active,it=ke.treeNodeRequiredProps,ot=(0,be.Z)(ke,Ye),at=ue.useState(!0),Rt=(0,Me.Z)(at,2),Ft=Rt[0],rn=Rt[1],nn=ue.useContext(Ee.k),Lt=nn.prefixCls,qt=me&&Le!=="hide";(0,Pe.Z)(function(){me&&qt!==Ft&&rn(qt)},[me]);var Wt=function(){me&&Se()},Dt=ue.useRef(!1),zt=function(){me&&!Dt.current&&(Dt.current=!0,Be())};We(Wt,zt);var un=function(Et){qt===Et&&zt()};return me?ue.createElement(_e.default,(0,b.Z)({ref:Ge,visible:Ft},x,{motionAppear:Le==="show",onVisibleChanged:un}),function(mn,Et){var Ht=mn.className,Jt=mn.style;return ue.createElement("div",{ref:Et,className:ne()("".concat(Lt,"-treenode-motion"),Ht),style:Jt},me.map(function(gn){var Nn=Object.assign({},(Re(gn.data),gn.data)),Xn=gn.title,gr=gn.key,br=gn.isStart,Yn=gn.isEnd;delete Nn.children;var hr=(0,Ne.H8)(gr,it);return ue.createElement(Te.Z,(0,b.Z)({},Nn,hr,{title:Xn,active:Qe,data:gn.data,key:gr,isStart:br,isEnd:Yn}))}))}):ue.createElement(Te.Z,(0,b.Z)({domRef:Ge,className:Ie,style:pe},ot,{active:Qe}))}),He=Je;function lt(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ie=ke.length,pe=Ge.length;if(Math.abs(Ie-pe)!==1)return{add:!1,key:null};function x(me,Le){var Se=new Map;me.forEach(function(Qe){Se.set(Qe,!0)});var Be=Le.filter(function(Qe){return!Se.has(Qe)});return Be.length===1?Be[0]:null}return Ie<pe?{add:!0,key:x(ke,Ge)}:{add:!1,key:x(Ge,ke)}}function ct(ke,Ge,Ie){var pe=ke.findIndex(function(Se){return Se.key===Ie}),x=ke[pe+1],me=Ge.findIndex(function(Se){return Se.key===Ie});if(x){var Le=Ge.findIndex(function(Se){return Se.key===x.key});return Ge.slice(me+1,Le)}return Ge.slice(me+1)}var tt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Bt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},nt=function(){},Ue="RC_TREE_MOTION_".concat(Math.random()),Xe={key:Ue},$e={key:Ue,level:0,index:0,pos:"0",node:Xe,nodes:[Xe]},qe={parent:null,children:[],pos:$e.pos,data:Xe,title:null,key:Ue,isStart:[],isEnd:[]};function Ve(ke,Ge,Ie,pe){return Ge===!1||!Ie?ke:ke.slice(0,Math.ceil(Ie/pe)+1)}function ht(ke){var Ge=ke.key,Ie=ke.pos;return(0,Ne.km)(Ge,Ie)}function st(ke){for(var Ge=String(ke.data.key),Ie=ke;Ie.parent;)Ie=Ie.parent,Ge="".concat(Ie.data.key," > ").concat(Ge);return Ge}var Nt=ue.forwardRef(function(ke,Ge){var Ie=ke.prefixCls,pe=ke.data,x=ke.selectable,me=ke.checkable,Le=ke.expandedKeys,Se=ke.selectedKeys,Be=ke.checkedKeys,Qe=ke.loadedKeys,it=ke.loadingKeys,ot=ke.halfCheckedKeys,at=ke.keyEntities,Rt=ke.disabled,Ft=ke.dragging,rn=ke.dragOverNodeKey,nn=ke.dropPosition,Lt=ke.motion,qt=ke.height,Wt=ke.itemHeight,Dt=ke.virtual,zt=ke.scrollWidth,un=ke.focusable,mn=ke.activeItem,Et=ke.focused,Ht=ke.tabIndex,Jt=ke.onKeyDown,gn=ke.onFocus,Nn=ke.onBlur,Xn=ke.onActiveChange,gr=ke.onListChangeStart,br=ke.onListChangeEnd,Yn=(0,be.Z)(ke,tt),hr=ue.useRef(null),Wn=ue.useRef(null);ue.useImperativeHandle(Ge,function(){return{scrollTo:function(en){hr.current.scrollTo(en)},getIndentWidth:function(){return Wn.current.offsetWidth}}});var xn=ue.useState(Le),Pn=(0,Me.Z)(xn,2),Tn=Pn[0],An=Pn[1],zn=ue.useState(pe),Kn=(0,Me.Z)(zn,2),er=Kn[0],wr=Kn[1],Sr=ue.useState(pe),Er=(0,Me.Z)(Sr,2),Nr=Er[0],Br=Er[1],jr=ue.useState([]),Rr=(0,Me.Z)(jr,2),Ln=Rr[0],tr=Rr[1],Ar=ue.useState(null),yr=(0,Me.Z)(Ar,2),Zt=yr[0],St=yr[1],Ot=ue.useRef(pe);Ot.current=pe;function Gt(){var xt=Ot.current;wr(xt),Br(xt),tr([]),St(null),br()}(0,Pe.Z)(function(){An(Le);var xt=lt(Tn,Le);if(xt.key!==null)if(xt.add){var en=er.findIndex(function(fn){var lr=fn.key;return lr===xt.key}),on=Ve(ct(er,pe,xt.key),Dt,qt,Wt),cn=er.slice();cn.splice(en+1,0,qe),Br(cn),tr(on),St("show")}else{var Yt=pe.findIndex(function(fn){var lr=fn.key;return lr===xt.key}),$t=Ve(ct(pe,er,xt.key),Dt,qt,Wt),Xt=pe.slice();Xt.splice(Yt+1,0,qe),Br(Xt),tr($t),St("hide")}else er!==pe&&(wr(pe),Br(pe))},[Le,pe]),ue.useEffect(function(){Ft||Gt()},[Ft]);var kt=Lt?Nr:pe,Pt={expandedKeys:Le,selectedKeys:Se,loadedKeys:Qe,loadingKeys:it,checkedKeys:Be,halfCheckedKeys:ot,dragOverNodeKey:rn,dropPosition:nn,keyEntities:at};return ue.createElement(ue.Fragment,null,Et&&mn&&ue.createElement("span",{style:Bt,"aria-live":"assertive"},st(mn)),ue.createElement("div",null,ue.createElement("input",{style:Bt,disabled:un===!1||Rt,tabIndex:un!==!1?Ht:null,onKeyDown:Jt,onFocus:gn,onBlur:Nn,value:"",onChange:nt,"aria-label":"for screen reader"})),ue.createElement("div",{className:"".concat(Ie,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ue.createElement("div",{className:"".concat(Ie,"-indent")},ue.createElement("div",{ref:Wn,className:"".concat(Ie,"-indent-unit")}))),ue.createElement(Fe.Z,(0,b.Z)({},Yn,{data:kt,itemKey:ht,height:qt,fullHeight:!1,virtual:Dt,itemHeight:Wt,scrollWidth:zt,prefixCls:"".concat(Ie,"-list"),ref:hr,role:"tree",onVisibleChange:function(en){en.every(function(on){return ht(on)!==Ue})&&Gt()}}),function(xt){var en=xt.pos,on=Object.assign({},(Re(xt.data),xt.data)),cn=xt.title,Yt=xt.key,$t=xt.isStart,Xt=xt.isEnd,fn=(0,Ne.km)(Yt,en);delete on.key,delete on.children;var lr=(0,Ne.H8)(fn,Pt);return ue.createElement(He,(0,b.Z)({},on,lr,{title:cn,active:!!mn&&Yt===mn.key,pos:en,data:xt.data,isStart:$t,isEnd:Xt,motion:Lt,motionNodes:Yt===Ue?Ln:null,motionType:Zt,onMotionStart:gr,onMotionEnd:Gt,treeNodeRequiredProps:Pt,onMouseMove:function(){Xn(null)}}))}))}),dt=Nt,Tt=ae(82661),bt=ae(34643),Ct=ae(65065),gt=10,je=function(ke){(0,se.Z)(Ie,ke);var Ge=(0,fe.Z)(Ie);function Ie(){var pe;(0,de.Z)(this,Ie);for(var x=arguments.length,me=new Array(x),Le=0;Le<x;Le++)me[Le]=arguments[Le];return pe=Ge.call.apply(Ge,[this].concat(me)),(0,E.Z)((0,re.Z)(pe),"destroyed",!1),(0,E.Z)((0,re.Z)(pe),"delayedDragEnterLogic",void 0),(0,E.Z)((0,re.Z)(pe),"loadingRetryTimes",{}),(0,E.Z)((0,re.Z)(pe),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ne.w$)()}),(0,E.Z)((0,re.Z)(pe),"dragStartMousePosition",null),(0,E.Z)((0,re.Z)(pe),"dragNodeProps",null),(0,E.Z)((0,re.Z)(pe),"currentMouseOverDroppableNodeKey",null),(0,E.Z)((0,re.Z)(pe),"listRef",ue.createRef()),(0,E.Z)((0,re.Z)(pe),"onNodeDragStart",function(Se,Be){var Qe=pe.state,it=Qe.expandedKeys,ot=Qe.keyEntities,at=pe.props.onDragStart,Rt=Be.eventKey;pe.dragNodeProps=Be,pe.dragStartMousePosition={x:Se.clientX,y:Se.clientY};var Ft=(0,Tt._5)(it,Rt);pe.setState({draggingNodeKey:Rt,dragChildrenKeys:(0,Tt.wA)(Rt,ot),indent:pe.listRef.current.getIndentWidth()}),pe.setExpandedKeys(Ft),window.addEventListener("dragend",pe.onWindowDragEnd),at==null||at({event:Se,node:(0,Ne.F)(Be)})}),(0,E.Z)((0,re.Z)(pe),"onNodeDragEnter",function(Se,Be){var Qe=pe.state,it=Qe.expandedKeys,ot=Qe.keyEntities,at=Qe.dragChildrenKeys,Rt=Qe.flattenNodes,Ft=Qe.indent,rn=pe.props,nn=rn.onDragEnter,Lt=rn.onExpand,qt=rn.allowDrop,Wt=rn.direction,Dt=Be.pos,zt=Be.eventKey;if(pe.currentMouseOverDroppableNodeKey!==zt&&(pe.currentMouseOverDroppableNodeKey=zt),!pe.dragNodeProps){pe.resetDragState();return}var un=(0,Tt.OM)(Se,pe.dragNodeProps,Be,Ft,pe.dragStartMousePosition,qt,Rt,ot,it,Wt),mn=un.dropPosition,Et=un.dropLevelOffset,Ht=un.dropTargetKey,Jt=un.dropContainerKey,gn=un.dropTargetPos,Nn=un.dropAllowed,Xn=un.dragOverNodeKey;if(at.includes(Ht)||!Nn){pe.resetDragState();return}if(pe.delayedDragEnterLogic||(pe.delayedDragEnterLogic={}),Object.keys(pe.delayedDragEnterLogic).forEach(function(gr){clearTimeout(pe.delayedDragEnterLogic[gr])}),pe.dragNodeProps.eventKey!==Be.eventKey&&(Se.persist(),pe.delayedDragEnterLogic[Dt]=window.setTimeout(function(){if(pe.state.draggingNodeKey!==null){var gr=(0,De.Z)(it),br=(0,Ct.Z)(ot,Be.eventKey);br&&(br.children||[]).length&&(gr=(0,Tt.L0)(it,Be.eventKey)),pe.props.hasOwnProperty("expandedKeys")||pe.setExpandedKeys(gr),Lt==null||Lt(gr,{node:(0,Ne.F)(Be),expanded:!0,nativeEvent:Se.nativeEvent})}},800)),pe.dragNodeProps.eventKey===Ht&&Et===0){pe.resetDragState();return}pe.setState({dragOverNodeKey:Xn,dropPosition:mn,dropLevelOffset:Et,dropTargetKey:Ht,dropContainerKey:Jt,dropTargetPos:gn,dropAllowed:Nn}),nn==null||nn({event:Se,node:(0,Ne.F)(Be),expandedKeys:it})}),(0,E.Z)((0,re.Z)(pe),"onNodeDragOver",function(Se,Be){var Qe=pe.state,it=Qe.dragChildrenKeys,ot=Qe.flattenNodes,at=Qe.keyEntities,Rt=Qe.expandedKeys,Ft=Qe.indent,rn=pe.props,nn=rn.onDragOver,Lt=rn.allowDrop,qt=rn.direction;if(pe.dragNodeProps){var Wt=(0,Tt.OM)(Se,pe.dragNodeProps,Be,Ft,pe.dragStartMousePosition,Lt,ot,at,Rt,qt),Dt=Wt.dropPosition,zt=Wt.dropLevelOffset,un=Wt.dropTargetKey,mn=Wt.dropContainerKey,Et=Wt.dropTargetPos,Ht=Wt.dropAllowed,Jt=Wt.dragOverNodeKey;it.includes(un)||!Ht||(pe.dragNodeProps.eventKey===un&&zt===0?pe.state.dropPosition===null&&pe.state.dropLevelOffset===null&&pe.state.dropTargetKey===null&&pe.state.dropContainerKey===null&&pe.state.dropTargetPos===null&&pe.state.dropAllowed===!1&&pe.state.dragOverNodeKey===null||pe.resetDragState():Dt===pe.state.dropPosition&&zt===pe.state.dropLevelOffset&&un===pe.state.dropTargetKey&&mn===pe.state.dropContainerKey&&Et===pe.state.dropTargetPos&&Ht===pe.state.dropAllowed&&Jt===pe.state.dragOverNodeKey||pe.setState({dropPosition:Dt,dropLevelOffset:zt,dropTargetKey:un,dropContainerKey:mn,dropTargetPos:Et,dropAllowed:Ht,dragOverNodeKey:Jt}),nn==null||nn({event:Se,node:(0,Ne.F)(Be)}))}}),(0,E.Z)((0,re.Z)(pe),"onNodeDragLeave",function(Se,Be){pe.currentMouseOverDroppableNodeKey===Be.eventKey&&!Se.currentTarget.contains(Se.relatedTarget)&&(pe.resetDragState(),pe.currentMouseOverDroppableNodeKey=null);var Qe=pe.props.onDragLeave;Qe==null||Qe({event:Se,node:(0,Ne.F)(Be)})}),(0,E.Z)((0,re.Z)(pe),"onWindowDragEnd",function(Se){pe.onNodeDragEnd(Se,null,!0),window.removeEventListener("dragend",pe.onWindowDragEnd)}),(0,E.Z)((0,re.Z)(pe),"onNodeDragEnd",function(Se,Be){var Qe=pe.props.onDragEnd;pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),Qe==null||Qe({event:Se,node:(0,Ne.F)(Be)}),pe.dragNodeProps=null,window.removeEventListener("dragend",pe.onWindowDragEnd)}),(0,E.Z)((0,re.Z)(pe),"onNodeDrop",function(Se,Be){var Qe,it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ot=pe.state,at=ot.dragChildrenKeys,Rt=ot.dropPosition,Ft=ot.dropTargetKey,rn=ot.dropTargetPos,nn=ot.dropAllowed;if(nn){var Lt=pe.props.onDrop;if(pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),Ft!==null){var qt=(0,ye.Z)((0,ye.Z)({},(0,Ne.H8)(Ft,pe.getTreeNodeRequiredProps())),{},{active:((Qe=pe.getActiveItem())===null||Qe===void 0?void 0:Qe.key)===Ft,data:(0,Ct.Z)(pe.state.keyEntities,Ft).node}),Wt=at.includes(Ft);(0,xe.ZP)(!Wt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Dt=(0,Tt.yx)(rn),zt={event:Se,node:(0,Ne.F)(qt),dragNode:pe.dragNodeProps?(0,Ne.F)(pe.dragNodeProps):null,dragNodesKeys:[pe.dragNodeProps.eventKey].concat(at),dropToGap:Rt!==0,dropPosition:Rt+Number(Dt[Dt.length-1])};it||Lt==null||Lt(zt),pe.dragNodeProps=null}}}),(0,E.Z)((0,re.Z)(pe),"cleanDragState",function(){var Se=pe.state.draggingNodeKey;Se!==null&&pe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),pe.dragStartMousePosition=null,pe.currentMouseOverDroppableNodeKey=null}),(0,E.Z)((0,re.Z)(pe),"triggerExpandActionExpand",function(Se,Be){var Qe=pe.state,it=Qe.expandedKeys,ot=Qe.flattenNodes,at=Be.expanded,Rt=Be.key,Ft=Be.isLeaf;if(!(Ft||Se.shiftKey||Se.metaKey||Se.ctrlKey)){var rn=ot.filter(function(Lt){return Lt.key===Rt})[0],nn=(0,Ne.F)((0,ye.Z)((0,ye.Z)({},(0,Ne.H8)(Rt,pe.getTreeNodeRequiredProps())),{},{data:rn.data}));pe.setExpandedKeys(at?(0,Tt._5)(it,Rt):(0,Tt.L0)(it,Rt)),pe.onNodeExpand(Se,nn)}}),(0,E.Z)((0,re.Z)(pe),"onNodeClick",function(Se,Be){var Qe=pe.props,it=Qe.onClick,ot=Qe.expandAction;ot==="click"&&pe.triggerExpandActionExpand(Se,Be),it==null||it(Se,Be)}),(0,E.Z)((0,re.Z)(pe),"onNodeDoubleClick",function(Se,Be){var Qe=pe.props,it=Qe.onDoubleClick,ot=Qe.expandAction;ot==="doubleClick"&&pe.triggerExpandActionExpand(Se,Be),it==null||it(Se,Be)}),(0,E.Z)((0,re.Z)(pe),"onNodeSelect",function(Se,Be){var Qe=pe.state.selectedKeys,it=pe.state,ot=it.keyEntities,at=it.fieldNames,Rt=pe.props,Ft=Rt.onSelect,rn=Rt.multiple,nn=Be.selected,Lt=Be[at.key],qt=!nn;qt?rn?Qe=(0,Tt.L0)(Qe,Lt):Qe=[Lt]:Qe=(0,Tt._5)(Qe,Lt);var Wt=Qe.map(function(Dt){var zt=(0,Ct.Z)(ot,Dt);return zt?zt.node:null}).filter(Boolean);pe.setUncontrolledState({selectedKeys:Qe}),Ft==null||Ft(Qe,{event:"select",selected:qt,node:Be,selectedNodes:Wt,nativeEvent:Se.nativeEvent})}),(0,E.Z)((0,re.Z)(pe),"onNodeCheck",function(Se,Be,Qe){var it=pe.state,ot=it.keyEntities,at=it.checkedKeys,Rt=it.halfCheckedKeys,Ft=pe.props,rn=Ft.checkStrictly,nn=Ft.onCheck,Lt=Be.key,qt,Wt={event:"check",node:Be,checked:Qe,nativeEvent:Se.nativeEvent};if(rn){var Dt=Qe?(0,Tt.L0)(at,Lt):(0,Tt._5)(at,Lt),zt=(0,Tt._5)(Rt,Lt);qt={checked:Dt,halfChecked:zt},Wt.checkedNodes=Dt.map(function(gn){return(0,Ct.Z)(ot,gn)}).filter(Boolean).map(function(gn){return gn.node}),pe.setUncontrolledState({checkedKeys:Dt})}else{var un=(0,bt.S)([].concat((0,De.Z)(at),[Lt]),!0,ot),mn=un.checkedKeys,Et=un.halfCheckedKeys;if(!Qe){var Ht=new Set(mn);Ht.delete(Lt);var Jt=(0,bt.S)(Array.from(Ht),{checked:!1,halfCheckedKeys:Et},ot);mn=Jt.checkedKeys,Et=Jt.halfCheckedKeys}qt=mn,Wt.checkedNodes=[],Wt.checkedNodesPositions=[],Wt.halfCheckedKeys=Et,mn.forEach(function(gn){var Nn=(0,Ct.Z)(ot,gn);if(Nn){var Xn=Nn.node,gr=Nn.pos;Wt.checkedNodes.push(Xn),Wt.checkedNodesPositions.push({node:Xn,pos:gr})}}),pe.setUncontrolledState({checkedKeys:mn},!1,{halfCheckedKeys:Et})}nn==null||nn(qt,Wt)}),(0,E.Z)((0,re.Z)(pe),"onNodeLoad",function(Se){var Be,Qe=Se.key,it=pe.state.keyEntities,ot=(0,Ct.Z)(it,Qe);if(!(ot!=null&&(Be=ot.children)!==null&&Be!==void 0&&Be.length)){var at=new Promise(function(Rt,Ft){pe.setState(function(rn){var nn=rn.loadedKeys,Lt=nn===void 0?[]:nn,qt=rn.loadingKeys,Wt=qt===void 0?[]:qt,Dt=pe.props,zt=Dt.loadData,un=Dt.onLoad;if(!zt||Lt.includes(Qe)||Wt.includes(Qe))return null;var mn=zt(Se);return mn.then(function(){var Et=pe.state.loadedKeys,Ht=(0,Tt.L0)(Et,Qe);un==null||un(Ht,{event:"load",node:Se}),pe.setUncontrolledState({loadedKeys:Ht}),pe.setState(function(Jt){return{loadingKeys:(0,Tt._5)(Jt.loadingKeys,Qe)}}),Rt()}).catch(function(Et){if(pe.setState(function(Jt){return{loadingKeys:(0,Tt._5)(Jt.loadingKeys,Qe)}}),pe.loadingRetryTimes[Qe]=(pe.loadingRetryTimes[Qe]||0)+1,pe.loadingRetryTimes[Qe]>=gt){var Ht=pe.state.loadedKeys;(0,xe.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),pe.setUncontrolledState({loadedKeys:(0,Tt.L0)(Ht,Qe)}),Rt()}Ft(Et)}),{loadingKeys:(0,Tt.L0)(Wt,Qe)}})});return at.catch(function(){}),at}}),(0,E.Z)((0,re.Z)(pe),"onNodeMouseEnter",function(Se,Be){var Qe=pe.props.onMouseEnter;Qe==null||Qe({event:Se,node:Be})}),(0,E.Z)((0,re.Z)(pe),"onNodeMouseLeave",function(Se,Be){var Qe=pe.props.onMouseLeave;Qe==null||Qe({event:Se,node:Be})}),(0,E.Z)((0,re.Z)(pe),"onNodeContextMenu",function(Se,Be){var Qe=pe.props.onRightClick;Qe&&(Se.preventDefault(),Qe({event:Se,node:Be}))}),(0,E.Z)((0,re.Z)(pe),"onFocus",function(){var Se=pe.props.onFocus;pe.setState({focused:!0});for(var Be=arguments.length,Qe=new Array(Be),it=0;it<Be;it++)Qe[it]=arguments[it];Se==null||Se.apply(void 0,Qe)}),(0,E.Z)((0,re.Z)(pe),"onBlur",function(){var Se=pe.props.onBlur;pe.setState({focused:!1}),pe.onActiveChange(null);for(var Be=arguments.length,Qe=new Array(Be),it=0;it<Be;it++)Qe[it]=arguments[it];Se==null||Se.apply(void 0,Qe)}),(0,E.Z)((0,re.Z)(pe),"getTreeNodeRequiredProps",function(){var Se=pe.state,Be=Se.expandedKeys,Qe=Se.selectedKeys,it=Se.loadedKeys,ot=Se.loadingKeys,at=Se.checkedKeys,Rt=Se.halfCheckedKeys,Ft=Se.dragOverNodeKey,rn=Se.dropPosition,nn=Se.keyEntities;return{expandedKeys:Be||[],selectedKeys:Qe||[],loadedKeys:it||[],loadingKeys:ot||[],checkedKeys:at||[],halfCheckedKeys:Rt||[],dragOverNodeKey:Ft,dropPosition:rn,keyEntities:nn}}),(0,E.Z)((0,re.Z)(pe),"setExpandedKeys",function(Se){var Be=pe.state,Qe=Be.treeData,it=Be.fieldNames,ot=(0,Ne.oH)(Qe,Se,it);pe.setUncontrolledState({expandedKeys:Se,flattenNodes:ot},!0)}),(0,E.Z)((0,re.Z)(pe),"onNodeExpand",function(Se,Be){var Qe=pe.state.expandedKeys,it=pe.state,ot=it.listChanging,at=it.fieldNames,Rt=pe.props,Ft=Rt.onExpand,rn=Rt.loadData,nn=Be.expanded,Lt=Be[at.key];if(!ot){var qt=Qe.includes(Lt),Wt=!nn;if((0,xe.ZP)(nn&&qt||!nn&&!qt,"Expand state not sync with index check"),Qe=Wt?(0,Tt.L0)(Qe,Lt):(0,Tt._5)(Qe,Lt),pe.setExpandedKeys(Qe),Ft==null||Ft(Qe,{node:Be,expanded:Wt,nativeEvent:Se.nativeEvent}),Wt&&rn){var Dt=pe.onNodeLoad(Be);Dt&&Dt.then(function(){var zt=(0,Ne.oH)(pe.state.treeData,Qe,at);pe.setUncontrolledState({flattenNodes:zt})}).catch(function(){var zt=pe.state.expandedKeys,un=(0,Tt._5)(zt,Lt);pe.setExpandedKeys(un)})}}}),(0,E.Z)((0,re.Z)(pe),"onListChangeStart",function(){pe.setUncontrolledState({listChanging:!0})}),(0,E.Z)((0,re.Z)(pe),"onListChangeEnd",function(){setTimeout(function(){pe.setUncontrolledState({listChanging:!1})})}),(0,E.Z)((0,re.Z)(pe),"onActiveChange",function(Se){var Be=pe.state.activeKey,Qe=pe.props,it=Qe.onActiveChange,ot=Qe.itemScrollOffset,at=ot===void 0?0:ot;Be!==Se&&(pe.setState({activeKey:Se}),Se!==null&&pe.scrollTo({key:Se,offset:at}),it==null||it(Se))}),(0,E.Z)((0,re.Z)(pe),"getActiveItem",function(){var Se=pe.state,Be=Se.activeKey,Qe=Se.flattenNodes;return Be===null?null:Qe.find(function(it){var ot=it.key;return ot===Be})||null}),(0,E.Z)((0,re.Z)(pe),"offsetActiveKey",function(Se){var Be=pe.state,Qe=Be.flattenNodes,it=Be.activeKey,ot=Qe.findIndex(function(Ft){var rn=Ft.key;return rn===it});ot===-1&&Se<0&&(ot=Qe.length),ot=(ot+Se+Qe.length)%Qe.length;var at=Qe[ot];if(at){var Rt=at.key;pe.onActiveChange(Rt)}else pe.onActiveChange(null)}),(0,E.Z)((0,re.Z)(pe),"onKeyDown",function(Se){var Be=pe.state,Qe=Be.activeKey,it=Be.expandedKeys,ot=Be.checkedKeys,at=Be.fieldNames,Rt=pe.props,Ft=Rt.onKeyDown,rn=Rt.checkable,nn=Rt.selectable;switch(Se.which){case ge.Z.UP:{pe.offsetActiveKey(-1),Se.preventDefault();break}case ge.Z.DOWN:{pe.offsetActiveKey(1),Se.preventDefault();break}}var Lt=pe.getActiveItem();if(Lt&&Lt.data){var qt=pe.getTreeNodeRequiredProps(),Wt=Lt.data.isLeaf===!1||!!(Lt.data[at.children]||[]).length,Dt=(0,Ne.F)((0,ye.Z)((0,ye.Z)({},(0,Ne.H8)(Qe,qt)),{},{data:Lt.data,active:!0}));switch(Se.which){case ge.Z.LEFT:{Wt&&it.includes(Qe)?pe.onNodeExpand({},Dt):Lt.parent&&pe.onActiveChange(Lt.parent.key),Se.preventDefault();break}case ge.Z.RIGHT:{Wt&&!it.includes(Qe)?pe.onNodeExpand({},Dt):Lt.children&&Lt.children.length&&pe.onActiveChange(Lt.children[0].key),Se.preventDefault();break}case ge.Z.ENTER:case ge.Z.SPACE:{rn&&!Dt.disabled&&Dt.checkable!==!1&&!Dt.disableCheckbox?pe.onNodeCheck({},Dt,!ot.includes(Qe)):!rn&&nn&&!Dt.disabled&&Dt.selectable!==!1&&pe.onNodeSelect({},Dt);break}}}Ft==null||Ft(Se)}),(0,E.Z)((0,re.Z)(pe),"setUncontrolledState",function(Se){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!pe.destroyed){var it=!1,ot=!0,at={};Object.keys(Se).forEach(function(Rt){if(pe.props.hasOwnProperty(Rt)){ot=!1;return}it=!0,at[Rt]=Se[Rt]}),it&&(!Be||ot)&&pe.setState((0,ye.Z)((0,ye.Z)({},at),Qe))}}),(0,E.Z)((0,re.Z)(pe),"scrollTo",function(Se){pe.listRef.current.scrollTo(Se)}),pe}return(0,ve.Z)(Ie,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var x=this.props,me=x.activeKey,Le=x.itemScrollOffset,Se=Le===void 0?0:Le;me!==void 0&&me!==this.state.activeKey&&(this.setState({activeKey:me}),me!==null&&this.scrollTo({key:me,offset:Se}))}},{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 x=this.state,me=x.focused,Le=x.flattenNodes,Se=x.keyEntities,Be=x.draggingNodeKey,Qe=x.activeKey,it=x.dropLevelOffset,ot=x.dropContainerKey,at=x.dropTargetKey,Rt=x.dropPosition,Ft=x.dragOverNodeKey,rn=x.indent,nn=this.props,Lt=nn.prefixCls,qt=nn.className,Wt=nn.style,Dt=nn.showLine,zt=nn.focusable,un=nn.tabIndex,mn=un===void 0?0:un,Et=nn.selectable,Ht=nn.showIcon,Jt=nn.icon,gn=nn.switcherIcon,Nn=nn.draggable,Xn=nn.checkable,gr=nn.checkStrictly,br=nn.disabled,Yn=nn.motion,hr=nn.loadData,Wn=nn.filterTreeNode,xn=nn.height,Pn=nn.itemHeight,Tn=nn.scrollWidth,An=nn.virtual,zn=nn.titleRender,Kn=nn.dropIndicatorRender,er=nn.onContextMenu,wr=nn.onScroll,Sr=nn.direction,Er=nn.rootClassName,Nr=nn.rootStyle,Br=(0,we.Z)(this.props,{aria:!0,data:!0}),jr;Nn&&((0,oe.Z)(Nn)==="object"?jr=Nn:typeof Nn=="function"?jr={nodeDraggable:Nn}:jr={});var Rr={prefixCls:Lt,selectable:Et,showIcon:Ht,icon:Jt,switcherIcon:gn,draggable:jr,draggingNodeKey:Be,checkable:Xn,checkStrictly:gr,disabled:br,keyEntities:Se,dropLevelOffset:it,dropContainerKey:ot,dropTargetKey:at,dropPosition:Rt,dragOverNodeKey:Ft,indent:rn,direction:Sr,dropIndicatorRender:Kn,loadData:hr,filterTreeNode:Wn,titleRender:zn,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};return ue.createElement(Ee.k.Provider,{value:Rr},ue.createElement("div",{className:ne()(Lt,qt,Er,(0,E.Z)((0,E.Z)((0,E.Z)({},"".concat(Lt,"-show-line"),Dt),"".concat(Lt,"-focused"),me),"".concat(Lt,"-active-focused"),Qe!==null)),style:Nr},ue.createElement(dt,(0,b.Z)({ref:this.listRef,prefixCls:Lt,style:Wt,data:Le,disabled:br,selectable:Et,checkable:!!Xn,motion:Yn,dragging:Be!==null,height:xn,itemHeight:Pn,virtual:An,focusable:zt,focused:me,tabIndex:mn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:er,onScroll:wr,scrollWidth:Tn},this.getTreeNodeRequiredProps(),Br))))}}],[{key:"getDerivedStateFromProps",value:function(x,me){var Le=me.prevProps,Se={prevProps:x};function Be(mn){return!Le&&x.hasOwnProperty(mn)||Le&&Le[mn]!==x[mn]}var Qe,it=me.fieldNames;if(Be("fieldNames")&&(it=(0,Ne.w$)(x.fieldNames),Se.fieldNames=it),Be("treeData")?Qe=x.treeData:Be("children")&&((0,xe.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Qe=(0,Ne.zn)(x.children)),Qe){Se.treeData=Qe;var ot=(0,Ne.I8)(Qe,{fieldNames:it});Se.keyEntities=(0,ye.Z)((0,E.Z)({},Ue,$e),ot.keyEntities)}var at=Se.keyEntities||me.keyEntities;if(Be("expandedKeys")||Le&&Be("autoExpandParent"))Se.expandedKeys=x.autoExpandParent||!Le&&x.defaultExpandParent?(0,Tt.r7)(x.expandedKeys,at):x.expandedKeys;else if(!Le&&x.defaultExpandAll){var Rt=(0,ye.Z)({},at);delete Rt[Ue];var Ft=[];Object.keys(Rt).forEach(function(mn){var Et=Rt[mn];Et.children&&Et.children.length&&Ft.push(Et.key)}),Se.expandedKeys=Ft}else!Le&&x.defaultExpandedKeys&&(Se.expandedKeys=x.autoExpandParent||x.defaultExpandParent?(0,Tt.r7)(x.defaultExpandedKeys,at):x.defaultExpandedKeys);if(Se.expandedKeys||delete Se.expandedKeys,Qe||Se.expandedKeys){var rn=(0,Ne.oH)(Qe||me.treeData,Se.expandedKeys||me.expandedKeys,it);Se.flattenNodes=rn}if(x.selectable&&(Be("selectedKeys")?Se.selectedKeys=(0,Tt.BT)(x.selectedKeys,x):!Le&&x.defaultSelectedKeys&&(Se.selectedKeys=(0,Tt.BT)(x.defaultSelectedKeys,x))),x.checkable){var nn;if(Be("checkedKeys")?nn=(0,Tt.E6)(x.checkedKeys)||{}:!Le&&x.defaultCheckedKeys?nn=(0,Tt.E6)(x.defaultCheckedKeys)||{}:Qe&&(nn=(0,Tt.E6)(x.checkedKeys)||{checkedKeys:me.checkedKeys,halfCheckedKeys:me.halfCheckedKeys}),nn){var Lt=nn,qt=Lt.checkedKeys,Wt=qt===void 0?[]:qt,Dt=Lt.halfCheckedKeys,zt=Dt===void 0?[]:Dt;if(!x.checkStrictly){var un=(0,bt.S)(Wt,!0,at);Wt=un.checkedKeys,zt=un.halfCheckedKeys}Se.checkedKeys=Wt,Se.halfCheckedKeys=zt}}return Be("loadedKeys")&&(Se.loadedKeys=x.loadedKeys),Se}}]),Ie}(ue.Component);(0,E.Z)(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:Ae,allowDrop:function(){return!0},expandAction:!1}),(0,E.Z)(je,"TreeNode",Te.Z);var le=je,ie=le},82661:function(Un,pn,ae){"use strict";ae.d(pn,{BT:function(){return ue},E6:function(){return Ae},L0:function(){return E},OM:function(){return xe},_5:function(){return fe},r7:function(){return Re},wA:function(){return ne},yx:function(){return te}});var b=ae(94480),oe=ae(76190),ye=ae(48736),De=ae(59301),de=ae(639),ve=ae(65065),re=ae(34061),se=null;function fe(Me,be){if(!Me)return[];var Pe=Me.slice(),Fe=Pe.indexOf(be);return Fe>=0&&Pe.splice(Fe,1),Pe}function E(Me,be){var Pe=(Me||[]).slice();return Pe.indexOf(be)===-1&&Pe.push(be),Pe}function te(Me){return Me.split("-")}function ne(Me,be){var Pe=[],Fe=(0,ve.Z)(be,Me);function _e(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Te.forEach(function(Ke){var We=Ke.key,Ne=Ke.children;Pe.push(We),_e(Ne)})}return _e(Fe.children),Pe}function ge(Me){if(Me.parent){var be=te(Me.pos);return Number(be[be.length-1])===Me.parent.children.length-1}return!1}function we(Me){var be=te(Me.pos);return Number(be[be.length-1])===0}function xe(Me,be,Pe,Fe,_e,Te,Ke,We,Ne,Ye){var Je,He=Me.clientX,lt=Me.clientY,ct=Me.target.getBoundingClientRect(),tt=ct.top,Bt=ct.height,nt=(Ye==="rtl"?-1:1)*(((_e==null?void 0:_e.x)||0)-He),Ue=(nt-12)/Fe,Xe=Ne.filter(function(ie){var ke;return(ke=We[ie])===null||ke===void 0||(ke=ke.children)===null||ke===void 0?void 0:ke.length}),$e=(0,ve.Z)(We,Pe.eventKey);if(lt<tt+Bt/2){var qe=Ke.findIndex(function(ie){return ie.key===$e.key}),Ve=qe<=0?0:qe-1,ht=Ke[Ve].key;$e=(0,ve.Z)(We,ht)}var st=$e.key,Nt=$e,dt=$e.key,Tt=0,bt=0;if(!Xe.includes(st))for(var Ct=0;Ct<Ue&&ge($e);Ct+=1)$e=$e.parent,bt+=1;var gt=be.data,je=$e.node,le=!0;return we($e)&&$e.level===0&<<tt+Bt/2&&Te({dragNode:gt,dropNode:je,dropPosition:-1})&&$e.key===Pe.eventKey?Tt=-1:(Nt.children||[]).length&&Xe.includes(dt)?Te({dragNode:gt,dropNode:je,dropPosition:0})?Tt=0:le=!1:bt===0?Ue>-1.5?Te({dragNode:gt,dropNode:je,dropPosition:1})?Tt=1:le=!1:Te({dragNode:gt,dropNode:je,dropPosition:0})?Tt=0:Te({dragNode:gt,dropNode:je,dropPosition:1})?Tt=1:le=!1:Te({dragNode:gt,dropNode:je,dropPosition:1})?Tt=1:le=!1,{dropPosition:Tt,dropLevelOffset:bt,dropTargetKey:$e.key,dropTargetPos:$e.pos,dragOverNodeKey:dt,dropContainerKey:Tt===0?null:((Je=$e.parent)===null||Je===void 0?void 0:Je.key)||null,dropAllowed:le}}function ue(Me,be){if(Me){var Pe=be.multiple;return Pe?Me.slice():Me.length?[Me[0]]:Me}}var Ee=function(be){return be};function Oe(Me,be){if(!Me)return[];var Pe=be||{},Fe=Pe.processProps,_e=Fe===void 0?Ee:Fe,Te=Array.isArray(Me)?Me:[Me];return Te.map(function(Ke){var We=Ke.children,Ne=_objectWithoutProperties(Ke,se),Ye=Oe(We,be);return React.createElement(TreeNode,_extends({key:Ne.key},_e(Ne)),Ye)})}function Ae(Me){if(!Me)return null;var be;if(Array.isArray(Me))be={checkedKeys:Me,halfCheckedKeys:void 0};else if((0,oe.Z)(Me)==="object")be={checkedKeys:Me.checked||void 0,halfCheckedKeys:Me.halfChecked||void 0};else return(0,ye.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return be}function Re(Me,be){var Pe=new Set;function Fe(_e){if(!Pe.has(_e)){var Te=(0,ve.Z)(be,_e);if(Te){Pe.add(_e);var Ke=Te.parent,We=Te.node;We.disabled||Ke&&Fe(Ke.key)}}}return(Me||[]).forEach(function(_e){Fe(_e)}),(0,b.Z)(Pe)}},34643:function(Un,pn,ae){"use strict";ae.d(pn,{S:function(){return re}});var b=ae(48736),oe=ae(65065);function ye(se,fe){var E=new Set;return se.forEach(function(te){fe.has(te)||E.add(te)}),E}function De(se){var fe=se||{},E=fe.disabled,te=fe.disableCheckbox,ne=fe.checkable;return!!(E||te)||ne===!1}function de(se,fe,E,te){for(var ne=new Set(se),ge=new Set,we=0;we<=E;we+=1){var xe=fe.get(we)||new Set;xe.forEach(function(Ae){var Re=Ae.key,Me=Ae.node,be=Ae.children,Pe=be===void 0?[]:be;ne.has(Re)&&!te(Me)&&Pe.filter(function(Fe){return!te(Fe.node)}).forEach(function(Fe){ne.add(Fe.key)})})}for(var ue=new Set,Ee=E;Ee>=0;Ee-=1){var Oe=fe.get(Ee)||new Set;Oe.forEach(function(Ae){var Re=Ae.parent,Me=Ae.node;if(!(te(Me)||!Ae.parent||ue.has(Ae.parent.key))){if(te(Ae.parent.node)){ue.add(Re.key);return}var be=!0,Pe=!1;(Re.children||[]).filter(function(Fe){return!te(Fe.node)}).forEach(function(Fe){var _e=Fe.key,Te=ne.has(_e);be&&!Te&&(be=!1),!Pe&&(Te||ge.has(_e))&&(Pe=!0)}),be&&ne.add(Re.key),Pe&&ge.add(Re.key),ue.add(Re.key)}})}return{checkedKeys:Array.from(ne),halfCheckedKeys:Array.from(ye(ge,ne))}}function ve(se,fe,E,te,ne){for(var ge=new Set(se),we=new Set(fe),xe=0;xe<=te;xe+=1){var ue=E.get(xe)||new Set;ue.forEach(function(Re){var Me=Re.key,be=Re.node,Pe=Re.children,Fe=Pe===void 0?[]:Pe;!ge.has(Me)&&!we.has(Me)&&!ne(be)&&Fe.filter(function(_e){return!ne(_e.node)}).forEach(function(_e){ge.delete(_e.key)})})}we=new Set;for(var Ee=new Set,Oe=te;Oe>=0;Oe-=1){var Ae=E.get(Oe)||new Set;Ae.forEach(function(Re){var Me=Re.parent,be=Re.node;if(!(ne(be)||!Re.parent||Ee.has(Re.parent.key))){if(ne(Re.parent.node)){Ee.add(Me.key);return}var Pe=!0,Fe=!1;(Me.children||[]).filter(function(_e){return!ne(_e.node)}).forEach(function(_e){var Te=_e.key,Ke=ge.has(Te);Pe&&!Ke&&(Pe=!1),!Fe&&(Ke||we.has(Te))&&(Fe=!0)}),Pe||ge.delete(Me.key),Fe&&we.add(Me.key),Ee.add(Me.key)}})}return{checkedKeys:Array.from(ge),halfCheckedKeys:Array.from(ye(we,ge))}}function re(se,fe,E,te){var ne=[],ge;te?ge=te:ge=De;var we=new Set(se.filter(function(Oe){var Ae=!!(0,oe.Z)(E,Oe);return Ae||ne.push(Oe),Ae})),xe=new Map,ue=0;Object.keys(E).forEach(function(Oe){var Ae=E[Oe],Re=Ae.level,Me=xe.get(Re);Me||(Me=new Set,xe.set(Re,Me)),Me.add(Ae),ue=Math.max(ue,Re)}),(0,b.ZP)(!ne.length,"Tree missing follow keys: ".concat(ne.slice(0,100).map(function(Oe){return"'".concat(Oe,"'")}).join(", ")));var Ee;return fe===!0?Ee=de(we,xe,ue,ge):Ee=ve(we,fe.halfCheckedKeys,xe,ue,ge),Ee}},65065:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return b}});function b(oe,ye){return oe[ye]}},34061:function(Un,pn,ae){"use strict";ae.d(pn,{F:function(){return Re},H8:function(){return Ae},I8:function(){return Oe},km:function(){return ne},oH:function(){return ue},w$:function(){return ge},zn:function(){return xe}});var b=ae(76190),oe=ae(94480),ye=ae(33885),De=ae(75931),de=ae(11592),ve=ae(2738),re=ae(48736),se=ae(65065),fe=["children"];function E(Me,be){return"".concat(Me,"-").concat(be)}function te(Me){return Me&&Me.type&&Me.type.isTreeNode}function ne(Me,be){return Me!=null?Me:be}function ge(Me){var be=Me||{},Pe=be.title,Fe=be._title,_e=be.key,Te=be.children,Ke=Pe||"title";return{title:Ke,_title:Fe||[Ke],key:_e||"key",children:Te||"children"}}function we(Me,be){var Pe=new Map;function Fe(_e){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(_e||[]).forEach(function(Ke){var We=Ke[be.key],Ne=Ke[be.children];warning(We!=null,"Tree node must have a certain key: [".concat(Te).concat(We,"]"));var Ye=String(We);warning(!Pe.has(Ye)||We===null||We===void 0,"Same 'key' exist in the Tree: ".concat(Ye)),Pe.set(Ye,!0),Fe(Ne,"".concat(Te).concat(Ye," > "))})}Fe(Me)}function xe(Me){function be(Pe){var Fe=(0,de.Z)(Pe);return Fe.map(function(_e){if(!te(_e))return(0,re.ZP)(!_e,"Tree/TreeNode can only accept TreeNode as children."),null;var Te=_e.key,Ke=_e.props,We=Ke.children,Ne=(0,De.Z)(Ke,fe),Ye=(0,ye.Z)({key:Te},Ne),Je=be(We);return Je.length&&(Ye.children=Je),Ye}).filter(function(_e){return _e})}return be(Me)}function ue(Me,be,Pe){var Fe=ge(Pe),_e=Fe._title,Te=Fe.key,Ke=Fe.children,We=new Set(be===!0?[]:be),Ne=[];function Ye(Je){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Je.map(function(lt,ct){for(var tt=E(He?He.pos:"0",ct),Bt=ne(lt[Te],tt),nt,Ue=0;Ue<_e.length;Ue+=1){var Xe=_e[Ue];if(lt[Xe]!==void 0){nt=lt[Xe];break}}var $e=Object.assign((0,ve.Z)(lt,[].concat((0,oe.Z)(_e),[Te,Ke])),{title:nt,key:Bt,parent:He,pos:tt,children:null,data:lt,isStart:[].concat((0,oe.Z)(He?He.isStart:[]),[ct===0]),isEnd:[].concat((0,oe.Z)(He?He.isEnd:[]),[ct===Je.length-1])});return Ne.push($e),be===!0||We.has(Bt)?$e.children=Ye(lt[Ke]||[],$e):$e.children=[],$e})}return Ye(Me),Ne}function Ee(Me,be,Pe){var Fe={};(0,b.Z)(Pe)==="object"?Fe=Pe:Fe={externalGetKey:Pe},Fe=Fe||{};var _e=Fe,Te=_e.childrenPropName,Ke=_e.externalGetKey,We=_e.fieldNames,Ne=ge(We),Ye=Ne.key,Je=Ne.children,He=Te||Je,lt;Ke?typeof Ke=="string"?lt=function(Bt){return Bt[Ke]}:typeof Ke=="function"&&(lt=function(Bt){return Ke(Bt)}):lt=function(Bt,nt){return ne(Bt[Ye],nt)};function ct(tt,Bt,nt,Ue){var Xe=tt?tt[He]:Me,$e=tt?E(nt.pos,Bt):"0",qe=tt?[].concat((0,oe.Z)(Ue),[tt]):[];if(tt){var Ve=lt(tt,$e),ht={node:tt,index:Bt,pos:$e,key:Ve,parentPos:nt.node?nt.pos:null,level:nt.level+1,nodes:qe};be(ht)}Xe&&Xe.forEach(function(st,Nt){ct(st,Nt,{node:tt,pos:$e,level:nt?nt.level+1:-1},qe)})}ct(null)}function Oe(Me){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pe=be.initWrapper,Fe=be.processEntity,_e=be.onProcessFinished,Te=be.externalGetKey,Ke=be.childrenPropName,We=be.fieldNames,Ne=arguments.length>2?arguments[2]:void 0,Ye=Te||Ne,Je={},He={},lt={posEntities:Je,keyEntities:He};return Pe&&(lt=Pe(lt)||lt),Ee(Me,function(ct){var tt=ct.node,Bt=ct.index,nt=ct.pos,Ue=ct.key,Xe=ct.parentPos,$e=ct.level,qe=ct.nodes,Ve={node:tt,nodes:qe,index:Bt,key:Ue,pos:nt,level:$e},ht=ne(Ue,nt);Je[nt]=Ve,He[ht]=Ve,Ve.parent=Je[Xe],Ve.parent&&(Ve.parent.children=Ve.parent.children||[],Ve.parent.children.push(Ve)),Fe&&Fe(Ve,lt)},{externalGetKey:Ye,childrenPropName:Ke,fieldNames:We}),_e&&_e(lt),lt}function Ae(Me,be){var Pe=be.expandedKeys,Fe=be.selectedKeys,_e=be.loadedKeys,Te=be.loadingKeys,Ke=be.checkedKeys,We=be.halfCheckedKeys,Ne=be.dragOverNodeKey,Ye=be.dropPosition,Je=be.keyEntities,He=(0,se.Z)(Je,Me),lt={eventKey:Me,expanded:Pe.indexOf(Me)!==-1,selected:Fe.indexOf(Me)!==-1,loaded:_e.indexOf(Me)!==-1,loading:Te.indexOf(Me)!==-1,checked:Ke.indexOf(Me)!==-1,halfChecked:We.indexOf(Me)!==-1,pos:String(He?He.pos:""),dragOver:Ne===Me&&Ye===0,dragOverGapTop:Ne===Me&&Ye===-1,dragOverGapBottom:Ne===Me&&Ye===1};return lt}function Re(Me){var be=Me.data,Pe=Me.expanded,Fe=Me.selected,_e=Me.checked,Te=Me.loaded,Ke=Me.loading,We=Me.halfChecked,Ne=Me.dragOver,Ye=Me.dragOverGapTop,Je=Me.dragOverGapBottom,He=Me.pos,lt=Me.active,ct=Me.eventKey,tt=(0,ye.Z)((0,ye.Z)({},be),{},{expanded:Pe,selected:Fe,checked:_e,loaded:Te,loading:Ke,halfChecked:We,dragOver:Ne,dragOverGapTop:Ye,dragOverGapBottom:Je,pos:He,active:lt,key:ct});return"props"in tt||Object.defineProperty(tt,"props",{get:function(){return(0,re.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Me}}),tt}},8224:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return oe}});var b=ae(4676);function oe(ye,De,de,ve){var re=b.unstable_batchedUpdates?function(fe){b.unstable_batchedUpdates(de,fe)}:de;return ye!=null&&ye.addEventListener&&ye.addEventListener(De,re,ve),{remove:function(){ye!=null&&ye.removeEventListener&&ye.removeEventListener(De,re,ve)}}}},24514:function(Un,pn,ae){"use strict";ae.d(pn,{G:function(){return De}});var b=ae(47273),oe=function(ve){if((0,b.Z)()&&window.document.documentElement){var re=Array.isArray(ve)?ve:[ve],se=window.document.documentElement;return re.some(function(fe){return fe in se.style})}return!1},ye=function(ve,re){if(!oe(ve))return!1;var se=document.createElement("div"),fe=se.style[ve];return se.style[ve]=re,se.style[ve]!==fe};function De(de,ve){return!Array.isArray(de)&&ve!==void 0?ye(de,ve):oe(de)}},48911:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return gt}});var b=ae(54476),oe=ae(76190),ye=ae(33885),De=ae(20068),de=ae(42978),ve=ae(75931),re=ae(92310),se=ae.n(re),fe=ae(29301),E=ae(70425),te=ae(34280),ne=ae(59301),ge=ae(4676),we=ne.forwardRef(function(je,le){var ie=je.height,ke=je.offsetY,Ge=je.offsetX,Ie=je.children,pe=je.prefixCls,x=je.onInnerResize,me=je.innerProps,Le=je.rtl,Se=je.extra,Be={},Qe={display:"flex",flexDirection:"column"};return ke!==void 0&&(Be={height:ie,position:"relative",overflow:"hidden"},Qe=(0,ye.Z)((0,ye.Z)({},Qe),{},(0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)({transform:"translateY(".concat(ke,"px)")},Le?"marginRight":"marginLeft",-Ge),"position","absolute"),"left",0),"right",0),"top",0))),ne.createElement("div",{style:Be},ne.createElement(fe.Z,{onResize:function(ot){var at=ot.offsetHeight;at&&x&&x()}},ne.createElement("div",(0,b.Z)({style:Qe,className:se()((0,De.Z)({},"".concat(pe,"-holder-inner"),pe)),ref:le},me),Ie,Se)))});we.displayName="Filler";var xe=we;function ue(je){var le=je.children,ie=je.setRef,ke=ne.useCallback(function(Ge){ie(Ge)},[]);return ne.cloneElement(le,{ref:ke})}function Ee(je,le,ie,ke,Ge,Ie,pe,x){var me=x.getKey;return je.slice(le,ie+1).map(function(Le,Se){var Be=le+Se,Qe=pe(Le,Be,{style:{width:ke},offsetX:Ge}),it=me(Le);return ne.createElement(ue,{key:it,setRef:function(at){return Ie(Le,at)}},Qe)})}function Oe(je,le,ie,ke){var Ge=ie-je,Ie=le-ie,pe=Math.min(Ge,Ie)*2;if(ke<=pe){var x=Math.floor(ke/2);return ke%2?ie+x+1:ie-x}return Ge>Ie?ie-(ke-Ie):ie+(ke-Ge)}function Ae(je,le,ie){var ke=je.length,Ge=le.length,Ie,pe;if(ke===0&&Ge===0)return null;ke<Ge?(Ie=je,pe=le):(Ie=le,pe=je);var x={__EMPTY_ITEM__:!0};function me(ot){return ot!==void 0?ie(ot):x}for(var Le=null,Se=Math.abs(ke-Ge)!==1,Be=0;Be<pe.length;Be+=1){var Qe=me(Ie[Be]),it=me(pe[Be]);if(Qe!==it){Le=Be,Se=Se||Qe!==me(pe[Be+1]);break}}return Le===null?null:{index:Le,multiple:Se}}function Re(je,le,ie){var ke=ne.useState(je),Ge=(0,de.Z)(ke,2),Ie=Ge[0],pe=Ge[1],x=ne.useState(null),me=(0,de.Z)(x,2),Le=me[0],Se=me[1];return ne.useEffect(function(){var Be=Ae(Ie||[],je||[],le);(Be==null?void 0:Be.index)!==void 0&&(ie==null||ie(Be.index),Se(je[Be.index])),pe(je)},[je]),[Le]}var Me=ae(16089),be=(typeof navigator=="undefined"?"undefined":(0,oe.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Pe=be,Fe=function(je,le,ie,ke){var Ge=(0,ne.useRef)(!1),Ie=(0,ne.useRef)(null);function pe(){clearTimeout(Ie.current),Ge.current=!0,Ie.current=setTimeout(function(){Ge.current=!1},50)}var x=(0,ne.useRef)({top:je,bottom:le,left:ie,right:ke});return x.current.top=je,x.current.bottom=le,x.current.left=ie,x.current.right=ke,function(me,Le){var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Be=me?Le<0&&x.current.left||Le>0&&x.current.right:Le<0&&x.current.top||Le>0&&x.current.bottom;return Se&&Be?(clearTimeout(Ie.current),Ge.current=!1):(!Be||Ge.current)&&pe(),!Ge.current&&Be}};function _e(je,le,ie,ke,Ge,Ie,pe){var x=(0,ne.useRef)(0),me=(0,ne.useRef)(null),Le=(0,ne.useRef)(null),Se=(0,ne.useRef)(!1),Be=Fe(le,ie,ke,Ge);function Qe(rn,nn){if(Me.Z.cancel(me.current),!Be(!1,nn)){var Lt=rn;if(!Lt._virtualHandled)Lt._virtualHandled=!0;else return;x.current+=nn,Le.current=nn,Pe||Lt.preventDefault(),me.current=(0,Me.Z)(function(){var qt=Se.current?10:1;pe(x.current*qt,!1),x.current=0})}}function it(rn,nn){pe(nn,!0),Pe||rn.preventDefault()}var ot=(0,ne.useRef)(null),at=(0,ne.useRef)(null);function Rt(rn){if(je){Me.Z.cancel(at.current),at.current=(0,Me.Z)(function(){ot.current=null},2);var nn=rn.deltaX,Lt=rn.deltaY,qt=rn.shiftKey,Wt=nn,Dt=Lt;(ot.current==="sx"||!ot.current&&qt&&Lt&&!nn)&&(Wt=Lt,Dt=0,ot.current="sx");var zt=Math.abs(Wt),un=Math.abs(Dt);ot.current===null&&(ot.current=Ie&&zt>un?"x":"y"),ot.current==="y"?Qe(rn,Dt):it(rn,Wt)}}function Ft(rn){je&&(Se.current=rn.detail===Le.current)}return[Rt,Ft]}function Te(je,le,ie,ke){var Ge=ne.useMemo(function(){return[new Map,[]]},[je,ie.id,ke]),Ie=(0,de.Z)(Ge,2),pe=Ie[0],x=Ie[1],me=function(Se){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se,Qe=pe.get(Se),it=pe.get(Be);if(Qe===void 0||it===void 0)for(var ot=je.length,at=x.length;at<ot;at+=1){var Rt,Ft=je[at],rn=le(Ft);pe.set(rn,at);var nn=(Rt=ie.get(rn))!==null&&Rt!==void 0?Rt:ke;if(x[at]=(x[at-1]||0)+nn,rn===Se&&(Qe=at),rn===Be&&(it=at),Qe!==void 0&&it!==void 0)break}return{top:x[Qe-1]||0,bottom:x[it]}};return me}var Ke=ae(67732),We=ae(83652),Ne=function(){function je(){(0,Ke.Z)(this,je),(0,De.Z)(this,"maps",void 0),(0,De.Z)(this,"id",0),(0,De.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,We.Z)(je,[{key:"set",value:function(ie,ke){this.diffRecords.set(ie,this.maps[ie]),this.maps[ie]=ke,this.id+=1}},{key:"get",value:function(ie){return this.maps[ie]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),je}(),Ye=Ne;function Je(je){var le=parseFloat(je);return isNaN(le)?0:le}function He(je,le,ie){var ke=ne.useState(0),Ge=(0,de.Z)(ke,2),Ie=Ge[0],pe=Ge[1],x=(0,ne.useRef)(new Map),me=(0,ne.useRef)(new Ye),Le=(0,ne.useRef)(0);function Se(){Le.current+=1}function Be(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Se();var ot=function(){var Ft=!1;x.current.forEach(function(rn,nn){if(rn&&rn.offsetParent){var Lt=rn.offsetHeight,qt=getComputedStyle(rn),Wt=qt.marginTop,Dt=qt.marginBottom,zt=Je(Wt),un=Je(Dt),mn=Lt+zt+un;me.current.get(nn)!==mn&&(me.current.set(nn,mn),Ft=!0)}}),Ft&&pe(function(rn){return rn+1})};if(it)ot();else{Le.current+=1;var at=Le.current;Promise.resolve().then(function(){at===Le.current&&ot()})}}function Qe(it,ot){var at=je(it),Rt=x.current.get(at);ot?(x.current.set(at,ot),Be()):x.current.delete(at),!Rt!=!ot&&(ot?le==null||le(it):ie==null||ie(it))}return(0,ne.useEffect)(function(){return Se},[]),[Qe,Be,me.current,Ie]}var lt=14/15;function ct(je,le,ie){var ke=(0,ne.useRef)(!1),Ge=(0,ne.useRef)(0),Ie=(0,ne.useRef)(0),pe=(0,ne.useRef)(null),x=(0,ne.useRef)(null),me,Le=function(it){if(ke.current){var ot=Math.ceil(it.touches[0].pageX),at=Math.ceil(it.touches[0].pageY),Rt=Ge.current-ot,Ft=Ie.current-at,rn=Math.abs(Rt)>Math.abs(Ft);rn?Ge.current=ot:Ie.current=at;var nn=ie(rn,rn?Rt:Ft,!1,it);nn&&it.preventDefault(),clearInterval(x.current),nn&&(x.current=setInterval(function(){rn?Rt*=lt:Ft*=lt;var Lt=Math.floor(rn?Rt:Ft);(!ie(rn,Lt,!0)||Math.abs(Lt)<=.1)&&clearInterval(x.current)},16))}},Se=function(){ke.current=!1,me()},Be=function(it){me(),it.touches.length===1&&!ke.current&&(ke.current=!0,Ge.current=Math.ceil(it.touches[0].pageX),Ie.current=Math.ceil(it.touches[0].pageY),pe.current=it.target,pe.current.addEventListener("touchmove",Le,{passive:!1}),pe.current.addEventListener("touchend",Se,{passive:!0}))};me=function(){pe.current&&(pe.current.removeEventListener("touchmove",Le),pe.current.removeEventListener("touchend",Se))},(0,te.Z)(function(){return je&&le.current.addEventListener("touchstart",Be,{passive:!0}),function(){var Qe;(Qe=le.current)===null||Qe===void 0||Qe.removeEventListener("touchstart",Be),me(),clearInterval(x.current)}},[je])}function tt(je){return Math.floor(Math.pow(je,.5))}function Bt(je,le){var ie="touches"in je?je.touches[0]:je;return ie[le?"pageX":"pageY"]-window[le?"scrollX":"scrollY"]}function nt(je,le,ie){ne.useEffect(function(){var ke=le.current;if(je&&ke){var Ge=!1,Ie,pe,x=function(){Me.Z.cancel(Ie)},me=function Qe(){x(),Ie=(0,Me.Z)(function(){ie(pe),Qe()})},Le=function(){Ge=!1,x()},Se=function(it){if(!(it.target.draggable||it.button!==0)){var ot=it;ot._virtualHandled||(ot._virtualHandled=!0,Ge=!0)}},Be=function(it){if(Ge){var ot=Bt(it,!1),at=ke.getBoundingClientRect(),Rt=at.top,Ft=at.bottom;if(ot<=Rt){var rn=Rt-ot;pe=-tt(rn),me()}else if(ot>=Ft){var nn=ot-Ft;pe=tt(nn),me()}else x()}};return ke.addEventListener("mousedown",Se),ke.ownerDocument.addEventListener("mouseup",Le),ke.ownerDocument.addEventListener("mousemove",Be),ke.ownerDocument.addEventListener("dragend",Le),function(){ke.removeEventListener("mousedown",Se),ke.ownerDocument.removeEventListener("mouseup",Le),ke.ownerDocument.removeEventListener("mousemove",Be),ke.ownerDocument.removeEventListener("dragend",Le),x()}}},[je])}var Ue=10;function Xe(je,le,ie,ke,Ge,Ie,pe,x){var me=ne.useRef(),Le=ne.useState(null),Se=(0,de.Z)(Le,2),Be=Se[0],Qe=Se[1];return(0,te.Z)(function(){if(Be&&Be.times<Ue){if(!je.current){Qe(function(Yn){return(0,ye.Z)({},Yn)});return}Ie();var it=Be.targetAlign,ot=Be.originAlign,at=Be.index,Rt=Be.offset,Ft=je.current.clientHeight,rn=!1,nn=it,Lt=null;if(Ft){for(var qt=it||ot,Wt=0,Dt=0,zt=0,un=Math.min(le.length-1,at),mn=0;mn<=un;mn+=1){var Et=Ge(le[mn]);Dt=Wt;var Ht=ie.get(Et);zt=Dt+(Ht===void 0?ke:Ht),Wt=zt}for(var Jt=qt==="top"?Rt:Ft-Rt,gn=un;gn>=0;gn-=1){var Nn=Ge(le[gn]),Xn=ie.get(Nn);if(Xn===void 0){rn=!0;break}if(Jt-=Xn,Jt<=0)break}switch(qt){case"top":Lt=Dt-Rt;break;case"bottom":Lt=zt-Ft+Rt;break;default:{var gr=je.current.scrollTop,br=gr+Ft;Dt<gr?nn="top":zt>br&&(nn="bottom")}}Lt!==null&&pe(Lt),Lt!==Be.lastTop&&(rn=!0)}rn&&Qe((0,ye.Z)((0,ye.Z)({},Be),{},{times:Be.times+1,targetAlign:nn,lastTop:Lt}))}},[Be,je.current]),function(it){if(it==null){x();return}if(Me.Z.cancel(me.current),typeof it=="number")pe(it);else if(it&&(0,oe.Z)(it)==="object"){var ot,at=it.align;"index"in it?ot=it.index:ot=le.findIndex(function(rn){return Ge(rn)===it.key});var Rt=it.offset,Ft=Rt===void 0?0:Rt;Qe({times:0,index:ot,offset:Ft,originAlign:at})}}}var $e=ne.forwardRef(function(je,le){var ie=je.prefixCls,ke=je.rtl,Ge=je.scrollOffset,Ie=je.scrollRange,pe=je.onStartMove,x=je.onStopMove,me=je.onScroll,Le=je.horizontal,Se=je.spinSize,Be=je.containerSize,Qe=je.style,it=je.thumbStyle,ot=je.showScrollBar,at=ne.useState(!1),Rt=(0,de.Z)(at,2),Ft=Rt[0],rn=Rt[1],nn=ne.useState(null),Lt=(0,de.Z)(nn,2),qt=Lt[0],Wt=Lt[1],Dt=ne.useState(null),zt=(0,de.Z)(Dt,2),un=zt[0],mn=zt[1],Et=!ke,Ht=ne.useRef(),Jt=ne.useRef(),gn=ne.useState(ot),Nn=(0,de.Z)(gn,2),Xn=Nn[0],gr=Nn[1],br=ne.useRef(),Yn=function(){ot===!0||ot===!1||(clearTimeout(br.current),gr(!0),br.current=setTimeout(function(){gr(!1)},3e3))},hr=Ie-Be||0,Wn=Be-Se||0,xn=ne.useMemo(function(){if(Ge===0||hr===0)return 0;var Er=Ge/hr;return Er*Wn},[Ge,hr,Wn]),Pn=function(Nr){Nr.stopPropagation(),Nr.preventDefault()},Tn=ne.useRef({top:xn,dragging:Ft,pageY:qt,startTop:un});Tn.current={top:xn,dragging:Ft,pageY:qt,startTop:un};var An=function(Nr){rn(!0),Wt(Bt(Nr,Le)),mn(Tn.current.top),pe(),Nr.stopPropagation(),Nr.preventDefault()};ne.useEffect(function(){var Er=function(Rr){Rr.preventDefault()},Nr=Ht.current,Br=Jt.current;return Nr.addEventListener("touchstart",Er,{passive:!1}),Br.addEventListener("touchstart",An,{passive:!1}),function(){Nr.removeEventListener("touchstart",Er),Br.removeEventListener("touchstart",An)}},[]);var zn=ne.useRef();zn.current=hr;var Kn=ne.useRef();Kn.current=Wn,ne.useEffect(function(){if(Ft){var Er,Nr=function(Rr){var Ln=Tn.current,tr=Ln.dragging,Ar=Ln.pageY,yr=Ln.startTop;Me.Z.cancel(Er);var Zt=Ht.current.getBoundingClientRect(),St=Be/(Le?Zt.width:Zt.height);if(tr){var Ot=(Bt(Rr,Le)-Ar)*St,Gt=yr;!Et&&Le?Gt-=Ot:Gt+=Ot;var kt=zn.current,Pt=Kn.current,xt=Pt?Gt/Pt:0,en=Math.ceil(xt*kt);en=Math.max(en,0),en=Math.min(en,kt),Er=(0,Me.Z)(function(){me(en,Le)})}},Br=function(){rn(!1),x()};return window.addEventListener("mousemove",Nr,{passive:!0}),window.addEventListener("touchmove",Nr,{passive:!0}),window.addEventListener("mouseup",Br,{passive:!0}),window.addEventListener("touchend",Br,{passive:!0}),function(){window.removeEventListener("mousemove",Nr),window.removeEventListener("touchmove",Nr),window.removeEventListener("mouseup",Br),window.removeEventListener("touchend",Br),Me.Z.cancel(Er)}}},[Ft]),ne.useEffect(function(){return Yn(),function(){clearTimeout(br.current)}},[Ge]),ne.useImperativeHandle(le,function(){return{delayHidden:Yn}});var er="".concat(ie,"-scrollbar"),wr={position:"absolute",visibility:Xn?null:"hidden"},Sr={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Le?(Object.assign(wr,{height:8,left:0,right:0,bottom:0}),Object.assign(Sr,(0,De.Z)({height:"100%",width:Se},Et?"left":"right",xn))):(Object.assign(wr,(0,De.Z)({width:8,top:0,bottom:0},Et?"right":"left",0)),Object.assign(Sr,{width:"100%",height:Se,top:xn})),ne.createElement("div",{ref:Ht,className:se()(er,(0,De.Z)((0,De.Z)((0,De.Z)({},"".concat(er,"-horizontal"),Le),"".concat(er,"-vertical"),!Le),"".concat(er,"-visible"),Xn)),style:(0,ye.Z)((0,ye.Z)({},wr),Qe),onMouseDown:Pn,onMouseMove:Yn},ne.createElement("div",{ref:Jt,className:se()("".concat(er,"-thumb"),(0,De.Z)({},"".concat(er,"-thumb-moving"),Ft)),style:(0,ye.Z)((0,ye.Z)({},Sr),it),onMouseDown:An}))}),qe=$e,Ve=20;function ht(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ie=je/le*je;return isNaN(ie)&&(ie=0),ie=Math.max(ie,Ve),Math.floor(ie)}var st=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Nt=[],dt={overflowY:"auto",overflowAnchor:"none"};function Tt(je,le){var ie=je.prefixCls,ke=ie===void 0?"rc-virtual-list":ie,Ge=je.className,Ie=je.height,pe=je.itemHeight,x=je.fullHeight,me=x===void 0?!0:x,Le=je.style,Se=je.data,Be=je.children,Qe=je.itemKey,it=je.virtual,ot=je.direction,at=je.scrollWidth,Rt=je.component,Ft=Rt===void 0?"div":Rt,rn=je.onScroll,nn=je.onVirtualScroll,Lt=je.onVisibleChange,qt=je.innerProps,Wt=je.extraRender,Dt=je.styles,zt=je.showScrollBar,un=zt===void 0?"optional":zt,mn=(0,ve.Z)(je,st),Et=ne.useCallback(function(_n){return typeof Qe=="function"?Qe(_n):_n==null?void 0:_n[Qe]},[Qe]),Ht=He(Et,null,null),Jt=(0,de.Z)(Ht,4),gn=Jt[0],Nn=Jt[1],Xn=Jt[2],gr=Jt[3],br=!!(it!==!1&&Ie&&pe),Yn=ne.useMemo(function(){return Object.values(Xn.maps).reduce(function(_n,ur){return _n+ur},0)},[Xn.id,Xn.maps]),hr=br&&Se&&(Math.max(pe*Se.length,Yn)>Ie||!!at),Wn=ot==="rtl",xn=se()(ke,(0,De.Z)({},"".concat(ke,"-rtl"),Wn),Ge),Pn=Se||Nt,Tn=(0,ne.useRef)(),An=(0,ne.useRef)(),zn=(0,ne.useRef)(),Kn=(0,ne.useState)(0),er=(0,de.Z)(Kn,2),wr=er[0],Sr=er[1],Er=(0,ne.useState)(0),Nr=(0,de.Z)(Er,2),Br=Nr[0],jr=Nr[1],Rr=(0,ne.useState)(!1),Ln=(0,de.Z)(Rr,2),tr=Ln[0],Ar=Ln[1],yr=function(){Ar(!0)},Zt=function(){Ar(!1)},St={getKey:Et};function Ot(_n){Sr(function(ur){var fr;typeof _n=="function"?fr=_n(ur):fr=_n;var Qn=Fn(fr);return Tn.current.scrollTop=Qn,Qn})}var Gt=(0,ne.useRef)({start:0,end:Pn.length}),kt=(0,ne.useRef)(),Pt=Re(Pn,Et),xt=(0,de.Z)(Pt,1),en=xt[0];kt.current=en;var on=ne.useMemo(function(){if(!br)return{scrollHeight:void 0,start:0,end:Pn.length-1,offset:void 0};if(!hr){var _n;return{scrollHeight:((_n=An.current)===null||_n===void 0?void 0:_n.offsetHeight)||0,start:0,end:Pn.length-1,offset:void 0}}for(var ur=0,fr,Qn,Pr,Mr=Pn.length,Kt=0;Kt<Mr;Kt+=1){var On=Pn[Kt],$n=Et(On),pr=Xn.get($n),zr=ur+(pr===void 0?pe:pr);zr>=wr&&fr===void 0&&(fr=Kt,Qn=ur),zr>wr+Ie&&Pr===void 0&&(Pr=Kt),ur=zr}return fr===void 0&&(fr=0,Qn=0,Pr=Math.ceil(Ie/pe)),Pr===void 0&&(Pr=Pn.length-1),Pr=Math.min(Pr+1,Pn.length-1),{scrollHeight:ur,start:fr,end:Pr,offset:Qn}},[hr,br,wr,Pn,gr,Ie]),cn=on.scrollHeight,Yt=on.start,$t=on.end,Xt=on.offset;Gt.current.start=Yt,Gt.current.end=$t,ne.useLayoutEffect(function(){var _n=Xn.getRecord();if(_n.size===1){var ur=Array.from(_n.keys())[0],fr=_n.get(ur),Qn=Pn[Yt];if(Qn&&fr===void 0){var Pr=Et(Qn);if(Pr===ur){var Mr=Xn.get(ur),Kt=Mr-pe;Ot(function(On){return On+Kt})}}}Xn.resetRecord()},[cn]);var fn=ne.useState({width:0,height:Ie}),lr=(0,de.Z)(fn,2),Ut=lr[0],Qt=lr[1],Cn=function(ur){Qt({width:ur.offsetWidth,height:ur.offsetHeight})},Vt=(0,ne.useRef)(),jt=(0,ne.useRef)(),hn=ne.useMemo(function(){return ht(Ut.width,at)},[Ut.width,at]),wn=ne.useMemo(function(){return ht(Ut.height,cn)},[Ut.height,cn]),bn=cn-Ie,In=(0,ne.useRef)(bn);In.current=bn;function Fn(_n){var ur=_n;return Number.isNaN(In.current)||(ur=Math.min(ur,In.current)),ur=Math.max(ur,0),ur}var Zn=wr<=0,Mn=wr>=bn,Gn=Br<=0,sr=Br>=at,jn=Fe(Zn,Mn,Gn,sr),ir=function(){return{x:Wn?-Br:Br,y:wr}},Dr=(0,ne.useRef)(ir()),Tr=(0,E.zX)(function(_n){if(nn){var ur=(0,ye.Z)((0,ye.Z)({},ir()),_n);(Dr.current.x!==ur.x||Dr.current.y!==ur.y)&&(nn(ur),Dr.current=ur)}});function Wr(_n,ur){var fr=_n;ur?((0,ge.flushSync)(function(){jr(fr)}),Tr()):Ot(fr)}function vr(_n){var ur=_n.currentTarget.scrollTop;ur!==wr&&Ot(ur),rn==null||rn(_n),Tr()}var Ir=function(ur){var fr=ur,Qn=at?at-Ut.width:0;return fr=Math.max(fr,0),fr=Math.min(fr,Qn),fr},_r=(0,E.zX)(function(_n,ur){ur?((0,ge.flushSync)(function(){jr(function(fr){var Qn=fr+(Wn?-_n:_n);return Ir(Qn)})}),Tr()):Ot(function(fr){var Qn=fr+_n;return Qn})}),mr=_e(br,Zn,Mn,Gn,sr,!!at,_r),Gr=(0,de.Z)(mr,2),Fr=Gr[0],gi=Gr[1];ct(br,Tn,function(_n,ur,fr,Qn){var Pr=Qn;return jn(_n,ur,fr)?!1:!Pr||!Pr._virtualHandled?(Pr&&(Pr._virtualHandled=!0),Fr({preventDefault:function(){},deltaX:_n?ur:0,deltaY:_n?0:ur}),!0):!1}),nt(hr,Tn,function(_n){Ot(function(ur){return ur+_n})}),(0,te.Z)(function(){function _n(fr){var Qn=Zn&&fr.detail<0,Pr=Mn&&fr.detail>0;br&&!Qn&&!Pr&&fr.preventDefault()}var ur=Tn.current;return ur.addEventListener("wheel",Fr,{passive:!1}),ur.addEventListener("DOMMouseScroll",gi,{passive:!0}),ur.addEventListener("MozMousePixelScroll",_n,{passive:!1}),function(){ur.removeEventListener("wheel",Fr),ur.removeEventListener("DOMMouseScroll",gi),ur.removeEventListener("MozMousePixelScroll",_n)}},[br,Zn,Mn]),(0,te.Z)(function(){if(at){var _n=Ir(Br);jr(_n),Tr({x:_n})}},[Ut.width,at]);var Xr=function(){var ur,fr;(ur=Vt.current)===null||ur===void 0||ur.delayHidden(),(fr=jt.current)===null||fr===void 0||fr.delayHidden()},$r=Xe(Tn,Pn,Xn,pe,Et,function(){return Nn(!0)},Ot,Xr);ne.useImperativeHandle(le,function(){return{nativeElement:zn.current,getScrollInfo:ir,scrollTo:function(ur){function fr(Qn){return Qn&&(0,oe.Z)(Qn)==="object"&&("left"in Qn||"top"in Qn)}fr(ur)?(ur.left!==void 0&&jr(Ir(ur.left)),$r(ur.top)):$r(ur)}}}),(0,te.Z)(function(){if(Lt){var _n=Pn.slice(Yt,$t+1);Lt(_n,Pn)}},[Yt,$t,Pn]);var ti=Te(Pn,Et,Xn,pe),oi=Wt==null?void 0:Wt({start:Yt,end:$t,virtual:hr,offsetX:Br,offsetY:Xt,rtl:Wn,getSize:ti}),kr=Ee(Pn,Yt,$t,at,Br,gn,Be,St),Vr=null;Ie&&(Vr=(0,ye.Z)((0,De.Z)({},me?"height":"maxHeight",Ie),dt),br&&(Vr.overflowY="hidden",at&&(Vr.overflowX="hidden"),tr&&(Vr.pointerEvents="none")));var Cr={};return Wn&&(Cr.dir="rtl"),ne.createElement("div",(0,b.Z)({ref:zn,style:(0,ye.Z)((0,ye.Z)({},Le),{},{position:"relative"}),className:xn},Cr,mn),ne.createElement(fe.Z,{onResize:Cn},ne.createElement(Ft,{className:"".concat(ke,"-holder"),style:Vr,ref:Tn,onScroll:vr,onMouseEnter:Xr},ne.createElement(xe,{prefixCls:ke,height:cn,offsetX:Br,offsetY:Xt,scrollWidth:at,onInnerResize:Nn,ref:An,innerProps:qt,rtl:Wn,extra:oi},kr))),hr&&cn>Ie&&ne.createElement(qe,{ref:Vt,prefixCls:ke,scrollOffset:wr,scrollRange:cn,rtl:Wn,onScroll:Wr,onStartMove:yr,onStopMove:Zt,spinSize:wn,containerSize:Ut.height,style:Dt==null?void 0:Dt.verticalScrollBar,thumbStyle:Dt==null?void 0:Dt.verticalScrollBarThumb,showScrollBar:un}),hr&&at>Ut.width&&ne.createElement(qe,{ref:jt,prefixCls:ke,scrollOffset:Br,scrollRange:at,rtl:Wn,onScroll:Wr,onStartMove:yr,onStopMove:Zt,spinSize:hn,containerSize:Ut.width,horizontal:!0,style:Dt==null?void 0:Dt.horizontalScrollBar,thumbStyle:Dt==null?void 0:Dt.horizontalScrollBarThumb,showScrollBar:un}))}var bt=ne.forwardRef(Tt);bt.displayName="List";var Ct=bt,gt=Ct},22061:function(Un,pn,ae){"use strict";ae.d(pn,{Z5:function(){return tu},_l:function(){return us},bK:function(){return qa}});var b=ae(59301),oe=ae(69168),ye=ae(54476),De=ae(59781),de=b.createContext(null),ve=null;function re(he){he()}var se=re,fe=function(Ce){return se=Ce},E=function(){return se};function te(){var he=E(),Ce=null,ze=null;return{clear:function(){Ce=null,ze=null},notify:function(){he(function(){for(var mt=Ce;mt;)mt.callback(),mt=mt.next})},get:function(){for(var mt=[],vt=Ce;vt;)mt.push(vt),vt=vt.next;return mt},subscribe:function(mt){var vt=!0,wt=ze={callback:mt,next:null,prev:ze};return wt.prev?wt.prev.next=wt:Ce=wt,function(){!vt||Ce===null||(vt=!1,wt.next?wt.next.prev=wt.prev:ze=wt.prev,wt.prev?wt.prev.next=wt.next:Ce=wt.next)}}}}var ne={notify:function(){},get:function(){return[]}};function ge(he,Ce){var ze,et=ne;function mt(an){return tn(),et.subscribe(an)}function vt(){et.notify()}function wt(){yn.onStateChange&&yn.onStateChange()}function It(){return!!ze}function tn(){ze||(ze=Ce?Ce.addNestedSub(wt):he.subscribe(wt),et=te())}function En(){ze&&(ze(),ze=void 0,et.clear(),et=ne)}var yn={addNestedSub:mt,notifyNestedSubs:vt,handleChangeWrapper:wt,isSubscribed:It,trySubscribe:tn,tryUnsubscribe:En,getListeners:function(){return et}};return yn}var we=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function xe(he){var Ce=he.store,ze=he.context,et=he.children,mt=(0,b.useMemo)(function(){var It=ge(Ce);return{store:Ce,subscription:It}},[Ce]),vt=(0,b.useMemo)(function(){return Ce.getState()},[Ce]);we(function(){var It=mt.subscription;return It.onStateChange=It.notifyNestedSubs,It.trySubscribe(),vt!==Ce.getState()&&It.notifyNestedSubs(),function(){It.tryUnsubscribe(),It.onStateChange=null}},[mt,vt]);var wt=ze||de;return b.createElement(wt.Provider,{value:mt},et)}var ue=xe,Ee=ae(85377),Oe=ae(94266),Ae=ae.n(Oe),Re=ae(53410),Me=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],be=["reactReduxForwardedRef"],Pe=[],Fe=[null,null],_e=function(Ce){try{return JSON.stringify(Ce)}catch(ze){return String(Ce)}};function Te(he,Ce){var ze=he[1];return[Ce.payload,ze+1]}function Ke(he,Ce,ze){we(function(){return he.apply(void 0,Ce)},ze)}function We(he,Ce,ze,et,mt,vt,wt){he.current=et,Ce.current=mt,ze.current=!1,vt.current&&(vt.current=null,wt())}function Ne(he,Ce,ze,et,mt,vt,wt,It,tn,En){if(he){var yn=!1,an=null,dn=function(){if(!yn){var ei=Ce.getState(),si,fi;try{si=et(ei,mt.current)}catch(Ti){fi=Ti,an=Ti}fi||(an=null),si===vt.current?wt.current||tn():(vt.current=si,It.current=si,wt.current=!0,En({type:"STORE_UPDATED",payload:{error:fi}}))}};ze.onStateChange=dn,ze.trySubscribe(),dn();var Bn=function(){if(yn=!0,ze.tryUnsubscribe(),ze.onStateChange=null,an)throw an};return Bn}}var Ye=function(){return[null,0]};function Je(he,Ce){Ce===void 0&&(Ce={});var ze=Ce,et=ze.getDisplayName,mt=et===void 0?function(yo){return"ConnectAdvanced("+yo+")"}:et,vt=ze.methodName,wt=vt===void 0?"connectAdvanced":vt,It=ze.renderCountProp,tn=It===void 0?void 0:It,En=ze.shouldHandleStateChanges,yn=En===void 0?!0:En,an=ze.storeKey,dn=an===void 0?"store":an,Bn=ze.withRef,dr=Bn===void 0?!1:Bn,ei=ze.forwardRef,si=ei===void 0?!1:ei,fi=ze.context,Ti=fi===void 0?de:fi,Wi=(0,Ee.Z)(ze,Me);if(0)var Ui;var Eo=Ti;return function(Mo){var La=Mo.displayName||Mo.name||"Component",zo=mt(La),Na=(0,ye.Z)({},Wi,{getDisplayName:mt,methodName:wt,renderCountProp:tn,shouldHandleStateChanges:yn,storeKey:dn,displayName:zo,wrappedComponentName:La,WrappedComponent:Mo}),is=Wi.pure;function ds(fs){return he(fs.dispatch,Na)}var El=is?b.useMemo:function(fs){return fs()};function sl(fs){var au=(0,b.useMemo)(function(){var mc=fs.reactReduxForwardedRef,_c=(0,Ee.Z)(fs,be);return[fs.context,mc,_c]},[fs]),Il=au[0],pc=au[1],Tu=au[2],su=(0,b.useMemo)(function(){return Il&&Il.Consumer&&(0,Re.isContextConsumer)(b.createElement(Il.Consumer,null))?Il:Eo},[Il,Eo]),Dl=(0,b.useContext)(su),Ou=!!fs.store&&!!fs.store.getState&&!!fs.store.dispatch,Tc=!!Dl&&!!Dl.store,Pl=Ou?fs.store:Dl.store,hc=(0,b.useMemo)(function(){return ds(Pl)},[Pl]),Oc=(0,b.useMemo)(function(){if(!yn)return Fe;var mc=ge(Pl,Ou?null:Dl.subscription),_c=mc.notifyNestedSubs.bind(mc);return[mc,_c]},[Pl,Ou,Dl]),Ku=Oc[0],Bc=Oc[1],Lc=(0,b.useMemo)(function(){return Ou?Dl:(0,ye.Z)({},Dl,{subscription:Ku})},[Ou,Dl,Ku]),Vc=(0,b.useReducer)(Te,Pe,Ye),Yc=Vc[0],Nc=Yc[0],$c=Vc[1];if(Nc&&Nc.error)throw Nc.error;var Kc=(0,b.useRef)(),Hc=(0,b.useRef)(Tu),kc=(0,b.useRef)(),Gc=(0,b.useRef)(!1),Zc=El(function(){return kc.current&&Tu===Hc.current?kc.current:hc(Pl.getState(),Tu)},[Pl,Nc,Tu]);Ke(We,[Hc,Kc,Gc,Tu,Zc,kc,Bc]),Ke(Ne,[yn,Pl,Ku,hc,Hc,Kc,Gc,kc,Bc,$c],[Pl,Ku,hc]);var Uc=(0,b.useMemo)(function(){return b.createElement(Mo,(0,ye.Z)({},Zc,{ref:pc}))},[pc,Mo,Zc]),Jc=(0,b.useMemo)(function(){return yn?b.createElement(su.Provider,{value:Lc},Uc):Uc},[su,Uc,Lc]);return Jc}var Fs=is?b.memo(sl):sl;if(Fs.WrappedComponent=Mo,Fs.displayName=sl.displayName=zo,si){var Al=b.forwardRef(function(au,Il){return b.createElement(Fs,(0,ye.Z)({},au,{reactReduxForwardedRef:Il}))});return Al.displayName=zo,Al.WrappedComponent=Mo,Ae()(Al,Mo)}return Ae()(Fs,Mo)}}function He(he,Ce){return he===Ce?he!==0||Ce!==0||1/he===1/Ce:he!==he&&Ce!==Ce}function lt(he,Ce){if(He(he,Ce))return!0;if(typeof he!="object"||he===null||typeof Ce!="object"||Ce===null)return!1;var ze=Object.keys(he),et=Object.keys(Ce);if(ze.length!==et.length)return!1;for(var mt=0;mt<ze.length;mt++)if(!Object.prototype.hasOwnProperty.call(Ce,ze[mt])||!He(he[ze[mt]],Ce[ze[mt]]))return!1;return!0}function ct(he,Ce){var ze={},et=function(wt){var It=he[wt];typeof It=="function"&&(ze[wt]=function(){return Ce(It.apply(void 0,arguments))})};for(var mt in he)et(mt);return ze}function tt(he){return function(ze,et){var mt=he(ze,et);function vt(){return mt}return vt.dependsOnOwnProps=!1,vt}}function Bt(he){return he.dependsOnOwnProps!==null&&he.dependsOnOwnProps!==void 0?!!he.dependsOnOwnProps:he.length!==1}function nt(he,Ce){return function(et,mt){var vt=mt.displayName,wt=function(tn,En){return wt.dependsOnOwnProps?wt.mapToProps(tn,En):wt.mapToProps(tn)};return wt.dependsOnOwnProps=!0,wt.mapToProps=function(tn,En){wt.mapToProps=he,wt.dependsOnOwnProps=Bt(he);var yn=wt(tn,En);return typeof yn=="function"&&(wt.mapToProps=yn,wt.dependsOnOwnProps=Bt(yn),yn=wt(tn,En)),yn},wt}}function Ue(he){return typeof he=="function"?nt(he,"mapDispatchToProps"):void 0}function Xe(he){return he?void 0:tt(function(Ce){return{dispatch:Ce}})}function $e(he){return he&&typeof he=="object"?tt(function(Ce){return ct(he,Ce)}):void 0}var qe=[Ue,Xe,$e];function Ve(he){return typeof he=="function"?nt(he,"mapStateToProps"):void 0}function ht(he){return he?void 0:tt(function(){return{}})}var st=[Ve,ht];function Nt(he,Ce,ze){return(0,ye.Z)({},ze,he,Ce)}function dt(he){return function(ze,et){var mt=et.displayName,vt=et.pure,wt=et.areMergedPropsEqual,It=!1,tn;return function(yn,an,dn){var Bn=he(yn,an,dn);return It?(!vt||!wt(Bn,tn))&&(tn=Bn):(It=!0,tn=Bn),tn}}}function Tt(he){return typeof he=="function"?dt(he):void 0}function bt(he){return he?void 0:function(){return Nt}}var Ct=[Tt,bt],gt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function je(he,Ce,ze,et){return function(vt,wt){return ze(he(vt,wt),Ce(et,wt),wt)}}function le(he,Ce,ze,et,mt){var vt=mt.areStatesEqual,wt=mt.areOwnPropsEqual,It=mt.areStatePropsEqual,tn=!1,En,yn,an,dn,Bn;function dr(Wi,Ui){return En=Wi,yn=Ui,an=he(En,yn),dn=Ce(et,yn),Bn=ze(an,dn,yn),tn=!0,Bn}function ei(){return an=he(En,yn),Ce.dependsOnOwnProps&&(dn=Ce(et,yn)),Bn=ze(an,dn,yn),Bn}function si(){return he.dependsOnOwnProps&&(an=he(En,yn)),Ce.dependsOnOwnProps&&(dn=Ce(et,yn)),Bn=ze(an,dn,yn),Bn}function fi(){var Wi=he(En,yn),Ui=!It(Wi,an);return an=Wi,Ui&&(Bn=ze(an,dn,yn)),Bn}function Ti(Wi,Ui){var Eo=!wt(Ui,yn),yo=!vt(Wi,En,Ui,yn);return En=Wi,yn=Ui,Eo&&yo?ei():Eo?si():yo?fi():Bn}return function(Ui,Eo){return tn?Ti(Ui,Eo):dr(Ui,Eo)}}function ie(he,Ce){var ze=Ce.initMapStateToProps,et=Ce.initMapDispatchToProps,mt=Ce.initMergeProps,vt=(0,Ee.Z)(Ce,gt),wt=ze(he,vt),It=et(he,vt),tn=mt(he,vt),En=vt.pure?le:je;return En(wt,It,tn,he,vt)}var ke=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Ge(he,Ce,ze){for(var et=Ce.length-1;et>=0;et--){var mt=Ce[et](he);if(mt)return mt}return function(vt,wt){throw new Error("Invalid value of type "+typeof he+" for "+ze+" argument when connecting component "+wt.wrappedComponentName+".")}}function Ie(he,Ce){return he===Ce}function pe(he){var Ce=he===void 0?{}:he,ze=Ce.connectHOC,et=ze===void 0?Je:ze,mt=Ce.mapStateToPropsFactories,vt=mt===void 0?st:mt,wt=Ce.mapDispatchToPropsFactories,It=wt===void 0?qe:wt,tn=Ce.mergePropsFactories,En=tn===void 0?Ct:tn,yn=Ce.selectorFactory,an=yn===void 0?ie:yn;return function(Bn,dr,ei,si){si===void 0&&(si={});var fi=si,Ti=fi.pure,Wi=Ti===void 0?!0:Ti,Ui=fi.areStatesEqual,Eo=Ui===void 0?Ie:Ui,yo=fi.areOwnPropsEqual,Mo=yo===void 0?lt:yo,La=fi.areStatePropsEqual,zo=La===void 0?lt:La,Na=fi.areMergedPropsEqual,is=Na===void 0?lt:Na,ds=(0,Ee.Z)(fi,ke),El=Ge(Bn,vt,"mapStateToProps"),sl=Ge(dr,It,"mapDispatchToProps"),Fs=Ge(ei,En,"mergeProps");return et(an,(0,ye.Z)({methodName:"connect",getDisplayName:function(fs){return"Connect("+fs+")"},shouldHandleStateChanges:!!Bn,initMapStateToProps:El,initMapDispatchToProps:sl,initMergeProps:Fs,pure:Wi,areStatesEqual:Eo,areOwnPropsEqual:Mo,areStatePropsEqual:zo,areMergedPropsEqual:is},ds))}}var x=pe();function me(){var he=useContext(ReactReduxContext);return he}function Le(he){he===void 0&&(he=ReactReduxContext);var Ce=he===ReactReduxContext?useDefaultReduxContext:function(){return useContext(he)};return function(){var et=Ce(),mt=et.store;return mt}}var Se=null;function Be(he){he===void 0&&(he=ReactReduxContext);var Ce=he===ReactReduxContext?useDefaultStore:createStoreHook(he);return function(){var et=Ce();return et.dispatch}}var Qe=null,it=function(Ce,ze){return Ce===ze};function ot(he,Ce,ze,et){var mt=useReducer(function(dr){return dr+1},0),vt=mt[1],wt=useMemo(function(){return createSubscription(ze,et)},[ze,et]),It=useRef(),tn=useRef(),En=useRef(),yn=useRef(),an=ze.getState(),dn;try{if(he!==tn.current||an!==En.current||It.current){var Bn=he(an);yn.current===void 0||!Ce(Bn,yn.current)?dn=Bn:dn=yn.current}else dn=yn.current}catch(dr){throw It.current&&(dr.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
`+It.current.stack+`
|
|
|
|
|
|
`),dr}return useIsomorphicLayoutEffect(function(){tn.current=he,En.current=an,yn.current=dn,It.current=void 0}),useIsomorphicLayoutEffect(function(){function dr(){try{var ei=ze.getState();if(ei===En.current)return;var si=tn.current(ei);if(Ce(si,yn.current))return;yn.current=si,En.current=ei}catch(fi){It.current=fi}vt()}return wt.onStateChange=dr,wt.trySubscribe(),dr(),function(){return wt.tryUnsubscribe()}},[ze,wt]),dn}function at(he){he===void 0&&(he=ReactReduxContext);var Ce=he===ReactReduxContext?useDefaultReduxContext:function(){return useContext(he)};return function(et,mt){mt===void 0&&(mt=it);var vt=Ce(),wt=vt.store,It=vt.subscription,tn=ot(et,mt,wt,It);return useDebugValue(tn),tn}}var Rt=null,Ft=ae(4676);fe(Ft.unstable_batchedUpdates);function rn(he,Ce){if(he.length!==Ce.length)return!1;for(var ze=0;ze<he.length;ze++)if(he[ze]!==Ce[ze])return!1;return!0}function nn(he,Ce){var ze=(0,b.useState)(function(){return{inputs:Ce,result:he()}})[0],et=(0,b.useRef)(!0),mt=(0,b.useRef)(ze),vt=et.current||!!(Ce&&mt.current.inputs&&rn(Ce,mt.current.inputs)),wt=vt?mt.current:{inputs:Ce,result:he()};return(0,b.useEffect)(function(){et.current=!1,mt.current=wt},[wt]),wt.result}function Lt(he,Ce){return nn(function(){return he},Ce)}var qt=nn,Wt=Lt,Dt=!0,zt="Invariant failed";function un(he,Ce){if(!he){if(Dt)throw new Error(zt);var ze=typeof Ce=="function"?Ce():Ce,et=ze?"".concat(zt,": ").concat(ze):zt;throw new Error(et)}}var mn=function(Ce){var ze=Ce.top,et=Ce.right,mt=Ce.bottom,vt=Ce.left,wt=et-vt,It=mt-ze,tn={top:ze,right:et,bottom:mt,left:vt,width:wt,height:It,x:vt,y:ze,center:{x:(et+vt)/2,y:(mt+ze)/2}};return tn},Et=function(Ce,ze){return{top:Ce.top-ze.top,left:Ce.left-ze.left,bottom:Ce.bottom+ze.bottom,right:Ce.right+ze.right}},Ht=function(Ce,ze){return{top:Ce.top+ze.top,left:Ce.left+ze.left,bottom:Ce.bottom-ze.bottom,right:Ce.right-ze.right}},Jt=function(Ce,ze){return{top:Ce.top+ze.y,left:Ce.left+ze.x,bottom:Ce.bottom+ze.y,right:Ce.right+ze.x}},gn={top:0,right:0,bottom:0,left:0},Nn=function(Ce){var ze=Ce.borderBox,et=Ce.margin,mt=et===void 0?gn:et,vt=Ce.border,wt=vt===void 0?gn:vt,It=Ce.padding,tn=It===void 0?gn:It,En=mn(Et(ze,mt)),yn=mn(Ht(ze,wt)),an=mn(Ht(yn,tn));return{marginBox:En,borderBox:mn(ze),paddingBox:yn,contentBox:an,margin:mt,border:wt,padding:tn}},Xn=function(Ce){var ze=Ce.slice(0,-2),et=Ce.slice(-2);if(et!=="px")return 0;var mt=Number(ze);return isNaN(mt)&&un(!1),mt},gr=function(){return{x:window.pageXOffset,y:window.pageYOffset}},br=function(Ce,ze){var et=Ce.borderBox,mt=Ce.border,vt=Ce.margin,wt=Ce.padding,It=Jt(et,ze);return Nn({borderBox:It,border:mt,margin:vt,padding:wt})},Yn=function(Ce,ze){return ze===void 0&&(ze=gr()),br(Ce,ze)},hr=function(Ce,ze){var et={top:Xn(ze.marginTop),right:Xn(ze.marginRight),bottom:Xn(ze.marginBottom),left:Xn(ze.marginLeft)},mt={top:Xn(ze.paddingTop),right:Xn(ze.paddingRight),bottom:Xn(ze.paddingBottom),left:Xn(ze.paddingLeft)},vt={top:Xn(ze.borderTopWidth),right:Xn(ze.borderRightWidth),bottom:Xn(ze.borderBottomWidth),left:Xn(ze.borderLeftWidth)};return Nn({borderBox:Ce,margin:et,padding:mt,border:vt})},Wn=function(Ce){var ze=Ce.getBoundingClientRect(),et=window.getComputedStyle(Ce);return hr(ze,et)},xn=Number.isNaN||function(Ce){return typeof Ce=="number"&&Ce!==Ce};function Pn(he,Ce){return!!(he===Ce||xn(he)&&xn(Ce))}function Tn(he,Ce){if(he.length!==Ce.length)return!1;for(var ze=0;ze<he.length;ze++)if(!Pn(he[ze],Ce[ze]))return!1;return!0}function An(he,Ce){Ce===void 0&&(Ce=Tn);var ze,et=[],mt,vt=!1;function wt(){for(var It=[],tn=0;tn<arguments.length;tn++)It[tn]=arguments[tn];return vt&&ze===this&&Ce(It,et)||(mt=he.apply(this,It),vt=!0,ze=this,et=It),mt}return wt}var zn=An,Kn=function(Ce){var ze=[],et=null,mt=function(){for(var wt=arguments.length,It=new Array(wt),tn=0;tn<wt;tn++)It[tn]=arguments[tn];ze=It,!et&&(et=requestAnimationFrame(function(){et=null,Ce.apply(void 0,ze)}))};return mt.cancel=function(){et&&(cancelAnimationFrame(et),et=null)},mt},er=Kn,wr=!0,Sr=/[ \t]{2,}/g,Er=/^[ \t]*/gm,Nr=function(Ce){return Ce.replace(Sr," ").replace(Er,"").trim()},Br=function(Ce){return Nr(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+Nr(Ce)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},jr=function(Ce){return[Br(Ce),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},Rr="__react-beautiful-dnd-disable-dev-warnings";function Ln(he,Ce){var ze;wr||typeof window!="undefined"&&window[Rr]||(ze=console)[he].apply(ze,jr(Ce))}var tr=Ln.bind(null,"warn"),Ar=Ln.bind(null,"error");function yr(){}function Zt(he,Ce){return(0,ye.Z)({},he,{},Ce)}function St(he,Ce,ze){var et=Ce.map(function(mt){var vt=Zt(ze,mt.options);return he.addEventListener(mt.eventName,mt.fn,vt),function(){he.removeEventListener(mt.eventName,mt.fn,vt)}});return function(){et.forEach(function(vt){vt()})}}var Ot=!0,Gt="Invariant failed";function kt(he){this.message=he}kt.prototype.toString=function(){return this.message};function Pt(he,Ce){if(!he)throw Ot?new kt(Gt):new kt(Gt+": "+(Ce||""))}var xt=function(he){(0,oe.Z)(Ce,he);function Ce(){for(var et,mt=arguments.length,vt=new Array(mt),wt=0;wt<mt;wt++)vt[wt]=arguments[wt];return et=he.call.apply(he,[this].concat(vt))||this,et.callbacks=null,et.unbind=yr,et.onWindowError=function(It){var tn=et.getCallbacks();tn.isDragging()&&tn.tryAbort();var En=It.error;En instanceof kt&&It.preventDefault()},et.getCallbacks=function(){if(!et.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return et.callbacks},et.setCallbacks=function(It){et.callbacks=It},et}var ze=Ce.prototype;return ze.componentDidMount=function(){this.unbind=St(window,[{eventName:"error",fn:this.onWindowError}])},ze.componentWillUnmount=function(){this.unbind()},ze.componentDidCatch=function(mt){if(mt instanceof kt){this.setState({});return}throw mt},ze.render=function(){return this.props.children(this.setCallbacks)},Ce}(b.Component),en=`
|
|
|
Press space bar to start a drag.
|
|
|
When dragging you can use the arrow keys to move the item around and escape to cancel.
|
|
|
Some screen readers may require you to be in focus mode or to use your pass through key
|
|
|
`,on=function(Ce){return Ce+1},cn=function(Ce){return`
|
|
|
You have lifted an item in position `+on(Ce.source.index)+`
|
|
|
`},Yt=function(Ce,ze){var et=Ce.droppableId===ze.droppableId,mt=on(Ce.index),vt=on(ze.index);return et?`
|
|
|
You have moved the item from position `+mt+`
|
|
|
to position `+vt+`
|
|
|
`:`
|
|
|
You have moved the item from position `+mt+`
|
|
|
in list `+Ce.droppableId+`
|
|
|
to list `+ze.droppableId+`
|
|
|
in position `+vt+`
|
|
|
`},$t=function(Ce,ze,et){var mt=ze.droppableId===et.droppableId;return mt?`
|
|
|
The item `+Ce+`
|
|
|
has been combined with `+et.draggableId:`
|
|
|
The item `+Ce+`
|
|
|
in list `+ze.droppableId+`
|
|
|
has been combined with `+et.draggableId+`
|
|
|
in list `+et.droppableId+`
|
|
|
`},Xt=function(Ce){var ze=Ce.destination;if(ze)return Yt(Ce.source,ze);var et=Ce.combine;return et?$t(Ce.draggableId,Ce.source,et):"You are over an area that cannot be dropped on"},fn=function(Ce){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+on(Ce.index)+`
|
|
|
`},lr=function(Ce){if(Ce.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+fn(Ce.source)+`
|
|
|
`;var ze=Ce.destination,et=Ce.combine;return ze?`
|
|
|
You have dropped the item.
|
|
|
`+Yt(Ce.source,ze)+`
|
|
|
`:et?`
|
|
|
You have dropped the item.
|
|
|
`+$t(Ce.draggableId,Ce.source,et)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+fn(Ce.source)+`
|
|
|
`},Ut={dragHandleUsageInstructions:en,onDragStart:cn,onDragUpdate:Xt,onDragEnd:lr},Qt={x:0,y:0},Cn=function(Ce,ze){return{x:Ce.x+ze.x,y:Ce.y+ze.y}},Vt=function(Ce,ze){return{x:Ce.x-ze.x,y:Ce.y-ze.y}},jt=function(Ce,ze){return Ce.x===ze.x&&Ce.y===ze.y},hn=function(Ce){return{x:Ce.x!==0?-Ce.x:0,y:Ce.y!==0?-Ce.y:0}},wn=function(Ce,ze,et){var mt;return et===void 0&&(et=0),mt={},mt[Ce]=ze,mt[Ce==="x"?"y":"x"]=et,mt},bn=function(Ce,ze){return Math.sqrt(Math.pow(ze.x-Ce.x,2)+Math.pow(ze.y-Ce.y,2))},In=function(Ce,ze){return Math.min.apply(Math,ze.map(function(et){return bn(Ce,et)}))},Fn=function(Ce){return function(ze){return{x:Ce(ze.x),y:Ce(ze.y)}}},Zn=function(he,Ce){var ze=mn({top:Math.max(Ce.top,he.top),right:Math.min(Ce.right,he.right),bottom:Math.min(Ce.bottom,he.bottom),left:Math.max(Ce.left,he.left)});return ze.width<=0||ze.height<=0?null:ze},Mn=function(Ce,ze){return{top:Ce.top+ze.y,left:Ce.left+ze.x,bottom:Ce.bottom+ze.y,right:Ce.right+ze.x}},Gn=function(Ce){return[{x:Ce.left,y:Ce.top},{x:Ce.right,y:Ce.top},{x:Ce.left,y:Ce.bottom},{x:Ce.right,y:Ce.bottom}]},sr={top:0,right:0,bottom:0,left:0},jn=function(Ce,ze){return ze?Mn(Ce,ze.scroll.diff.displacement):Ce},ir=function(Ce,ze,et){if(et&&et.increasedBy){var mt;return(0,ye.Z)({},Ce,(mt={},mt[ze.end]=Ce[ze.end]+et.increasedBy[ze.line],mt))}return Ce},Dr=function(Ce,ze){return ze&&ze.shouldClipSubject?Zn(ze.pageMarginBox,Ce):mn(Ce)},Tr=function(he){var Ce=he.page,ze=he.withPlaceholder,et=he.axis,mt=he.frame,vt=jn(Ce.marginBox,mt),wt=ir(vt,et,ze),It=Dr(wt,mt);return{page:Ce,withPlaceholder:ze,active:It}},Wr=function(he,Ce){he.frame||Pt(!1);var ze=he.frame,et=Vt(Ce,ze.scroll.initial),mt=hn(et),vt=(0,ye.Z)({},ze,{scroll:{initial:ze.scroll.initial,current:Ce,diff:{value:et,displacement:mt},max:ze.scroll.max}}),wt=Tr({page:he.subject.page,withPlaceholder:he.subject.withPlaceholder,axis:he.axis,frame:vt}),It=(0,ye.Z)({},he,{frame:vt,subject:wt});return It};function vr(he){return Number.isInteger?Number.isInteger(he):typeof he=="number"&&isFinite(he)&&Math.floor(he)===he}function Ir(he){return Object.values?Object.values(he):Object.keys(he).map(function(Ce){return he[Ce]})}function _r(he,Ce){if(he.findIndex)return he.findIndex(Ce);for(var ze=0;ze<he.length;ze++)if(Ce(he[ze]))return ze;return-1}function mr(he,Ce){if(he.find)return he.find(Ce);var ze=_r(he,Ce);if(ze!==-1)return he[ze]}function Gr(he){return Array.prototype.slice.call(he)}var Fr=zn(function(he){return he.reduce(function(Ce,ze){return Ce[ze.descriptor.id]=ze,Ce},{})}),gi=zn(function(he){return he.reduce(function(Ce,ze){return Ce[ze.descriptor.id]=ze,Ce},{})}),Xr=zn(function(he){return Ir(he)}),$r=zn(function(he){return Ir(he)}),ti=zn(function(he,Ce){var ze=$r(Ce).filter(function(et){return he===et.descriptor.droppableId}).sort(function(et,mt){return et.descriptor.index-mt.descriptor.index});return ze});function oi(he){return he.at&&he.at.type==="REORDER"?he.at.destination:null}function kr(he){return he.at&&he.at.type==="COMBINE"?he.at.combine:null}var Vr=zn(function(he,Ce){return Ce.filter(function(ze){return ze.descriptor.id!==he.descriptor.id})}),Cr=function(he){var Ce=he.isMovingForward,ze=he.draggable,et=he.destination,mt=he.insideDestination,vt=he.previousImpact;if(!et.isCombineEnabled)return null;var wt=oi(vt);if(!wt)return null;function It(ei){var si={type:"COMBINE",combine:{draggableId:ei,droppableId:et.descriptor.id}};return(0,ye.Z)({},vt,{at:si})}var tn=vt.displaced.all,En=tn.length?tn[0]:null;if(Ce)return En?It(En):null;var yn=Vr(ze,mt);if(!En){if(!yn.length)return null;var an=yn[yn.length-1];return It(an.descriptor.id)}var dn=_r(yn,function(ei){return ei.descriptor.id===En});dn===-1&&Pt(!1);var Bn=dn-1;if(Bn<0)return null;var dr=yn[Bn];return It(dr.descriptor.id)},_n=function(he,Ce){return he.descriptor.droppableId===Ce.descriptor.id},ur={point:Qt,value:0},fr={invisible:{},visible:{},all:[]},Qn={displaced:fr,displacedBy:ur,at:null},Pr=function(he,Ce){return function(ze){return he<=ze&&ze<=Ce}},Mr=function(he){var Ce=Pr(he.top,he.bottom),ze=Pr(he.left,he.right);return function(et){var mt=Ce(et.top)&&Ce(et.bottom)&&ze(et.left)&&ze(et.right);if(mt)return!0;var vt=Ce(et.top)||Ce(et.bottom),wt=ze(et.left)||ze(et.right),It=vt&&wt;if(It)return!0;var tn=et.top<he.top&&et.bottom>he.bottom,En=et.left<he.left&&et.right>he.right,yn=tn&&En;if(yn)return!0;var an=tn&&wt||En&&vt;return an}},Kt=function(he){var Ce=Pr(he.top,he.bottom),ze=Pr(he.left,he.right);return function(et){var mt=Ce(et.top)&&Ce(et.bottom)&&ze(et.left)&&ze(et.right);return mt}},On={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},$n={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},pr=function(he){return function(Ce){var ze=Pr(Ce.top,Ce.bottom),et=Pr(Ce.left,Ce.right);return function(mt){return he===On?ze(mt.top)&&ze(mt.bottom):et(mt.left)&&et(mt.right)}}},zr=function(Ce,ze){var et=ze.frame?ze.frame.scroll.diff.displacement:Qt;return Mn(Ce,et)},Qr=function(Ce,ze,et){return ze.subject.active?et(ze.subject.active)(Ce):!1},Yr=function(Ce,ze,et){return et(ze)(Ce)},ki=function(Ce){var ze=Ce.target,et=Ce.destination,mt=Ce.viewport,vt=Ce.withDroppableDisplacement,wt=Ce.isVisibleThroughFrameFn,It=vt?zr(ze,et):ze;return Qr(It,et,wt)&&Yr(It,mt,wt)},or=function(Ce){return ki((0,ye.Z)({},Ce,{isVisibleThroughFrameFn:Mr}))},Di=function(Ce){return ki((0,ye.Z)({},Ce,{isVisibleThroughFrameFn:Kt}))},mi=function(Ce){return ki((0,ye.Z)({},Ce,{isVisibleThroughFrameFn:pr(Ce.destination.axis)}))},Ii=function(Ce,ze,et){if(typeof et=="boolean")return et;if(!ze)return!0;var mt=ze.invisible,vt=ze.visible;if(mt[Ce])return!1;var wt=vt[Ce];return wt?wt.shouldAnimate:!0};function Bi(he,Ce){var ze=he.page.marginBox,et={top:Ce.point.y,right:0,bottom:0,left:Ce.point.x};return mn(Et(ze,et))}function Si(he){var Ce=he.afterDragging,ze=he.destination,et=he.displacedBy,mt=he.viewport,vt=he.forceShouldAnimate,wt=he.last;return Ce.reduce(function(tn,En){var yn=Bi(En,et),an=En.descriptor.id;tn.all.push(an);var dn=or({target:yn,destination:ze,viewport:mt,withDroppableDisplacement:!0});if(!dn)return tn.invisible[En.descriptor.id]=!0,tn;var Bn=Ii(an,wt,vt),dr={draggableId:an,shouldAnimate:Bn};return tn.visible[an]=dr,tn},{all:[],visible:{},invisible:{}})}function so(he,Ce){if(!he.length)return 0;var ze=he[he.length-1].descriptor.index;return Ce.inHomeList?ze:ze+1}function Co(he){var Ce=he.insideDestination,ze=he.inHomeList,et=he.displacedBy,mt=he.destination,vt=so(Ce,{inHomeList:ze});return{displaced:fr,displacedBy:et,at:{type:"REORDER",destination:{droppableId:mt.descriptor.id,index:vt}}}}function $i(he){var Ce=he.draggable,ze=he.insideDestination,et=he.destination,mt=he.viewport,vt=he.displacedBy,wt=he.last,It=he.index,tn=he.forceShouldAnimate,En=_n(Ce,et);if(It==null)return Co({insideDestination:ze,inHomeList:En,displacedBy:vt,destination:et});var yn=mr(ze,function(ei){return ei.descriptor.index===It});if(!yn)return Co({insideDestination:ze,inHomeList:En,displacedBy:vt,destination:et});var an=Vr(Ce,ze),dn=ze.indexOf(yn),Bn=an.slice(dn),dr=Si({afterDragging:Bn,destination:et,displacedBy:vt,last:wt,viewport:mt.frame,forceShouldAnimate:tn});return{displaced:dr,displacedBy:vt,at:{type:"REORDER",destination:{droppableId:et.descriptor.id,index:It}}}}function Ji(he,Ce){return!!Ce.effected[he]}var li=function(he){var Ce=he.isMovingForward,ze=he.destination,et=he.draggables,mt=he.combine,vt=he.afterCritical;if(!ze.isCombineEnabled)return null;var wt=mt.draggableId,It=et[wt],tn=It.descriptor.index,En=Ji(wt,vt);return En?Ce?tn:tn-1:Ce?tn+1:tn},ci=function(he){var Ce=he.isMovingForward,ze=he.isInHomeList,et=he.insideDestination,mt=he.location;if(!et.length)return null;var vt=mt.index,wt=Ce?vt+1:vt-1,It=et[0].descriptor.index,tn=et[et.length-1].descriptor.index,En=ze?tn:tn+1;return wt<It||wt>En?null:wt},qi=function(he){var Ce=he.isMovingForward,ze=he.isInHomeList,et=he.draggable,mt=he.draggables,vt=he.destination,wt=he.insideDestination,It=he.previousImpact,tn=he.viewport,En=he.afterCritical,yn=It.at;if(yn||Pt(!1),yn.type==="REORDER"){var an=ci({isMovingForward:Ce,isInHomeList:ze,location:yn.destination,insideDestination:wt});return an==null?null:$i({draggable:et,insideDestination:wt,destination:vt,viewport:tn,last:It.displaced,displacedBy:It.displacedBy,index:an})}var dn=li({isMovingForward:Ce,destination:vt,displaced:It.displaced,draggables:mt,combine:yn.combine,afterCritical:En});return dn==null?null:$i({draggable:et,insideDestination:wt,destination:vt,viewport:tn,last:It.displaced,displacedBy:It.displacedBy,index:dn})},po=function(he){var Ce=he.displaced,ze=he.afterCritical,et=he.combineWith,mt=he.displacedBy,vt=!!(Ce.visible[et]||Ce.invisible[et]);return Ji(et,ze)?vt?Qt:hn(mt.point):vt?mt.point:Qt},Ri=function(he){var Ce=he.afterCritical,ze=he.impact,et=he.draggables,mt=kr(ze);mt||Pt(!1);var vt=mt.draggableId,wt=et[vt].page.borderBox.center,It=po({displaced:ze.displaced,afterCritical:Ce,combineWith:vt,displacedBy:ze.displacedBy});return Cn(wt,It)},no=function(Ce,ze){return ze.margin[Ce.start]+ze.borderBox[Ce.size]/2},lo=function(Ce,ze){return ze.margin[Ce.end]+ze.borderBox[Ce.size]/2},Gi=function(Ce,ze,et){return ze[Ce.crossAxisStart]+et.margin[Ce.crossAxisStart]+et.borderBox[Ce.crossAxisSize]/2},fo=function(Ce){var ze=Ce.axis,et=Ce.moveRelativeTo,mt=Ce.isMoving;return wn(ze.line,et.marginBox[ze.end]+no(ze,mt),Gi(ze,et.marginBox,mt))},ao=function(Ce){var ze=Ce.axis,et=Ce.moveRelativeTo,mt=Ce.isMoving;return wn(ze.line,et.marginBox[ze.start]-lo(ze,mt),Gi(ze,et.marginBox,mt))},Fo=function(Ce){var ze=Ce.axis,et=Ce.moveInto,mt=Ce.isMoving;return wn(ze.line,et.contentBox[ze.start]+no(ze,mt),Gi(ze,et.contentBox,mt))},qo=function(he){var Ce=he.impact,ze=he.draggable,et=he.draggables,mt=he.droppable,vt=he.afterCritical,wt=ti(mt.descriptor.id,et),It=ze.page,tn=mt.axis;if(!wt.length)return Fo({axis:tn,moveInto:mt.page,isMoving:It});var En=Ce.displaced,yn=Ce.displacedBy,an=En.all[0];if(an){var dn=et[an];if(Ji(an,vt))return ao({axis:tn,moveRelativeTo:dn.page,isMoving:It});var Bn=br(dn.page,yn.point);return ao({axis:tn,moveRelativeTo:Bn,isMoving:It})}var dr=wt[wt.length-1];if(dr.descriptor.id===ze.descriptor.id)return It.borderBox.center;if(Ji(dr.descriptor.id,vt)){var ei=br(dr.page,hn(vt.displacedBy.point));return fo({axis:tn,moveRelativeTo:ei,isMoving:It})}return fo({axis:tn,moveRelativeTo:dr.page,isMoving:It})},Zo=function(he,Ce){var ze=he.frame;return ze?Cn(Ce,ze.scroll.diff.displacement):Ce},Yo=function(Ce){var ze=Ce.impact,et=Ce.draggable,mt=Ce.droppable,vt=Ce.draggables,wt=Ce.afterCritical,It=et.page.borderBox.center,tn=ze.at;return!mt||!tn?It:tn.type==="REORDER"?qo({impact:ze,draggable:et,draggables:vt,droppable:mt,afterCritical:wt}):Ri({impact:ze,draggables:vt,afterCritical:wt})},Wa=function(he){var Ce=Yo(he),ze=he.droppable,et=ze?Zo(ze,Ce):Ce;return et},os=function(he,Ce){var ze=Vt(Ce,he.scroll.initial),et=hn(ze),mt=mn({top:Ce.y,bottom:Ce.y+he.frame.height,left:Ce.x,right:Ce.x+he.frame.width}),vt={frame:mt,scroll:{initial:he.scroll.initial,max:he.scroll.max,current:Ce,diff:{value:ze,displacement:et}}};return vt};function Hi(he,Ce){return he.map(function(ze){return Ce[ze]})}function ro(he,Ce){for(var ze=0;ze<Ce.length;ze++){var et=Ce[ze].visible[he];if(et)return et}return null}var Zi=function(he){var Ce=he.impact,ze=he.viewport,et=he.destination,mt=he.draggables,vt=he.maxScrollChange,wt=os(ze,Cn(ze.scroll.current,vt)),It=et.frame?Wr(et,Cn(et.frame.scroll.current,vt)):et,tn=Ce.displaced,En=Si({afterDragging:Hi(tn.all,mt),destination:et,displacedBy:Ce.displacedBy,viewport:wt.frame,last:tn,forceShouldAnimate:!1}),yn=Si({afterDragging:Hi(tn.all,mt),destination:It,displacedBy:Ce.displacedBy,viewport:ze.frame,last:tn,forceShouldAnimate:!1}),an={},dn={},Bn=[tn,En,yn];tn.all.forEach(function(ei){var si=ro(ei,Bn);if(si){dn[ei]=si;return}an[ei]=!0});var dr=(0,ye.Z)({},Ce,{displaced:{all:tn.all,invisible:an,visible:dn}});return dr},Vi=function(he,Ce){return Cn(he.scroll.diff.displacement,Ce)},ho=function(he){var Ce=he.pageBorderBoxCenter,ze=he.draggable,et=he.viewport,mt=Vi(et,Ce),vt=Vt(mt,ze.page.borderBox.center);return Cn(ze.client.borderBox.center,vt)},Jn=function(he){var Ce=he.draggable,ze=he.destination,et=he.newPageBorderBoxCenter,mt=he.viewport,vt=he.withDroppableDisplacement,wt=he.onlyOnMainAxis,It=wt===void 0?!1:wt,tn=Vt(et,Ce.page.borderBox.center),En=Mn(Ce.page.borderBox,tn),yn={target:En,destination:ze,withDroppableDisplacement:vt,viewport:mt};return It?mi(yn):Di(yn)},Hr=function(he){var Ce=he.isMovingForward,ze=he.draggable,et=he.destination,mt=he.draggables,vt=he.previousImpact,wt=he.viewport,It=he.previousPageBorderBoxCenter,tn=he.previousClientSelection,En=he.afterCritical;if(!et.isEnabled)return null;var yn=ti(et.descriptor.id,mt),an=_n(ze,et),dn=Cr({isMovingForward:Ce,draggable:ze,destination:et,insideDestination:yn,previousImpact:vt})||qi({isMovingForward:Ce,isInHomeList:an,draggable:ze,draggables:mt,destination:et,insideDestination:yn,previousImpact:vt,viewport:wt,afterCritical:En});if(!dn)return null;var Bn=Wa({impact:dn,draggable:ze,droppable:et,draggables:mt,afterCritical:En}),dr=Jn({draggable:ze,destination:et,newPageBorderBoxCenter:Bn,viewport:wt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(dr){var ei=ho({pageBorderBoxCenter:Bn,draggable:ze,viewport:wt});return{clientSelection:ei,impact:dn,scrollJumpRequest:null}}var si=Vt(Bn,It),fi=Zi({impact:dn,viewport:wt,destination:et,draggables:mt,maxScrollChange:si});return{clientSelection:tn,impact:fi,scrollJumpRequest:si}},qr=function(Ce){var ze=Ce.subject.active;return ze||Pt(!1),ze},mo=function(he){var Ce=he.isMovingForward,ze=he.pageBorderBoxCenter,et=he.source,mt=he.droppables,vt=he.viewport,wt=et.subject.active;if(!wt)return null;var It=et.axis,tn=Pr(wt[It.start],wt[It.end]),En=Xr(mt).filter(function(an){return an!==et}).filter(function(an){return an.isEnabled}).filter(function(an){return!!an.subject.active}).filter(function(an){return Mr(vt.frame)(qr(an))}).filter(function(an){var dn=qr(an);return Ce?wt[It.crossAxisEnd]<dn[It.crossAxisEnd]:dn[It.crossAxisStart]<wt[It.crossAxisStart]}).filter(function(an){var dn=qr(an),Bn=Pr(dn[It.start],dn[It.end]);return tn(dn[It.start])||tn(dn[It.end])||Bn(wt[It.start])||Bn(wt[It.end])}).sort(function(an,dn){var Bn=qr(an)[It.crossAxisStart],dr=qr(dn)[It.crossAxisStart];return Ce?Bn-dr:dr-Bn}).filter(function(an,dn,Bn){return qr(an)[It.crossAxisStart]===qr(Bn[0])[It.crossAxisStart]});if(!En.length)return null;if(En.length===1)return En[0];var yn=En.filter(function(an){var dn=Pr(qr(an)[It.start],qr(an)[It.end]);return dn(ze[It.line])});return yn.length===1?yn[0]:yn.length>1?yn.sort(function(an,dn){return qr(an)[It.start]-qr(dn)[It.start]})[0]:En.sort(function(an,dn){var Bn=In(ze,Gn(qr(an))),dr=In(ze,Gn(qr(dn)));return Bn!==dr?Bn-dr:qr(an)[It.start]-qr(dn)[It.start]})[0]},bo=function(Ce,ze){var et=Ce.page.borderBox.center;return Ji(Ce.descriptor.id,ze)?Vt(et,ze.displacedBy.point):et},xa=function(Ce,ze){var et=Ce.page.borderBox;return Ji(Ce.descriptor.id,ze)?Mn(et,hn(ze.displacedBy.point)):et},ka=function(he){var Ce=he.pageBorderBoxCenter,ze=he.viewport,et=he.destination,mt=he.insideDestination,vt=he.afterCritical,wt=mt.filter(function(It){return Di({target:xa(It,vt),destination:et,viewport:ze.frame,withDroppableDisplacement:!0})}).sort(function(It,tn){var En=bn(Ce,Zo(et,bo(It,vt))),yn=bn(Ce,Zo(et,bo(tn,vt)));return En<yn?-1:yn<En?1:It.descriptor.index-tn.descriptor.index});return wt[0]||null},wo=zn(function(Ce,ze){var et=ze[Ce.line];return{value:et,point:wn(Ce.line,et)}}),ya=function(Ce,ze,et){var mt=Ce.axis;if(Ce.descriptor.mode==="virtual")return wn(mt.line,ze[mt.line]);var vt=Ce.subject.page.contentBox[mt.size],wt=ti(Ce.descriptor.id,et),It=wt.reduce(function(yn,an){return yn+an.client.marginBox[mt.size]},0),tn=It+ze[mt.line],En=tn-vt;return En<=0?null:wn(mt.line,En)},Ga=function(Ce,ze){return(0,ye.Z)({},Ce,{scroll:(0,ye.Z)({},Ce.scroll,{max:ze})})},Da=function(Ce,ze,et){var mt=Ce.frame;_n(ze,Ce)&&Pt(!1),Ce.subject.withPlaceholder&&Pt(!1);var vt=wo(Ce.axis,ze.displaceBy).point,wt=ya(Ce,vt,et),It={placeholderSize:vt,increasedBy:wt,oldFrameMaxScroll:Ce.frame?Ce.frame.scroll.max:null};if(!mt){var tn=Tr({page:Ce.subject.page,withPlaceholder:It,axis:Ce.axis,frame:Ce.frame});return(0,ye.Z)({},Ce,{subject:tn})}var En=wt?Cn(mt.scroll.max,wt):mt.scroll.max,yn=Ga(mt,En),an=Tr({page:Ce.subject.page,withPlaceholder:It,axis:Ce.axis,frame:yn});return(0,ye.Z)({},Ce,{subject:an,frame:yn})},Xa=function(Ce){var ze=Ce.subject.withPlaceholder;ze||Pt(!1);var et=Ce.frame;if(!et){var mt=Tr({page:Ce.subject.page,axis:Ce.axis,frame:null,withPlaceholder:null});return(0,ye.Z)({},Ce,{subject:mt})}var vt=ze.oldFrameMaxScroll;vt||Pt(!1);var wt=Ga(et,vt),It=Tr({page:Ce.subject.page,axis:Ce.axis,frame:wt,withPlaceholder:null});return(0,ye.Z)({},Ce,{subject:It,frame:wt})},Ss=function(he){var Ce=he.previousPageBorderBoxCenter,ze=he.moveRelativeTo,et=he.insideDestination,mt=he.draggable,vt=he.draggables,wt=he.destination,It=he.viewport,tn=he.afterCritical;if(!ze){if(et.length)return null;var En={displaced:fr,displacedBy:ur,at:{type:"REORDER",destination:{droppableId:wt.descriptor.id,index:0}}},yn=Wa({impact:En,draggable:mt,droppable:wt,draggables:vt,afterCritical:tn}),an=_n(mt,wt)?wt:Da(wt,mt,vt),dn=Jn({draggable:mt,destination:an,newPageBorderBoxCenter:yn,viewport:It.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return dn?En:null}var Bn=Ce[wt.axis.line]<=ze.page.borderBox.center[wt.axis.line],dr=function(){var si=ze.descriptor.index;return ze.descriptor.id===mt.descriptor.id||Bn?si:si+1}(),ei=wo(wt.axis,mt.displaceBy);return $i({draggable:mt,insideDestination:et,destination:wt,viewport:It,displacedBy:ei,last:fr,index:dr})},js=function(he){var Ce=he.isMovingForward,ze=he.previousPageBorderBoxCenter,et=he.draggable,mt=he.isOver,vt=he.draggables,wt=he.droppables,It=he.viewport,tn=he.afterCritical,En=mo({isMovingForward:Ce,pageBorderBoxCenter:ze,source:mt,droppables:wt,viewport:It});if(!En)return null;var yn=ti(En.descriptor.id,vt),an=ka({pageBorderBoxCenter:ze,viewport:It,destination:En,insideDestination:yn,afterCritical:tn}),dn=Ss({previousPageBorderBoxCenter:ze,destination:En,draggable:et,draggables:vt,moveRelativeTo:an,insideDestination:yn,viewport:It,afterCritical:tn});if(!dn)return null;var Bn=Wa({impact:dn,draggable:et,droppable:En,draggables:vt,afterCritical:tn}),dr=ho({pageBorderBoxCenter:Bn,draggable:et,viewport:It});return{clientSelection:dr,impact:dn,scrollJumpRequest:null}},la=function(he){var Ce=he.at;return Ce?Ce.type==="REORDER"?Ce.destination.droppableId:Ce.combine.droppableId:null},zs=function(Ce,ze){var et=la(Ce);return et?ze[et]:null},ps=function(he){var Ce=he.state,ze=he.type,et=zs(Ce.impact,Ce.dimensions.droppables),mt=!!et,vt=Ce.dimensions.droppables[Ce.critical.droppable.id],wt=et||vt,It=wt.axis.direction,tn=It==="vertical"&&(ze==="MOVE_UP"||ze==="MOVE_DOWN")||It==="horizontal"&&(ze==="MOVE_LEFT"||ze==="MOVE_RIGHT");if(tn&&!mt)return null;var En=ze==="MOVE_DOWN"||ze==="MOVE_RIGHT",yn=Ce.dimensions.draggables[Ce.critical.draggable.id],an=Ce.current.page.borderBoxCenter,dn=Ce.dimensions,Bn=dn.draggables,dr=dn.droppables;return tn?Hr({isMovingForward:En,previousPageBorderBoxCenter:an,draggable:yn,destination:wt,draggables:Bn,viewport:Ce.viewport,previousClientSelection:Ce.current.client.selection,previousImpact:Ce.impact,afterCritical:Ce.afterCritical}):js({isMovingForward:En,previousPageBorderBoxCenter:an,draggable:yn,isOver:wt,draggables:Bn,droppables:dr,viewport:Ce.viewport,afterCritical:Ce.afterCritical})};function ks(he){return he.phase==="DRAGGING"||he.phase==="COLLECTING"}function ll(he){var Ce=Pr(he.top,he.bottom),ze=Pr(he.left,he.right);return function(mt){return Ce(mt.y)&&ze(mt.x)}}function _l(he,Ce){return he.left<Ce.right&&he.right>Ce.left&&he.top<Ce.bottom&&he.bottom>Ce.top}function Vl(he){var Ce=he.pageBorderBox,ze=he.draggable,et=he.candidates,mt=ze.page.borderBox.center,vt=et.map(function(wt){var It=wt.axis,tn=wn(wt.axis.line,Ce.center[It.line],wt.page.borderBox.center[It.crossAxisLine]);return{id:wt.descriptor.id,distance:bn(mt,tn)}}).sort(function(wt,It){return It.distance-wt.distance});return vt[0]?vt[0].id:null}function Bu(he){var Ce=he.pageBorderBox,ze=he.draggable,et=he.droppables,mt=Xr(et).filter(function(vt){if(!vt.isEnabled)return!1;var wt=vt.subject.active;if(!wt||!_l(Ce,wt))return!1;if(ll(wt)(Ce.center))return!0;var It=vt.axis,tn=wt.center[It.crossAxisLine],En=Ce[It.crossAxisStart],yn=Ce[It.crossAxisEnd],an=Pr(wt[It.crossAxisStart],wt[It.crossAxisEnd]),dn=an(En),Bn=an(yn);return!dn&&!Bn?!0:dn?En<tn:yn>tn});return mt.length?mt.length===1?mt[0].descriptor.id:Vl({pageBorderBox:Ce,draggable:ze,candidates:mt}):null}var ul=function(Ce,ze){return mn(Mn(Ce,ze))},Es=function(he,Ce){var ze=he.frame;return ze?ul(Ce,ze.scroll.diff.value):Ce};function Ws(he){var Ce=he.displaced,ze=he.id;return!!(Ce.visible[ze]||Ce.invisible[ze])}function cl(he){var Ce=he.draggable,ze=he.closest,et=he.inHomeList;return ze?et&&ze.descriptor.index>Ce.descriptor.index?ze.descriptor.index-1:ze.descriptor.index:null}var Tl=function(he){var Ce=he.pageBorderBoxWithDroppableScroll,ze=he.draggable,et=he.destination,mt=he.insideDestination,vt=he.last,wt=he.viewport,It=he.afterCritical,tn=et.axis,En=wo(et.axis,ze.displaceBy),yn=En.value,an=Ce[tn.start],dn=Ce[tn.end],Bn=Vr(ze,mt),dr=mr(Bn,function(si){var fi=si.descriptor.id,Ti=si.page.borderBox.center[tn.line],Wi=Ji(fi,It),Ui=Ws({displaced:vt,id:fi});return Wi?Ui?dn<=Ti:an<Ti-yn:Ui?dn<=Ti+yn:an<Ti}),ei=cl({draggable:ze,closest:dr,inHomeList:_n(ze,et)});return $i({draggable:ze,insideDestination:mt,destination:et,viewport:wt,last:vt,displacedBy:En,index:ei})},Qs=4,Ol=function(he){var Ce=he.draggable,ze=he.pageBorderBoxWithDroppableScroll,et=he.previousImpact,mt=he.destination,vt=he.insideDestination,wt=he.afterCritical;if(!mt.isCombineEnabled)return null;var It=mt.axis,tn=wo(mt.axis,Ce.displaceBy),En=tn.value,yn=ze[It.start],an=ze[It.end],dn=Vr(Ce,vt),Bn=mr(dn,function(ei){var si=ei.descriptor.id,fi=ei.page.borderBox,Ti=fi[It.size],Wi=Ti/Qs,Ui=Ji(si,wt),Eo=Ws({displaced:et.displaced,id:si});return Ui?Eo?an>fi[It.start]+Wi&&an<fi[It.end]-Wi:yn>fi[It.start]-En+Wi&&yn<fi[It.end]-En-Wi:Eo?an>fi[It.start]+En+Wi&&an<fi[It.end]+En-Wi:yn>fi[It.start]+Wi&&yn<fi[It.end]-Wi});if(!Bn)return null;var dr={displacedBy:tn,displaced:et.displaced,at:{type:"COMBINE",combine:{draggableId:Bn.descriptor.id,droppableId:mt.descriptor.id}}};return dr},Bl=function(he){var Ce=he.pageOffset,ze=he.draggable,et=he.draggables,mt=he.droppables,vt=he.previousImpact,wt=he.viewport,It=he.afterCritical,tn=ul(ze.page.borderBox,Ce),En=Bu({pageBorderBox:tn,draggable:ze,droppables:mt});if(!En)return Qn;var yn=mt[En],an=ti(yn.descriptor.id,et),dn=Es(yn,tn);return Ol({pageBorderBoxWithDroppableScroll:dn,draggable:ze,previousImpact:vt,destination:yn,insideDestination:an,afterCritical:It})||Tl({pageBorderBoxWithDroppableScroll:dn,draggable:ze,destination:yn,insideDestination:an,last:vt.displaced,viewport:wt,afterCritical:It})},As=function(he,Ce){var ze;return(0,ye.Z)({},he,(ze={},ze[Ce.descriptor.id]=Ce,ze))},Ya=function(Ce){var ze=Ce.previousImpact,et=Ce.impact,mt=Ce.droppables,vt=la(ze),wt=la(et);if(!vt||vt===wt)return mt;var It=mt[vt];if(!It.subject.withPlaceholder)return mt;var tn=Xa(It);return As(mt,tn)},Bo=function(he){var Ce=he.draggable,ze=he.draggables,et=he.droppables,mt=he.previousImpact,vt=he.impact,wt=Ya({previousImpact:mt,impact:vt,droppables:et}),It=la(vt);if(!It)return wt;var tn=et[It];if(_n(Ce,tn)||tn.subject.withPlaceholder)return wt;var En=Da(tn,Ce,ze);return As(wt,En)},io=function(he){var Ce=he.state,ze=he.clientSelection,et=he.dimensions,mt=he.viewport,vt=he.impact,wt=he.scrollJumpRequest,It=mt||Ce.viewport,tn=et||Ce.dimensions,En=ze||Ce.current.client.selection,yn=Vt(En,Ce.initial.client.selection),an={offset:yn,selection:En,borderBoxCenter:Cn(Ce.initial.client.borderBoxCenter,yn)},dn={selection:Cn(an.selection,It.scroll.current),borderBoxCenter:Cn(an.borderBoxCenter,It.scroll.current),offset:Cn(an.offset,It.scroll.diff.value)},Bn={client:an,page:dn};if(Ce.phase==="COLLECTING")return(0,ye.Z)({phase:"COLLECTING"},Ce,{dimensions:tn,viewport:It,current:Bn});var dr=tn.draggables[Ce.critical.draggable.id],ei=vt||Bl({pageOffset:dn.offset,draggable:dr,draggables:tn.draggables,droppables:tn.droppables,previousImpact:Ce.impact,viewport:It,afterCritical:Ce.afterCritical}),si=Bo({draggable:dr,impact:ei,previousImpact:Ce.impact,draggables:tn.draggables,droppables:tn.droppables}),fi=(0,ye.Z)({},Ce,{current:Bn,dimensions:{draggables:tn.draggables,droppables:si},impact:ei,viewport:It,scrollJumpRequest:wt||null,forceShouldAnimate:wt?!1:null});return fi};function Pa(he,Ce){return he.map(function(ze){return Ce[ze]})}var Ha=function(he){var Ce=he.impact,ze=he.viewport,et=he.draggables,mt=he.destination,vt=he.forceShouldAnimate,wt=Ce.displaced,It=Pa(wt.all,et),tn=Si({afterDragging:It,destination:mt,displacedBy:Ce.displacedBy,viewport:ze.frame,forceShouldAnimate:vt,last:wt});return(0,ye.Z)({},Ce,{displaced:tn})},ua=function(he){var Ce=he.impact,ze=he.draggable,et=he.droppable,mt=he.draggables,vt=he.viewport,wt=he.afterCritical,It=Wa({impact:Ce,draggable:ze,draggables:mt,droppable:et,afterCritical:wt});return ho({pageBorderBoxCenter:It,draggable:ze,viewport:vt})},Ca=function(he){var Ce=he.state,ze=he.dimensions,et=he.viewport;Ce.movementMode!=="SNAP"&&Pt(!1);var mt=Ce.impact,vt=et||Ce.viewport,wt=ze||Ce.dimensions,It=wt.draggables,tn=wt.droppables,En=It[Ce.critical.draggable.id],yn=la(mt);yn||Pt(!1);var an=tn[yn],dn=Ha({impact:mt,viewport:vt,destination:an,draggables:It}),Bn=ua({impact:dn,draggable:En,droppable:an,draggables:It,viewport:vt,afterCritical:Ce.afterCritical});return io({impact:dn,clientSelection:Bn,state:Ce,dimensions:wt,viewport:vt})},ys=function(he){return{index:he.index,droppableId:he.droppableId}},as=function(he){var Ce=he.draggable,ze=he.home,et=he.draggables,mt=he.viewport,vt=wo(ze.axis,Ce.displaceBy),wt=ti(ze.descriptor.id,et),It=wt.indexOf(Ce);It===-1&&Pt(!1);var tn=wt.slice(It+1),En=tn.reduce(function(Bn,dr){return Bn[dr.descriptor.id]=!0,Bn},{}),yn={inVirtualList:ze.descriptor.mode==="virtual",displacedBy:vt,effected:En},an=Si({afterDragging:tn,destination:ze,displacedBy:vt,last:null,viewport:mt.frame,forceShouldAnimate:!1}),dn={displaced:an,displacedBy:vt,at:{type:"REORDER",destination:ys(Ce.descriptor)}};return{impact:dn,afterCritical:yn}},Is=function(he,Ce){return{draggables:he.draggables,droppables:As(he.droppables,Ce)}},Ma=function(Ce){},Ra=function(Ce){},bs=function(he){var Ce=he.draggable,ze=he.offset,et=he.initialWindowScroll,mt=br(Ce.client,ze),vt=Yn(mt,et),wt=(0,ye.Z)({},Ce,{placeholder:(0,ye.Z)({},Ce.placeholder,{client:mt}),client:mt,page:vt});return wt},Hs=function(he){var Ce=he.frame;return Ce||Pt(!1),Ce},lu=function(he){var Ce=he.additions,ze=he.updatedDroppables,et=he.viewport,mt=et.scroll.diff.value;return Ce.map(function(vt){var wt=vt.descriptor.droppableId,It=ze[wt],tn=Hs(It),En=tn.scroll.diff.value,yn=Cn(mt,En),an=bs({draggable:vt,offset:yn,initialWindowScroll:et.scroll.initial});return an})},uu=function(he){var Ce=he.state,ze=he.published;Ma();var et=ze.modified.map(function(Wi){var Ui=Ce.dimensions.droppables[Wi.droppableId],Eo=Wr(Ui,Wi.scroll);return Eo}),mt=(0,ye.Z)({},Ce.dimensions.droppables,{},Fr(et)),vt=gi(lu({additions:ze.additions,updatedDroppables:mt,viewport:Ce.viewport})),wt=(0,ye.Z)({},Ce.dimensions.draggables,{},vt);ze.removals.forEach(function(Wi){delete wt[Wi]});var It={droppables:mt,draggables:wt},tn=la(Ce.impact),En=tn?It.droppables[tn]:null,yn=It.draggables[Ce.critical.draggable.id],an=It.droppables[Ce.critical.droppable.id],dn=as({draggable:yn,home:an,draggables:wt,viewport:Ce.viewport}),Bn=dn.impact,dr=dn.afterCritical,ei=En&&En.isCombineEnabled?Ce.impact:Bn,si=Bl({pageOffset:Ce.current.page.offset,draggable:It.draggables[Ce.critical.draggable.id],draggables:It.draggables,droppables:It.droppables,previousImpact:ei,viewport:Ce.viewport,afterCritical:dr});Ra();var fi=(0,ye.Z)({phase:"DRAGGING"},Ce,{phase:"DRAGGING",impact:si,onLiftImpact:Bn,dimensions:It,afterCritical:dr,forceShouldAnimate:!1});if(Ce.phase==="COLLECTING")return fi;var Ti=(0,ye.Z)({phase:"DROP_PENDING"},fi,{phase:"DROP_PENDING",reason:Ce.reason,isWaiting:!1});return Ti},Zs=function(Ce){return Ce.movementMode==="SNAP"},xs=function(Ce,ze,et){var mt=Is(Ce.dimensions,ze);return!Zs(Ce)||et?io({state:Ce,dimensions:mt}):Ca({state:Ce,dimensions:mt})};function hs(he){return he.isDragging&&he.movementMode==="SNAP"?(0,ye.Z)({phase:"DRAGGING"},he,{scrollJumpRequest:null}):he}var Za={phase:"IDLE",completed:null,shouldFlush:!1},Us=function(he,Ce){if(he===void 0&&(he=Za),Ce.type==="FLUSH")return(0,ye.Z)({},Za,{shouldFlush:!0});if(Ce.type==="INITIAL_PUBLISH"){he.phase!=="IDLE"&&Pt(!1);var ze=Ce.payload,et=ze.critical,mt=ze.clientSelection,vt=ze.viewport,wt=ze.dimensions,It=ze.movementMode,tn=wt.draggables[et.draggable.id],En=wt.droppables[et.droppable.id],yn={selection:mt,borderBoxCenter:tn.client.borderBox.center,offset:Qt},an={client:yn,page:{selection:Cn(yn.selection,vt.scroll.initial),borderBoxCenter:Cn(yn.selection,vt.scroll.initial),offset:Cn(yn.selection,vt.scroll.diff.value)}},dn=Xr(wt.droppables).every(function(Lc){return!Lc.isFixedOnPage}),Bn=as({draggable:tn,home:En,draggables:wt.draggables,viewport:vt}),dr=Bn.impact,ei=Bn.afterCritical,si={phase:"DRAGGING",isDragging:!0,critical:et,movementMode:It,dimensions:wt,initial:an,current:an,isWindowScrollAllowed:dn,impact:dr,afterCritical:ei,onLiftImpact:dr,viewport:vt,scrollJumpRequest:null,forceShouldAnimate:null};return si}if(Ce.type==="COLLECTION_STARTING"){if(he.phase==="COLLECTING"||he.phase==="DROP_PENDING")return he;he.phase!=="DRAGGING"&&Pt(!1);var fi=(0,ye.Z)({phase:"COLLECTING"},he,{phase:"COLLECTING"});return fi}if(Ce.type==="PUBLISH_WHILE_DRAGGING")return he.phase==="COLLECTING"||he.phase==="DROP_PENDING"||Pt(!1),uu({state:he,published:Ce.payload});if(Ce.type==="MOVE"){if(he.phase==="DROP_PENDING")return he;ks(he)||Pt(!1);var Ti=Ce.payload.client;return jt(Ti,he.current.client.selection)?he:io({state:he,clientSelection:Ti,impact:Zs(he)?he.impact:null})}if(Ce.type==="UPDATE_DROPPABLE_SCROLL"){if(he.phase==="DROP_PENDING"||he.phase==="COLLECTING")return hs(he);ks(he)||Pt(!1);var Wi=Ce.payload,Ui=Wi.id,Eo=Wi.newScroll,yo=he.dimensions.droppables[Ui];if(!yo)return he;var Mo=Wr(yo,Eo);return xs(he,Mo,!1)}if(Ce.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(he.phase==="DROP_PENDING")return he;ks(he)||Pt(!1);var La=Ce.payload,zo=La.id,Na=La.isEnabled,is=he.dimensions.droppables[zo];is||Pt(!1),is.isEnabled===Na&&Pt(!1);var ds=(0,ye.Z)({},is,{isEnabled:Na});return xs(he,ds,!0)}if(Ce.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(he.phase==="DROP_PENDING")return he;ks(he)||Pt(!1);var El=Ce.payload,sl=El.id,Fs=El.isCombineEnabled,Al=he.dimensions.droppables[sl];Al||Pt(!1),Al.isCombineEnabled===Fs&&Pt(!1);var fs=(0,ye.Z)({},Al,{isCombineEnabled:Fs});return xs(he,fs,!0)}if(Ce.type==="MOVE_BY_WINDOW_SCROLL"){if(he.phase==="DROP_PENDING"||he.phase==="DROP_ANIMATING")return he;ks(he)||Pt(!1),he.isWindowScrollAllowed||Pt(!1);var au=Ce.payload.newScroll;if(jt(he.viewport.scroll.current,au))return hs(he);var Il=os(he.viewport,au);return Zs(he)?Ca({state:he,viewport:Il}):io({state:he,viewport:Il})}if(Ce.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!ks(he))return he;var pc=Ce.payload.maxScroll;if(jt(pc,he.viewport.scroll.max))return he;var Tu=(0,ye.Z)({},he.viewport,{scroll:(0,ye.Z)({},he.viewport.scroll,{max:pc})});return(0,ye.Z)({phase:"DRAGGING"},he,{viewport:Tu})}if(Ce.type==="MOVE_UP"||Ce.type==="MOVE_DOWN"||Ce.type==="MOVE_LEFT"||Ce.type==="MOVE_RIGHT"){if(he.phase==="COLLECTING"||he.phase==="DROP_PENDING")return he;he.phase!=="DRAGGING"&&Pt(!1);var su=ps({state:he,type:Ce.type});return su?io({state:he,impact:su.impact,clientSelection:su.clientSelection,scrollJumpRequest:su.scrollJumpRequest}):he}if(Ce.type==="DROP_PENDING"){var Dl=Ce.payload.reason;he.phase!=="COLLECTING"&&Pt(!1);var Ou=(0,ye.Z)({phase:"DROP_PENDING"},he,{phase:"DROP_PENDING",isWaiting:!0,reason:Dl});return Ou}if(Ce.type==="DROP_ANIMATE"){var Tc=Ce.payload,Pl=Tc.completed,hc=Tc.dropDuration,Oc=Tc.newHomeClientOffset;he.phase==="DRAGGING"||he.phase==="DROP_PENDING"||Pt(!1);var Ku={phase:"DROP_ANIMATING",completed:Pl,dropDuration:hc,newHomeClientOffset:Oc,dimensions:he.dimensions};return Ku}if(Ce.type==="DROP_COMPLETE"){var Bc=Ce.payload.completed;return{phase:"IDLE",completed:Bc,shouldFlush:!1}}return he},Ds=function(Ce){return{type:"BEFORE_INITIAL_CAPTURE",payload:Ce}},Ll=function(Ce){return{type:"LIFT",payload:Ce}},Lu=function(Ce){return{type:"INITIAL_PUBLISH",payload:Ce}},cu=function(Ce){return{type:"PUBLISH_WHILE_DRAGGING",payload:Ce}},el=function(){return{type:"COLLECTION_STARTING",payload:null}},Gu=function(Ce){return{type:"UPDATE_DROPPABLE_SCROLL",payload:Ce}},Nu=function(Ce){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:Ce}},Nl=function(Ce){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:Ce}},Xu=function(Ce){return{type:"MOVE",payload:Ce}},du=function(Ce){return{type:"MOVE_BY_WINDOW_SCROLL",payload:Ce}},Yu=function(Ce){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:Ce}},ku=function(){return{type:"MOVE_UP",payload:null}},Mu=function(){return{type:"MOVE_DOWN",payload:null}},dl=function(){return{type:"MOVE_RIGHT",payload:null}},Xi=function(){return{type:"MOVE_LEFT",payload:null}},_s=function(){return{type:"FLUSH",payload:null}},Vs=function(Ce){return{type:"DROP_ANIMATE",payload:Ce}},fu=function(Ce){return{type:"DROP_COMPLETE",payload:Ce}},Ru=function(Ce){return{type:"DROP",payload:Ce}},vc=function(Ce){return{type:"DROP_PENDING",payload:Ce}},Kl=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function $u(he){if(!(he.length<=1)){for(var Ce=he.map(function(It){return It.descriptor.index}),ze={},et=1;et<Ce.length;et++){var mt=Ce[et],vt=Ce[et-1];mt!==vt+1&&(ze[mt]=!0)}if(Object.keys(ze).length)var wt=Ce.map(function(It){var tn=!!ze[It];return tn?"[\u{1F525}"+It+"]":""+It}).join(", ")}}function fl(he,Ce){if(0)var ze}var Gl=function(he){return function(Ce){var ze=Ce.getState,et=Ce.dispatch;return function(mt){return function(vt){if(vt.type!=="LIFT"){mt(vt);return}var wt=vt.payload,It=wt.id,tn=wt.clientSelection,En=wt.movementMode,yn=ze();yn.phase==="DROP_ANIMATING"&&et(fu({completed:yn.completed})),ze().phase!=="IDLE"&&Pt(!1),et(_s()),et(Ds({draggableId:It,movementMode:En}));var an={shouldPublishImmediately:En==="SNAP"},dn={draggableId:It,scrollOptions:an},Bn=he.startPublishing(dn),dr=Bn.critical,ei=Bn.dimensions,si=Bn.viewport;fl(dr,ei),et(Lu({critical:dr,dimensions:ei,clientSelection:tn,movementMode:En,viewport:si}))}}}},Ju=function(he){return function(){return function(Ce){return function(ze){ze.type==="INITIAL_PUBLISH"&&he.dragging(),ze.type==="DROP_ANIMATE"&&he.dropping(ze.payload.completed.result.reason),(ze.type==="FLUSH"||ze.type==="DROP_COMPLETE")&&he.resting(),Ce(ze)}}}},kl={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},pl={opacity:{drop:0,combining:.7},scale:{drop:.75}},hl={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Ks=hl.outOfTheWay+"s "+kl.outOfTheWay,Ps={fluid:"opacity "+Ks,snap:"transform "+Ks+", opacity "+Ks,drop:function(Ce){var ze=Ce+"s "+kl.drop;return"transform "+ze+", opacity "+ze},outOfTheWay:"transform "+Ks,placeholder:"height "+Ks+", width "+Ks+", margin "+Ks},ml=function(Ce){return jt(Ce,Qt)?null:"translate("+Ce.x+"px, "+Ce.y+"px)"},Gs={moveTo:ml,drop:function(Ce,ze){var et=ml(Ce);return et?ze?et+" scale("+pl.scale.drop+")":et:null}},tl=hl.minDropTime,vl=hl.maxDropTime,Fu=vl-tl,ju=1500,zu=.6,gc=function(he){var Ce=he.current,ze=he.destination,et=he.reason,mt=bn(Ce,ze);if(mt<=0)return tl;if(mt>=ju)return vl;var vt=mt/ju,wt=tl+Fu*vt,It=et==="CANCEL"?wt*zu:wt;return Number(It.toFixed(2))},nl=function(he){var Ce=he.impact,ze=he.draggable,et=he.dimensions,mt=he.viewport,vt=he.afterCritical,wt=et.draggables,It=et.droppables,tn=la(Ce),En=tn?It[tn]:null,yn=It[ze.descriptor.droppableId],an=ua({impact:Ce,draggable:ze,draggables:wt,afterCritical:vt,droppable:En||yn,viewport:mt}),dn=Vt(an,ze.client.borderBox.center);return dn},gl=function(he){var Ce=he.draggables,ze=he.reason,et=he.lastImpact,mt=he.home,vt=he.viewport,wt=he.onLiftImpact;if(!et.at||ze!=="DROP"){var It=Ha({draggables:Ce,impact:wt,destination:mt,viewport:vt,forceShouldAnimate:!0});return{impact:It,didDropInsideDroppable:!1}}if(et.at.type==="REORDER")return{impact:et,didDropInsideDroppable:!0};var tn=(0,ye.Z)({},et,{displaced:fr});return{impact:tn,didDropInsideDroppable:!0}},Qu=function(he){var Ce=he.getState,ze=he.dispatch;return function(et){return function(mt){if(mt.type!=="DROP"){et(mt);return}var vt=Ce(),wt=mt.payload.reason;if(vt.phase==="COLLECTING"){ze(vc({reason:wt}));return}if(vt.phase!=="IDLE"){var It=vt.phase==="DROP_PENDING"&&vt.isWaiting;It&&Pt(!1),vt.phase==="DRAGGING"||vt.phase==="DROP_PENDING"||Pt(!1);var tn=vt.critical,En=vt.dimensions,yn=En.draggables[vt.critical.draggable.id],an=gl({reason:wt,lastImpact:vt.impact,afterCritical:vt.afterCritical,onLiftImpact:vt.onLiftImpact,home:vt.dimensions.droppables[vt.critical.droppable.id],viewport:vt.viewport,draggables:vt.dimensions.draggables}),dn=an.impact,Bn=an.didDropInsideDroppable,dr=Bn?oi(dn):null,ei=Bn?kr(dn):null,si={index:tn.draggable.index,droppableId:tn.droppable.id},fi={draggableId:yn.descriptor.id,type:yn.descriptor.type,source:si,reason:wt,mode:vt.movementMode,destination:dr,combine:ei},Ti=nl({impact:dn,draggable:yn,dimensions:En,viewport:vt.viewport,afterCritical:vt.afterCritical}),Wi={critical:vt.critical,afterCritical:vt.afterCritical,result:fi,impact:dn},Ui=!jt(vt.current.client.offset,Ti)||!!fi.combine;if(!Ui){ze(fu({completed:Wi}));return}var Eo=gc({current:vt.current.client.offset,destination:Ti,reason:wt}),yo={newHomeClientOffset:Ti,dropDuration:Eo,completed:Wi};ze(Vs(yo))}}}},qu=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function ec(he){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ze){ze.target!==window&&ze.target!==window.document||he()}}}function yc(he){var Ce=he.onWindowScroll;function ze(){Ce(qu())}var et=er(ze),mt=ec(et),vt=yr;function wt(){return vt!==yr}function It(){wt()&&Pt(!1),vt=St(window,[mt])}function tn(){wt()||Pt(!1),et.cancel(),vt(),vt=yr}return{start:It,stop:tn,isActive:wt}}var tc=function(Ce){return Ce.type==="DROP_COMPLETE"||Ce.type==="DROP_ANIMATE"||Ce.type==="FLUSH"},bc=function(he){var Ce=yc({onWindowScroll:function(et){he.dispatch(du({newScroll:et}))}});return function(ze){return function(et){!Ce.isActive()&&et.type==="INITIAL_PUBLISH"&&Ce.start(),Ce.isActive()&&tc(et)&&Ce.stop(),ze(et)}}},es=function(he){var Ce=!1,ze=!1,et=setTimeout(function(){ze=!0}),mt=function(wt){Ce||ze||(Ce=!0,he(wt),clearTimeout(et))};return mt.wasCalled=function(){return Ce},mt},Fa=function(){var he=[],Ce=function(vt){var wt=_r(he,function(En){return En.timerId===vt});wt===-1&&Pt(!1);var It=he.splice(wt,1),tn=It[0];tn.callback()},ze=function(vt){var wt=setTimeout(function(){return Ce(wt)}),It={timerId:wt,callback:vt};he.push(It)},et=function(){if(he.length){var vt=[].concat(he);he.length=0,vt.forEach(function(wt){clearTimeout(wt.timerId),wt.callback()})}};return{add:ze,flush:et}},$a=function(Ce,ze){return Ce==null&&ze==null?!0:Ce==null||ze==null?!1:Ce.droppableId===ze.droppableId&&Ce.index===ze.index},Ta=function(Ce,ze){return Ce==null&&ze==null?!0:Ce==null||ze==null?!1:Ce.draggableId===ze.draggableId&&Ce.droppableId===ze.droppableId},Ml=function(Ce,ze){if(Ce===ze)return!0;var et=Ce.draggable.id===ze.draggable.id&&Ce.draggable.droppableId===ze.draggable.droppableId&&Ce.draggable.type===ze.draggable.type&&Ce.draggable.index===ze.draggable.index,mt=Ce.droppable.id===ze.droppable.id&&Ce.droppable.type===ze.droppable.type;return et&&mt},yl=function(Ce,ze){Ma(),ze(),Ra()},rl=function(Ce,ze){return{draggableId:Ce.draggable.id,type:Ce.droppable.type,source:{droppableId:Ce.droppable.id,index:Ce.draggable.index},mode:ze}},pu=function(Ce,ze,et,mt){if(!Ce){et(mt(ze));return}var vt=es(et),wt={announce:vt};Ce(ze,wt),vt.wasCalled()||et(mt(ze))},nc=function(he,Ce){var ze=Fa(),et=null,mt=function(dn,Bn){et&&Pt(!1),yl("onBeforeCapture",function(){var dr=he().onBeforeCapture;if(dr){var ei={draggableId:dn,mode:Bn};dr(ei)}})},vt=function(dn,Bn){et&&Pt(!1),yl("onBeforeDragStart",function(){var dr=he().onBeforeDragStart;dr&&dr(rl(dn,Bn))})},wt=function(dn,Bn){et&&Pt(!1);var dr=rl(dn,Bn);et={mode:Bn,lastCritical:dn,lastLocation:dr.source,lastCombine:null},ze.add(function(){yl("onDragStart",function(){return pu(he().onDragStart,dr,Ce,Ut.onDragStart)})})},It=function(dn,Bn){var dr=oi(Bn),ei=kr(Bn);et||Pt(!1);var si=!Ml(dn,et.lastCritical);si&&(et.lastCritical=dn);var fi=!$a(et.lastLocation,dr);fi&&(et.lastLocation=dr);var Ti=!Ta(et.lastCombine,ei);if(Ti&&(et.lastCombine=ei),!(!si&&!fi&&!Ti)){var Wi=(0,ye.Z)({},rl(dn,et.mode),{combine:ei,destination:dr});ze.add(function(){yl("onDragUpdate",function(){return pu(he().onDragUpdate,Wi,Ce,Ut.onDragUpdate)})})}},tn=function(){et||Pt(!1),ze.flush()},En=function(dn){et||Pt(!1),et=null,yl("onDragEnd",function(){return pu(he().onDragEnd,dn,Ce,Ut.onDragEnd)})},yn=function(){if(et){var dn=(0,ye.Z)({},rl(et.lastCritical,et.mode),{combine:null,destination:null,reason:"CANCEL"});En(dn)}};return{beforeCapture:mt,beforeStart:vt,start:wt,update:It,flush:tn,drop:En,abort:yn}},rc=function(he,Ce){var ze=nc(he,Ce);return function(et){return function(mt){return function(vt){if(vt.type==="BEFORE_INITIAL_CAPTURE"){ze.beforeCapture(vt.payload.draggableId,vt.payload.movementMode);return}if(vt.type==="INITIAL_PUBLISH"){var wt=vt.payload.critical;ze.beforeStart(wt,vt.payload.movementMode),mt(vt),ze.start(wt,vt.payload.movementMode);return}if(vt.type==="DROP_COMPLETE"){var It=vt.payload.completed.result;ze.flush(),mt(vt),ze.drop(It);return}if(mt(vt),vt.type==="FLUSH"){ze.abort();return}var tn=et.getState();tn.phase==="DRAGGING"&&ze.update(tn.critical,tn.impact)}}}},hu=function(he){return function(Ce){return function(ze){if(ze.type!=="DROP_ANIMATION_FINISHED"){Ce(ze);return}var et=he.getState();et.phase!=="DROP_ANIMATING"&&Pt(!1),he.dispatch(fu({completed:et.completed}))}}},Ts=function(he){var Ce=null,ze=null;function et(){ze&&(cancelAnimationFrame(ze),ze=null),Ce&&(Ce(),Ce=null)}return function(mt){return function(vt){if((vt.type==="FLUSH"||vt.type==="DROP_COMPLETE"||vt.type==="DROP_ANIMATION_FINISHED")&&et(),mt(vt),vt.type==="DROP_ANIMATE"){var wt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var tn=he.getState();tn.phase==="DROP_ANIMATING"&&he.dispatch(Kl())}};ze=requestAnimationFrame(function(){ze=null,Ce=St(window,[wt])})}}}},mu=function(he){return function(){return function(Ce){return function(ze){(ze.type==="DROP_COMPLETE"||ze.type==="FLUSH"||ze.type==="DROP_ANIMATE")&&he.stopPublishing(),Ce(ze)}}}},ic=function(he){var Ce=!1;return function(){return function(ze){return function(et){if(et.type==="INITIAL_PUBLISH"){Ce=!0,he.tryRecordFocus(et.payload.critical.draggable.id),ze(et),he.tryRestoreFocusRecorded();return}if(ze(et),!!Ce){if(et.type==="FLUSH"){Ce=!1,he.tryRestoreFocusRecorded();return}if(et.type==="DROP_COMPLETE"){Ce=!1;var mt=et.payload.completed.result;mt.combine&&he.tryShiftRecord(mt.draggableId,mt.combine.draggableId),he.tryRestoreFocusRecorded()}}}}}},pt=function(Ce){return Ce.type==="DROP_COMPLETE"||Ce.type==="DROP_ANIMATE"||Ce.type==="FLUSH"},ft=function(he){return function(Ce){return function(ze){return function(et){if(pt(et)){he.stop(),ze(et);return}if(et.type==="INITIAL_PUBLISH"){ze(et);var mt=Ce.getState();mt.phase!=="DRAGGING"&&Pt(!1),he.start(mt);return}ze(et),he.scroll(Ce.getState())}}}},Mt=function(he){return function(Ce){return function(ze){if(Ce(ze),ze.type==="PUBLISH_WHILE_DRAGGING"){var et=he.getState();et.phase==="DROP_PENDING"&&(et.isWaiting||he.dispatch(Ru({reason:et.reason})))}}}},_t=De.qC,sn=function(he){var Ce=he.dimensionMarshal,ze=he.focusMarshal,et=he.styleMarshal,mt=he.getResponders,vt=he.announce,wt=he.autoScroller;return(0,De.MT)(Us,_t((0,De.md)(Ju(et),mu(Ce),Gl(Ce),Qu,hu,Ts,Mt,ft(wt),bc,ic(ze),rc(mt,vt))))},vn=function(){return{additions:{},removals:{},modified:{}}};function kn(he){var Ce=he.registry,ze=he.callbacks,et=vn(),mt=null,vt=function(){mt||(ze.collectionStarting(),mt=requestAnimationFrame(function(){mt=null,Ma();var yn=et,an=yn.additions,dn=yn.removals,Bn=yn.modified,dr=Object.keys(an).map(function(fi){return Ce.draggable.getById(fi).getDimension(Qt)}).sort(function(fi,Ti){return fi.descriptor.index-Ti.descriptor.index}),ei=Object.keys(Bn).map(function(fi){var Ti=Ce.droppable.getById(fi),Wi=Ti.callbacks.getScrollWhileDragging();return{droppableId:fi,scroll:Wi}}),si={additions:dr,removals:Object.keys(dn),modified:ei};et=vn(),Ra(),ze.publish(si)}))},wt=function(yn){var an=yn.descriptor.id;et.additions[an]=yn,et.modified[yn.descriptor.droppableId]=!0,et.removals[an]&&delete et.removals[an],vt()},It=function(yn){var an=yn.descriptor;et.removals[an.id]=!0,et.modified[an.droppableId]=!0,et.additions[an.id]&&delete et.additions[an.id],vt()},tn=function(){mt&&(cancelAnimationFrame(mt),mt=null,et=vn())};return{add:wt,remove:It,stop:tn}}var Dn=function(he){var Ce=he.scrollHeight,ze=he.scrollWidth,et=he.height,mt=he.width,vt=Vt({x:ze,y:Ce},{x:mt,y:et}),wt={x:Math.max(0,vt.x),y:Math.max(0,vt.y)};return wt},Hn=function(){var he=document.documentElement;return he||Pt(!1),he},Rn=function(){var he=Hn(),Ce=Dn({scrollHeight:he.scrollHeight,scrollWidth:he.scrollWidth,width:he.clientWidth,height:he.clientHeight});return Ce},xr=function(){var he=qu(),Ce=Rn(),ze=he.y,et=he.x,mt=Hn(),vt=mt.clientWidth,wt=mt.clientHeight,It=et+vt,tn=ze+wt,En=mn({top:ze,left:et,right:It,bottom:tn}),yn={frame:En,scroll:{initial:he,current:he,max:Ce,diff:{value:Qt,displacement:Qt}}};return yn},cr=function(he){var Ce=he.critical,ze=he.scrollOptions,et=he.registry;Ma();var mt=xr(),vt=mt.scroll.current,wt=Ce.droppable,It=et.droppable.getAllByType(wt.type).map(function(an){return an.callbacks.getDimensionAndWatchScroll(vt,ze)}),tn=et.draggable.getAllByType(Ce.draggable.type).map(function(an){return an.getDimension(vt)}),En={draggables:gi(tn),droppables:Fr(It)};Ra();var yn={dimensions:En,critical:Ce,viewport:mt};return yn};function ar(he,Ce,ze){if(ze.descriptor.id===Ce.id||ze.descriptor.type!==Ce.type)return!1;var et=he.droppable.getById(ze.descriptor.droppableId);return et.descriptor.mode==="virtual"}var nr=function(he,Ce){var ze=null,et=kn({callbacks:{publish:Ce.publishWhileDragging,collectionStarting:Ce.collectionStarting},registry:he}),mt=function(Bn,dr){he.droppable.exists(Bn)||Pt(!1),ze&&Ce.updateDroppableIsEnabled({id:Bn,isEnabled:dr})},vt=function(Bn,dr){ze&&(he.droppable.exists(Bn)||Pt(!1),Ce.updateDroppableIsCombineEnabled({id:Bn,isCombineEnabled:dr}))},wt=function(Bn,dr){ze&&(he.droppable.exists(Bn)||Pt(!1),Ce.updateDroppableScroll({id:Bn,newScroll:dr}))},It=function(Bn,dr){ze&&he.droppable.getById(Bn).callbacks.scroll(dr)},tn=function(){if(ze){et.stop();var Bn=ze.critical.droppable;he.droppable.getAllByType(Bn.type).forEach(function(dr){return dr.callbacks.dragStopped()}),ze.unsubscribe(),ze=null}},En=function(Bn){ze||Pt(!1);var dr=ze.critical.draggable;Bn.type==="ADDITION"&&ar(he,dr,Bn.value)&&et.add(Bn.value),Bn.type==="REMOVAL"&&ar(he,dr,Bn.value)&&et.remove(Bn.value)},yn=function(Bn){ze&&Pt(!1);var dr=he.draggable.getById(Bn.draggableId),ei=he.droppable.getById(dr.descriptor.droppableId),si={draggable:dr.descriptor,droppable:ei.descriptor},fi=he.subscribe(En);return ze={critical:si,unsubscribe:fi},cr({critical:si,registry:he,scrollOptions:Bn.scrollOptions})},an={updateDroppableIsEnabled:mt,updateDroppableIsCombineEnabled:vt,scrollDroppable:It,updateDroppableScroll:wt,startPublishing:yn,stopPublishing:tn};return an},qn=function(he,Ce){return he.phase==="IDLE"?!0:he.phase!=="DROP_ANIMATING"||he.completed.result.draggableId===Ce?!1:he.completed.result.reason==="DROP"},Kr=function(he){window.scrollBy(he.x,he.y)},Or=zn(function(he){return Xr(he).filter(function(Ce){return!(!Ce.isEnabled||!Ce.frame)})}),Jr=function(Ce,ze){var et=mr(Or(ze),function(mt){return mt.frame||Pt(!1),ll(mt.frame.pageMarginBox)(Ce)});return et},ni=function(he){var Ce=he.center,ze=he.destination,et=he.droppables;if(ze){var mt=et[ze];return mt.frame?mt:null}var vt=Jr(Ce,et);return vt},Zr={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(Ce){return Math.pow(Ce,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},ai=function(he,Ce){var ze=he[Ce.size]*Zr.startFromPercentage,et=he[Ce.size]*Zr.maxScrollAtPercentage,mt={startScrollingFrom:ze,maxScrollValueAt:et};return mt},pi=function(he){var Ce=he.startOfRange,ze=he.endOfRange,et=he.current,mt=ze-Ce;if(mt===0)return 0;var vt=et-Ce,wt=vt/mt;return wt},xi=1,yi=function(he,Ce){if(he>Ce.startScrollingFrom)return 0;if(he<=Ce.maxScrollValueAt)return Zr.maxPixelScroll;if(he===Ce.startScrollingFrom)return xi;var ze=pi({startOfRange:Ce.maxScrollValueAt,endOfRange:Ce.startScrollingFrom,current:he}),et=1-ze,mt=Zr.maxPixelScroll*Zr.ease(et);return Math.ceil(mt)},eo=Zr.durationDampening.accelerateAt,Fi=Zr.durationDampening.stopDampeningAt,Ni=function(he,Ce){var ze=Ce,et=Fi,mt=Date.now(),vt=mt-ze;if(vt>=Fi)return he;if(vt<eo)return xi;var wt=pi({startOfRange:eo,endOfRange:et,current:vt}),It=he*Zr.ease(wt);return Math.ceil(It)},Ki=function(he){var Ce=he.distanceToEdge,ze=he.thresholds,et=he.dragStartTime,mt=he.shouldUseTimeDampening,vt=yi(Ce,ze);return vt===0?0:mt?Math.max(Ni(vt,et),xi):vt},wi=function(he){var Ce=he.container,ze=he.distanceToEdges,et=he.dragStartTime,mt=he.axis,vt=he.shouldUseTimeDampening,wt=ai(Ce,mt),It=ze[mt.end]<ze[mt.start];return It?Ki({distanceToEdge:ze[mt.end],thresholds:wt,dragStartTime:et,shouldUseTimeDampening:vt}):-1*Ki({distanceToEdge:ze[mt.start],thresholds:wt,dragStartTime:et,shouldUseTimeDampening:vt})},Ei=function(he){var Ce=he.container,ze=he.subject,et=he.proposedScroll,mt=ze.height>Ce.height,vt=ze.width>Ce.width;return!vt&&!mt?et:vt&&mt?null:{x:vt?0:et.x,y:mt?0:et.y}},di=Fn(function(he){return he===0?0:he}),ri=function(he){var Ce=he.dragStartTime,ze=he.container,et=he.subject,mt=he.center,vt=he.shouldUseTimeDampening,wt={top:mt.y-ze.top,right:ze.right-mt.x,bottom:ze.bottom-mt.y,left:mt.x-ze.left},It=wi({container:ze,distanceToEdges:wt,dragStartTime:Ce,axis:On,shouldUseTimeDampening:vt}),tn=wi({container:ze,distanceToEdges:wt,dragStartTime:Ce,axis:$n,shouldUseTimeDampening:vt}),En=di({x:tn,y:It});if(jt(En,Qt))return null;var yn=Ei({container:ze,subject:et,proposedScroll:En});return yn?jt(yn,Qt)?null:yn:null},Ci=Fn(function(he){return he===0?0:he>0?1:-1}),Ai=function(){var he=function(ze,et){return ze<0?ze:ze>et?ze-et:0};return function(Ce){var ze=Ce.current,et=Ce.max,mt=Ce.change,vt=Cn(ze,mt),wt={x:he(vt.x,et.x),y:he(vt.y,et.y)};return jt(wt,Qt)?null:wt}}(),ji=function(Ce){var ze=Ce.max,et=Ce.current,mt=Ce.change,vt={x:Math.max(et.x,ze.x),y:Math.max(et.y,ze.y)},wt=Ci(mt),It=Ai({max:vt,current:et,change:wt});return!It||wt.x!==0&&It.x===0||wt.y!==0&&It.y===0},ui=function(Ce,ze){return ji({current:Ce.scroll.current,max:Ce.scroll.max,change:ze})},uo=function(Ce,ze){if(!ui(Ce,ze))return null;var et=Ce.scroll.max,mt=Ce.scroll.current;return Ai({current:mt,max:et,change:ze})},co=function(Ce,ze){var et=Ce.frame;return et?ji({current:et.scroll.current,max:et.scroll.max,change:ze}):!1},ia=function(Ce,ze){var et=Ce.frame;return!et||!co(Ce,ze)?null:Ai({current:et.scroll.current,max:et.scroll.max,change:ze})},ea=function(he){var Ce=he.viewport,ze=he.subject,et=he.center,mt=he.dragStartTime,vt=he.shouldUseTimeDampening,wt=ri({dragStartTime:mt,container:Ce.frame,subject:ze,center:et,shouldUseTimeDampening:vt});return wt&&ui(Ce,wt)?wt:null},_o=function(he){var Ce=he.droppable,ze=he.subject,et=he.center,mt=he.dragStartTime,vt=he.shouldUseTimeDampening,wt=Ce.frame;if(!wt)return null;var It=ri({dragStartTime:mt,container:wt.pageMarginBox,subject:ze,center:et,shouldUseTimeDampening:vt});return It&&co(Ce,It)?It:null},$o=function(he){var Ce=he.state,ze=he.dragStartTime,et=he.shouldUseTimeDampening,mt=he.scrollWindow,vt=he.scrollDroppable,wt=Ce.current.page.borderBoxCenter,It=Ce.dimensions.draggables[Ce.critical.draggable.id],tn=It.page.marginBox;if(Ce.isWindowScrollAllowed){var En=Ce.viewport,yn=ea({dragStartTime:ze,viewport:En,subject:tn,center:wt,shouldUseTimeDampening:et});if(yn){mt(yn);return}}var an=ni({center:wt,destination:la(Ce.impact),droppables:Ce.dimensions.droppables});if(an){var dn=_o({dragStartTime:ze,droppable:an,subject:tn,center:wt,shouldUseTimeDampening:et});dn&&vt(an.descriptor.id,dn)}},ca=function(he){var Ce=he.scrollWindow,ze=he.scrollDroppable,et=er(Ce),mt=er(ze),vt=null,wt=function(yn){vt||Pt(!1);var an=vt,dn=an.shouldUseTimeDampening,Bn=an.dragStartTime;$o({state:yn,scrollWindow:et,scrollDroppable:mt,dragStartTime:Bn,shouldUseTimeDampening:dn})},It=function(yn){Ma(),vt&&Pt(!1);var an=Date.now(),dn=!1,Bn=function(){dn=!0};$o({state:yn,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Bn,scrollDroppable:Bn}),vt={dragStartTime:an,shouldUseTimeDampening:dn},Ra(),dn&&wt(yn)},tn=function(){vt&&(et.cancel(),mt.cancel(),vt=null)};return{start:It,stop:tn,scroll:wt}},vo=function(he){var Ce=he.move,ze=he.scrollDroppable,et=he.scrollWindow,mt=function(En,yn){var an=Cn(En.current.client.selection,yn);Ce({client:an})},vt=function(En,yn){if(!co(En,yn))return yn;var an=ia(En,yn);if(!an)return ze(En.descriptor.id,yn),null;var dn=Vt(yn,an);ze(En.descriptor.id,dn);var Bn=Vt(yn,dn);return Bn},wt=function(En,yn,an){if(!En||!ui(yn,an))return an;var dn=uo(yn,an);if(!dn)return et(an),null;var Bn=Vt(an,dn);et(Bn);var dr=Vt(an,Bn);return dr},It=function(En){var yn=En.scrollJumpRequest;if(yn){var an=la(En.impact);an||Pt(!1);var dn=vt(En.dimensions.droppables[an],yn);if(dn){var Bn=En.viewport,dr=wt(En.isWindowScrollAllowed,Bn,dn);dr&&mt(En,dr)}}};return It},xo=function(he){var Ce=he.scrollDroppable,ze=he.scrollWindow,et=he.move,mt=ca({scrollWindow:ze,scrollDroppable:Ce}),vt=vo({move:et,scrollWindow:ze,scrollDroppable:Ce}),wt=function(En){if(En.phase==="DRAGGING"){if(En.movementMode==="FLUID"){mt.scroll(En);return}En.scrollJumpRequest&&vt(En)}},It={scroll:wt,start:mt.start,stop:mt.stop};return It},Jo="data-rbd",ta=function(){var he=Jo+"-drag-handle";return{base:he,draggableId:he+"-draggable-id",contextId:he+"-context-id"}}(),Li=function(){var he=Jo+"-draggable";return{base:he,contextId:he+"-context-id",id:he+"-id"}}(),Qi=function(){var he=Jo+"-droppable";return{base:he,contextId:he+"-context-id",id:he+"-id"}}(),Oi={contextId:Jo+"-scroll-container-context-id"},bi=function(Ce){return function(ze){return"["+ze+'="'+Ce+'"]'}},go=function(Ce,ze){return Ce.map(function(et){var mt=et.styles[ze];return mt?et.selector+" { "+mt+" }":""}).join(" ")},Lo="pointer-events: none;",Qo=function(he){var Ce=bi(he),ze=function(){var It=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:Ce(ta.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:It,dragging:Lo,dropAnimating:It}}}(),et=function(){var It=`
|
|
|
transition: `+Ps.outOfTheWay+`;
|
|
|
`;return{selector:Ce(Li.contextId),styles:{dragging:It,dropAnimating:It,userCancel:It}}}(),mt={selector:Ce(Qi.contextId),styles:{always:"overflow-anchor: none;"}},vt={selector:"body",styles:{dragging:`
|
|
|
cursor: grabbing;
|
|
|
cursor: -webkit-grabbing;
|
|
|
user-select: none;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
overflow-anchor: none;
|
|
|
`}},wt=[et,ze,mt,vt];return{always:go(wt,"always"),resting:go(wt,"resting"),dragging:go(wt,"dragging"),dropAnimating:go(wt,"dropAnimating"),userCancel:go(wt,"userCancel")}},So=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,oa=function(){var Ce=document.querySelector("head");return Ce||Pt(!1),Ce},ma=function(Ce){var ze=document.createElement("style");return Ce&&ze.setAttribute("nonce",Ce),ze.type="text/css",ze};function zi(he,Ce){var ze=qt(function(){return Qo(he)},[he]),et=(0,b.useRef)(null),mt=(0,b.useRef)(null),vt=Wt(zn(function(an){var dn=mt.current;dn||Pt(!1),dn.textContent=an}),[]),wt=Wt(function(an){var dn=et.current;dn||Pt(!1),dn.textContent=an},[]);So(function(){!et.current&&!mt.current||Pt(!1);var an=ma(Ce),dn=ma(Ce);return et.current=an,mt.current=dn,an.setAttribute(Jo+"-always",he),dn.setAttribute(Jo+"-dynamic",he),oa().appendChild(an),oa().appendChild(dn),wt(ze.always),vt(ze.resting),function(){var Bn=function(ei){var si=ei.current;si||Pt(!1),oa().removeChild(si),ei.current=null};Bn(et),Bn(mt)}},[Ce,wt,vt,ze.always,ze.resting,he]);var It=Wt(function(){return vt(ze.dragging)},[vt,ze.dragging]),tn=Wt(function(an){if(an==="DROP"){vt(ze.dropAnimating);return}vt(ze.userCancel)},[vt,ze.dropAnimating,ze.userCancel]),En=Wt(function(){mt.current&&vt(ze.resting)},[vt,ze.resting]),yn=qt(function(){return{dragging:It,dropping:tn,resting:En}},[It,tn,En]);return yn}var _i=function(he){return he&&he.ownerDocument?he.ownerDocument.defaultView:window};function Do(he){return he instanceof _i(he).HTMLElement}function jo(he,Ce){var ze="["+ta.contextId+'="'+he+'"]',et=Gr(document.querySelectorAll(ze));if(!et.length)return null;var mt=mr(et,function(vt){return vt.getAttribute(ta.draggableId)===Ce});return!mt||!Do(mt)?null:mt}function Ro(he){var Ce=(0,b.useRef)({}),ze=(0,b.useRef)(null),et=(0,b.useRef)(null),mt=(0,b.useRef)(!1),vt=Wt(function(dn,Bn){var dr={id:dn,focus:Bn};return Ce.current[dn]=dr,function(){var si=Ce.current,fi=si[dn];fi!==dr&&delete si[dn]}},[]),wt=Wt(function(dn){var Bn=jo(he,dn);Bn&&Bn!==document.activeElement&&Bn.focus()},[he]),It=Wt(function(dn,Bn){ze.current===dn&&(ze.current=Bn)},[]),tn=Wt(function(){et.current||mt.current&&(et.current=requestAnimationFrame(function(){et.current=null;var dn=ze.current;dn&&wt(dn)}))},[wt]),En=Wt(function(dn){ze.current=null;var Bn=document.activeElement;Bn&&Bn.getAttribute(ta.draggableId)===dn&&(ze.current=dn)},[]);So(function(){return mt.current=!0,function(){mt.current=!1;var dn=et.current;dn&&cancelAnimationFrame(dn)}},[]);var yn=qt(function(){return{register:vt,tryRecordFocus:En,tryRestoreFocusRecorded:tn,tryShiftRecord:It}},[vt,En,tn,It]);return yn}function wa(){var he={draggables:{},droppables:{}},Ce=[];function ze(an){return Ce.push(an),function(){var Bn=Ce.indexOf(an);Bn!==-1&&Ce.splice(Bn,1)}}function et(an){Ce.length&&Ce.forEach(function(dn){return dn(an)})}function mt(an){return he.draggables[an]||null}function vt(an){var dn=mt(an);return dn||Pt(!1),dn}var wt={register:function(dn){he.draggables[dn.descriptor.id]=dn,et({type:"ADDITION",value:dn})},update:function(dn,Bn){var dr=he.draggables[Bn.descriptor.id];dr&&dr.uniqueId===dn.uniqueId&&(delete he.draggables[Bn.descriptor.id],he.draggables[dn.descriptor.id]=dn)},unregister:function(dn){var Bn=dn.descriptor.id,dr=mt(Bn);dr&&dn.uniqueId===dr.uniqueId&&(delete he.draggables[Bn],et({type:"REMOVAL",value:dn}))},getById:vt,findById:mt,exists:function(dn){return!!mt(dn)},getAllByType:function(dn){return Ir(he.draggables).filter(function(Bn){return Bn.descriptor.type===dn})}};function It(an){return he.droppables[an]||null}function tn(an){var dn=It(an);return dn||Pt(!1),dn}var En={register:function(dn){he.droppables[dn.descriptor.id]=dn},unregister:function(dn){var Bn=It(dn.descriptor.id);Bn&&dn.uniqueId===Bn.uniqueId&&delete he.droppables[dn.descriptor.id]},getById:tn,findById:It,exists:function(dn){return!!It(dn)},getAllByType:function(dn){return Ir(he.droppables).filter(function(Bn){return Bn.descriptor.type===dn})}};function yn(){he.draggables={},he.droppables={},Ce.length=0}return{draggable:wt,droppable:En,subscribe:ze,clean:yn}}function da(){var he=qt(wa,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(he.clean)}},[he]),he}var Ua=b.createContext(null),Wo=function(){var he=document.body;return he||Pt(!1),he},To={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Uo=function(Ce){return"rbd-announcement-"+Ce};function Vo(he){var Ce=qt(function(){return Uo(he)},[he]),ze=(0,b.useRef)(null);(0,b.useEffect)(function(){var vt=document.createElement("div");return ze.current=vt,vt.id=Ce,vt.setAttribute("aria-live","assertive"),vt.setAttribute("aria-atomic","true"),(0,ye.Z)(vt.style,To),Wo().appendChild(vt),function(){setTimeout(function(){var tn=Wo();tn.contains(vt)&&tn.removeChild(vt),vt===ze.current&&(ze.current=null)})}},[Ce]);var et=Wt(function(mt){var vt=ze.current;if(vt){vt.textContent=mt;return}},[]);return et}var va=0,aa={separator:"::"};function Oo(){va=0}function Ko(he,Ce){return Ce===void 0&&(Ce=aa),qt(function(){return""+he+Ce.separator+va++},[Ce.separator,he])}function ko(he){var Ce=he.contextId,ze=he.uniqueId;return"rbd-hidden-text-"+Ce+"-"+ze}function ja(he){var Ce=he.contextId,ze=he.text,et=Ko("hidden-text",{separator:"-"}),mt=qt(function(){return ko({contextId:Ce,uniqueId:et})},[et,Ce]);return(0,b.useEffect)(function(){var wt=document.createElement("div");return wt.id=mt,wt.textContent=ze,wt.style.display="none",Wo().appendChild(wt),function(){var tn=Wo();tn.contains(wt)&&tn.removeChild(wt)}},[mt,ze]),mt}var sa=b.createContext(null),Ja={react:"^16.8.5","react-dom":"^16.8.5"},ts=/(\d+)\.(\d+)\.(\d+)/,Cs=function(Ce){var ze=ts.exec(Ce);ze==null&&Pt(!1);var et=Number(ze[1]),mt=Number(ze[2]),vt=Number(ze[3]);return{major:et,minor:mt,patch:vt,raw:Ce}},Go=function(Ce,ze){return ze.major>Ce.major?!0:ze.major<Ce.major?!1:ze.minor>Ce.minor?!0:ze.minor<Ce.minor?!1:ze.patch>=Ce.patch},Rl=function(he,Ce){var ze=Cs(he),et=Cs(Ce);Go(ze,et)},ns=`
|
|
|
We expect a html5 doctype: <!doctype html>
|
|
|
This is to ensure consistent browser layout and measurement
|
|
|
|
|
|
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
|
|
|
`,ms=function(he){var Ce=he.doctype;Ce&&(Ce.name.toLowerCase(),Ce.publicId)};function vs(he){}function Oa(he,Ce){}function Xo(){Oa(function(){Rl(Ja.react,b.version),ms(document)},[])}function rs(he){var Ce=(0,b.useRef)(he);return(0,b.useEffect)(function(){Ce.current=he}),Ce}function Xs(){var he=null;function Ce(){return!!he}function ze(wt){return wt===he}function et(wt){he&&Pt(!1);var It={abandon:wt};return he=It,It}function mt(){he||Pt(!1),he=null}function vt(){he&&(he.abandon(),mt())}return{isClaimed:Ce,isActive:ze,claim:et,release:mt,tryAbandon:vt}}var Os=9,Bs=13,bl=27,Fl=32,Xl=33,Yl=34,vu=35,oo=36,Ao=37,na=38,fa=39,Ba=40,pa,ws=(pa={},pa[Bs]=!0,pa[Os]=!0,pa),za=function(he){ws[he.keyCode]&&he.preventDefault()},Ms=function(){var he="visibilitychange";if(typeof document=="undefined")return he;var Ce=[he,"ms"+he,"webkit"+he,"moz"+he,"o"+he],ze=mr(Ce,function(et){return"on"+et in document});return ze||he}(),$l=0,xl=5;function il(he,Ce){return Math.abs(Ce.x-he.x)>=xl||Math.abs(Ce.y-he.y)>=xl}var jl={type:"IDLE"};function ol(he){var Ce=he.cancel,ze=he.completed,et=he.getPhase,mt=he.setPhase;return[{eventName:"mousemove",fn:function(wt){var It=wt.button,tn=wt.clientX,En=wt.clientY;if(It===$l){var yn={x:tn,y:En},an=et();if(an.type==="DRAGGING"){wt.preventDefault(),an.actions.move(yn);return}an.type!=="PENDING"&&Pt(!1);var dn=an.point;if(il(dn,yn)){wt.preventDefault();var Bn=an.actions.fluidLift(yn);mt({type:"DRAGGING",actions:Bn})}}}},{eventName:"mouseup",fn:function(wt){var It=et();if(It.type!=="DRAGGING"){Ce();return}wt.preventDefault(),It.actions.drop({shouldBlockNextClick:!0}),ze()}},{eventName:"mousedown",fn:function(wt){et().type==="DRAGGING"&&wt.preventDefault(),Ce()}},{eventName:"keydown",fn:function(wt){var It=et();if(It.type==="PENDING"){Ce();return}if(wt.keyCode===bl){wt.preventDefault(),Ce();return}za(wt)}},{eventName:"resize",fn:Ce},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){et().type==="PENDING"&&Ce()}},{eventName:"webkitmouseforcedown",fn:function(wt){var It=et();if(It.type==="IDLE"&&Pt(!1),It.actions.shouldRespectForcePress()){Ce();return}wt.preventDefault()}},{eventName:Ms,fn:Ce}]}function gu(he){var Ce=(0,b.useRef)(jl),ze=(0,b.useRef)(yr),et=qt(function(){return{eventName:"mousedown",fn:function(an){if(!an.defaultPrevented&&an.button===$l&&!(an.ctrlKey||an.metaKey||an.shiftKey||an.altKey)){var dn=he.findClosestDraggableId(an);if(dn){var Bn=he.tryGetLock(dn,wt,{sourceEvent:an});if(Bn){an.preventDefault();var dr={x:an.clientX,y:an.clientY};ze.current(),En(Bn,dr)}}}}}},[he]),mt=qt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(an){if(!an.defaultPrevented){var dn=he.findClosestDraggableId(an);if(dn){var Bn=he.findOptionsForDraggable(dn);Bn&&(Bn.shouldRespectForcePress||he.canGetLock(dn)&&an.preventDefault())}}}}},[he]),vt=Wt(function(){var an={passive:!1,capture:!0};ze.current=St(window,[mt,et],an)},[mt,et]),wt=Wt(function(){var yn=Ce.current;yn.type!=="IDLE"&&(Ce.current=jl,ze.current(),vt())},[vt]),It=Wt(function(){var yn=Ce.current;wt(),yn.type==="DRAGGING"&&yn.actions.cancel({shouldBlockNextClick:!0}),yn.type==="PENDING"&&yn.actions.abort()},[wt]),tn=Wt(function(){var an={capture:!0,passive:!1},dn=ol({cancel:It,completed:wt,getPhase:function(){return Ce.current},setPhase:function(dr){Ce.current=dr}});ze.current=St(window,dn,an)},[It,wt]),En=Wt(function(an,dn){Ce.current.type!=="IDLE"&&Pt(!1),Ce.current={type:"PENDING",point:dn,actions:an},tn()},[tn]);So(function(){return vt(),function(){ze.current()}},[vt])}var Rs;function yu(){}var Wu=(Rs={},Rs[Yl]=!0,Rs[Xl]=!0,Rs[oo]=!0,Rs[vu]=!0,Rs);function Ys(he,Ce){function ze(){Ce(),he.cancel()}function et(){Ce(),he.drop()}return[{eventName:"keydown",fn:function(vt){if(vt.keyCode===bl){vt.preventDefault(),ze();return}if(vt.keyCode===Fl){vt.preventDefault(),et();return}if(vt.keyCode===Ba){vt.preventDefault(),he.moveDown();return}if(vt.keyCode===na){vt.preventDefault(),he.moveUp();return}if(vt.keyCode===fa){vt.preventDefault(),he.moveRight();return}if(vt.keyCode===Ao){vt.preventDefault(),he.moveLeft();return}if(Wu[vt.keyCode]){vt.preventDefault();return}za(vt)}},{eventName:"mousedown",fn:ze},{eventName:"mouseup",fn:ze},{eventName:"click",fn:ze},{eventName:"touchstart",fn:ze},{eventName:"resize",fn:ze},{eventName:"wheel",fn:ze,options:{passive:!0}},{eventName:Ms,fn:ze}]}function bu(he){var Ce=(0,b.useRef)(yu),ze=qt(function(){return{eventName:"keydown",fn:function(vt){if(vt.defaultPrevented||vt.keyCode!==Fl)return;var wt=he.findClosestDraggableId(vt);if(!wt)return;var It=he.tryGetLock(wt,yn,{sourceEvent:vt});if(!It)return;vt.preventDefault();var tn=!0,En=It.snapLift();Ce.current();function yn(){tn||Pt(!1),tn=!1,Ce.current(),et()}Ce.current=St(window,Ys(En,yn),{capture:!0,passive:!1})}}},[he]),et=Wt(function(){var vt={passive:!1,capture:!0};Ce.current=St(window,[ze],vt)},[ze]);So(function(){return et(),function(){Ce.current()}},[et])}var xu={type:"IDLE"},Cu=120,zl=.15;function oc(he){var Ce=he.cancel,ze=he.getPhase;return[{eventName:"orientationchange",fn:Ce},{eventName:"resize",fn:Ce},{eventName:"contextmenu",fn:function(mt){mt.preventDefault()}},{eventName:"keydown",fn:function(mt){if(ze().type!=="DRAGGING"){Ce();return}mt.keyCode===bl&&mt.preventDefault(),Ce()}},{eventName:Ms,fn:Ce}]}function ac(he){var Ce=he.cancel,ze=he.completed,et=he.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(vt){var wt=et();if(wt.type!=="DRAGGING"){Ce();return}wt.hasMoved=!0;var It=vt.touches[0],tn=It.clientX,En=It.clientY,yn={x:tn,y:En};vt.preventDefault(),wt.actions.move(yn)}},{eventName:"touchend",fn:function(vt){var wt=et();if(wt.type!=="DRAGGING"){Ce();return}vt.preventDefault(),wt.actions.drop({shouldBlockNextClick:!0}),ze()}},{eventName:"touchcancel",fn:function(vt){if(et().type!=="DRAGGING"){Ce();return}vt.preventDefault(),Ce()}},{eventName:"touchforcechange",fn:function(vt){var wt=et();wt.type==="IDLE"&&Pt(!1);var It=vt.touches[0];if(It){var tn=It.force>=zl;if(tn){var En=wt.actions.shouldRespectForcePress();if(wt.type==="PENDING"){En&&Ce();return}if(En){if(wt.hasMoved){vt.preventDefault();return}Ce();return}vt.preventDefault()}}}},{eventName:Ms,fn:Ce}]}function Wl(he){var Ce=(0,b.useRef)(xu),ze=(0,b.useRef)(yr),et=Wt(function(){return Ce.current},[]),mt=Wt(function(Bn){Ce.current=Bn},[]),vt=qt(function(){return{eventName:"touchstart",fn:function(Bn){if(!Bn.defaultPrevented){var dr=he.findClosestDraggableId(Bn);if(dr){var ei=he.tryGetLock(dr,It,{sourceEvent:Bn});if(ei){var si=Bn.touches[0],fi=si.clientX,Ti=si.clientY,Wi={x:fi,y:Ti};ze.current(),an(ei,Wi)}}}}}},[he]),wt=Wt(function(){var Bn={capture:!0,passive:!1};ze.current=St(window,[vt],Bn)},[vt]),It=Wt(function(){var dn=Ce.current;dn.type!=="IDLE"&&(dn.type==="PENDING"&&clearTimeout(dn.longPressTimerId),mt(xu),ze.current(),wt())},[wt,mt]),tn=Wt(function(){var dn=Ce.current;It(),dn.type==="DRAGGING"&&dn.actions.cancel({shouldBlockNextClick:!0}),dn.type==="PENDING"&&dn.actions.abort()},[It]),En=Wt(function(){var Bn={capture:!0,passive:!1},dr={cancel:tn,completed:It,getPhase:et},ei=St(window,ac(dr),Bn),si=St(window,oc(dr),Bn);ze.current=function(){ei(),si()}},[tn,et,It]),yn=Wt(function(){var Bn=et();Bn.type!=="PENDING"&&Pt(!1);var dr=Bn.actions.fluidLift(Bn.point);mt({type:"DRAGGING",actions:dr,hasMoved:!1})},[et,mt]),an=Wt(function(Bn,dr){et().type!=="IDLE"&&Pt(!1);var ei=setTimeout(yn,Cu);mt({type:"PENDING",point:dr,actions:Bn,longPressTimerId:ei}),En()},[En,et,mt,yn]);So(function(){return wt(),function(){ze.current();var dr=et();dr.type==="PENDING"&&(clearTimeout(dr.longPressTimerId),mt(xu))}},[et,wt,mt]),So(function(){var Bn=St(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Bn},[])}function wu(he){}var Hl={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Jl(he,Ce){if(Ce==null)return!1;var ze=!!Hl[Ce.tagName.toLowerCase()];if(ze)return!0;var et=Ce.getAttribute("contenteditable");return et==="true"||et===""?!0:Ce===he?!1:Jl(he,Ce.parentElement)}function Zl(he,Ce){var ze=Ce.target;return Do(ze)?Jl(he,ze):!1}var Su=function(he){return mn(he.getBoundingClientRect()).center};function Hu(he){return he instanceof _i(he).Element}var Eu=function(){var he="matches";if(typeof document=="undefined")return he;var Ce=[he,"msMatchesSelector","webkitMatchesSelector"],ze=mr(Ce,function(et){return et in Element.prototype});return ze||he}();function Ql(he,Ce){return he==null?null:he[Eu](Ce)?he:Ql(he.parentElement,Ce)}function sc(he,Ce){return he.closest?he.closest(Ce):Ql(he,Ce)}function ql(he){return"["+ta.contextId+'="'+he+'"]'}function al(he,Ce){var ze=Ce.target;if(!Hu(ze))return null;var et=ql(he),mt=sc(ze,et);return!mt||!Do(mt)?null:mt}function Cl(he,Ce){var ze=al(he,Ce);return ze?ze.getAttribute(ta.draggableId):null}function Au(he,Ce){var ze="["+Li.contextId+'="'+he+'"]',et=Gr(document.querySelectorAll(ze)),mt=mr(et,function(vt){return vt.getAttribute(Li.id)===Ce});return!mt||!Do(mt)?null:mt}function Iu(he){he.preventDefault()}function eu(he){var Ce=he.expected,ze=he.phase,et=he.isLockActive,mt=he.shouldWarn;return!(!et()||Ce!==ze)}function Po(he){var Ce=he.lockAPI,ze=he.store,et=he.registry,mt=he.draggableId;if(Ce.isClaimed())return!1;var vt=et.draggable.findById(mt);return!(!vt||!vt.options.isEnabled||!qn(ze.getState(),mt))}function No(he){var Ce=he.lockAPI,ze=he.contextId,et=he.store,mt=he.registry,vt=he.draggableId,wt=he.forceSensorStop,It=he.sourceEvent,tn=Po({lockAPI:Ce,store:et,registry:mt,draggableId:vt});if(!tn)return null;var En=mt.draggable.getById(vt),yn=Au(ze,En.descriptor.id);if(!yn||It&&!En.options.canDragInteractiveElements&&Zl(yn,It))return null;var an=Ce.claim(wt||yr),dn="PRE_DRAG";function Bn(){return En.options.shouldRespectForcePress}function dr(){return Ce.isActive(an)}function ei(yo,Mo){eu({expected:yo,phase:dn,isLockActive:dr,shouldWarn:!0})&&et.dispatch(Mo())}var si=ei.bind(null,"DRAGGING");function fi(yo){function Mo(){Ce.release(),dn="COMPLETED"}dn!=="PRE_DRAG"&&(Mo(),dn!=="PRE_DRAG"&&Pt(!1)),et.dispatch(Ll(yo.liftActionArgs)),dn="DRAGGING";function La(zo,Na){if(Na===void 0&&(Na={shouldBlockNextClick:!1}),yo.cleanup(),Na.shouldBlockNextClick){var is=St(window,[{eventName:"click",fn:Iu,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(is)}Mo(),et.dispatch(Ru({reason:zo}))}return(0,ye.Z)({isActive:function(){return eu({expected:"DRAGGING",phase:dn,isLockActive:dr,shouldWarn:!1})},shouldRespectForcePress:Bn,drop:function(Na){return La("DROP",Na)},cancel:function(Na){return La("CANCEL",Na)}},yo.actions)}function Ti(yo){var Mo=er(function(zo){si(function(){return Xu({client:zo})})}),La=fi({liftActionArgs:{id:vt,clientSelection:yo,movementMode:"FLUID"},cleanup:function(){return Mo.cancel()},actions:{move:Mo}});return(0,ye.Z)({},La,{move:Mo})}function Wi(){var yo={moveUp:function(){return si(ku)},moveRight:function(){return si(dl)},moveDown:function(){return si(Mu)},moveLeft:function(){return si(Xi)}};return fi({liftActionArgs:{id:vt,clientSelection:Su(yn),movementMode:"SNAP"},cleanup:yr,actions:yo})}function Ui(){var yo=eu({expected:"PRE_DRAG",phase:dn,isLockActive:dr,shouldWarn:!0});yo&&Ce.release()}var Eo={isActive:function(){return eu({expected:"PRE_DRAG",phase:dn,isLockActive:dr,shouldWarn:!1})},shouldRespectForcePress:Bn,fluidLift:Ti,snapLift:Wi,abort:Ui};return Eo}var _a=[gu,bu,Wl];function ss(he){var Ce=he.contextId,ze=he.store,et=he.registry,mt=he.customSensors,vt=he.enableDefaultSensors,wt=[].concat(vt?_a:[],mt||[]),It=(0,b.useState)(function(){return Xs()})[0],tn=Wt(function(Ti,Wi){Ti.isDragging&&!Wi.isDragging&&It.tryAbandon()},[It]);So(function(){var Ti=ze.getState(),Wi=ze.subscribe(function(){var Ui=ze.getState();tn(Ti,Ui),Ti=Ui});return Wi},[It,ze,tn]),So(function(){return It.tryAbandon},[It.tryAbandon]);var En=Wt(function(fi){return Po({lockAPI:It,registry:et,store:ze,draggableId:fi})},[It,et,ze]),yn=Wt(function(fi,Ti,Wi){return No({lockAPI:It,registry:et,contextId:Ce,store:ze,draggableId:fi,forceSensorStop:Ti,sourceEvent:Wi&&Wi.sourceEvent?Wi.sourceEvent:null})},[Ce,It,et,ze]),an=Wt(function(fi){return Cl(Ce,fi)},[Ce]),dn=Wt(function(fi){var Ti=et.draggable.findById(fi);return Ti?Ti.options:null},[et.draggable]),Bn=Wt(function(){It.isClaimed()&&(It.tryAbandon(),ze.getState().phase!=="IDLE"&&ze.dispatch(_s()))},[It,ze]),dr=Wt(It.isClaimed,[It]),ei=qt(function(){return{canGetLock:En,tryGetLock:yn,findClosestDraggableId:an,findOptionsForDraggable:dn,tryReleaseLock:Bn,isLockClaimed:dr}},[En,yn,an,dn,Bn,dr]);wu(wt);for(var si=0;si<wt.length;si++)wt[si](ei)}var Va=function(Ce){return{onBeforeCapture:Ce.onBeforeCapture,onBeforeDragStart:Ce.onBeforeDragStart,onDragStart:Ce.onDragStart,onDragEnd:Ce.onDragEnd,onDragUpdate:Ce.onDragUpdate}};function Ls(he){return he.current||Pt(!1),he.current}function $s(he){var Ce=he.contextId,ze=he.setCallbacks,et=he.sensors,mt=he.nonce,vt=he.dragHandleUsageInstructions,wt=(0,b.useRef)(null);Xo();var It=rs(he),tn=Wt(function(){return Va(It.current)},[It]),En=Vo(Ce),yn=ja({contextId:Ce,text:vt}),an=zi(Ce,mt),dn=Wt(function(zo){Ls(wt).dispatch(zo)},[]),Bn=qt(function(){return(0,De.DE)({publishWhileDragging:cu,updateDroppableScroll:Gu,updateDroppableIsEnabled:Nu,updateDroppableIsCombineEnabled:Nl,collectionStarting:el},dn)},[dn]),dr=da(),ei=qt(function(){return nr(dr,Bn)},[dr,Bn]),si=qt(function(){return xo((0,ye.Z)({scrollWindow:Kr,scrollDroppable:ei.scrollDroppable},(0,De.DE)({move:Xu},dn)))},[ei.scrollDroppable,dn]),fi=Ro(Ce),Ti=qt(function(){return sn({announce:En,autoScroller:si,dimensionMarshal:ei,focusMarshal:fi,getResponders:tn,styleMarshal:an})},[En,si,ei,fi,tn,an]);wt.current=Ti;var Wi=Wt(function(){var zo=Ls(wt),Na=zo.getState();Na.phase!=="IDLE"&&zo.dispatch(_s())},[]),Ui=Wt(function(){var zo=Ls(wt).getState();return zo.isDragging||zo.phase==="DROP_ANIMATING"},[]),Eo=qt(function(){return{isDragging:Ui,tryAbort:Wi}},[Ui,Wi]);ze(Eo);var yo=Wt(function(zo){return qn(Ls(wt).getState(),zo)},[]),Mo=Wt(function(){return ks(Ls(wt).getState())},[]),La=qt(function(){return{marshal:ei,focus:fi,contextId:Ce,canLift:yo,isMovementAllowed:Mo,dragHandleUsageInstructionsId:yn,registry:dr}},[Ce,ei,yn,fi,yo,Mo,dr]);return ss({contextId:Ce,store:Ti,registry:dr,customSensors:et,enableDefaultSensors:he.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return Wi},[Wi]),b.createElement(sa.Provider,{value:La},b.createElement(ue,{context:Ua,store:Ti},he.children))}var Ns=0;function wl(){Ns=0}function Du(){return qt(function(){return""+Ns++},[])}function Mc(){wl(),Oo()}function tu(he){var Ce=Du(),ze=he.dragHandleUsageInstructions||Ut.dragHandleUsageInstructions;return b.createElement(xt,null,function(et){return b.createElement($s,{nonce:he.nonce,contextId:Ce,setCallbacks:et,dragHandleUsageInstructions:ze,enableDefaultSensors:he.enableDefaultSensors,sensors:he.sensors,onBeforeCapture:he.onBeforeCapture,onBeforeDragStart:he.onBeforeDragStart,onDragStart:he.onDragStart,onDragUpdate:he.onDragUpdate,onDragEnd:he.onDragEnd},he.children)})}var Zu=function(Ce){return function(ze){return Ce===ze}},Uu=Zu("scroll"),Rc=Zu("auto"),Fc=Zu("visible"),xc=function(Ce,ze){return ze(Ce.overflowX)||ze(Ce.overflowY)},ha=function(Ce,ze){return ze(Ce.overflowX)&&ze(Ce.overflowY)},Cc=function(Ce){var ze=window.getComputedStyle(Ce),et={overflowX:ze.overflowX,overflowY:ze.overflowY};return xc(et,Uu)||xc(et,Rc)},lc=function(){return!1;var Ce,ze,et,mt},nu=function he(Ce){return Ce==null?null:Ce===document.body?lc()?Ce:null:Ce===document.documentElement?null:Cc(Ce)?Ce:he(Ce.parentElement)},Js=function(he){if(he)var Ce=nu(he.parentElement)},ru=function(he){return{x:he.scrollLeft,y:he.scrollTop}},uc=function he(Ce){if(!Ce)return!1;var ze=window.getComputedStyle(Ce);return ze.position==="fixed"?!0:he(Ce.parentElement)},wc=function(he){var Ce=nu(he),ze=uc(he);return{closestScrollable:Ce,isFixedOnPage:ze}},Sc=function(he){var Ce=he.descriptor,ze=he.isEnabled,et=he.isCombineEnabled,mt=he.isFixedOnPage,vt=he.direction,wt=he.client,It=he.page,tn=he.closest,En=function(){if(!tn)return null;var Bn=tn.scrollSize,dr=tn.client,ei=Dn({scrollHeight:Bn.scrollHeight,scrollWidth:Bn.scrollWidth,height:dr.paddingBox.height,width:dr.paddingBox.width});return{pageMarginBox:tn.page.marginBox,frameClient:dr,scrollSize:Bn,shouldClipSubject:tn.shouldClipSubject,scroll:{initial:tn.scroll,current:tn.scroll,max:ei,diff:{value:Qt,displacement:Qt}}}}(),yn=vt==="vertical"?On:$n,an=Tr({page:It,withPlaceholder:null,axis:yn,frame:En}),dn={descriptor:Ce,isCombineEnabled:et,isFixedOnPage:mt,axis:yn,isEnabled:ze,client:wt,page:It,frame:En,subject:an};return dn},Ec=function(Ce,ze){var et=Wn(Ce);if(!ze||Ce!==ze)return et;var mt=et.paddingBox.top-ze.scrollTop,vt=et.paddingBox.left-ze.scrollLeft,wt=mt+ze.scrollHeight,It=vt+ze.scrollWidth,tn={top:mt,right:It,bottom:wt,left:vt},En=Et(tn,et.border),yn=Nn({borderBox:En,margin:et.margin,border:et.border,padding:et.padding});return yn},Ac=function(he){var Ce=he.ref,ze=he.descriptor,et=he.env,mt=he.windowScroll,vt=he.direction,wt=he.isDropDisabled,It=he.isCombineEnabled,tn=he.shouldClipSubject,En=et.closestScrollable,yn=Ec(Ce,En),an=Yn(yn,mt),dn=function(){if(!En)return null;var dr=Wn(En),ei={scrollHeight:En.scrollHeight,scrollWidth:En.scrollWidth};return{client:dr,page:Yn(dr,mt),scroll:ru(En),scrollSize:ei,shouldClipSubject:tn}}(),Bn=Sc({descriptor:ze,isEnabled:!wt,isCombineEnabled:It,isFixedOnPage:et.isFixedOnPage,direction:vt,client:yn,page:an,closest:dn});return Bn},Ic={passive:!1},jc={passive:!0},_u=function(he){return he.shouldPublishImmediately?Ic:jc};function Pu(he){var Ce=(0,b.useContext)(he);return Ce||Pt(!1),Ce}var Ho=function(Ce){return Ce&&Ce.env.closestScrollable||null};function Dc(he){var Ce=(0,b.useRef)(null),ze=Pu(sa),et=Ko("droppable"),mt=ze.registry,vt=ze.marshal,wt=rs(he),It=qt(function(){return{id:he.droppableId,type:he.type,mode:he.mode}},[he.droppableId,he.mode,he.type]),tn=(0,b.useRef)(It),En=qt(function(){return zn(function(Ui,Eo){Ce.current||Pt(!1);var yo={x:Ui,y:Eo};vt.updateDroppableScroll(It.id,yo)})},[It.id,vt]),yn=Wt(function(){var Ui=Ce.current;return!Ui||!Ui.env.closestScrollable?Qt:ru(Ui.env.closestScrollable)},[]),an=Wt(function(){var Ui=yn();En(Ui.x,Ui.y)},[yn,En]),dn=qt(function(){return er(an)},[an]),Bn=Wt(function(){var Ui=Ce.current,Eo=Ho(Ui);Ui&&Eo||Pt(!1);var yo=Ui.scrollOptions;if(yo.shouldPublishImmediately){an();return}dn()},[dn,an]),dr=Wt(function(Ui,Eo){Ce.current&&Pt(!1);var yo=wt.current,Mo=yo.getDroppableRef();Mo||Pt(!1);var La=wc(Mo),zo={ref:Mo,descriptor:It,env:La,scrollOptions:Eo};Ce.current=zo;var Na=Ac({ref:Mo,descriptor:It,env:La,windowScroll:Ui,direction:yo.direction,isDropDisabled:yo.isDropDisabled,isCombineEnabled:yo.isCombineEnabled,shouldClipSubject:!yo.ignoreContainerClipping}),is=La.closestScrollable;return is&&(is.setAttribute(Oi.contextId,ze.contextId),is.addEventListener("scroll",Bn,_u(zo.scrollOptions))),Na},[ze.contextId,It,Bn,wt]),ei=Wt(function(){var Ui=Ce.current,Eo=Ho(Ui);return Ui&&Eo||Pt(!1),ru(Eo)},[]),si=Wt(function(){var Ui=Ce.current;Ui||Pt(!1);var Eo=Ho(Ui);Ce.current=null,Eo&&(dn.cancel(),Eo.removeAttribute(Oi.contextId),Eo.removeEventListener("scroll",Bn,_u(Ui.scrollOptions)))},[Bn,dn]),fi=Wt(function(Ui){var Eo=Ce.current;Eo||Pt(!1);var yo=Ho(Eo);yo||Pt(!1),yo.scrollTop+=Ui.y,yo.scrollLeft+=Ui.x},[]),Ti=qt(function(){return{getDimensionAndWatchScroll:dr,getScrollWhileDragging:ei,dragStopped:si,scroll:fi}},[si,dr,ei,fi]),Wi=qt(function(){return{uniqueId:et,descriptor:It,callbacks:Ti}},[Ti,It,et]);So(function(){return tn.current=Wi.descriptor,mt.droppable.register(Wi),function(){Ce.current&&si(),mt.droppable.unregister(Wi)}},[Ti,It,si,Wi,vt,mt.droppable]),So(function(){Ce.current&&vt.updateDroppableIsEnabled(tn.current.id,!he.isDropDisabled)},[he.isDropDisabled,vt]),So(function(){Ce.current&&vt.updateDroppableIsCombineEnabled(tn.current.id,he.isCombineEnabled)},[he.isCombineEnabled,vt])}function cc(){}var Ul={width:0,height:0,margin:sr},zc=function(Ce){var ze=Ce.isAnimatingOpenOnMount,et=Ce.placeholder,mt=Ce.animate;return ze||mt==="close"?Ul:{height:et.client.borderBox.height,width:et.client.borderBox.width,margin:et.client.margin}},Vu=function(Ce){var ze=Ce.isAnimatingOpenOnMount,et=Ce.placeholder,mt=Ce.animate,vt=zc({isAnimatingOpenOnMount:ze,placeholder:et,animate:mt});return{display:et.display,boxSizing:"border-box",width:vt.width,height:vt.height,marginTop:vt.margin.top,marginRight:vt.margin.right,marginBottom:vt.margin.bottom,marginLeft:vt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:mt!=="none"?Ps.placeholder:null}};function Wc(he){var Ce=(0,b.useRef)(null),ze=Wt(function(){Ce.current&&(clearTimeout(Ce.current),Ce.current=null)},[]),et=he.animate,mt=he.onTransitionEnd,vt=he.onClose,wt=he.contextId,It=(0,b.useState)(he.animate==="open"),tn=It[0],En=It[1];(0,b.useEffect)(function(){return tn?et!=="open"?(ze(),En(!1),cc):Ce.current?cc:(Ce.current=setTimeout(function(){Ce.current=null,En(!1)}),ze):cc},[et,tn,ze]);var yn=Wt(function(dn){dn.propertyName==="height"&&(mt(),et==="close"&&vt())},[et,vt,mt]),an=Vu({isAnimatingOpenOnMount:tn,animate:he.animate,placeholder:he.placeholder});return b.createElement(he.placeholder.tagName,{style:an,"data-rbd-placeholder-context-id":wt,onTransitionEnd:yn,ref:he.innerRef})}var Sa=b.memo(Wc),dc=b.createContext(null);function Pc(he){he&&Do(he)||Pt(!1)}function fc(he){return typeof he=="boolean"}function iu(he,Ce){Ce.forEach(function(ze){return ze(he)})}var a=[function(Ce){var ze=Ce.props;ze.droppableId||Pt(!1),typeof ze.droppableId!="string"&&Pt(!1)},function(Ce){var ze=Ce.props;fc(ze.isDropDisabled)||Pt(!1),fc(ze.isCombineEnabled)||Pt(!1),fc(ze.ignoreContainerClipping)||Pt(!1)},function(Ce){var ze=Ce.getDroppableRef;Pc(ze())}],y=[function(Ce){var ze=Ce.props,et=Ce.getPlaceholderRef;if(ze.placeholder)var mt=et()}],ee=[function(Ce){var ze=Ce.props;ze.renderClone||Pt(!1)},function(Ce){var ze=Ce.getPlaceholderRef;ze()&&Pt(!1)}];function z(he){Oa(function(){iu(he,a),he.props.mode==="standard"&&iu(he,y),he.props.mode==="virtual"&&iu(he,ee)})}var ce=function(he){(0,oe.Z)(Ce,he);function Ce(){for(var et,mt=arguments.length,vt=new Array(mt),wt=0;wt<mt;wt++)vt[wt]=arguments[wt];return et=he.call.apply(he,[this].concat(vt))||this,et.state={isVisible:!!et.props.on,data:et.props.on,animate:et.props.shouldAnimate&&et.props.on?"open":"none"},et.onClose=function(){et.state.animate==="close"&&et.setState({isVisible:!1})},et}Ce.getDerivedStateFromProps=function(mt,vt){return mt.shouldAnimate?mt.on?{isVisible:!0,data:mt.on,animate:"open"}:vt.isVisible?{isVisible:!0,data:vt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!mt.on,data:mt.on,animate:"none"}};var ze=Ce.prototype;return ze.render=function(){if(!this.state.isVisible)return null;var mt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(mt)},Ce}(b.PureComponent),Ze={dragging:5e3,dropAnimating:4500},rt=function(Ce,ze){return ze?Ps.drop(ze.duration):Ce?Ps.snap:Ps.fluid},ut=function(Ce,ze){return Ce?ze?pl.opacity.drop:pl.opacity.combining:null},yt=function(Ce){return Ce.forceShouldAnimate!=null?Ce.forceShouldAnimate:Ce.mode==="SNAP"};function At(he){var Ce=he.dimension,ze=Ce.client,et=he.offset,mt=he.combineWith,vt=he.dropping,wt=!!mt,It=yt(he),tn=!!vt,En=tn?Gs.drop(et,wt):Gs.moveTo(et),yn={position:"fixed",top:ze.marginBox.top,left:ze.marginBox.left,boxSizing:"border-box",width:ze.borderBox.width,height:ze.borderBox.height,transition:rt(It,vt),transform:En,opacity:ut(wt,tn),zIndex:tn?Ze.dropAnimating:Ze.dragging,pointerEvents:"none"};return yn}function ln(he){return{transform:Gs.moveTo(he.offset),transition:he.shouldAnimateDisplacement?null:"none"}}function Sn(he){return he.type==="DRAGGING"?At(he):ln(he)}function rr(he,Ce,ze){ze===void 0&&(ze=Qt);var et=window.getComputedStyle(Ce),mt=Ce.getBoundingClientRect(),vt=hr(mt,et),wt=Yn(vt,ze),It={client:vt,tagName:Ce.tagName.toLowerCase(),display:et.display},tn={x:vt.marginBox.width,y:vt.marginBox.height},En={descriptor:he,placeholder:It,displaceBy:tn,client:vt,page:wt};return En}function Vn(he){var Ce=Ko("draggable"),ze=he.descriptor,et=he.registry,mt=he.getDraggableRef,vt=he.canDragInteractiveElements,wt=he.shouldRespectForcePress,It=he.isEnabled,tn=qt(function(){return{canDragInteractiveElements:vt,shouldRespectForcePress:wt,isEnabled:It}},[vt,It,wt]),En=Wt(function(Bn){var dr=mt();return dr||Pt(!1),rr(ze,dr,Bn)},[ze,mt]),yn=qt(function(){return{uniqueId:Ce,descriptor:ze,options:tn,getDimension:En}},[ze,En,tn,Ce]),an=(0,b.useRef)(yn),dn=(0,b.useRef)(!0);So(function(){return et.draggable.register(an.current),function(){return et.draggable.unregister(an.current)}},[et.draggable]),So(function(){if(dn.current){dn.current=!1;return}var Bn=an.current;an.current=yn,et.draggable.update(yn,Bn)},[yn,et.draggable])}function Lr(he,Ce,ze){Oa(function(){function et(vt){return"Draggable[id: "+vt+"]: "}var mt=he.draggableId;mt||Pt(!1),typeof mt!="string"&&Pt(!1),vr(he.index)||Pt(!1),he.mapped.type!=="DRAGGING"&&(Pc(ze()),he.isEnabled&&(jo(Ce,mt)||Pt(!1)))})}function Ur(he){}function ii(he){he.preventDefault()}function vi(he){var Ce=(0,b.useRef)(null),ze=Wt(function(zo){Ce.current=zo},[]),et=Wt(function(){return Ce.current},[]),mt=Pu(sa),vt=mt.contextId,wt=mt.dragHandleUsageInstructionsId,It=mt.registry,tn=Pu(dc),En=tn.type,yn=tn.droppableId,an=qt(function(){return{id:he.draggableId,index:he.index,type:En,droppableId:yn}},[he.draggableId,he.index,En,yn]),dn=he.children,Bn=he.draggableId,dr=he.isEnabled,ei=he.shouldRespectForcePress,si=he.canDragInteractiveElements,fi=he.isClone,Ti=he.mapped,Wi=he.dropAnimationFinished;if(Lr(he,vt,et),Ur(fi),!fi){var Ui=qt(function(){return{descriptor:an,registry:It,getDraggableRef:et,canDragInteractiveElements:si,shouldRespectForcePress:ei,isEnabled:dr}},[an,It,et,si,ei,dr]);Vn(Ui)}var Eo=qt(function(){return dr?{tabIndex:0,role:"button","aria-describedby":wt,"data-rbd-drag-handle-draggable-id":Bn,"data-rbd-drag-handle-context-id":vt,draggable:!1,onDragStart:ii}:null},[vt,wt,Bn,dr]),yo=Wt(function(zo){Ti.type==="DRAGGING"&&Ti.dropping&&zo.propertyName==="transform"&&Wi()},[Wi,Ti]),Mo=qt(function(){var zo=Sn(Ti),Na=Ti.type==="DRAGGING"&&Ti.dropping?yo:null,is={innerRef:ze,draggableProps:{"data-rbd-draggable-context-id":vt,"data-rbd-draggable-id":Bn,style:zo,onTransitionEnd:Na},dragHandleProps:Eo};return is},[vt,Eo,Bn,Ti,yo,ze]),La=qt(function(){return{draggableId:an.id,type:an.type,source:{index:an.index,droppableId:an.droppableId}}},[an.droppableId,an.id,an.index,an.type]);return dn(Mo,Ti.snapshot,La)}var Pi=function(he,Ce){return he===Ce},hi=function(he){var Ce=he.combine,ze=he.destination;return ze?ze.droppableId:Ce?Ce.droppableId:null},Mi=function(Ce){return Ce.combine?Ce.combine.draggableId:null},to=function(Ce){return Ce.at&&Ce.at.type==="COMBINE"?Ce.at.combine.draggableId:null};function Yi(){var he=zn(function(mt,vt){return{x:mt,y:vt}}),Ce=zn(function(mt,vt,wt,It,tn){return{isDragging:!0,isClone:vt,isDropAnimating:!!tn,dropAnimation:tn,mode:mt,draggingOver:wt,combineWith:It,combineTargetFor:null}}),ze=zn(function(mt,vt,wt,It,tn,En,yn){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:tn,combineWith:En,mode:vt,offset:mt,dimension:wt,forceShouldAnimate:yn,snapshot:Ce(vt,It,tn,En,null)}}}),et=function(vt,wt){if(vt.isDragging){if(vt.critical.draggable.id!==wt.draggableId)return null;var It=vt.current.client.offset,tn=vt.dimensions.draggables[wt.draggableId],En=la(vt.impact),yn=to(vt.impact),an=vt.forceShouldAnimate;return ze(he(It.x,It.y),vt.movementMode,tn,wt.isClone,En,yn,an)}if(vt.phase==="DROP_ANIMATING"){var dn=vt.completed;if(dn.result.draggableId!==wt.draggableId)return null;var Bn=wt.isClone,dr=vt.dimensions.draggables[wt.draggableId],ei=dn.result,si=ei.mode,fi=hi(ei),Ti=Mi(ei),Wi=vt.dropDuration,Ui={duration:Wi,curve:kl.drop,moveTo:vt.newHomeClientOffset,opacity:Ti?pl.opacity.drop:null,scale:Ti?pl.scale.drop:null};return{mapped:{type:"DRAGGING",offset:vt.newHomeClientOffset,dimension:dr,dropping:Ui,draggingOver:fi,combineWith:Ti,mode:si,forceShouldAnimate:null,snapshot:Ce(si,Bn,fi,Ti,Ui)}}}return null};return et}function Io(he){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:he,combineWith:null}}var ra={mapped:{type:"SECONDARY",offset:Qt,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Io(null)}};function Ka(){var he=zn(function(wt,It){return{x:wt,y:It}}),Ce=zn(Io),ze=zn(function(wt,It,tn){return It===void 0&&(It=null),{mapped:{type:"SECONDARY",offset:wt,combineTargetFor:It,shouldAnimateDisplacement:tn,snapshot:Ce(It)}}}),et=function(It){return It?ze(Qt,It,!0):null},mt=function(It,tn,En,yn){var an=En.displaced.visible[It],dn=!!(yn.inVirtualList&&yn.effected[It]),Bn=kr(En),dr=Bn&&Bn.draggableId===It?tn:null;if(!an){if(!dn)return et(dr);if(En.displaced.invisible[It])return null;var ei=hn(yn.displacedBy.point),si=he(ei.x,ei.y);return ze(si,dr,!0)}if(dn)return et(dr);var fi=En.displacedBy.point,Ti=he(fi.x,fi.y);return ze(Ti,dr,an.shouldAnimate)},vt=function(It,tn){if(It.isDragging)return It.critical.draggable.id===tn.draggableId?null:mt(tn.draggableId,It.critical.draggable.id,It.impact,It.afterCritical);if(It.phase==="DROP_ANIMATING"){var En=It.completed;return En.result.draggableId===tn.draggableId?null:mt(tn.draggableId,En.result.draggableId,En.impact,En.afterCritical)}return null};return vt}var ga=function(){var Ce=Yi(),ze=Ka(),et=function(vt,wt){return Ce(vt,wt)||ze(vt,wt)||ra};return et},gs={dropAnimationFinished:Kl},ls=x(ga,gs,null,{context:Ua,pure:!0,areStatePropsEqual:Pi})(vi);function Ea(he){var Ce=Pu(dc),ze=Ce.isUsingCloneFor;return ze===he.draggableId&&!he.isClone?null:b.createElement(ls,he)}function us(he){var Ce=typeof he.isDragDisabled=="boolean"?!he.isDragDisabled:!0,ze=!!he.disableInteractiveElementBlocking,et=!!he.shouldRespectForcePress;return b.createElement(Ea,(0,ye.Z)({},he,{isClone:!1,isEnabled:Ce,canDragInteractiveElements:ze,shouldRespectForcePress:et}))}function Qa(he){var Ce=(0,b.useContext)(sa);Ce||Pt(!1);var ze=Ce.contextId,et=Ce.isMovementAllowed,mt=(0,b.useRef)(null),vt=(0,b.useRef)(null),wt=he.children,It=he.droppableId,tn=he.type,En=he.mode,yn=he.direction,an=he.ignoreContainerClipping,dn=he.isDropDisabled,Bn=he.isCombineEnabled,dr=he.snapshot,ei=he.useClone,si=he.updateViewportMaxScroll,fi=he.getContainerForClone,Ti=Wt(function(){return mt.current},[]),Wi=Wt(function(ds){mt.current=ds},[]),Ui=Wt(function(){return vt.current},[]),Eo=Wt(function(ds){vt.current=ds},[]);z({props:he,getDroppableRef:Ti,getPlaceholderRef:Ui});var yo=Wt(function(){et()&&si({maxScroll:Rn()})},[et,si]);Dc({droppableId:It,type:tn,mode:En,direction:yn,isDropDisabled:dn,isCombineEnabled:Bn,ignoreContainerClipping:an,getDroppableRef:Ti});var Mo=b.createElement(ce,{on:he.placeholder,shouldAnimate:he.shouldAnimatePlaceholder},function(ds){var El=ds.onClose,sl=ds.data,Fs=ds.animate;return b.createElement(Sa,{placeholder:sl,onClose:El,innerRef:Eo,animate:Fs,contextId:ze,onTransitionEnd:yo})}),La=qt(function(){return{innerRef:Wi,placeholder:Mo,droppableProps:{"data-rbd-droppable-id":It,"data-rbd-droppable-context-id":ze}}},[ze,It,Mo,Wi]),zo=ei?ei.dragging.draggableId:null,Na=qt(function(){return{droppableId:It,type:tn,isUsingCloneFor:zo}},[It,zo,tn]);function is(){if(!ei)return null;var ds=ei.dragging,El=ei.render,sl=b.createElement(Ea,{draggableId:ds.draggableId,index:ds.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Fs,Al){return El(Fs,Al,ds)});return Ft.createPortal(sl,fi())}return b.createElement(dc.Provider,{value:Na},wt(La,dr),is())}var Aa=function(Ce,ze){return Ce===ze.droppable.type},Ia=function(Ce,ze){return ze.draggables[Ce.draggable.id]},ba=function(){var Ce={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},ze=(0,ye.Z)({},Ce,{shouldAnimatePlaceholder:!1}),et=zn(function(wt){return{draggableId:wt.id,type:wt.type,source:{index:wt.index,droppableId:wt.droppableId}}}),mt=zn(function(wt,It,tn,En,yn,an){var dn=yn.descriptor.id,Bn=yn.descriptor.droppableId===wt;if(Bn){var dr=an?{render:an,dragging:et(yn.descriptor)}:null,ei={isDraggingOver:tn,draggingOverWith:tn?dn:null,draggingFromThisWith:dn,isUsingPlaceholder:!0};return{placeholder:yn.placeholder,shouldAnimatePlaceholder:!1,snapshot:ei,useClone:dr}}if(!It)return ze;if(!En)return Ce;var si={isDraggingOver:tn,draggingOverWith:dn,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:yn.placeholder,shouldAnimatePlaceholder:!0,snapshot:si,useClone:null}}),vt=function(It,tn){var En=tn.droppableId,yn=tn.type,an=!tn.isDropDisabled,dn=tn.renderClone;if(It.isDragging){var Bn=It.critical;if(!Aa(yn,Bn))return ze;var dr=Ia(Bn,It.dimensions),ei=la(It.impact)===En;return mt(En,an,ei,ei,dr,dn)}if(It.phase==="DROP_ANIMATING"){var si=It.completed;if(!Aa(yn,si.critical))return ze;var fi=Ia(si.critical,It.dimensions);return mt(En,an,hi(si.result)===En,la(si.impact)===En,fi,dn)}if(It.phase==="IDLE"&&It.completed&&!It.shouldFlush){var Ti=It.completed;if(!Aa(yn,Ti.critical))return ze;var Wi=la(Ti.impact)===En,Ui=!!(Ti.impact.at&&Ti.impact.at.type==="COMBINE"),Eo=Ti.critical.droppable.id===En;return Wi?Ui?Ce:ze:Eo?Ce:ze}return ze};return vt},cs={updateViewportMaxScroll:Yu};function ou(){return document.body||Pt(!1),document.body}var Sl={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:ou},qa=x(ba,cs,null,{context:Ua,pure:!0,areStatePropsEqual:Pi})(Qa);qa.defaultProps=Sl},38486:function(Un,pn){"use strict";var ae;var b=60103,oe=60106,ye=60107,De=60108,de=60114,ve=60109,re=60110,se=60112,fe=60113,E=60120,te=60115,ne=60116,ge=60121,we=60122,xe=60117,ue=60129,Ee=60131;if(typeof Symbol=="function"&&Symbol.for){var Oe=Symbol.for;b=Oe("react.element"),oe=Oe("react.portal"),ye=Oe("react.fragment"),De=Oe("react.strict_mode"),de=Oe("react.profiler"),ve=Oe("react.provider"),re=Oe("react.context"),se=Oe("react.forward_ref"),fe=Oe("react.suspense"),E=Oe("react.suspense_list"),te=Oe("react.memo"),ne=Oe("react.lazy"),ge=Oe("react.block"),we=Oe("react.server.block"),xe=Oe("react.fundamental"),ue=Oe("react.debug_trace_mode"),Ee=Oe("react.legacy_hidden")}function Ae(Ye){if(typeof Ye=="object"&&Ye!==null){var Je=Ye.$$typeof;switch(Je){case b:switch(Ye=Ye.type,Ye){case ye:case de:case De:case fe:case E:return Ye;default:switch(Ye=Ye&&Ye.$$typeof,Ye){case re:case se:case ne:case te:case ve:return Ye;default:return Je}}case oe:return Je}}}var Re=ve,Me=b,be=se,Pe=ye,Fe=ne,_e=te,Te=oe,Ke=de,We=De,Ne=fe;ae=re,ae=Re,ae=Me,ae=be,ae=Pe,ae=Fe,ae=_e,ae=Te,ae=Ke,ae=We,ae=Ne,ae=function(){return!1},ae=function(){return!1},pn.isContextConsumer=function(Ye){return Ae(Ye)===re},ae=function(Ye){return Ae(Ye)===ve},ae=function(Ye){return typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===b},ae=function(Ye){return Ae(Ye)===se},ae=function(Ye){return Ae(Ye)===ye},ae=function(Ye){return Ae(Ye)===ne},ae=function(Ye){return Ae(Ye)===te},ae=function(Ye){return Ae(Ye)===oe},ae=function(Ye){return Ae(Ye)===de},ae=function(Ye){return Ae(Ye)===De},ae=function(Ye){return Ae(Ye)===fe},ae=function(Ye){return typeof Ye=="string"||typeof Ye=="function"||Ye===ye||Ye===de||Ye===ue||Ye===De||Ye===fe||Ye===E||Ye===Ee||typeof Ye=="object"&&Ye!==null&&(Ye.$$typeof===ne||Ye.$$typeof===te||Ye.$$typeof===ve||Ye.$$typeof===re||Ye.$$typeof===se||Ye.$$typeof===xe||Ye.$$typeof===ge||Ye[0]===we)},ae=Ae},53410:function(Un,pn,ae){"use strict";Un.exports=ae(38486)},25510:function(Un){"use strict";Un.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3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w6y5595zsaMHm2LTppgL7/wYtiQvOOu/2jv/cAH7P27vc/m2Ov2u4vOtyuuuNyO+eY3bez4Cbbi8svbqy/PtJf+9oLNnTXbRsydZ8d+81u21VZb2wpvfasdcMD+dtIpPwoxLJMmTwrbp595/Anb7O1vt2223Mq+9pWv2siJE+33l15iJ//0p/brs39jy660oj14/73hbKQVV1jBPrznXnbAgQeGocAVRF+gr790rnUBLAWwtCsOC2DJp1wBLAWw5HNNB54ogKUZsMjCcuXlV9hvzzrHvnPccTZ50mRbcurUEAD68ssvhziM0WPG2vhJE23Ft65kxxx/rM18eaZ9fr/97E+3/skmjB9v3zjqKFt6yaXs+quutUsvuMiuue5aW2T8Inbu+efZVltvHbZG33LrLfaRj3zEXnvtVVtnnbXt9F/+0iZMnBjcUQR7H3HEkbbV5pvZT37ykwBifnDiD0KW1n9+3wfsC1/6oq215po2ZpGxfUGsNrtvU01I+DbK5r4+x8aMGGUv/O0Fm3H3Pfbv/7a3PXD/X23XXXe19ddfzzbb5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//haDAcVPMsXk2dvy4cA4QwGPqUkvZ9/7ve/a9737PXnv1VfvAbrvZccceGzLG/u3F5+z2O2+zbbZ5hy2x5FT7xS9+YVtsvkVwdtzyp1tst/d/MOQq2XD6dPvZz061iePH2zVXX2OXX3G5HXHkkbbV1lvZD086yW67/TY75eST7de//rW9Y4ft7agjjrT11l03HHgYzhsaafbySy8FlxWuq3Hjxtn4CRPt5ptvtQsvvMj++7+/attsu7Udc8yxtu5664YTnIl1OeHbJ9hpp/3S7pvxF9t3n31svWlr28GHHWIPPPhX22STje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jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},69168:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return oe}});var b=ae(18773);function oe(ye,De){ye.prototype=Object.create(De.prototype),ye.prototype.constructor=ye,(0,b.Z)(ye,De)}},16722:function(Un,pn,ae){"use strict";ae.d(pn,{Z:function(){return se}});const b=fe=>typeof fe=="object"&&fe!=null&&fe.nodeType===1,oe=(fe,E)=>(!E||fe!=="hidden")&&fe!=="visible"&&fe!=="clip",ye=(fe,E)=>{if(fe.clientHeight<fe.scrollHeight||fe.clientWidth<fe.scrollWidth){const te=getComputedStyle(fe,null);return oe(te.overflowY,E)||oe(te.overflowX,E)||(ne=>{const ge=(we=>{if(!we.ownerDocument||!we.ownerDocument.defaultView)return null;try{return we.ownerDocument.defaultView.frameElement}catch(xe){return null}})(ne);return!!ge&&(ge.clientHeight<ne.scrollHeight||ge.clientWidth<ne.scrollWidth)})(fe)}return!1},De=(fe,E,te,ne,ge,we,xe,ue)=>we<fe&&xe>E||we>fe&&xe<E?0:we<=fe&&ue<=te||xe>=E&&ue>=te?we-fe-ne:xe>E&&ue<te||we<fe&&ue>te?xe-E+ge:0,de=fe=>{const E=fe.parentElement;return E==null?fe.getRootNode().host||null:E},ve=(fe,E)=>{var te,ne,ge,we;if(typeof document=="undefined")return[];const{scrollMode:xe,block:ue,inline:Ee,boundary:Oe,skipOverflowHiddenElements:Ae}=E,Re=typeof Oe=="function"?Oe:qe=>qe!==Oe;if(!b(fe))throw new TypeError("Invalid target");const Me=document.scrollingElement||document.documentElement,be=[];let Pe=fe;for(;b(Pe)&&Re(Pe);){if(Pe=de(Pe),Pe===Me){be.push(Pe);break}Pe!=null&&Pe===document.body&&ye(Pe)&&!ye(document.documentElement)||Pe!=null&&ye(Pe,Ae)&&be.push(Pe)}const Fe=(ne=(te=window.visualViewport)==null?void 0:te.width)!=null?ne:innerWidth,_e=(we=(ge=window.visualViewport)==null?void 0:ge.height)!=null?we:innerHeight,{scrollX:Te,scrollY:Ke}=window,{height:We,width:Ne,top:Ye,right:Je,bottom:He,left:lt}=fe.getBoundingClientRect(),{top:ct,right:tt,bottom:Bt,left:nt}=(qe=>{const Ve=window.getComputedStyle(qe);return{top:parseFloat(Ve.scrollMarginTop)||0,right:parseFloat(Ve.scrollMarginRight)||0,bottom:parseFloat(Ve.scrollMarginBottom)||0,left:parseFloat(Ve.scrollMarginLeft)||0}})(fe);let Ue=ue==="start"||ue==="nearest"?Ye-ct:ue==="end"?He+Bt:Ye+We/2-ct+Bt,Xe=Ee==="center"?lt+Ne/2-nt+tt:Ee==="end"?Je+tt:lt-nt;const $e=[];for(let qe=0;qe<be.length;qe++){const Ve=be[qe],{height:ht,width:st,top:Nt,right:dt,bottom:Tt,left:bt}=Ve.getBoundingClientRect();if(xe==="if-needed"&&Ye>=0&<>=0&&He<=_e&&Je<=Fe&&(Ve===Me&&!ye(Ve)||Ye>=Nt&&He<=Tt&<>=bt&&Je<=dt))return $e;const Ct=getComputedStyle(Ve),gt=parseInt(Ct.borderLeftWidth,10),je=parseInt(Ct.borderTopWidth,10),le=parseInt(Ct.borderRightWidth,10),ie=parseInt(Ct.borderBottomWidth,10);let ke=0,Ge=0;const Ie="offsetWidth"in Ve?Ve.offsetWidth-Ve.clientWidth-gt-le:0,pe="offsetHeight"in Ve?Ve.offsetHeight-Ve.clientHeight-je-ie:0,x="offsetWidth"in Ve?Ve.offsetWidth===0?0:st/Ve.offsetWidth:0,me="offsetHeight"in Ve?Ve.offsetHeight===0?0:ht/Ve.offsetHeight:0;if(Me===Ve)ke=ue==="start"?Ue:ue==="end"?Ue-_e:ue==="nearest"?De(Ke,Ke+_e,_e,je,ie,Ke+Ue,Ke+Ue+We,We):Ue-_e/2,Ge=Ee==="start"?Xe:Ee==="center"?Xe-Fe/2:Ee==="end"?Xe-Fe:De(Te,Te+Fe,Fe,gt,le,Te+Xe,Te+Xe+Ne,Ne),ke=Math.max(0,ke+Ke),Ge=Math.max(0,Ge+Te);else{ke=ue==="start"?Ue-Nt-je:ue==="end"?Ue-Tt+ie+pe:ue==="nearest"?De(Nt,Tt,ht,je,ie+pe,Ue,Ue+We,We):Ue-(Nt+ht/2)+pe/2,Ge=Ee==="start"?Xe-bt-gt:Ee==="center"?Xe-(bt+st/2)+Ie/2:Ee==="end"?Xe-dt+le+Ie:De(bt,dt,st,gt,le+Ie,Xe,Xe+Ne,Ne);const{scrollLeft:Le,scrollTop:Se}=Ve;ke=me===0?0:Math.max(0,Math.min(Se+ke/me,Ve.scrollHeight-ht/me+pe)),Ge=x===0?0:Math.max(0,Math.min(Le+Ge/x,Ve.scrollWidth-st/x+Ie)),Ue+=Se-ke,Xe+=Le-Ge}$e.push({el:Ve,top:ke,left:Ge})}return $e},re=fe=>fe===!1?{block:"end",inline:"nearest"}:(E=>E===Object(E)&&Object.keys(E).length!==0)(fe)?fe:{block:"start",inline:"nearest"};function se(fe,E){if(!fe.isConnected||!(ge=>{let we=ge;for(;we&&we.parentNode;){if(we.parentNode===document)return!0;we=we.parentNode instanceof ShadowRoot?we.parentNode.host:we.parentNode}return!1})(fe))return;const te=(ge=>{const we=window.getComputedStyle(ge);return{top:parseFloat(we.scrollMarginTop)||0,right:parseFloat(we.scrollMarginRight)||0,bottom:parseFloat(we.scrollMarginBottom)||0,left:parseFloat(we.scrollMarginLeft)||0}})(fe);if((ge=>typeof ge=="object"&&typeof ge.behavior=="function")(E))return E.behavior(ve(fe,E));const ne=typeof E=="boolean"||E==null?void 0:E.behavior;for(const{el:ge,top:we,left:xe}of ve(fe,re(E))){const ue=we-te.top+te.bottom,Ee=xe-te.left+te.right;ge.scroll({top:ue,left:Ee,behavior:ne})}}}}]);
|